#4 inconsisten iptables calling

open
nobody
None
9
2009-06-18
2009-06-18
Tiger Tiger
No

In pmlist.c in AddPortMapping, there calls to iptables from execv and iptc are inconsistent when compared against each other. One INSERTS a rule into the forwarding chain, and appends a rule into the prerouting chain, while the other appends into forwards, inserts into nat.

Attached is a fixed version of pmlist.c (Lines 247~300 have been somewhat changed)

Discussion

  • Tiger Tiger
    Tiger Tiger
    2009-06-18

    Fixed Version of pmlist.c

     
    Attachments
  • Tiger Tiger
    Tiger Tiger
    2009-06-18

    • priority: 5 --> 9