Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | iptables --list-rules command | Henrik Nordstrom | 2008-05-13 | 1 | -205/+0 |
| | | | | | | | | | | | | | | | | | | 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> | ||||
* | iptables-save:remove unnecessary code. | Shan Wei | 2008-04-21 | 1 | -13/+0 |
| | | | | | | The following code is never be used. It should be removed. Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> | ||||
* | Remove old functions, constants | Jan Engelhardt | 2008-04-15 | 1 | -4/+4 |
| | |||||
* | iptables: use C99 lists for struct options | Gáspár Lajos | 2008-04-14 | 1 | -6/+6 |
| | |||||
* | Combine IP{,6}T_LIB_DIR into XTABLES_LIBDIR | Jan Engelhardt | 2008-04-13 | 1 | -3/+8 |
| | |||||
* | Fix all remaining warnings (missing declarations, missing prototypes) | Jan Engelhardt | 2008-04-13 | 1 | -0/+1 |
| | |||||
* | Fix -Wshadow warnings and clean up xt_sctp.h | Jan Engelhardt | 2008-04-06 | 1 | -5/+5 |
| | | | | | Note: xt_sctp.h is still not merged upstream in the kernel as of this commit. But a refactoring was really needed. | ||||
* | whitespace cleanup | Max Kellermann | 2008-01-29 | 1 | -11/+11 |
| | | | | Max Kellermann <max@duempel.org> | ||||
* | iptables and NO_SHARED_LIBS/dlfcn.h | Mike Frysinger | 2007-12-19 | 1 | -1/+4 |
| | | | | | | | | 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> | ||||
* | iptables: always print mask in iptables-save | Jan Engelhardt | 2007-11-25 | 1 | -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> | ||||
* | Don't silenty exit on failure to open /proc/net/{ip,ip6}_tables_names | Victor Stinner | 2007-10-18 | 1 | -1/+3 |
| | | | | Victor Stinner <victor.stinner@inl.fr> | ||||
* | Fix missing newlines in iptables-save/restore output (Pavol Rusnak ↵ | Pavel Rusnak | 2007-05-10 | 1 | -1/+1 |
| | | | | | | <prusnak@suse.cz>) Bugzilla #568 | ||||
* | Fix iptables-save not printing -s !0/0 and -d !0/0 as well as ip6tables | Patrick McHardy | 2006-12-02 | 1 | -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 | Harald Welte | 2005-11-24 | 1 | -0/+4 |
| | |||||
* | add 'goto' support (Henrik Nordstrom <hno@marasystems.com>) | Henrik Nordstrom | 2005-11-05 | 1 | -1/+1 |
| | |||||
* | poll goto specific changes out of trunk | Harald WeltePablo Neira | 2005-04-15 | 1 | -1/+1 |
| | |||||
* | fix iptables-save/restore of goto (Jonas Berlin) | Jonas Berlin | 2005-04-15 | 1 | -1/+1 |
| | |||||
* | Fix setting lib_dir in ip*tables-{save,restore} | Martin Josefsson | 2004-12-27 | 1 | -0/+4 |
| | |||||
* | Bastiaan Bakker's patch to combine iptables, iptables-save and iptables-restore | Bastiaan Bakker | 2004-06-25 | 1 | -1/+7 |
| | | | | for size reduction applied | ||||
* | Get rid of some warnings when compiling 64bit. | Martin Josefsson | 2004-05-26 | 1 | -2/+2 |
| | |||||
* | include netdb.h if we use getprotobynumber | Harald Welte | 2004-04-15 | 1 | -0/+1 |
| | |||||
* | use /etc/protocols when printing protocol names (Pedro Lamarão) | Pedro Lamarão | 2007-11-30 | 1 | -0/+6 |
| | |||||
* | add userspace part of SCTP match | Harald Welte | 2004-02-21 | 1 | -0/+1 |
| | |||||
* | Make sure to use matches in the order they are given when calling ↵ | Martin Josefsson | 2004-02-02 | 1 | -1/+1 |
| | | | | do_command() multiple times. | ||||
* | fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin ↵ | Martin Josefsson | 2003-05-02 | 1 | -0/+2 |
| | | | | Josefsson) | ||||
* | copyright / GPL notice | Harald Welte | 2002-08-07 | 1 | -2/+5 |
| | |||||
* | globally replace NETFILTER_VERSION with IPTABLES_VERSION to have consistent ↵ | Harald Welte | 2002-05-29 | 1 | -2/+2 |
| | | | | naming | ||||
* | Added -d and -t short options to getopt_long() call. | Marc Boucher | 2001-12-06 | 1 | -1/+1 |
| | |||||
* | make sure we print the "+" at the end of ppp+ stype interface names | Harald Welte | 2001-11-08 | 1 | -1/+3 |
| | |||||
* | fix bug in iptables-save, ocurring with targets without save() function. | Harald Welte | 2001-10-16 | 1 | -6/+14 |
| | | | | Debian Bug #113011 | ||||
* | - added patch to support statically linking of iptables | Harald Welte | 2001-08-06 | 1 | -0/+4 |
| | | | | - iptables-save/-restore is no longer experimental | ||||
* | Fix speling of own name. | Rusty Russell | 2001-07-10 | 1 | -1/+1 |
| | | | | Fix EMail address. | ||||
* | ip6tables-save without target fix, scoreboard | Harald Welte | 2001-07-05 | 1 | -1/+1 |
| | |||||
* | A. van Schie: bug report "iptables-save doesn't save fall-through rules ↵ | Harald Welte | 2001-05-24 | 1 | -1/+4 |
| | | | | correctly" | ||||
* | hopefully fixed the multiple-interface iptables-save problem | Harald Welte | 2001-05-23 | 1 | -1/+1 |
| | |||||
* | fixes '_' in interface names bug (iptables) | Harald Welte | 2001-05-12 | 1 | -1/+1 |
| | | | | fixes '+' in interface names bug (iptables-save) | ||||
* | fixing a lot of bugs / cleaning up | Harald Welte | 2001-03-15 | 1 | -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 Andras | András Kis-Szabó | 2001-02-26 | 1 | -1/+3 |
| | |||||
* | Fixes bug with inverted destination IP (report+fix by Bart Theunissen) | Harald Welte | 2001-01-26 | 1 | -1/+1 |
| | |||||
* | fix another iptables-save segfault when match doesn't provide save function ↵ | Harald Welte | 2001-01-24 | 1 | -1/+4 |
| | | | | (bug detected by Emmanuel Roger, fix by HW) | ||||
* | fixes segfault in iptables-save | Harald Welte | 2001-01-23 | 1 | -4/+5 |
| | |||||
* | Fix compile warning about const. | Rusty Russell | 2001-01-07 | 1 | -1/+1 |
| | |||||
* | o serveral changes / additions to libiptc: | Harald Welte | 2001-01-05 | 1 | -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! | Harald Welte | 2000-12-01 | 1 | -77/+83 |
| | |||||
* | Minor compile fixes. | Rusty Russell | 2000-08-27 | 1 | -2/+2 |
| | |||||
* | A few more fixes. | Rusty Russell | 2000-07-30 | 1 | -53/+102 |
| | |||||
* | Module loading now can be compulsory. | Rusty Russell | 2000-05-02 | 1 | -2/+3 |
| | |||||
* | Makefile fixes for release.v1.0.0-alpha | Rusty Russell | 2000-03-20 | 1 | -1/+1 |
| | | | | Whitespace cleanups. | ||||
* | reorganized tree after kernel merge | Marc Boucher | 2000-03-20 | 1 | -0/+260 |