Marcello has asked for the wisdom of the Perl Monks concerning the following question:
Since we do not have a firewall installed and I want to limit the number of connections per IP address to 1, is there a solution to block connections from the same IP once connected?my $sock = new IO::Socket::INET( LocalPort => 8123, Proto => "tcp", Listen => SOMAXCONN, Reuse => 1 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Block IP addresses with IO::Socket
by Corion (Patriarch) on Oct 23, 2003 at 09:34 UTC | |
|
Re: Block IP addresses with IO::Socket
by Abigail-II (Bishop) on Oct 23, 2003 at 09:52 UTC |