Ticket #50 (closed enhancement: fixed)
Detect support for --random option in NAT targets
| Reported by: | victor | Owned by: | victor |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7 |
| Component: | vuurmuur | Version: | |
| Keywords: | Cc: |
Description
In 0.5.74 alpha 6 the random option was introduced, but it's only available on recent distro's. Find a way to autodetect if the option is a available on the system. So far the only way I see is by adding a rule with the new option and see if that works:
iptables -t nat -A POSTROUTING -o abc0 -j SNAT --to-source 1.2.3.4
returns 0
iptables -t nat -A POSTROUTING -o abc0 -j SNAT --to-source 1.2.3.4 --nonexistant
returns 2
Maybe there should be a separate test chain for this purpose.
Change History
Changed 23 months ago by victor
- priority changed from blocker to major
- version 0.5.74 alpha 6 deleted
- milestone changed from 0.6 to 0.7
Changed 22 months ago by victor
- status changed from new to closed
- resolution set to fixed
Closed by changeset:196
Note: See
TracTickets for help on using
tickets.
