'ufw status' doesn't always show app rules
Bug #1838764 reported by
rrrand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ufw |
Fix Released
|
Medium
|
Jamie Strandboge |
Bug Description
Some rules disappear after 'ufw app update all'.
Ufw versions 0.35 and 0.36 have the same behaviour and I could not have found about it in manuals.
How to check:
0) Add application MyApp somewhere in /etc/ufw/
1) Append rules
ufw allow from 192.168.1.0/24 to 192.168.1.0/24 app MyApp
ufw allow out from 192.168.1.0/24 to 192.168.1.0/24 app MyApp
(those rules have the only difference: direction out.)
2) Then call
ufw app update all
3) The second rule will disappear.
The next link is about the same
https:/
Changed in ufw: | |
status: | Triaged → Fix Committed |
Changed in ufw: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What I observe is that with the second command, the app rule isn't added at all even though ufw said it was. Ie:
$ sudo ufw allow from 192.168.1.0/24 to 192.168.1.0/24 app OpenSSH
Rules updated
$ sudo ufw allow out from 192.168.1.0/24 to 192.168.1.0/24 app OpenSSH
Rules updated
$ sudo ufw status
Status: active
To Action From
-- ------ ----
192.168.1.0/24 OpenSSH ALLOW 192.168.1.0/24