Re: IPFW disconnections and resets

2005-04-29 Thread Siddhartha Jain
Neo-Vortex wrote: - When I run /sbin/ipfw -q -f flush in the rules script all connection get reset (and I am thrown out of the box). Yep, standard functionality, easy fix though: -- Start file /root/bin/fws -- #!/bin/sh fw /root/fws-out 21 -- End File -- -- Start file /root/bin/fw

Re: IPFW disconnections and resets

2005-04-29 Thread Neo-Vortex
On Fri, 29 Apr 2005, Siddhartha Jain wrote: Even if I run this script as it is (without running from within another script and redirecting), I don't get disconnected. hehe, probobly different shells or something (i use tcsh) - or mabe luck :) but without it i get disconnected like 99.9% of

Re: IPFW disconnections and resets

2005-04-29 Thread Siddhartha Jain
Michael Scheidell wrote: I use that all the time, maybe 1 out of 100 times it will kill a ssh session (only one that has irssi open cause of the time updating it kills it, i have it set to update every second though, so normally it'd be like 1 out of 500 or so) and even if it does, it still

RE: IPFW disconnections and resets

2005-04-29 Thread Michael Scheidell
I use that all the time, maybe 1 out of 100 times it will kill a ssh session (only one that has irssi open cause of the time updating it kills it, i have it set to update every second though, so normally it'd be like 1 out of 500 or so) and even if it does, it still finishes loading the

Re: IPFW disconnections and resets

2005-04-29 Thread Nagy Istvan
Hi, im playing with the /etc/crontab to reload the rules periodically, while i remotly edit both crontab and ipfw_rules.sh, this solves the problem of lock-out (but i dont know exactly what other problems it might cause...:) sshd_config has a ClientAliveInterval (seconds between trys) and