summaryrefslogtreecommitdiff
path: root/tools/iptables-test.c
AgeCommit message (Collapse)AuthorFilesLines
2010-11-16iptables-test: Fix build failure against 2.6.37-rc1 headersSamuel Ortiz1-5/+5
2010-11-13iptables-test: Support for chain flushingSamuel Ortiz1-4/+82
2010-11-12iptables-test: Fix build failureLucas De Marchi1-3/+3
tools/iptables-test.c:786:5: error: cast from pointer to integer of different size tools/iptables-test.c:788:5: error: cast from pointer to integer of different size
2010-11-12iptables-test: Set builtin flag before inserting new entrySamuel Ortiz1-1/+1
2010-11-12iptables-test: Fix builtin chain rule additionSamuel Ortiz1-1/+17
2010-11-12iptables-test: Update builtin hooks and underflow arraysSamuel Ortiz1-16/+78
2010-10-30iptables-test: Support for chain deletionSamuel Ortiz1-3/+56
2010-10-30iptables-test: Properly clean tables upSamuel Ortiz1-1/+19
2010-10-30iptables-test: Support for user defined chain jumpsSamuel Ortiz1-4/+111
2010-10-30iptables-test: Update entries offsets properlySamuel Ortiz1-3/+25
This is needed to set the jump targets.
2010-10-30iptables-test: Merge rule adding routinesSamuel Ortiz1-55/+15
There is no valid reason for separating the builtin case from the generic one.
2010-10-26iptables-test: Build custom ruleSamuel Ortiz1-7/+45
The match and target correct parsing allows for custom rule building.
2010-10-26iptables-test: Inversion supportSamuel Ortiz1-5/+21
2010-10-26iptables-test: Parse targets and matches optionsSamuel Ortiz1-38/+91
The target and matches parsing routine allow for a proper xtable structure building. Those structures then allow for an easier rule building.
2010-10-25iptables-test: Add -t option supportSamuel Ortiz1-7/+15
This will be needed for masquerading support.
2010-10-25iptables-test: Initial command line parsingSamuel Ortiz1-11/+91
The command line options are an iptables subset.
2010-10-23iptables: Replace iptables-test programSamuel Ortiz1-108/+608
The new iptables-test no longer links against the unstable libiptc library. A link against libxtables is still necessary as the iptables extensions are only registered against iptables through this library. Not using it would mean replicating any of the extensions ConnMan could potentially need.
2010-08-20Fix iptables-test to work with iptables 1.4.9Robert Piasek1-2/+2
Starting with version 1.4.9 iptables dropped xtables_set_revision function. This patch removes any use of it.
2010-07-14iptables test programSamuel Ortiz1-0/+207
This piece of code allows to add a -m quota -j DROP rule to a user defined chain.