ufw

No warning or error when allowing an application profile and the same port

Bug #1981550 reported by Dan Dascalescu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufw
Triaged
Wishlist
Unassigned

Bug Description

My distro comes with an /etc/ufw/applications.d/nginx like this:

```
[Nginx HTTP]
title=Web Server (Nginx, HTTP)
description=Small, but very powerful and efficient web server
ports=80/tcp

[Nginx HTTPS]
title=Web Server (Nginx, HTTPS)
description=Small, but very powerful and efficient web server
ports=443/tcp

[Nginx Full]
title=Web Server (Nginx, HTTP + HTTPS)
description=Small, but very powerful and efficient web server
ports=80,443/tcp
```

If I run `ufw allow 'Nginx Full'`, then `ufw allow 443`, I'll effectively have 443 allowed twice. This feels wrong - ufw should warn me that perhaps I meant something else.

summary: - No warning or error when alloing an application profile and the same
+ No warning or error when allowing an application profile and the same
port
Changed in ufw:
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.