FIXED: accept() doesn't pass back sockaddr

2002-10-15 Thread Christopher Weimann
On Mon 10/14/2002-08:50:08PM -0400, Christopher Weimann wrote: > > On Tue 10/15/2002-12:17:49AM +0100, Ian Dowse wrote: > > > > Is the code in question correctly initialising the variable that > > the `addrlen' parameter points to before calling accept? It looks > > as if this might be the prob

Re: accept() doesn't pass back sockaddr

2002-10-14 Thread Christopher Weimann
On Tue 10/15/2002-12:17:49AM +0100, Ian Dowse wrote: > > In message <[EMAIL PROTECTED]>, Christopher Weimann writes: > >I am using on a web filter ( dansguardian.org ) and am having > >problems on FreeBSD (4.5-STABLE). The filter runs fine for > >about 20 minutes or so then can't seem to come up

Re: accept() doesn't pass back sockaddr

2002-10-14 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Christopher Weimann writes: >I am using on a web filter ( dansguardian.org ) and am having >problems on FreeBSD (4.5-STABLE). The filter runs fine for >about 20 minutes or so then can't seem to come up with the >right ip addresses for any client machines. > >After

accept() doesn't pass back sockaddr

2002-10-14 Thread Christopher Weimann
I am using on a web filter ( dansguardian.org ) and am having problems on FreeBSD (4.5-STABLE). The filter runs fine for about 20 minutes or so then can't seem to come up with the right ip addresses for any client machines. After much reading of man pages, Stevens, and some banging of my head a