netfilter-svn: trunk/iptables/iptables-save.c
No default branch
Revision 7523
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue May 13 11:08:26 2008 UTC (13 months, 3 weeks ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 3884 byte(s)
Diff to previous 7501
[patch 3/4] iptables --list-rules command
Adds iptables --list-rules (-S) command, acting as a combination of
iptables --list and iptables-save.
The primary motivation behind this patch is to get iptables-save like
output capabilities in iptables-restore, allowing "iptables-restore -n"
to be used as a consistent API to iptables for all kind of operations,
not only blind updates..
As a bonus iptables also gets the capability of printing the rules
as-is.
This completely replaces the earlier patch which added the --rules
option.
Henrik Nordstrom <henrik@henriknordstrom.net>
Revision 7501
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Apr 21 12:24:24 2008 UTC (14 months, 1 week ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8567 byte(s)
Diff to previous 7492
[patch]iptables-save:remove unnecessary code.
The following code is never be used. It should be removed.
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Revision 7492
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Apr 15 12:01:06 2008 UTC (14 months, 2 weeks ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8730 byte(s)
Diff to previous 7480
[PATCH 08/10] Remove old functions, constants
Revision 7480
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Apr 14 06:51:33 2008 UTC (14 months, 2 weeks ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8734 byte(s)
Diff to previous 7471
[PATCH 4/8] iptables: use C99 lists for struct options
Revision 7471
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun Apr 13 05:25:24 2008 UTC (14 months, 3 weeks ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8617 byte(s)
Diff to previous 7468
[PATCH 05/13] Combine IP{,6}T_LIB_DIR into XTABLES_LIBDIR
Revision 7468
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun Apr 13 05:17:58 2008 UTC (14 months, 3 weeks ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8463 byte(s)
Diff to previous 7446
[PATCH 02/13] Fix all remaining warnings (missing declarations, missing prototypes)
Revision 7446
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun Apr 6 15:43:13 2008 UTC (14 months, 3 weeks ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8435 byte(s)
Diff to previous 7301
[PATCH 05/24] Fix -Wshadow warnings and clean up xt_sctp.h
Note: xt_sctp.h is still not merged upstream in the kernel as of
this commit. But a refactoring was really needed.
Revision 7301
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Jan 29 13:42:48 2008 UTC (17 months ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8405 byte(s)
Diff to previous 7146
[PATCH]: whitespace cleanup
Max Kellermann <max@duempel.org>
Revision 7146
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed Dec 19 14:51:17 2007 UTC (18 months, 2 weeks ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8427 byte(s)
Diff to previous 7094
[patch] iptables and NO_SHARED_LIBS/dlfcn.h
if NO_SHARED_LIBS is defined, then iptables shouldnt even include dlfcn.h.
otherwise you hit a build failure when using toolchains that do not provide
dlfcn.h because they do not support shared objects.
Signed-Off-By: Mike Frysinger <vapier@gentoo.org>
Revision 7094
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun Nov 25 15:27:56 2007 UTC (19 months, 1 week ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8396 byte(s)
Diff to previous 7080
[PATCH]: iptables: always print mask in iptables-save
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>
Revision 7080
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Oct 18 14:27:03 2007 UTC (20 months, 2 weeks ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8214 byte(s)
Diff to previous 6828
[PATCH]: Don't silenty exit on failure to open /proc/net/{ip,ip6}_tables_names
Victor Stinner <victor.stinner@inl.fr>
Revision 6828
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu May 10 15:00:39 2007 UTC (2 years, 1 month ago) by /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net
File length: 8118 byte(s)
Diff to previous 6700
Fix missing newlines in iptables-save/restore output (Pavol Rusnak <prusnak@suse.cz>)
Bugzilla #568
Revision 6700
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sat Dec 2 17:17:33 2006 UTC (2 years, 7 months ago) by /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org
File length: 8116 byte(s)
Diff to previous 4552
Fix iptables-save not printing -s !0/0 and -d !0/0 as well as ip6tables
unnecessarily printing the address. Base on patch by Daniel De Graaf.
Revision 4552
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Nov 24 17:04:05 2005 UTC (3 years, 7 months ago) by /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org
File length: 8105 byte(s)
Diff to previous 4451
fix compilation of iptables on [old] systems that don't have IPT_F_GOTO
Revision 4451
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sat Nov 5 09:26:40 2005 UTC (3 years, 7 months ago) by /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org
File length: 8041 byte(s)
Diff to previous 3864
add 'goto' support (Henrik Nordstrom <hno@marasystems.com>)
Revision 3864
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Apr 15 09:35:50 2005 UTC (4 years, 2 months ago) by /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org
File length: 8002 byte(s)
Diff to previous 3863
poll goto specific changes out of trunk
Revision 3863
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Apr 15 09:35:24 2005 UTC (4 years, 2 months ago) by /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org
File length: 8041 byte(s)
Diff to previous 3504
fix iptables-save/restore of goto (Jonas Berlin)
Revision 3504
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Dec 27 19:49:28 2004 UTC (4 years, 6 months ago) by /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=gandalf/emailAddress=gandalf@netfilter.org
File length: 8002 byte(s)
Diff to previous 3071
Fix setting lib_dir in ip*tables-{save,restore}
Revision 3071
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Oct 7 18:06:59 2004 UTC (4 years, 8 months ago) by /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org
File length: 7922 byte(s)
Diff to previous 1400
move iptables to new trunk directory
Filename: iptables/trunk/iptables-save.c
Revision 1400
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Jun 25 11:18:57 2004 UTC (5 years ago) by kadlec
File length: 7922 byte(s)
Diff to previous 1393
Bastiaan Bakker's patch to combine iptables, iptables-save and iptables-restore
for size reduction applied
Filename: iptables/trunk/iptables-save.c
Revision 1393
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed May 26 16:04:48 2004 UTC (5 years, 1 month ago) by gandalf
File length: 7840 byte(s)
Diff to previous 1380
Get rid of some warnings when compiling 64bit.
Filename: iptables/trunk/iptables-save.c
Revision 1380
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Apr 15 10:10:19 2004 UTC (5 years, 2 months ago) by laforge
File length: 7760 byte(s)
Diff to previous 1375
include netdb.h if we use getprotobynumber
Filename: iptables/trunk/iptables-save.c
Revision 1375
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed Apr 7 09:33:17 2004 UTC (5 years, 2 months ago) by laforge
File length: 7741 byte(s)
Diff to previous 1367
use /etc/protocols when printing protocol names (Pedro Lamarão)
Filename: iptables/trunk/iptables-save.c
Revision 1367
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sat Feb 21 09:20:34 2004 UTC (5 years, 4 months ago) by laforge
File length: 7612 byte(s)
Diff to previous 1353
add userspace part of SCTP match
Filename: iptables/trunk/iptables-save.c
Revision 1353
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Feb 2 20:01:18 2004 UTC (5 years, 5 months ago) by gandalf
File length: 7585 byte(s)
Diff to previous 1269
Make sure to use matches in the order they are given when calling do_command() multiple times.
Filename: iptables/trunk/iptables-save.c
Revision 1269
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri May 2 15:30:11 2003 UTC (6 years, 2 months ago) by laforge
File length: 7579 byte(s)
Diff to previous 1183
fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin Josefsson)
Filename: iptables/trunk/iptables-save.c
Revision 1183
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed Aug 7 09:07:41 2002 UTC (6 years, 10 months ago) by laforge
File length: 7562 byte(s)
Diff to previous 1152
copyright / GPL notice
Filename: iptables/trunk/iptables-save.c
Revision 1152
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed May 29 13:08:15 2002 UTC (7 years, 1 month ago) by laforge
File length: 7483 byte(s)
Diff to previous 1066
globally replace NETFILTER_VERSION with IPTABLES_VERSION to have consistent naming
Filename: iptables/trunk/iptables-save.c
Revision 1066
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Dec 6 15:05:48 2001 UTC (7 years, 6 months ago) by marc
File length: 7485 byte(s)
Diff to previous 1052
Added -d and -t short options to getopt_long() call.
Filename: iptables/trunk/iptables-save.c
Revision 1052
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Nov 8 22:28:23 2001 UTC (7 years, 7 months ago) by laforge
File length: 7482 byte(s)
Diff to previous 1039
make sure we print the "+" at the end of ppp+ stype interface names
Filename: iptables/trunk/iptables-save.c
Revision 1039
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Oct 16 09:40:13 2001 UTC (7 years, 8 months ago) by laforge
File length: 7376 byte(s)
Diff to previous 1005
fix bug in iptables-save, ocurring with targets without save() function.
Debian Bug #113011
Filename: iptables/trunk/iptables-save.c
Revision 1005
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Aug 6 18:50:21 2001 UTC (7 years, 10 months ago) by laforge
File length: 7147 byte(s)
Diff to previous 981
- added patch to support statically linking of iptables
- iptables-save/-restore is no longer experimental
Filename: iptables/trunk/iptables-save.c
Revision 981
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Jul 10 13:41:49 2001 UTC (7 years, 11 months ago) by rusty
File length: 7097 byte(s)
Diff to previous 979
Fix speling of own name.
Fix EMail address.
Filename: iptables/trunk/iptables-save.c
Revision 979
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Jul 5 06:29:10 2001 UTC (8 years ago) by laforge
File length: 7097 byte(s)
Diff to previous 964
ip6tables-save without target fix, scoreboard
Filename: iptables/trunk/iptables-save.c
Revision 964
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu May 24 23:22:28 2001 UTC (8 years, 1 month ago) by laforge
File length: 7091 byte(s)
Diff to previous 963
A. van Schie: bug report "iptables-save doesn't save fall-through rules correctly"
Filename: iptables/trunk/iptables-save.c
Revision 963
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed May 23 23:07:33 2001 UTC (8 years, 1 month ago) by laforge
File length: 6998 byte(s)
Diff to previous 959
hopefully fixed the multiple-interface iptables-save problem
Filename: iptables/trunk/iptables-save.c
Revision 959
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sat May 12 04:38:31 2001 UTC (8 years, 1 month ago) by laforge
File length: 6998 byte(s)
Diff to previous 915
fixes '_' in interface names bug (iptables)
fixes '+' in interface names bug (iptables-save)
Filename: iptables/trunk/iptables-save.c
Revision 915
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Mar 15 15:12:02 2001 UTC (8 years, 3 months ago) by laforge
File length: 6998 byte(s)
Diff to previous 908
fixing a lot of bugs / cleaning up
- no more dependency problems with user-defined chains
- cleanup of the old strtok problem ( no more goto)
Filename: iptables/trunk/iptables-save.c
Revision 908
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Feb 26 17:31:20 2001 UTC (8 years, 4 months ago) by laforge
File length: 6766 byte(s)
Diff to previous 889
ip6tables-save/-restore by Kis-Szabo Andras
Filename: iptables/trunk/iptables-save.c
Revision 889
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Jan 26 03:28:18 2001 UTC (8 years, 5 months ago) by laforge
File length: 6717 byte(s)
Diff to previous 886
Fixes bug with inverted destination IP (report+fix by Bart Theunissen)
Filename: iptables/trunk/iptables-save.c
Revision 886
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed Jan 24 01:32:51 2001 UTC (8 years, 5 months ago) by laforge
File length: 6717 byte(s)
Diff to previous 882
fix another iptables-save segfault when match doesn't provide save function (bug detected by Emmanuel Roger, fix by HW)
Filename: iptables/trunk/iptables-save.c
Revision 882
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Jan 23 22:46:22 2001 UTC (8 years, 5 months ago) by laforge
File length: 6645 byte(s)
Diff to previous 871
fixes segfault in iptables-save
Filename: iptables/trunk/iptables-save.c
Revision 871
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun Jan 7 06:54:51 2001 UTC (8 years, 5 months ago) by rusty
File length: 6609 byte(s)
Diff to previous 863
Fix compile warning about const.
Filename: iptables/trunk/iptables-save.c
Revision 863
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Jan 5 15:20:07 2001 UTC (8 years, 5 months ago) by laforge
File length: 6589 byte(s)
Diff to previous 849
o serveral changes / additions to libiptc:
- 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
Filename: iptables/trunk/iptables-save.c
Revision 849
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Dec 1 14:26:20 2000 UTC (8 years, 7 months ago) by laforge
File length: 6585 byte(s)
Diff to previous 795
make iptables-restore and iptables-save work again!
Filename: iptables/trunk/iptables-save.c
Revision 795
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun Aug 27 07:42:54 2000 UTC (8 years, 10 months ago) by rusty
File length: 6738 byte(s)
Diff to previous 778
Minor compile fixes.
Filename: iptables/trunk/iptables-save.c
Revision 778
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun Jul 30 01:43:01 2000 UTC (8 years, 11 months ago) by rusty
File length: 6784 byte(s)
Diff to previous 736
A few more fixes.
Filename: iptables/trunk/iptables-save.c
Revision 736
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue May 2 16:44:29 2000 UTC (9 years, 2 months ago) by rusty
File length: 5812 byte(s)
Diff to previous 704
Module loading now can be compulsory.
Filename: iptables/trunk/iptables-save.c
Revision 704
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Mar 20 07:03:28 2000 UTC (9 years, 3 months ago) by rusty
File length: 5795 byte(s)
Diff to previous 702
Makefile fixes for release.
Whitespace cleanups.
Filename: iptables/trunk/iptables-save.c
Revision 702
-
(view)
(download)
(as text)
- [select for diffs]
Added
Mon Mar 20 06:03:29 2000 UTC (9 years, 3 months ago) by marc
File length: 5796 byte(s)
reorganized tree after kernel merge
This form allows you to request diffs between any two revisions of
a file. You may select a symbolic revision name using the selection
box or you may type in a numeric name using the type-in text box.