Re: FD's - Am I going nuts?

From: Erick Gallesio <eg_at_unice.fr>
Date: Wed, 20 Jan 1999 13:43:31 +0100 (CET)

dtillman_at_cannonexpress.com writes:
>
>
>
> ;; Is this a bug, or am I missing something?
> ;;
> ;; The following code is a port scan detector.
> ;;
> ;; It works great except that for every hit it allocates a new file
> ;; descriptor. I presume that is coming from my use of socket-dup
> ;; in s-handler. But, shouldn't this fd go away after socket-shutdown?
> ;;
> ;; What is the right thing to do here? Obviously, the code errors after
> ;; I run out of file descriptors.
> ;;
> ;; -Dave
>

I had a look at your code and it seems valid. I presume that there is
a bug in the socket code. I'll try to investigate further asap.

A bientot


                -- Erick
Received on Wed Jan 20 1999 - 13:41:19 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST