Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ufw firewall requires confirming enable operation even though no user interaction should be required to proceed #135

Closed
vilhelmprytz opened this issue Jan 2, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vilhelmprytz
Copy link
Member

Describe the bug
When all the configuration steps are completed, no user interaction should be required in order for the installation to proceed. Right now, when using automatic ufw, this is not the case. Since the intended behavior is that no user interaction should be required, this is a bug.

Here is the prompt in question.

......
* Enabling Uncomplicated Firewall (UFW)
* Opening port 22 (SSH), 80 (HTTP) and 443 (HTTPS)
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
Status: active

     To                         Action      From
     --                         ------      ----
[ 1] 22/tcp                     ALLOW IN    Anywhere                  
[ 2] 80/tcp                     ALLOW IN    Anywhere                  
[ 3] 443/tcp                    ALLOW IN    Anywhere                  

Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
.....

To Reproduce
Steps to reproduce the behaviour:

  1. Use Ubuntu/Debian.
  2. Opt in to use automatic firewall configuration (UFW).
  3. See the prompt.

Expected behaviour
I do not expect this prompt to appear.

Screenshots
N/A

OS (please complete the following information):

  • OS: ubuntu/debian
  • Installation: panel and wings

Additional context
Use ufw --force enable.

@vilhelmprytz vilhelmprytz added the bug Something isn't working label Jan 2, 2021
@vilhelmprytz vilhelmprytz self-assigned this Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant