Ticket #50 (closed enhancement: fixed)

Opened 5 months ago

Last modified 3 months ago

Detect support for --random option in NAT targets

Reported by: victor Assigned to: 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

09/22/08 07:42:28 changed by victor

  • priority changed from blocker to major.
  • version deleted.
  • milestone changed from 0.6 to 0.7.

10/04/08 12:28:28 changed by victor

  • status changed from new to closed.
  • resolution set to fixed.

Closed by changeset:196