Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In ip[6]tables.c, NUMBER_OF_OPT was increased to 12 for the OPT_COUNTERS | Patrick McHardyHarald Welte | 2006-04-22 | 1 | -15/+16 |
| | | | | | | option. However, the new array element is not initialized in either commands_v_options[NUMBER_OF_CMD][NUMBER_OF_OPT] or inverse_for_options[NUMBER_OF_OPT]. (Closes: #462) | ||||
* | cmdflags is used in cmd2char() to return the option for a command. It uses the | Harald Welte | 2006-04-21 | 1 | -2/+1 |
| | | | | | | bit position of the command mask as an index in the array. There's no entry for CMD_CHECK (0x0800U), so lookups for CMD_RENAME_CHAIN (0x1000U) index outside the array. (Closes: #463) | ||||
* | [IP6TABLES] kill manual comparing protocol name with "ipv6-icmp". | Yasuyuki KOZAKAI | 2006-04-15 | 1 | -3/+1 |
| | |||||
* | don't allow to specify protocol of IPv6 extension header (Yasuyuki Kozakai) | Yasuyuki KOZAKAI | 2006-03-29 | 1 | -0/+16 |
| | | | | | | | Sometimes I hear that people do 'ip6tables -p ah ...' which never matches any packet. IPv6 extension headers except of ESP are skipped and invalid as argument of '-p'. Then I propose that ip6tables exits with error in such case. | ||||
* | Multiple matches of the same type can be specified on the commandline. | Joszef Kadlecsik | 2006-03-03 | 1 | -25/+44 |
| | | | | | | | | | | If two or more matches of the same type are detected then the options are assumed to be grouped in order to tell which option belongs to which match: ... -m foo ... <options0> ... -m foo ... <options1> ... Otherwise the commandline parsing is unmodified. | ||||
* | Make '-p all' a special case that is handled before calling getprotoent() ↵ | Harald Welte | 2006-02-11 | 1 | -1/+7 |
| | | | | (Closes: #446) | ||||
* | fix double-free if a single match is used multiple times within a signle rule | Harald Welte | 2006-02-11 | 1 | -1/+3 |
| | | | | | | (Closes: #440). However, while this fixes the double-free, it still doesn't make iptables support two of the same matches within one rule. Apparently the last matchinfo is copied into all the previous matchinfo instances. | ||||
* | Fix probing for supported revisions (Jones Desougi <jones@ingate.com>) | Jones Desougi | 2005-12-22 | 1 | -4/+4 |
| | | | | Bugzilla #413 | ||||
* | The call to free_opts() in merge_options() is invalid C. The oldopts | Marcus Sundberg | 2005-07-29 | 1 | -3/+1 |
| | | | | | | | | | argument always refers to the memory pointed to by the opts global, which may be freed by the call to free_opts(), but oldopts is used after the free_opts() call. This patch makes sure we don't use freed memory. (Marcus Sundberg <marcus@ingate.com>) ip6tables merge by myself. | ||||
* | get rid of numerous gcc-4 warnings | Harald Welte | 2005-07-19 | 1 | -1/+2 |
| | |||||
* | reduce code replication of parse_interface() (Yasuyuki Kozakai) | Yasuyuki KOZAKAI | 2005-06-22 | 1 | -2/+1 |
| | |||||
* | Chain name should not start with '!' (Yasuyuki Kozakai ↵ | Yasuyuki KOZAKAI | 2005-06-13 | 1 | -2/+2 |
| | | | | <yasuyuki.kozakai@toshiba.co.jp>) | ||||
* | Release previously merged options from merge_opts(), reduces memory-usage of ↵ | Pablo Neira | 2005-05-29 | 1 | -5/+17 |
| | | | | iptables-restore dramatically (Pablo Neira) | ||||
* | re-sync ip6tables with iptables (check for init functions) (Jonas Berlin) | Jonas Berlin | 2005-04-01 | 1 | -8/+12 |
| | |||||
* | the optflags array contains a '3' for the OPT_LINENUMBERS entry while ↵ | Jonas Berlin | 2005-04-01 | 1 | -1/+1 |
| | | | | everywhere else '0' is used (Jonas Berlin) | ||||
* | Kill NFC_* stuff in iptables (Pablo Neira <pablo@eurodev.net>) | Pablo Neira | 2005-02-14 | 1 | -5/+0 |
| | | | | Fixes build with conntrack event patch for 2.6 | ||||
* | Fix setting lib_dir in ip*tables-{save,restore} | Martin Josefsson | 2004-12-27 | 1 | -10/+1 |
| | |||||
* | Don't need ipt_entry_target()/ip6t_entry_target() now kernel uses static ↵ | Rusty Russell | 2004-12-22 | 1 | -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 Russell | 2004-12-20 | 1 | -5/+11 |
| | | | | set them in testsuite if we're running iptables within tree. | ||||
* | Fix module-autoloading in certain cases (Fixse Debian Bug 219686) | Harald Welte | 2004-10-22 | 1 | -3/+5 |
| | |||||
* | slightly different semantics of iptc_builtin | Harald Welte | 2004-08-30 | 1 | -1/+1 |
| | |||||
* | Get rid of some warnings when compiling 64bit. | Martin Josefsson | 2004-05-26 | 1 | -13/+13 |
| | |||||
* | Add versions of string_to_number() for use in 32bit userspace with 64bit kernel. | Martin Josefsson | 2004-05-26 | 1 | -5/+30 |
| | |||||
* | When compiled static, don't show help-messages for all matches and targets, | Martin Josefsson | 2004-05-26 | 1 | -11/+13 |
| | | | | only show help for specified ones. | ||||
* | Get rid of some memoryleaks. | Martin Josefsson | 2004-05-18 | 1 | -3/+25 |
| | | | | Will make ip(6)tables-restore sessions use less memory. | ||||
* | fix case where somebody uses '-i +' as interface name (Ozgur AKAN) | Ozgur AKAN | 2004-04-07 | 1 | -1/+1 |
| | |||||
* | Bloody copy-n-edit. Make sure to use matches in the order they are given... | Martin Josefsson | 2004-02-02 | 1 | -62/+67 |
| | |||||
* | Fix even more possibly not zero-terminated strings after copy (Karsten Desler) | Karsten Desler | 2004-01-31 | 1 | -0/+1 |
| | |||||
* | Fix printing of odd ip6tables netmasks (Closes: #103) | Harald Welte | 2003-06-24 | 1 | -3/+6 |
| | |||||
* | Fix the previous fix | Martin Josefsson | 2003-05-05 | 1 | -7/+1 |
| | | | | No more segfaults or compilewarnings. | ||||
* | fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin ↵ | Martin Josefsson | 2003-05-02 | 1 | -1/+7 |
| | | | | Josefsson) | ||||
* | port 'line number on error in iptables-restore' from ipv4 | Harald Welte | 2003-03-05 | 1 | -0/+8 |
| | |||||
* | rename-chain has a mandatary argument, not an optional (Juergen Baumann) | Harald Welte | 2002-11-02 | 1 | -1/+1 |
| | |||||
* | bring ip6tables up-to-date with recent iptables change (proto match ext) | Harald Welte | 2002-08-26 | 1 | -0/+55 |
| | |||||
* | minor fixes by kisza: | András Kis-Szabó | 2002-08-14 | 1 | -94/+6 |
| | | | | | | | | - 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 | ||||
* | copyright / GPL notice | Harald Welte | 2002-08-07 | 1 | -0/+7 |
| | |||||
* | chain name may not clash with target name | Joszef Kadlecsik | 2002-06-24 | 1 | -3/+8 |
| | |||||
* | make find_target() and find_match() honor LOAD_MUST_SUCCEED when NO_SHARED_LIBS | Marc Boucher | 2002-03-24 | 1 | -0/+8 |
| | | | | is defined. | ||||
* | Fix 'iptables -p !' bug (segfault when `!' used without argument) | Harald Welte | 2002-03-14 | 1 | -12/+13 |
| | |||||
* | sync ip6tables.c / ip6tables.8 with ipv4 | Harald Welte | 2002-03-03 | 1 | -238/+265 |
| | |||||
* | IPv6 ICMP naming problem fix | Harald Welte | 2001-10-04 | 1 | -8/+26 |
| | |||||
* | - added patch to support statically linking of iptables | Harald Welte | 2001-08-06 | 1 | -0/+18 |
| | | | | - iptables-save/-restore is no longer experimental | ||||
* | string_to_number fix | Harald Welte | 2001-07-23 | 1 | -15/+17 |
| | |||||
* | small addition by kisza. | András Kis-Szabó | 2001-06-27 | 1 | -0/+1 |
| | |||||
* | Added support for iptables-restore module-load-on-demand (a. van schie) | Harald Welte | 2001-06-16 | 1 | -1/+1 |
| | |||||
* | name resolver patch (by kisza) | András Kis-Szabó | 2001-06-16 | 1 | -47/+81 |
| | |||||
* | ip6tables bug fixed | Harald Welte | 2001-05-28 | 1 | -1/+1 |
| | |||||
* | fixes '_' in interface names bug (iptables) | Harald Welte | 2001-05-12 | 1 | -1/+1 |
| | | | | fixes '+' in interface names bug (iptables-save) | ||||
* | ip6tables fixes by Fabrice Maurie | Fabrice MARIE | 2001-05-05 | 1 | -48/+209 |
| | |||||
* | Bugs occurring in multiple do_command6() fixed (Kiz-Szabo Andras) | András Kis-Szabó | 2001-05-03 | 1 | -25/+64 |
| |