Hello the list.

First, I wish you all a great weekend.

Second, I am wondering if someone knows or has written some tool to prevent 
yourself from being locked out of your online ssh server when writing pf 
rules.

Something like : copy the new pf rules in /tmp, load them, and ask the user if 
it's ok. If not, reload the previous rules two minutes later.

If the user doesn't answer, that means for some reason pf has blocked ssh 
connection. And at this point, the automatism of the tool has to return to 
previous state, where connection was ok.

If that tool doesn't exist, I am goinng to write a small script for that 
purpose.

Thanks for your answers.

Reply via email to