oidentd with IPv6 support enabled and no specific address/interface to bind to binds to * on IPv4 only, instead of both IPv4 and IPv6 as expected. Reproducible: Always Steps to Reproduce: 1. Set up both IPv4 and IPv6 interfaces. 2. USE=ipv6 emerge net-misc/oidentd; /etc/init.d/oidentd start 3. Go on IRC with your favorite client or connect to your favorite restricted-access FTP server using your favorite client. Actual Results: No response on port 113 on any IPv6 address/interface. Normal identd service working on all IPv4 addresses. Expected Results: oidentd responding on port 113 on all IPv6 and IPv4 addresses/interfaces.
Portage 2.1.7.17 (hardened/linux/amd64/10.0/no-multilib, gcc-3.4.6, glibc-2.10.1-r1, 2.6.24-hardened-r3 x86_64) ================================================================= System uname: Linux-2.6.24-hardened-r3-x86_64-AMD_Sempron-tm-_Processor_3000+-with-gentoo-1.12.13 Timestamp of tree: Wed, 10 Mar 2010 02:45:03 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.4-r13, 2.5.4-r3, 2.6.4-r1 dev-python/pycrypto: 2.1.0_beta1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 3.4.6-r2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.ing.umu.se/linux/gentoo http://mirror.gentoo.no/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://ftp.ing.umu.se/gentoo-portage" USE="3dnow acl acpi afs aim amd64 apache2 bash-completion bcmath berkdb blas bzip2 calendar caps cli cracklib crypt cscope ctype curl cxx dba dbm dbus evo exif expat fam flash flatfile ftp gb gbdm gd gdbm geoip gif ginac gmp gnutls gstreamer guile hardened hardenedphp iconv icq idn imagemagick imap innodb ipv6 jabber javascript jbig jpeg jpeg2k jukes junit justify ldap libedit libwww logrotate lua maildir mcal mcve memlimit mhash mime ming mmap mmx mng modules mpi msession msn mudflap mysql mysqli ncurses networking nis nls nocd nonfsv4 nptl nptlonly odbc offensive ofx oidentd openmp opensslcrypt oscar pam pcntl pcre pdf perl php pic png pppd prelude python readline recode reflection ruby samba sasl session skey slang snmp soap sockets spell spl sse sse2 ssl svg symlink sysfs sysvipc szip tcl tcpd threads tiff tokenizer truetype unicode urandom usb v4l wmf xml xmlrpc xorg xpm yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 223015 [details, diff] Patch to attempt to bind on AF_INET6 first, then fall back to AF_INET Attempt to bind on AF_INET6 first and fall back on AF_INET if that doesn't work.
fixed in a slightly different way with a patch from debian