About this list Date view Thread view Subject view Author view Attachment view

From: Gerrit Hotzel (gt_at_hzhome.mine.nu)
Date: Sun 13 Apr 2003 - 14:19:06 BST


On Sun, Apr 13, 2003 at 01:19:24PM +0200, klavs klavsen wrote:
> On Sun, 2003-04-13 at 13:13, klavs klavsen wrote:
> > Hi guys,
> >
> > As far as I can tell, a service which is set up pr. default to listen to
> > 0.0.0.0 - does not get rewritten to listen to IPROOT. I tried this with
> > v0.22 of the utils and ctx17.
> >
> > Shouldn't this be automatically rewritten by the kernel? I believe it
> > once was (but I can remember wrong ofcourse :)
> >
>
> The weird thing is that this rewrite of 0.0.0.0 seems to work fine for
> proftpd - but not for postfix or sshd. Any ideas why?
>

May this be related to what Jesper FA pointed out about programs running
create socket, listen instead of the usual create socket, bind, listen?
The posts were around the end of the last year.

Jesper FA wrote a patch to ctx16 attached to its mail. It adds an
additional check to the listen-syscall to limit IPs.

It worked fine for me, though I never understood why this patch never
made it into the offical ctx.

--
Gerrit


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 22 Apr 2003 - 18:41:46 BST by hypermail 2.1.3