Package: ckermit
Version: 402~beta08-1
Severity: normal

Hello,

I have enabled iksd in my configuration, and /srv/ftp exists.  I want to use 
anonymous mode.

Initially it added this to /etc/inetd.conf:

kermit      stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/iksd -A 
--initfile:/etc/kermit/iksd-anon.conf --dbfile:/var/run/iksd.db --syslog:5 
--root:/srv/ftp --anonymous:on


However, after connecting, I'd immediately get a "Connection terminated by 
foreign host."  Hmm.

I determined this line allows it to run and even give a login prompt:

kermit      stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/iksd -A  
--dbfile:/var/run/iksd.db --root:/srv/ftp --anonymous:on

Now, "telnet localhost kermit" will connect, and after about a 10-second delay,
display the banner and a username prompt.

However, both "anonymous" and "ftp" usernames produce "access denied".

Within kermit, "iksd localhost" doesn't work at all.  I also tried "iksd
/encrypt:none localhost", and that was no better.

Thanks!

-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-10-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ckermit depends on:
ii  debconf [debconf-2.0]  1.5.82
ii  libc6                  2.36-9+deb12u1
ii  libncurses6            6.4-4
ii  libpam0g               1.5.2-6
ii  libssl3                3.0.9-1
ii  libtinfo6              6.4-4

Versions of packages ckermit recommends:
ii  openssh-client [ssh-client]  1:9.2p1-2

Versions of packages ckermit suggests:
ii  openbsd-inetd [inet-superserver]  0.20221205-1

-- debconf information:
* ckermit/iksd-anondir: /srv/ftp
* ckermit/iksd: true
  ckermit/iksd-no-inetd:
* ckermit/iksd-anon: true

Reply via email to