Thank you for using Ubuntu and taking the time to report a bug. ufw
tries to be careful not to flush the chains, and will not do so if it is
possible to simply add a rule to a chain. Changing the default policy
(ie 'ufw default deny') is one of those commands that requires flushing
the chains. However, you can set up the chains prior to enabling the
firewall (see the REMOTE MANAGEMENT section of the man page for
details).  This is particularly useful for allowing ssh before enabling
the firewall.

The idea of checking if a user is currently logged in via ssh or
providing some sort of a way out is actually on the TODO list, and
something worth exploring.

** Changed in: ufw (Ubuntu)
     Assignee: (unassigned) => Jamie Strandboge (jdstrand)
       Status: New => Confirmed

-- 
ufw should detect if the command being given will cut off SSH access and warn 
if the user is connected via SSH.
https://bugs.launchpad.net/bugs/253840
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to