[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337774: linux-2.6: Identd service currently broken by default



Package: linux-2.6
Severity: important

Hi,

I came across this problem by using ident identification with
PostgreSQL in Debian.

The default identd in Debian, pidentd, currently utilizes NETLINK (with
a patch to upstream code[1]) for connection identification. Therefore,
kernel support is needed. While CONFIG_IP_TCPDIAG is currently
configured as a module by default (checked on i386 and sparc64), this
one is not loaded automatically.  This causes identd service to be
broken by default:

ernie@sonny:~$ telnet atari 113
Trying 192.168.5.99...
Connected to atari.
Escape character is '^]'.
22,36660
22 , 36660 : ERROR : NO-USER

With the module tcp_diag loaded manually on the server, it works:

ernie@sonny:~$ telnet atari 113
Trying 192.168.5.99...
Connected to atari.
Escape character is '^]'.
22,36660
22 , 36660 : USERID : UNIX :root

The package pidentd "solved" this problem by just mentioning it in the
README.Debian[2].

I'm currently seeing some possible solutions to solve this problem:

(a) Make the module tcp_diag being loaded automatically on demand
    (preferred)
(b) Set CONFIG_IP_TCPDIAG=y
(c) Change pidentd, reassigning the bug (questionable)

Thanks,

Roland


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=208290
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305926

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-sparc64, also tested with 2.6.14 on i386
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)



Reply to: