[SRU] ACL covering all IPv4 addresses is broken in 2.2.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nut (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: nut
$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
$ apt-cache policy nut
nut:
Installed: 2.2.1-2.1ubuntu7
Candidate: 2.2.1-2.1ubuntu7
Version table:
*** 2.2.1-2.1ubuntu7 0
500 http://
100 /var/lib/
To accept connections from all IPv4 addresses, the following statement would be used in /etc/nut/upsd.conf:
ACL all 0.0.0.0/0
ACCEPT all
Instead of accepting all addresses, it rejects all (the default if no ACLs match).
This bug was fixed upstream, and released as part of nut-2.2.2. The patch is here:
http://
A temporary workaround is to create two rules which cover the full set of IPv4 addresses:
ACL all0 0.0.0.0/1
ACL all128 128.0.0.0/1
ACCEPT all0
ACCEPT all128
Changed in nut: | |
status: | In Progress → Fix Released |
Hi,
Thanks for the bug report can you try the package in my ppa? (http:// launchpad. net/~zulcss/ +archive)
Thanks
chuck