[Bug 982961] Re: "RATEEST" and "statistic" modules are broken
Bryce Harrington
982961 at bugs.launchpad.net
Thu Jan 31 19:50:59 UTC 2013
Both branch uploads have been sponsored. Moving subscription from
ubuntu-sponsors to ubuntu-sru.
** Changed in: iptables (Ubuntu Precise)
Status: In Progress => Fix Committed
** Changed in: iptables (Ubuntu Quantal)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/982961
Title:
"RATEEST" and "statistic" modules are broken
Status in “iptables” package in Ubuntu:
Fix Released
Status in “iptables” source package in Precise:
Fix Committed
Status in “iptables” source package in Quantal:
Fix Committed
Bug description:
[Impact]
The RATEEST and statistic modules in iptables do not work correctly because they were not built properly. By linking these modules against -lm the modules work correctly.
[Test Case]
Run the following:
# iptables -m RATEEST
/lib/xtables/libxt_RATEEST.so: /lib/xtables/libxt_RATEEST.so: undefined symbol: log
iptables v1.4.12: Couldn't load match `RATEEST':Success
Try `iptables -h' or 'iptables --help' for more information.
# iptables -m statistic
/lib/xtables/libxt_statistic.so: /lib/xtables/libxt_statistic.so: undefined symbol: lround
iptables v1.4.12: Couldn't load match `statistic':Success
To pass the test we shouldn't see 'undefined symbol' for lround/log.
[Regression Potential]
These patches are cherry-picked from upstream iptables.
They only add -lm when building RATEEST and statistics modules.
--
# iptables -m RATEEST
/lib/xtables/libxt_RATEEST.so: /lib/xtables/libxt_RATEEST.so: undefined symbol: log
iptables v1.4.12: Couldn't load match `RATEEST':Success
Try `iptables -h' or 'iptables --help' for more information.
# iptables -m statistic
/lib/xtables/libxt_statistic.so: /lib/xtables/libxt_statistic.so: undefined symbol: lround
iptables v1.4.12: Couldn't load match `statistic':Success
Try `iptables -h' or 'iptables --help' for more information.
This two modules should be linked against -lm
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iptables/+bug/982961/+subscriptions
More information about the Ubuntu-sponsors
mailing list