Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Tries to load libxt_*.so at first. | Yasuyuki KOZAKAI | 2007-08-04 | 2 | -27/+22 | |
| | | | | If failed, it tries libip[6]t_*.so. | |||||
* | Make @msg argument a const char *, just like printf(). | Jan Engelhardt | 2007-08-01 | 4 | -4/+4 | |
| | | | | Signed-off-by: Jan Engelhardt <jengelh@gmx.de> | |||||
* | Moves libip{,6}t_connlimit to libxt. | Jan Engelhardt | 2007-07-31 | 4 | -282/+220 | |
| | | | | | | | Also fixes an option parsing bug (connlimit_parse() may receive a 'c' that is not from the connlimit options table). Signed-off-by: Jan Engelhardt <jengelh@gmx.de> | |||||
* | Make the option structures const. | Jan Engelhardt | 2007-07-30 | 84 | -88/+88 | |
| | | | | Signed-off-by: Jan Engelhardt <jengelh@gmx.de> | |||||
* | Makes it possible to omit extra_opts of matches/targets if unnecessary. | Jan Engelhardt | 2007-07-30 | 9 | -37/+6 | |
| | | | | | | (Jan Engelhardt <jengelh@gmx.de>) A nice side effect is that merge_option() doesn't copy options in that case. | |||||
* | The option struct needs to be terminated, otherwise ip{,6}tables | Jan Engelhardt | 2007-07-30 | 2 | -0/+2 | |
| | | | | | | will access illegal memory in merge_options(). Signed-off-by: Jan Engelhardt <jengelh@gmx.de> | |||||
* | Remove the .next=NULL field. This is automatically initialized to zero. | Jan Engelhardt | 2007-07-30 | 50 | -71/+2 | |
| | | | | | | | I've kept .print=NULL and .save=NULL so it stands out (since iptables will do the print/save then). Signed-off-by: Jan Engelhardt <jengelh@gmx.de> | |||||
* | Make xtables_target->extra_opts const (xtables_match->extra_opts already is) | Jan Engelhardt | 2007-07-30 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jan Engelhardt <jengelh@gmx.de> | |||||
* | Changes permissions of test scripts of dccp, string, and quota match | Yasuyuki KOZAKAI | 2007-07-24 | 3 | -0/+0 | |
| | ||||||
* | Unifies libip[6]t_NFQUEUE.c into libxt_NFQUEUE.c | Yasuyuki KOZAKAI | 2007-07-24 | 4 | -135/+39 | |
| | ||||||
* | Unifies libip[6]t_SECMARK.c into libxt_SECMARK.c | Yasuyuki KOZAKAI | 2007-07-24 | 3 | -132/+33 | |
| | ||||||
* | Unifies libip[6]t_TCPMSS.c into libxt_TCPMSS.c | Yasuyuki KOZAKAI | 2007-07-24 | 5 | -171/+81 | |
| | ||||||
* | Add IPv6 support to comment match | Yasuyuki KOZAKAI | 2007-07-24 | 4 | -35/+52 | |
| | ||||||
* | Add IPv6 support to dccp match. | Yasuyuki KOZAKAI | 2007-07-24 | 3 | -60/+78 | |
| | ||||||
* | Add IPv6 support to dscp match. | Yasuyuki KOZAKAI | 2007-07-24 | 4 | -41/+58 | |
| | ||||||
* | Unifies libip[6]t_esp.c into libxt_esp.c | Yasuyuki KOZAKAI | 2007-07-24 | 7 | -254/+53 | |
| | ||||||
* | Unifies libip[6]t_length.c into libxt_length.c | Yasuyuki KOZAKAI | 2007-07-24 | 6 | -185/+40 | |
| | ||||||
* | Unifies libip[6]t_limit.c into libxt_limit.c. | Yasuyuki KOZAKAI | 2007-07-24 | 5 | -249/+51 | |
| | ||||||
* | Unifies libip[6]t_mac.c into libxt_mac.c | Yasuyuki KOZAKAI | 2007-07-24 | 4 | -154/+40 | |
| | ||||||
* | Unifies libip[6]t_physdev.c into libxt_physdev.c | Yasuyuki KOZAKAI | 2007-07-24 | 6 | -295/+97 | |
| | ||||||
* | Add IPv6 support to pkttype match | Yasuyuki KOZAKAI | 2007-07-24 | 4 | -22/+38 | |
| | ||||||
* | Add IPv6 support to quota match | Yasuyuki KOZAKAI | 2007-07-24 | 2 | -6/+22 | |
| | ||||||
* | Unifies libip[6]t_sctp.c into libxt_sctp.c | Yasuyuki KOZAKAI | 2007-07-24 | 5 | -588/+50 | |
| | ||||||
* | Unifies libip[6]t_standard.c into libxt_standard.c | Yasuyuki KOZAKAI | 2007-07-24 | 3 | -74/+27 | |
| | ||||||
* | Unifies libip[6]t_tcp.c into libxt_tcp.c. | Yasuyuki KOZAKAI | 2007-07-24 | 3 | -447/+49 | |
| | ||||||
* | Add IPv6 support to tcpmss match | Yasuyuki KOZAKAI | 2007-07-24 | 4 | -23/+40 | |
| | ||||||
* | Unifies libip[6]t_udp.c into libxt_udp.c | Yasuyuki KOZAKAI | 2007-07-24 | 4 | -249/+76 | |
| | ||||||
* | Unifies libip[6]_mark.c into libxt_mark.c | Yasuyuki KOZAKAI | 2007-07-24 | 4 | -135/+19 | |
| | ||||||
* | Use unified API in libipt_mark.c | Yasuyuki KOZAKAI | 2007-07-24 | 3 | -18/+19 | |
| | ||||||
* | Add IPv6 support to string match | Yasuyuki KOZAKAI | 2007-07-24 | 1 | -0/+16 | |
| | ||||||
* | Moves libipt_string.c to libxt_string.c | Yasuyuki KOZAKAI | 2007-07-24 | 3 | -2/+3 | |
| | ||||||
* | Use unified API in string match | Yasuyuki KOZAKAI | 2007-07-24 | 1 | -20/+21 | |
| | ||||||
* | Unifies libip[6]t_multiport.c into libipxt_multiport.c | Yasuyuki KOZAKAI | 2007-07-24 | 5 | -524/+86 | |
| | ||||||
* | Moves libipt_multiport.c to libxt_multiport.c | Yasuyuki KOZAKAI | 2007-07-24 | 2 | -2/+2 | |
| | ||||||
* | Splits ipt_multport into family dependent parts and others | Yasuyuki KOZAKAI | 2007-07-24 | 1 | -34/+68 | |
| | ||||||
* | Use unified API in multiport match | Yasuyuki KOZAKAI | 2007-07-24 | 2 | -46/+80 | |
| | ||||||
* | Add IPv6 support to NOTRACK | Yasuyuki KOZAKAI | 2007-07-24 | 1 | -0/+16 | |
| | ||||||
* | Renames libipt_NOTRACK.c to libxt_NOTRACK.c | Yasuyuki KOZAKAI | 2007-07-24 | 2 | -1/+2 | |
| | ||||||
* | Use unified API in NOTRACK target. | Yasuyuki KOZAKAI | 2007-07-24 | 1 | -16/+15 | |
| | ||||||
* | Moves all declarations in iptables_common.h to xtables.h. | Yasuyuki KOZAKAI | 2007-07-24 | 6 | -41/+32 | |
| | ||||||
* | Installs libxt_*.so to DEST_IPT_LIBIDR and link libip[6]t_*.so to it. | Yasuyuki KOZAKAI | 2007-07-24 | 1 | -0/+26 | |
| | ||||||
* | Introduces DEST_IPT_LIBDIR to simplify $(DESTDIR)$(LIBDIR)/iptables | Yasuyuki KOZAKAI | 2007-07-24 | 2 | -8/+10 | |
| | ||||||
* | Fixes warning on compilation, part 2 | Yasuyuki KOZAKAI | 2007-07-24 | 6 | -29/+46 | |
| | | | | | | | | | | This changes the type of arguments as follows in multiport, DNAT, SNAT, MASQUERADE, and REDIRECT - ip[6]t_ip[6] * -> void * - ip[6]t_entry * -> void * and adds lines to cast these pointer with intended type. | |||||
* | Fixes warning on compilation of ip6tables matches/targets | Yasuyuki KOZAKAI | 2007-07-24 | 36 | -107/+107 | |
| | | | | | | This changes the type of arguments as follows - ip6t_ip6 * -> void * - ip6t_entry * -> void * | |||||
* | Fixes warning on compilation of iptables matches/targets | Yasuyuki KOZAKAI | 2007-07-24 | 60 | -177/+177 | |
| | | | | | | | | | This changes the type of arguments as follows - ipt_ip * -> void * - ipt_entry * -> void * This patch doesn't change multiport, DNAT, SNAT, MASQUERADE, REDIRECT because these need more changes (casting void * variable with intended type) | |||||
* | Replaces ip6t_entry_* with xt_entry_* in matches/targets | Yasuyuki KOZAKAI | 2007-07-24 | 34 | -128/+127 | |
| | ||||||
* | Replaces ipt_entry_* with xt_entry_* in matches/targets | Yasuyuki KOZAKAI | 2007-07-24 | 64 | -237/+237 | |
| | ||||||
* | Moves IPPROTO_* and IP[6]T_LIB_DIR definitions to xtables.h | Yasuyuki KOZAKAI | 2007-07-24 | 3 | -22/+16 | |
| | ||||||
* | Moves some duplicated functions in ip[6]tables.c to xtables.c | Yasuyuki KOZAKAI | 2007-07-24 | 7 | -230/+120 | |
| | | | | | 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 | Yasuyuki KOZAKAI | 2007-07-24 | 11 | -875/+728 | |
| | | | | | | | | | | | | | | | | | | | | | | | - 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. |