[Bug 982961] [NEW] "RATEEST" and "statistic" modules are broken

Launchpad Bug Tracker 982961 at bugs.launchpad.net
Wed Jan 30 15:38:30 UTC 2013


You have been subscribed to a public bug by Chris J Arges (arges):

[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

** Affects: iptables (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: iptables (Ubuntu Precise)
     Importance: Medium
     Assignee: Chris J Arges (arges)
         Status: In Progress

** Affects: iptables (Ubuntu Quantal)
     Importance: Medium
     Assignee: Chris J Arges (arges)
         Status: In Progress


** Tags: patch
-- 
"RATEEST" and "statistic" modules are broken 
https://bugs.launchpad.net/bugs/982961
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list