summaryrefslogtreecommitdiffstats
path: root/iptables-restore.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix sscanf type errorsPatrick McHardy2007-10-171-5/+9
|
* Fix strict aliasing warningsPatrick McHardy2007-09-051-1/+5
|
* Introduces xtables match/target registrationYasuyuki KOZAKAI2007-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | - moves lib_dir to xtables.c - introduces struct pfinfo which has protocol family dependent infomations. - unifies load_ip[6]tables_ko() and moves them as load_xtables_ko() - introduces xt_{match,match_rule,target,tryload} and replaces ip[6]t_* with them - unifies following functions and move them to xtables.c - find_{match,find_target} - compatible_revision, compatible_{match,target}_revision - introduces xtables_register_{match,target} and make register_{match,target}[6] call them. xtables_register_* register ONLY matches/targets matched protocol family Some concepts: - source compatibility for libip[6]t_xxx.c with warning on compilation not binary compatibility. - binary compatibility between 2.4/2.6 kernel and iptables/ip6tables, of cause. - xtables is enough to support only one address family at runtime. Then xtables keeps infomations of only the focused address famiy in struct afinfo.
* Moves ip[6]tables_insmod() to xtables.c as xtables_insmod()Yasuyuki KOZAKAI2007-07-241-1/+2
|
* Fix missing newlines in iptables-save/restore output (Pavol Rusnak ↵Pavel Rusnak2007-05-101-2/+2
| | | | | | <prusnak@suse.cz>) Bugzilla #568
* fix problem with iptables-restore and quotes (close bugzilla id 505)Pablo Neira Ayuso2007-04-181-15/+32
|
* revert some slipped through patchesPablo Neira AyusoMaurice van der Pot2007-04-161-32/+15
|
* prepare conntrack and conntrackd merge: rename conntrack to conntrack-toolsPablo Neira Ayuso2007-04-161-15/+32
|
* Supress error message from modprobe on checking revision.Yasuyuki KOZAKAI2007-03-131-1/+1
|
* Fix missing space in error message (Bugzilla 544)Patrick McHardy2007-02-141-1/+1
|
* fix compile/install error for iptables-xml with DO_MULTI=1 (Lutz Jaenicke)Lutz Jaenicke2006-12-091-1/+1
|
* fix segfault or loading of invalid counters in ip[6]tables-restore (Olaf ↵Harald Welte2006-02-091-1/+4
| | | | Rempel) (Closes: #437)
* Flush chain with noflush when it is redefined (Charlie Brady ↵Charlie Brady2005-06-121-6/+15
| | | | <charlieb-netfilter-devel@budge.apana.org.au>)
* Fix setting lib_dir in ip*tables-{save,restore}Martin Josefsson2004-12-271-1/+5
|
* fix slightly changed semantics of iptc_is_builtinHarald Welte2004-08-301-2/+2
|
* Bastiaan Bakker's patch to combine iptables, iptables-save and iptables-restoreBastiaan Bakker2004-06-251-2/+8
| | | | for size reduction applied
* Get rid of some warnings when compiling 64bit.Martin Josefsson2004-05-261-2/+2
|
* Add --test (-t) in order to test the whole file without changing anything if ↵Martin Josefsson2004-02-011-6/+16
| | | | something fails
* Complain when COMMIT is missing for the last table in the inputMartin Josefsson2004-02-011-1/+6
|
* Another minor codestyle fixMartin Josefsson2004-01-311-2/+3
|
* Minor codestyle fixMartin Josefsson2004-01-311-2/+3
|
* I guess nobody actually used --verboseMartin Josefsson2004-01-311-2/+2
|
* Fix even more possibly not zero-terminated strings after copy (Karsten Desler)Karsten Desler2004-01-311-1/+2
|
* allow embedding of quote character inside quoted string (Michael Rash)Michael Rash2004-01-051-2/+6
|
* fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin ↵Martin Josefsson2003-05-021-2/+5
| | | | Josefsson)
* make gcc happyHarald Welte2003-03-061-3/+3
|
* make iptables-restore print the line number in case of an errorIlles Marci2003-03-031-2/+2
| | | | (Illes Marci <marci@balabit.hu>)
* fix iptables-restore to not segfault on invalid input (Illes Marci ↵Illes Marci2003-03-031-5/+8
| | | | <marci@balabit.hu>)
* copyright / GPL noticeHarald Welte2002-08-071-3/+3
|
* globally replace NETFILTER_VERSION with IPTABLES_VERSION to have consistent ↵Harald Welte2002-05-291-3/+3
| | | | naming
* fix typo in commentHarald Welte2002-01-171-2/+2
|
* Set verbose = 1 when -v option specified.Marc Boucher2001-12-061-2/+5
|
* check for --table as well as -t (Andreas Ferber)Harald Welte2001-10-221-2/+3
|
* fix stupid bug introduced with too-lazy "-t" checking.Harald Welte2001-10-211-17/+11
|
* fix of-by-one for-loop for debug statementHarald Welte2001-10-161-2/+2
|
* prevent ip(6)tables-restore from crashing when a line contains -tHarald Welte2001-10-161-1/+17
|
* - added patch to support statically linking of iptablesHarald Welte2001-08-061-1/+5
| | | | - iptables-save/-restore is no longer experimental
* Added support for iptables-restore module-load-on-demand (a. van schie)Harald Welte2001-06-161-5/+18
|
* iptables-save had problems with multiple spaces between options (A. van Schie)Harald Welte2001-05-261-3/+6
|
* the parse-error with log target and spaces in log-prefix should be fixed nowHarald Welte2001-05-031-13/+63
|
* fixing a lot of bugs / cleaning upHarald Welte2001-03-151-57/+57
| | | | | - no more dependency problems with user-defined chains - cleanup of the old strtok problem ( no more goto)
* ip6tables-save/-restore by Kis-Szabo AndrasAndrás Kis-Szabó2001-02-261-2/+11
|
* added 'iptables --set-counters' and fixed counter-restore in iptables-restoreHarald Welte2001-01-231-12/+17
|
* Addeed FIXME.Rusty Russell2001-01-071-0/+1
|
* o serveral changes / additions to libiptc:Harald Welte2001-01-051-5/+29
| | | | | | | | | - 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
* adding --noflush option for iptables-restoreHarald Welte2000-12-191-13/+44
|
* preprocessor macro syntaxHarald Welte2000-12-061-2/+2
|
* make iptables-restore and iptables-save work again!Harald Welte2000-12-011-33/+103
|
* Makefile fixes for release.v1.0.0-alphaRusty Russell2000-03-201-1/+1
| | | | Whitespace cleanups.
* reorganized tree after kernel mergeMarc Boucher2000-03-201-0/+154