summaryrefslogtreecommitdiffstats
path: root/libiptc/libiptc.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix returnvalue of TC_BUILTIN()Martin Josefsson2004-09-231-2/+2
| | | | | All jumps to nonexisting chains were believed to be jumps to builtin chains, that's bad as it made it impossible to add rules with external targets.
* Make sure to zero all the memory we allocate for the new table.Martin Josefsson2004-09-221-2/+2
| | | | | Makes flushing of chains containing more than a few entries work without potentially oopsing the kernel.
* Make TC_DELETE_ENTRY() and TC_DELETE_NUM_ENTRY() actually do something practicalMartin Josefsson2004-09-221-1/+5
|
* Fix two more rulenumber off by 1 errorsMartin Josefsson2004-09-221-3/+3
|
* Insertion of rules with -I was broken.Martin Josefsson2004-09-221-5/+15
| | | | | | | It checked if a rule existed on the position we were inserting to. Thus inserting into an empty chain didn't work. And it didn't care about the fact that the first rule in the chain has index 1 the rulenumer we get starts at 0...
* Fix rule countingMartin Josefsson2004-09-221-1/+3
|
* Fix listing of module targets.Martin Josefsson2004-09-221-1/+4
| | | | | | Type was only set for standard targets. Harald: please review.
* fix segfault from memory allocation: handle->entries is actualy struct ↵Harald Welte2004-09-191-2/+3
| | | | ipt_get_entries plus the size
* add delete by matching-rule to libiptc2 (still untested)Harald Welte2004-08-301-67/+19
|
* complete libiptc rewrite. Time to load 10k rules goes down from 2.20 ↵Harald Welte2004-08-291-909/+1199
| | | | minutes to 1.255 seconds (!). Might still contain bugs, use with caution.
* Get rid of some warnings when compiling 64bit.Martin Josefsson2004-05-261-3/+3
|
* cosmetic fix (space between include directive and filename)Harald Welte2004-05-161-3/+3
|
* Compiler warnings due to missing include files (Stephane Ouellette)Stephane Ouellette2004-05-141-1/+4
|
* Fix even more possibly not zero-terminated strings after copy (Karsten Desler)Karsten Desler2004-01-311-1/+2
|
* oops, don't commit this to the stable treeHarald Welte2004-01-061-547/+641
|
* commit all current changesHarald Welte2004-01-061-642/+548
|
* fix rule deletion in modified libiptc (Martin Josefsson)Martin Josefsson2003-07-051-5/+9
|
* Add my recent performance optimization work, might destabilize iptables.Harald Welte2003-06-241-13/+108
| | | | | Please report bugs to bugzilla, we need to fix this up before releasing the next iptables version.
* implement chain cache ussing relative offsets instead of absolute entryHarald Welte2003-06-231-50/+73
| | | | | | pointers. This is needed for my current libiptc optimization work, since it needs the chain cache to still be correct after it has been reallocated to a different address.
* Fix possible doubleclose of sockfd.Martin Josefsson2003-06-131-2/+7
| | | | This shouldn't break anything, things were already broken.
* fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin ↵Martin Josefsson2003-05-021-16/+28
| | | | Josefsson)
* Fix libiptc memory hole during iptc_chain_next() (Tomas Lejdar)Tomáš Lejdar2003-04-301-2/+4
|
* globally replace NETFILTER_VERSION with IPTABLES_VERSION to have consistent ↵Harald Welte2002-05-291-2/+2
| | | | naming
* - don't need -DNDEBUG anymore. Instead, use -DIPTC_DEBUG to enableHarald Welte2002-02-131-2/+2
| | | | | | | | libiptc debugging. This is to make people at RedHat and Mandrake happy. - add debugging code for mangle5hooks table (will break debugging of iptables >= 1.2.6 on old kernels <= 2.4.18-pre6. *sigh*
* libiptc socket leaking fixHarald Welte2002-01-071-1/+4
|
* move defaults to bottom, print reasonable message for CHECK functionsHarald Welte2001-07-301-8/+12
|
* ipt_get_target is declared non-static in ip_tables.h, so it is non-static hereHarald Welte2001-05-261-2/+2
|
* added iptables --set-countersHarald Welte2001-01-231-2/+2
|
* libiptc counter functionHarald Welte2001-01-051-5/+137
|
* two libiptc bugs fixed, including the 'segv while doing more than oneHarald Welte2000-10-301-4/+5
| | | | action per commit' one.
* Fix allocation (base new alloc on current size, not original size).Rusty Russell2000-09-191-1/+1
|
* Added DROPPING chain.Rusty Russell2000-09-141-1/+4
|
* Finally fixed sparc64 counter bug (I hope).Rusty Russell2000-09-041-22/+14
|
* More debugging.Rusty Russell2000-09-041-2/+2
|
* More debugging.Rusty Russell2000-09-041-0/+5
|
* More debugging.Rusty Russell2000-09-041-1/+19
|
* Stop shadowing parameter.Rusty Russell2000-08-261-6/+6
|
* Handle *really* large index values without segfaulting.Rusty Russell2000-08-261-2/+6
|
* Better message for table does not exist.Rusty Russell2000-08-231-0/+1
|
* Modifications for new header (entries -> entrytable, for alignment reasons)Rusty Russell2000-07-071-19/+19
|
* More PPC alignment fixes.Rusty Russell2000-07-031-2/+2
|
* Made error message clearer.Rusty Russell2000-06-051-1/+1
|
* Minor change for debugging.Rusty Russell2000-05-311-1/+1
|
* Philip Blundell's IPv6 fixes.Philip Blundell2000-05-151-8/+8
|
* IPv6 FixesRusty Russell2000-05-101-22/+26
| | | | Alignment fixes.
* IPv6 enhancements.Rusty Russell2000-05-021-616/+267
|
* Alignment fixes (requires kernel patch).Rusty Russell2000-04-271-47/+52
|
* More fixes and testsuite enhancements.Rusty Russell2000-04-231-62/+7
|
* Caching speedups.Rusty Russell2000-04-231-151/+280
|
* Improved iptc_set_policy error messages.Marc Boucher2000-04-221-3/+8
|