Commit Graph

16 Commits

Author SHA1 Message Date
Jan Engelhardt
414e95ffb1 extensions: replace AF/PF with NFPROTO
Needs one update of netfilter.h to something recent, too.
2010-03-17 02:20:39 +01:00
Marek Michalkiewicz
9fb2ffe1d3 IPMARK: print missing --shift parameter 2009-06-12 03:33:54 +02:00
Jan Engelhardt
137ecb9814 extensions: bump revision number to avoid possible POM clash
Users still using a kernel with POM modules may have problems due to
differing binary structures. Bump the revision numbers of the
Xtables-addons modules, to make them distinct from POM.
2009-05-14 21:42:05 +02:00
Jan Engelhardt
471e747fc0 STEAL: enable for multiprotocol 2009-05-14 21:38:08 +02:00
Jan Engelhardt
a0c791dc88 Upgrade to iptables 1.4.3 API 2009-03-19 11:05:26 +01:00
Jan Engelhardt
aab8dd360f src: avoid use of _init
Xtables-addons's extensions will always be built as modules, so it is
safe to use __attribute__((constructor)).
2008-11-20 20:00:26 +01:00
Jan Engelhardt
74880dd6ca Update license texts 2008-08-02 13:08:48 -04:00
Jan Engelhardt
1060138f77 IPMARK: redo ipmark_tg_parse()
- check for illegal inversion on flags
- use param_act() and strtonum() instead of open-coded checks
2008-04-09 19:24:24 +02:00
Jan Engelhardt
03eeabb4bd IPMARK: style cleanup 2008-04-09 19:24:23 +02:00
Jan Engelhardt
2c7b1d5330 IPMARK: IPv6 support 2008-04-09 19:24:01 +02:00
Jan Engelhardt
b63ac3be45 IPMARK: print --addr flag the usual way 2008-04-09 19:24:01 +02:00
Jan Engelhardt
4b8ec990b8 IPMARK: omit printing unset mask 2008-04-09 19:23:45 +02:00
Jan Engelhardt
59ef68fecc IPMARK: remove incorrect --and/--or check
It is perfectly valid for no --and-mask and also no --or-mask to
appear, in which case the IP(v4) address is taken as mark without
modification.
2008-04-09 19:23:08 +02:00
Jan Engelhardt
3bf45b60b2 IPMARK: misc cleanups
- order #include lists
- const annotations, removal of casts
- add ipt_IPMARK alias
- make symbol names distinct
2008-04-09 13:10:00 +02:00
Jan Engelhardt
e037035bd4 IPMARK: rebuild parameter structure (fixed-size types)
Rebuild the parameter structure to have fixed-size members only.
2008-04-09 13:09:45 +02:00
Jan Engelhardt
d432d8041a IPMARK: import 20080304 code base
With truly minimal changes to make it compile.
2008-04-08 20:37:59 +02:00