Re: iptable: --seconds

2005-12-04 Thread Ralph Katz
On 12/04/2005 05:10 PM, Gerhard Kroder wrote: > Hi, > > i want to stop sshd account testing by scripties witht the followoing > iptables/bash script, but it won't do what i thougt. On a sarge test > host with 2 aliased nic (eth0:1 and eth0:2), this script loads > correctly, it drops connections w

iptable: --seconds

2005-12-04 Thread Gerhard Kroder
Hi, i want to stop sshd account testing by scripties witht the followoing iptables/bash script, but it won't do what i thougt. On a sarge test host with 2 aliased nic (eth0:1 and eth0:2), this script loads correctly, it drops connections with --hitcount 3 correctly (client gets timeout, sshd

Re: Restricting ssh access to internet but not to internal network

2005-12-04 Thread Vineet Kumar
* Patrick ([EMAIL PROTECTED]) [051127 01:06]: > Thanks Steve. I've just tested your solution and it's working fine. I > invoked a second instance of sshd using a different configuration file, > i.e. > > ssh -f /etc/ssh/sshd_conf-internal > > which binds to port 22 all allows all users to login. T