TIP: Click on subject to list as thread! ANSI
echo: linux
to: ALL / KEES
from: INGO JUERGENSMANN
date: 2017-09-17 15:44:00
subject: ifcico segfaults when sta

   Hello All!

30 Aug 17 22:25, I wrote to Kees van Eeten:

 KE>>  I have alway had segfaults when some calling options were
 KE>> defined, so I do not use any "options" in the config file.
 KE>>  As I could live without, I never chased this bug in the
 KE>> software.
 KE>>  Maybe your segfaults have a similar origin.
 IJ> You were right: removing "options" statement from config made ifcico
 IJ> work without segfaulting.

Still having problems with ifcico...

I'm now playing around with ifcico on my server instead behind mgetty, but I
still get segfaults, not only from ifcico but also from e.g. ifinfo:

# /usr/lib/ifmail/ifinfo 2:2452/413
globals set in rdconfig:
verbose:    18446744073709551615
logname:    /var/log/ifmail/iflog
errname:    /var/log/ifmail/iflog
debugfile:  /var/log/ifmail/ifdebug
configname: /etc/ifmail/config
configtime: Wed Sep 13 07:42:55 2017
Segmentation fault

/var/log/ifmail/ifdebug lists:
start ifinfo ver 2.14-tx8.10 of Mon Dec 26 03:40:59 2016, verbose
0xffffffffffffffff
unrecognizable address "2:2452/413"

Compiling the nodelist with nlpatch however does work.

When connecting from my Amiga with Trapdoor via telser.device to my ifcico on
Linux, something is working and strange enough trapdoor displays my ifcico
config. Here's the log of such a connect:

==> /var/log/syslog <==
Sep 17 16:04:28 amigaxess ifcico[90146]: connect from 93.205.168.x
(93.205.168.x)

==> /var/log/ifmail/ifdebug <==
start ifcico ver 2.14-tx8.10 of Mon Dec 26 03:40:59 2016, verbose
0xffffffffffffffff
inbound "**EMSI_INQC816" mode
uid=64000, euid=64000
creating directory tree for "/var/spool/ftn/inb/tmp/"
mkdir("/var") errno 17
mkdir("/var/spool") errno 17
mkdir("/var/spool/ftn") errno 17
mkdir("/var/spool/ftn/inb") errno 17
mkdir("/var/spool/ftn/inb/tmp") errno 17
creating directory tree for "/var/spool/ftn/inb/tmp/"
mkdir("/var") errno 17
mkdir("/var/spool") errno 17
mkdir("/var/spool/ftn") errno 17
mkdir("/var/spool/ftn/inb") errno 17
mkdir("/var/spool/ftn/inb/tmp") errno 17
creating directory tree for "/var/spool/ftn/inb/tmp/"
mkdir("/var") errno 17
mkdir("/var/spool") errno 17
mkdir("/var/spool/ftn") errno 17
mkdir("/var/spool/ftn/inb") errno 17
mkdir("/var/spool/ftn/inb/tmp") errno 17
getnlent for 
getnlent returns dummy entry
options: Call Hold PUA WaZOO EMSI Freqs Zmodem ZedZap Janus Hydra Tcp Txy

==> /var/log/syslog <==
Sep 17 16:04:28 amigaxess kernel: [1955593.142710] ifcico[90146]: segfault at
797854 ip 00007fc80edd2646 sp 00007ffd7496b168 error 4 in
libc-2.24.so[7fc80ed52000+195000]


Here's my config:

/etc/inetd.conf
tfido           stream  tcp     nowait  ftn     /usr/sbin/tcpd 
/usr/lib/ifmail/ifcico
fido            stream  tcp     nowait  ftn     /usr/sbin/tcpd 
/usr/lib/ifmail/ifcico

/etc/ifmail/config
logfile         /var/log/ifmail/iflog
debugfile       /var/log/ifmail/ifdebug
verbose         32
address            2:2452/413@fidonet
address            21:1/110@fsxnet
address            39:170/400@amiganet
address            314:314/75@pinet
address            314:314/300@pinet
include         /etc/ifmail/passwds
myfqdn          ifc.amigaxess.de
inbound         /var/spool/ftn/inb
listinbound     /var/spool/ftn/inb
protinbound     /var/spool/ftn/inb
outbound        /var/spool/ftn/outb
nodelist        /var/spool/ftn/nodelist/nodelist
domtrans        .z1.fidonet             .z1.fidonet.org
domtrans        .z2.fidonet             .z2.fidonet.org
domtrans        .z3.fidonet             .z3.fidonet.org
domtrans        .z4.fidonet             .z4.fidonet.org
domtrans        .z5.fidonet             .z5.fidonet.org
domtrans        .z6.fidonet             .z6.fidonet.org
domtrans        .fidonet                .ftn
database        /var/spool/ftn/ifdbm
sequencer       /var/spool/ftn/seq
defaultftnchar     cp437
defaultrfcchar     iso-8859-1
unzip           /usr/bin/unzip -Lojq $F
packer          /usr/bin/zip -q9 $F $P
maxfsize        500000
maxpsize        300000
maxmsize 123000
PhoneTrans      32-4    /
PhoneTrans      32-     /       0
PhoneTrans         /    00
ModemReset      ATZ\r
ModemDial       ATDP\T\r
ModemOK         OK
ModemConnect    CONNECT
ModemError      BUSY
ModemError      NO\sCARRIER
ModemError      NO\sDIAL
ModemError      RING\r
ModemError      ERROR
ModemError      VOICE
TimeoutReset    3
TimeoutConnect  70
Name            AmigaXess - ifcico line
Location        Georgsmarienhuette
SysOp           Ingo Juergensmann
Phone           49-5401-460094
Speed           14400
Flags           XA,V32B,V42B

Any help is appreciated! If you like you can also send in your config and I'll
try my best to spot the differences and get my installation running... :-)

Ingo


--- GoldED+/LNX 1.1.5--b20170303
* Origin: AmigaXess - back in FidoNet after 17 years (2:2452/413)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.