[peruser] 0.0.0.0 addresses showing up in logs, related to ipv6

Rommer rommer at active.by
Thu Sep 27 05:27:41 MDT 2007


Hello,

bert wrote:
> So according to the output, all is well until it gets here:
> 
> status = listensocks[offset].accept_func((void *)&sock, &listensocks 
> [offset], ptrans);
> 
> which seems to call receive_from_multiplexer to re-populate the sock  
> structure...
> it seems somewhere within this function, the information about the  
> original connection is not being passed over correctly.

You right, here. Looks like a sendmsg/recvmsg (SCM_RIGHTS) bug at
pass_socket()/pass_request() -> receive_from_multiplexer().
You can try my patch. It's working for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peruser-0.2.2-pass_remote_addr.patch
Type: text/x-patch
Size: 5027 bytes
Desc: not available
Url : http://www.telana.com/pipermail/peruser/attachments/20070927/8b88269c/attachment.bin 


More information about the Peruser mailing list