2009-07-23 17:24:00 |
Kim Alvefur |
description |
When setting port ranges, Gufw adds one rule per port. This takes a long time.
Steps to reproduce:
1. Start Gufw
2. Add a long port-range
3. Wait
4. Check what rules applied with sudo iptables-save
Version: 0.20.6-0ubuntu1 |
When setting port ranges, Gufw adds one rule per port. This takes a long time.
Steps to reproduce:
1. Start Gufw
2. Select the Advanced tab
3. Add a rule like Allow tcp from any to Any 8080 8090
4. Click add
Expected result:
One rule, To=8080:8090
Corresponding ufw command:
ufw allow proto tcp from any port 8080:8090
Actual result:
10 rules, {To=8080, Action=Allow, From=Anywhere}, {To=8081, Action=Allow, From=Anywhere}, etc
Corresponding ufw command:
for port in {8080..8090}; do
ufw allow proto tcp from any port $port
done
Version: 0.20.7-0ubuntu2 |
|