summaryrefslogtreecommitdiffstats
path: root/iptables.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix setting lib_dir in ip*tables-{save,restore}Martin Josefsson2004-12-271-10/+1
|
* Don't need ipt_entry_target()/ip6t_entry_target() now kernel uses static ↵Rusty Russell2004-12-221-15/+8
| | | | | | inline instead of extern inline (otherwise it doesn't compile without -O). Don't re-initialize libiptc/libip6t unless modprobe attempt actually succeeds. This makes nfsim run about 20 times faster, as it doesn't have to explore failures in the first iptc_init().
* Implement IPTABLES_LIB_DIR and IP6TABLES_LIB_DIR environment variables, and ↵Rusty Russell2004-12-201-4/+10
| | | | set them in testsuite if we're running iptables within tree.
* Fix module-autoloading in certain cases (Fixse Debian Bug 219686)Harald Welte2004-10-221-3/+5
|
* fix slightly changed semantics of iptc_is_builtinHarald Welte2004-08-301-1/+1
|
* Allocate enough memory for addr-list in host_to_addr()Patrick McHardy2004-08-031-1/+1
|
* fix dual-free bug with multiple-A dns records (keso@klister.net)keso2004-07-041-5/+2
|
* Get rid of some warnings when compiling 64bit.Martin Josefsson2004-05-261-13/+13
|
* Add versions of string_to_number() for use in 32bit userspace with 64bit kernel.Martin Josefsson2004-05-261-5/+30
|
* When compiled static, don't show help-messages for all matches and targets,Martin Josefsson2004-05-261-11/+13
| | | | only show help for specified ones.
* Get rid of some memoryleaks.Martin Josefsson2004-05-181-3/+25
| | | | Will make ip(6)tables-restore sessions use less memory.
* fix case where somebody uses '-i +' as interface name (Ozgur AKAN)Ozgur AKAN2004-04-071-1/+1
|
* add userspace part of SCTP matchHarald Welte2004-02-211-0/+1
|
* Make sure to use matches in the order they are given when calling ↵Martin Josefsson2004-02-021-62/+67
| | | | do_command() multiple times.
* Fix another possibly not zero-terminated string after copy (Karsten Desler)Karsten Desler2004-01-311-0/+1
|
* Fix possibly not zero-terminated string after copy (Karsten Desler)Karsten Desler2004-01-311-0/+1
|
* Fix '-L format bug' (Edward J. Huff) (Closes: #93)Harald Welte2003-05-311-2/+2
|
* Fix the previous fixMartin Josefsson2003-05-051-7/+1
| | | | No more segfaults or compilewarnings.
* fix trivial typoHarald Welte2003-05-031-1/+1
|
* fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin ↵Martin Josefsson2003-05-021-1/+7
| | | | Josefsson)
* fix stupid typo (Maciej Soltysiak)Maciej Soltysiak2003-03-311-1/+1
|
* make iptables-restore print the line number in case of an errorIlles Marci2003-03-031-0/+8
| | | | (Illes Marci <marci@balabit.hu>)
* rename-chain has a mandatary argument, not an optional (Juergen Baumann)Harald Welte2002-11-021-1/+1
|
* fix long-standing bug with regard to protocol-on-demand-loading and ↵Harald Welte2002-08-261-15/+55
| | | | iptables-save/restore (1.2.7 release bug)
* minor fixes by kisza:András Kis-Szabó2002-08-141-1/+1
| | | | | | | | - remove -C(check) function from ip6tables - -M added to the getopts()'s list (missed) - small change in the iptables help - remove some unused code - some GPL notice added
* modify protocol-match-extension load behaviour to eliminate the twoHarald Welte2002-08-071-24/+21
| | | | outstanding bugs.
* chain name may not clash with target nameJoszef Kadlecsik2002-06-241-3/+4
|
* make -M (aka --modprobe) work [Bart De Schuymer]Bart De Schuymer2002-06-151-1/+1
|
* remove '-C' check function;Harald Welte2002-05-071-63/+7
| | | | add check for chain names starting with '-' to -N command.
* remove check of find_proto(), since do_command() can be called multiple times,Harald Welte2002-05-041-2/+0
| | | | and match will be loaded after first call.
* make find_target() and find_match() honor LOAD_MUST_SUCCEED when NO_SHARED_LIBSMarc Boucher2002-03-241-0/+8
| | | | is defined.
* Fix 'iptables -p !' bug (segfault when `!' used without argument)Harald Welte2002-03-141-12/+13
|
* add bugfix in case we are using a protocol number (-p N) which has no ↵Harald Welte2002-02-181-3/+8
| | | | matching /etc/protocols entry
* Export addr_to_anyname(), mask_to_dotted(), parse_hostnetworkmask()Marc Boucher2001-12-061-4/+5
| | | | | and parse_protocol() as they are needed by the upcoming ipt_conntrack match module.
* no warning for . in interface names (vlan)Harald Welte2001-11-271-1/+3
|
* Added (and tested!) terabyte printing.Rusty Russell2001-08-151-1/+5
|
* - added patch to support statically linking of iptablesHarald Welte2001-08-061-0/+18
| | | | - iptables-save/-restore is no longer experimental
* string_to_number fixHarald Welte2001-07-231-15/+18
|
* Added support for iptables-restore module-load-on-demand (a. van schie)Harald Welte2001-06-161-1/+1
|
* hopefully fixed the multiple-interface iptables-save problemHarald Welte2001-05-231-17/+8
|
* fixes '_' in interface names bug (iptables)Harald Welte2001-05-121-1/+1
| | | | fixes '+' in interface names bug (iptables-save)
* Kilo/Mega/Giga otput in chain-summary fixedHarald Welte2001-03-251-23/+29
|
* fix the match-loading at protocol specification time (Sven Koch)Sven Koch2001-03-021-0/+3
|
* fixed problems with multiple do_command() calls and match ordering (Sven Koch)Sven Koch2001-02-271-10/+33
|
* ip6tables-save/-restore by Kis-Szabo AndrasAndrás Kis-Szabó2001-02-261-0/+3
|
* Added Laurence J. Lane's CR at end of /proc/sys/modprobe removal patch.Rusty Russell2001-02-091-0/+3
| | | | Fixed FD leak in success case.
* added 'iptables --set-counters' and fixed counter-restore in iptables-restoreHarald Welte2001-01-231-3/+33
|
* Spelling fix and whitespace clean.Rusty Russell2001-01-071-6/+6
|
* o serveral changes / additions to libiptc:Harald Welte2001-01-051-1/+1
| | | | | | | | | - iptc_set_policy has additional argument 'counters' to be consistent with iptc_get_policy - added functions for counter manipulation (iptc_read_counter, iptc_zero_counter, iptc_set_counter) o iptables-save and iptables-restore manpage clearifications o iptables-restore counter restoring for chain counters
* Add Harald's (munged) modprobe patch.Harald Welte2000-12-191-0/+77
|