Am 25.02.2010 22:00, Fabian Knittel schrieb:
> The situation without my patch:
> 
>  * Without the "-a" option, oidentd opens two listening sockets:  The
>    first socket for IPv4 and the second for IPv6.
> 
>    If /proc/sys/net/ipv6/bindv6only is 0, the second socket will fail to
>    open.  It fails, because it attempts to listen for both IPv4 and IPv6
>    packets, but the IPv4 case is _already_ handled by the first socket,
>    so there's a conflict.  oidentd continues to run, but only listens
>    on the first socket which only processes IPv4 traffic. (This is the
>    problem reported in this bug report.)

Sounds logical, i just cant confirm this thesis:

black:/home/sb# cat /proc/sys/net/ipv6/bindv6only
0

black:/home/sb# ps aux |grep oidentd
oident   19815  0.0  0.0  12236   620 ?        Ss   09:10   0:00
/usr/sbin/oidentd -mf -P 80.82.223.1 -u oident -g oident

So bindv6only is disabled and oidentd has not been started with any
option passed to -a

black:/home/sb# telnet -6 red.cubewerk.de 113
Trying 2a01:198:200:350::2...
Connected to cl-849.dus-01.de.sixxs.net.
Escape character is '^]'.


C:\Documents and Settings\Administrator>telnet red.cubewerk.de 113


oidentd log stanza:

Feb 25 22:58:08 black oidentd[28955]: Connection from
cl-849.dus-01.de.sixxs.net (2a01:198:200:350::2):60665

As well as ... at almost the same time:

Feb 25 22:58:37 black oidentd[28956]: Connection from
p5B0820FE.dip0.t-ipconnect.de (91.8.32.254):0

We have 2 requests on ipv4 and ipv6 at the same time. Oidentd
handles both at the same time.

> In any case, this bug should probably be fixed upstream, so you might
> want to forward it to Ryan (in case he's still the active upstream?). Or
> if you'd like, I could forward my patch to him myself.

I tried to get in contact with upstream but had no luck.

thanks for your time.

Stefan

-- 
Stefan Bauer -----------------------------------------
PGP: E80A 50D5 2D46 341C A887 F05D 5C81 5858 DCEF 8C34
-------- plzk.de - Linux - because it works ----------



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to