"RATEEST" and "statistic" modules are broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iptables (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Chris J Arges | ||
Quantal |
Fix Released
|
Medium
|
Chris J Arges |
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/
iptables v1.4.12: Couldn't load match `RATEEST':Success
Try `iptables -h' or 'iptables --help' for more information.
# iptables -m statistic
/lib/xtables/
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/
iptables v1.4.12: Couldn't load match `RATEEST':Success
Try `iptables -h' or 'iptables --help' for more information.
# iptables -m statistic
/lib/xtables/
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
Related branches
- Bryce Harrington: Approve
- Ubuntu branches: Pending requested
-
Diff: 122 lines (+97/-0)4 files modifieddebian/changelog (+8/-0)
debian/patches/0002-libxt_statistic-link-with-lm.patch (+60/-0)
debian/patches/0003-libxt_RATEEST-link-with-lm.patch (+27/-0)
debian/patches/series (+2/-0)
- Bryce Harrington: Approve
- Ubuntu branches: Pending requested
-
Diff: 122 lines (+97/-0)4 files modifieddebian/changelog (+8/-0)
debian/patches/9007-libxt_statistic-link-with-lm.patch (+60/-0)
debian/patches/9008-libxt_RATEEST-link-with-lm.patch (+27/-0)
debian/patches/series (+2/-0)
no longer affects: | iptables |
Changed in iptables (Ubuntu Precise): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Chris J Arges (arges) |
Changed in iptables (Ubuntu Quantal): | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Chris J Arges (arges) |
Changed in iptables (Ubuntu Precise): | |
status: | Fix Committed → New |
Changed in iptables (Ubuntu Precise): | |
status: | New → Fix Released |
Changed in iptables (Ubuntu Precise): | |
status: | Fix Released → Fix Committed |
tags: |
added: verification-done-precise removed: verification-done |
Quick fix