Re: IPFW disconnections and resets

看板FB_security作者時間20年前 (2005/04/30 21:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/10 (看更多)
Neo-Vortex wrote: > > On Sat, 30 Apr 2005, Andrew McNaughton wrote: > > >>1% is way too much. use nohup. eg: > > > SSH dies, asin i get "Connection reset by peer" and my ssh session closes, > i can restart it fine though and the rest of the rules are parsed fine, > also, i dont get that on the window that im loading the firewall rulesets, > only on my other session wich has irssi running wich sends a packet once > every second to update the time... the box never needs to be physically > touched :) > > ~Neo-Vortex The best reply sofar (imho) was to use screen. When i reload my ruleset i do that with: pfctl -Fa -f /etc/pf.conf.new && sleep 180 && pfctl -Fa -f /etc/pf.conf where the new file is my test setup and the other file is the current working one. When i reload them with screen i am sure that the commands read correctly and even when i get kicked out the screen application still carries the commands given. In worst case i can access the machine again after three minutes, which isn't that bad ;-) Just my 0.02E(urocents) -- Kind regards, Remko Lodder ** remko@elvandar.org Reporter DSINET ** remko@DSINet.org Founder Tienervaders ** remko@tienervaders.org FreeBSD Documentation Project ** remko@FreeBSD.org _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #12Sub500 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #12Sub500 (FB_security)