Re: Inetd rejecting connection from privileged port

2007-01-26 Thread Woodchuck
On Fri, 26 Jan 2007, Brian Candler wrote: > > They are taking the position that it is upside down to require an > > unprivileged source port. What are the issues? > > The code is here in /usr/src/usr.sbin/inetd/inetd.c: > > if (port < IPPORT_RESERVED || port == NFS_PORT) >

Re: Inetd rejecting connection from privileged port

2007-01-26 Thread Brian Candler
> They are taking the position that it is upside down to require an > unprivileged source port. What are the issues? The code is here in /usr/src/usr.sbin/inetd/inetd.c: if (port < IPPORT_RESERVED || port == NFS_PORT) goto bad; The only reason I can think of is to avoid

Inetd rejecting connection from privileged port

2007-01-25 Thread Woodchuck
... On port 37 (time, UDP). If timedc from a NetBSD host attempts clockdiff with an OpenBSD host (same ethernet, no firewalling involved), sending from a privileged port, OpenBSD (inetd, I presume) does not respond. If the UDP packet originates from an unprivileged port (say 63,xxx or 19,xxx), t