Package: binkd
Version: 1.1a-99-1
Severity: normal

Hello,

It appears that binkd auto-creates *outbound* directories for all zones (of 
common domains) that it sees in a remote node's AKAs when polling.

Before poll:

root@glimmer:/mnt/bbs/echomail/out# find .
.
./fidonet.002
./fsxnet
./micronet.26a
./scinet.04d

Poll:

ftn@glimmer:~$ /usr/sbin/binkd -c -v -P21:1/100@fsxnet /etc/binkd/binkd.cfg
  12:28 [10034] BEGIN, binkd/1.1a-99/Linux -c -v -P21:1/100@fsxnet 
/etc/binkd/binkd.cfg
  12:28 [10034] creating a poll for 21:1/100@fsxnet (`d' flavour)
  12:28 [10034] clientmgr started
$ -d 21:1/100@fsxnet
+ 12:28 [10035] call to 21:1/100@fsxnet
  12:28 [10035] trying net1.fsxnet.nz [219.89.83.33]...
  12:28 [10035] connected
+ 12:28 [10035] outgoing session with net1.fsxnet.nz:24554 [219.89.83.33]
- 12:28 [10035] hiding aka 2:201/137@fidonet
- 12:28 [10035] hiding aka 618:500/27@micronet
- 12:28 [10035] hiding aka 77:2/107@scinet
? 12:28 [10035] touch /mnt/bbs/echomail/out/fsxnet/00010064.csy: Operation not 
permitted
- 12:28 [10035] OPT CRAM-MD5-32d51dec74258a93ce1b9067caf6a0ee
+ 12:28 [10035] Remote requests MD mode
- 12:28 [10035] SYS Agency + Risa HUB
- 12:28 [10035] ZYZ Paul Hayton
- 12:28 [10035] LOC Dunedin, New Zealand
- 12:28 [10035] NDL 115200,TCP,BINKP
- 12:28 [10035] TIME Sat, 20 Feb 2021 00:28:14 +1300
- 12:28 [10035] VER binkd/1.1a-111/Linux binkp/1.1
+ 12:28 [10035] addr: 3:57/0@fidonet
+ 12:28 [10035] addr: 3:770/1@fidonet
+ 12:28 [10035] addr: 3:770/0@fidonet
+ 12:28 [10035] addr: 3:772/1@fidonet
+ 12:28 [10035] addr: 3:772/0@fidonet
+ 12:28 [10035] addr: 21:1/100@fsxnet
+ 12:28 [10035] addr: 21:1/3@fsxnet
+ 12:28 [10035] addr: 21:1/2@fsxnet
+ 12:28 [10035] addr: 21:1/1@fsxnet
+ 12:28 [10035] addr: 21:1/0@fsxnet
+ 12:28 [10035] addr: 39:970/0@amiganet (n/a or busy)
+ 12:28 [10035] addr: 46:3/103@agoranet (n/a or busy)
- 12:28 [10035] TRF 0 0
+ 12:28 [10035] Remote has 0b of mail and 0b of files for us
- 12:28 [10035] OPT EXTCMD CRYPT GZ BZ2
+ 12:28 [10035] Remote supports EXTCMD mode
+ 12:28 [10035] Remote requests CRYPT mode
+ 12:28 [10035] Remote supports GZ mode
+ 12:28 [10035] pwd protected session (MD5)
- 12:28 [10035] session in CRYPT mode
+ 12:28 [10035] done (to 21:1/100@fsxnet, OK, S/R: 0/0 (0/0 bytes))
  12:28 [10035] session closed, quitting...
  12:28 [10034] rc(10035)=0
! 12:28 [10034] got signal #2.

After poll:

root@glimmer:/mnt/bbs/echomail/out# find .
.
./fidonet.002
./fsxnet
./fsxnet/00010064.try
./micronet.26a
./scinet.04d
./fidonet.003

Notice the addition of a "fidonet.003" outbound directory.

It is also worth noticing that it did only create "fidonet.003" -- not anything 
for AmigaNet or AgoraNet (*domains* which I'm not a member of).

I would have expected binkd not to auto-create any directories in the outbound 
directory hierarchy, only (if necessary) in the inbound directory hierarchy.

Best regards
Björn


-- System Information:
Debian Release: 10.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-14-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages binkd depends on:
ii  adduser      3.118
ii  libc6        2.28-10
ii  libperl5.28  5.28.1-6+deb10u1
ii  lsb-base     10.2019051400
ii  perl         5.28.1-6+deb10u1
ii  zlib1g       1:1.2.11.dfsg-1

binkd recommends no packages.

binkd suggests no packages.

-- Configuration Files:
/etc/binkd/binkd.cfg changed:
log /var/log/binkd/binkd
loglevel 6
domain fsxnet /mnt/bbs/echomail/out/fsxnet 21
domain fidonet /mnt/bbs/echomail/out/fidonet 21
domain micronet /mnt/bbs/echomail/out/micronet 21
domain scinet /mnt/bbs/echomail/out/scinet 21
domain fido        alias-for fidonet
domain fidorus     alias-for fidonet
domain fido7       alias-for fidonet
domain fidonet.org alias-for fidonet
domain fidonet.net alias-for fidonet
domain fidonet.rus alias-for fidonet
address 21:1/202@fsxnet
address 2:201/137@fidonet
address 618:500/27@micronet
address 77:2/107@scinet
hide-aka 21:1/202 !21:*@fsxnet
hide-aka 2:201/137 !*@fidonet
hide-aka 618:500/27 !618:*@micronet
hide-aka 77:2/107 !77:*scinet
sysname "Star Collision BBS"
location "Uppsala, Sweden"
sysop "Bjorn Wiberg"
nodeinfo 300,CM,XW,INA:scbbs.nsupdate.info,IBN,IFC,ITN:60177,IVM:60177
conlog 4
zlevel 9
zallow *.mo[0-9a-z] *.MO[0-9A-Z] *.tu[0-9a-z] *.TU[0-9A-Z] *.we[0-9a-z] 
*.WE[0-9A-Z] *.th[0-9a-z] *.TH[0-9A-Z] *.fr[0-9a-z] *.FR[0-9A-Z] *.sa[0-9a-z] 
*.SA[0-9A-Z] *.su[0-9a-z] *.SU[0-9A-Z] *.pkt *.PKT *.tic *.TIC
maxservers 10
maxclients 10
try 10
hold 10m
send-if-pwd
percents
printq
backresolv
pid-file /run/ftn/binkd.pid
inbound /mnt/bbs/echomail/in
inbound-nonsecure /mnt/bbs/echomail/in/unsecure
minfree 2048
minfree-nonsecure 2048
kill-dup-partial-files
kill-old-partial-files 1d
kill-old-bsy 12h
flag /home/bbs/mystic/semaphore/echomail.in *.mo[0-9a-z] *.MO[0-9A-Z] 
*.tu[0-9a-z] *.TU[0-9A-Z] *.we[0-9a-z] *.WE[0-9A-Z] *.th[0-9a-z] *.TH[0-9A-Z] 
*.fr[0-9a-z] *.FR[0-9A-Z] *.sa[0-9a-z] *.SA[0-9A-Z] *.su[0-9a-z] *.SU[0-9A-Z] 
*.pkt *.PKT *.tic *.TIC
exec "!/usr/local/sbin/srifreq *S" *.req *.REQ
include /etc/binkd/binkd.inc
prescan
passwords /etc/ifmail/passwds

/etc/binkd/binkd.inc:
# Here you should add all the nodes with a session password
node 21:1/100@fsxnet -md net1.fsxnet.nz:24556 -
node 2:201/0@fidonet -md bejo.dyndns.org:9090 -
node 618:500/1@micronet -md bbs.darkrealms.ca -
node 77:1/100@scinet -md bbs.diskshop.ca -

/etc/ifmail/passwds (manually included for reference):
password        21:1/100        SECRET1
password        2:201/0         SECRET2
password        618:500/1       SECRET3
password        77:1/100        SECRET4

/etc/logrotate.d/binkd changed:
/var/log/binkd/binkd {
        rotate 7
        daily
        delaycompress
        compress
        nocreate
        missingok
        notifempty
}


-- no debconf information

Reply via email to