Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PATCH 07/10] Dynamically create xtables.h.in with version | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-04-15 | 1 | -216/+0 |
| | |||||
* | [PATCH 03/13] xtables.h: move non-exported parts to internal.h | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-04-13 | 1 | -61/+0 |
| | |||||
* | [PATCH 02/13] Fix all remaining warnings (missing declarations, missing ↵ | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-04-13 | 1 | -0/+7 |
| | | | | prototypes) | ||||
* | [PATCH 05/24] Fix -Wshadow warnings and clean up xt_sctp.h | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-04-06 | 1 | -2/+2 |
| | | | | | Note: xt_sctp.h is still not merged upstream in the kernel as of this commit. But a refactoring was really needed. | ||||
* | [PATCH]: escape strings | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-01-29 | 1 | -0/+6 |
| | | | | Max Kellermann <max@duempel.org> | ||||
* | [PATCH]: rename overlapping function names | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-01-20 | 1 | -0/+7 |
| | | | | | | Rename overlapping function names. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> | ||||
* | [PATCH]: bunch o' renames | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-01-20 | 1 | -0/+8 |
| | | | | | | | | Move a few functions from iptables.c/ip6tables.c to xtables.c so they are available for combined (both AF_INET and AF_INET6) libxt modules. Rename overlapping function names. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> | ||||
* | [PATCH]: common error messages | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-01-20 | 1 | -1/+6 |
| | | | | | | | | Error messages vary wildly among modules, and there is a lot of reundance in it too. Introduce a helper function that does all of the parameter checking boilerplate and gives unique messages. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> | ||||
* | Introduce strtonum(), which works like string_to_number(), but passes | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-01-20 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | back the 'end' pointer. It is useful where you want to do boundary checking yet work with strings that are not entirely slurped by strtoul(), e.g.: s = "1/2"; /* one half */ if (!strtonum(s, &end, &value, 0, 5)) error("Zero-length string, or value out of bounds"); if (*end != '/') error("Malformed string"); info->param1 = value; if (!strtonum(end + 1, &end, &value, 2, 4)) error(".."); if (*end != '\0') error("Malformed string"); info->param2 = value; Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> | ||||
* | Converts the iptables build infrastructure to autotools. | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2008-01-20 | 1 | -6/+7 |
| | | | | | | | | | | | | | - Can build both static and dynamic at the same time - iptables-static will be a multi-binary, semi-static (link against libc but w/o dynamic plugins) - Always build IPv6 modules - consider INSTALL Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> | ||||
* | [PATCH]: use <linux/types.h> | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2007-12-17 | 1 | -5/+1 |
| | | | | | | | | Remove our own definitions of the Linux types and use <linux/types.h> instead. libiptc needs it too, or otherwise will choke on union nf_inet_addr. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> | ||||
* | Fix more sparse warnings: non-C99 array declaration, incorrect function ↵ | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2007-09-08 | 1 | -2/+0 |
| | | | | prototypes | ||||
* | Fix aligned_u64 type on 64 bit: its an unsigned long, not an unsigned long long. | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2007-09-05 | 1 | -1/+1 |
| | | | | Fixes compiler warning in quota match. | ||||
* | [PATCH]: Remove last vestiges of NFC (Peter Riley <Peter.Riley@hotpop.com>) | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net | 2007-09-02 | 1 | -3/+2 |
| | |||||
* | Make @msg argument a const char *, just like printf(). | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org | 2007-08-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Jan Engelhardt <jengelh@gmx.de> | ||||
* | Make xtables_target->extra_opts const (xtables_match->extra_opts already is) | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org | 2007-07-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Jan Engelhardt <jengelh@gmx.de> | ||||
* | Moves all declarations in iptables_common.h to xtables.h. | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org | 2007-07-24 | 1 | -0/+31 |
| | |||||
* | Moves IPPROTO_* and IP[6]T_LIB_DIR definitions to xtables.h | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org | 2007-07-24 | 1 | -0/+14 |
| | |||||
* | Moves some duplicated functions in ip[6]tables.c to xtables.c | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org | 2007-07-24 | 1 | -0/+17 |
| | | | | | string_to_number_ll, string_to_number_l, string_to_number, service_to_port, parse_port, parse_interface, are moved. | ||||
* | Introduces xtables match/target registration | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org | 2007-07-24 | 1 | -0/+173 |
| | | | | | | | | | | | | | | | | | | | | | | | - 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() | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org | 2007-07-24 | 1 | -0/+3 |
| | |||||
* | Moves common fw_malloc() and fw_calloc() to xtables.c | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org | 2007-07-24 | 1 | -0/+3 |
| | |||||
* | Adds xtables.[ch] and change Makefile to compile it | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org | 2007-07-24 | 1 | -0/+4 |