News for hackers. Stuff that matters.
Re:Shorewall – The End of the Road by neosavvy on Thursday February 21, 2019 @03:22PM (#19220236)
Man I think I used this software back when I was working out of my closet back in 2004 trying to finish school. This was a nice abstraction on top of IPTables.

I definitely remember screwing up rules which caused me to have to drive to the data center about 15 miles from my house after kicking myself out of machines I was SSH'd into.

Re:Shorewall – The End of the Road by dharmab on Thursday February 21, 2019 @03:27PM (#19220271)
You're giving me flashbacks to working on ASAs and issuing a "reboot 15" before making config changes, so that the device would reboot into the last config if you locked yourself out. And those were still in the same building!
Re:Shorewall – The End of the Road by riffraff on Thursday February 21, 2019 @04:04PM (#19220570)
How would it reboot on the old config if you had just changed it?
Re:Shorewall – The End of the Road by dharmab on Thursday February 21, 2019 @04:22PM (#19220694)
Cisco devices have a "running config" in volatile memory and a "startup config" on persistent storage. You can modify the running config without committing the change to the startup config.
Re:Shorewall – The End of the Road by mirimir on Thursday February 21, 2019 @11:54PM (#19223237)
Because iptables changes aren't persistent unless you write them to some file that gets loaded at bootup.
Re:Shorewall – The End of the Road by srmatto on Thursday February 21, 2019 @04:06PM (#19220580)
Been a long time, but doesn't `write conf` write the config to NVRAM?
Re:Shorewall – The End of the Road by neosavvy on Thursday February 21, 2019 @04:41PM (#19220805)
If I recall correctly he added a safety net that I setup after doing this a few time.

I'd be SSHd in and restart the rules, then the SSH session would hang. I was actively modifying rules and hey look I was a noobie sysadmin!

I made dumb mistakes back then. I believe that's when I made a catch all rule for my home IP on ssh in and out.

Regardless, thanks Tom!

Re:Shorewall – The End of the Road by esaym on Thursday February 21, 2019 @04:05PM (#19220578)
>after kicking myself out of machines I was SSH'd into

I still remember my first 'ifconfig eth0 down' over ssh!

Re:Shorewall – The End of the Road by neosavvy on Thursday February 21, 2019 @04:41PM (#19220814)
I bet you learned to give yourself alternatives back in right.
Re:Shorewall – The End of the Road by vukk on Friday February 22, 2019 @04:05AM (#19224017)
First thing on shorewall was always to set ADMINISABSENTMINDED=Yes :)