summaryrefslogtreecommitdiffstats
path: root/iptables-save.c
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH]: iptables: always print mask in iptables-save/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net2007-11-251-3/+15
| | | | | | | | | | | | | iptables prints the mask as a prefix length if it is valid; This patch makes iptables-save do the same. Also, iptables-save will always print "/32" in the "-s addr/32" case now. This reduces the amount of code external parsing scripts need to provide to properly parse iptables-save output. ip6tables-save already does the right thing, so no change there. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
* [PATCH]: Don't silenty exit on failure to open /proc/net/{ip,ip6}_tables_names/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net2007-10-181-1/+3
| | | | Victor Stinner <victor.stinner@inl.fr>
* Fix missing newlines in iptables-save/restore output (Pavol Rusnak ↵/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net2007-05-101-1/+1
| | | | | | <prusnak@suse.cz>) Bugzilla #568
* Fix iptables-save not printing -s !0/0 and -d !0/0 as well as ip6tables/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org2006-12-021-1/+1
| | | | unnecessarily printing the address. Base on patch by Daniel De Graaf.
* fix compilation of iptables on [old] systems that don't have IPT_F_GOTO/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-241-0/+4
|
* add 'goto' support (Henrik Nordstrom <hno@marasystems.com>)/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-051-1/+1
|
* poll goto specific changes out of trunk/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-04-151-1/+1
|
* fix iptables-save/restore of goto (Jonas Berlin)/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-04-151-1/+1
|
* Fix setting lib_dir in ip*tables-{save,restore}/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=gandalf/emailAddress=gandalf@netfilter.org2004-12-271-0/+4
|
* Bastiaan Bakker's patch to combine iptables, iptables-save and iptables-restorekadlec2004-06-251-1/+7
| | | | for size reduction applied
* Get rid of some warnings when compiling 64bit.gandalf2004-05-261-2/+2
|
* include netdb.h if we use getprotobynumberlaforge2004-04-151-0/+1
|
* use /etc/protocols when printing protocol names (Pedro Lamarão)laforge2007-11-301-0/+6
|
* add userspace part of SCTP matchlaforge2004-02-211-0/+1
|
* Make sure to use matches in the order they are given when calling ↵gandalf2004-02-021-1/+1
| | | | do_command() multiple times.
* fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin ↵laforge2003-05-021-0/+2
| | | | Josefsson)
* copyright / GPL noticelaforge2002-08-071-2/+5
|
* globally replace NETFILTER_VERSION with IPTABLES_VERSION to have consistent ↵laforge2002-05-291-2/+2
| | | | naming
* Added -d and -t short options to getopt_long() call.marc2001-12-061-1/+1
|
* make sure we print the "+" at the end of ppp+ stype interface nameslaforge2001-11-081-1/+3
|
* fix bug in iptables-save, ocurring with targets without save() function.laforge2001-10-161-6/+14
| | | | Debian Bug #113011
* - added patch to support statically linking of iptableslaforge2001-08-061-0/+4
| | | | - iptables-save/-restore is no longer experimental
* Fix speling of own name.rusty2001-07-101-1/+1
| | | | Fix EMail address.
* ip6tables-save without target fix, scoreboardlaforge2001-07-051-1/+1
|
* A. van Schie: bug report "iptables-save doesn't save fall-through rules ↵laforge2001-05-241-1/+4
| | | | correctly"
* hopefully fixed the multiple-interface iptables-save problemlaforge2001-05-231-1/+1
|
* fixes '_' in interface names bug (iptables)laforge2001-05-121-1/+1
| | | | fixes '+' in interface names bug (iptables-save)
* fixing a lot of bugs / cleaning uplaforge2001-03-151-5/+15
| | | | | - no more dependency problems with user-defined chains - cleanup of the old strtok problem ( no more goto)
* ip6tables-save/-restore by Kis-Szabo Andraslaforge2001-02-261-1/+3
|
* Fixes bug with inverted destination IP (report+fix by Bart Theunissen)laforge2001-01-261-1/+1
|
* fix another iptables-save segfault when match doesn't provide save function ↵laforge2001-01-241-1/+4
| | | | (bug detected by Emmanuel Roger, fix by HW)
* fixes segfault in iptables-savelaforge2001-01-231-4/+5
|
* Fix compile warning about const.rusty2001-01-071-1/+1
|
* o serveral changes / additions to libiptc:laforge2001-01-051-3/+3
| | | | | | | | | - 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
* make iptables-restore and iptables-save work again!laforge2000-12-011-77/+83
|
* Minor compile fixes.rusty2000-08-271-2/+2
|
* A few more fixes.rusty2000-07-301-53/+102
|
* Module loading now can be compulsory.rusty2000-05-021-2/+3
|
* Makefile fixes for release.svn_t_nf-post-merge-1-0-0alpharusty2000-03-201-1/+1
| | | | Whitespace cleanups.
* reorganized tree after kernel mergesvn_t_netfiltermarc2000-03-201-0/+260