Jan Engelhardt
54d80a73b4
compat_xtables: more 2.6.35 support
2010-05-14 11:51:34 +02:00
Jan Engelhardt
43921c5834
compat_xtables: move to 2.6.35 xt_action_param (3/3)
...
Since the last merge of the "api35" branch, further changes were
included into nf-next. This set of three commits updates the
xtables-addons API to match that.
2010-05-13 19:45:56 +02:00
Jan Engelhardt
5b472be9bb
compat_xtables: move to 2.6.35 xt_action_param (1/3)
2010-05-13 19:28:37 +02:00
Jan Engelhardt
4dd35fb564
compat_xtables: move 2.6.28+ xtnu_target_run code
2010-05-13 16:52:55 +02:00
Jan Engelhardt
8b2a266db0
compat_xtables: fix 2.6.34 compile error due to a typo
2010-04-30 22:50:52 +02:00
Jan Engelhardt
11ab4d0acc
compat_xtables: correct compile errors
2010-04-09 12:24:19 +02:00
Jan Engelhardt
ad146dbeef
compat_xtables: move to 2.6.35 API for targets
2010-04-05 02:15:20 +02:00
Jan Engelhardt
beb3358297
compat_xtables: move to 2.6.35 API for matches
2010-04-05 00:43:47 +02:00
Jan Engelhardt
2ef714cc93
compat_xtables: add a memmem function
...
This will be needed by xt_ipp2p right away.
2010-02-28 17:24:27 +01:00
Jan Engelhardt
73e7b5ead1
compat_xtables: fix compilation with <= 2.6.19
...
Once upon a time there was no such checksumming...
2009-04-30 20:35:48 +02:00
Jan Engelhardt
637516f2d4
RAWNAT: add extension's kernel and userspace modules
...
RAWNAT provides stateless 1:1 network address translation.
2009-04-26 21:44:54 +02:00
Jan Engelhardt
ee7e4f5a42
Update for Linux 2.6.28
2008-11-18 12:51:25 +01:00
Jan Engelhardt
f3f0741469
Support for Linux 2.6.17
2008-09-22 13:40:25 -04:00
Jan Engelhardt
3a4e719b8c
src: compile fixes for 2.6.18 and 2.6.19
...
I did not test f30793f591
on all
supported kernel versions and noticed too late.
2008-09-01 18:41:45 -04:00
Jan Engelhardt
f30793f591
DHCP address match and mangler
2008-09-01 15:27:43 -04:00
Jan Engelhardt
ab27472eb4
src: move to a pskb-based API
...
It occurred that skb reallocation does happen on older kernels, and
those kernels should really be supported, since the patch is really
minimal.
2008-09-01 15:27:43 -04:00
Jan Engelhardt
fd9c6ffb03
Clear hotdrop before use
...
Must make sure that hotdrop is properly initialized. GCC
unfortunately did not warn.
2008-08-24 16:44:07 -04:00
Jan Engelhardt
74880dd6ca
Update license texts
2008-08-02 13:08:48 -04:00
Jan Engelhardt
5956a3354e
compat: properly clamp return value from skb_make_writable()
2008-08-02 13:07:22 -04:00
Jan Engelhardt
02a65e0af8
Fix compilation error for 2.6.18-stable
...
The prototype of ip_route_me_harder changed in 2.6.18.5, so I think
Xtables-addons should account for it. This renders compilation on
anything below it impossible. (2.6.17 is not supported in general.)
2008-04-25 20:46:39 +02:00
Jan Engelhardt
f34be8445f
TEE: make skb writable before attempting checksum update
...
This also adds the compat function xtnu_skb_make_writable().
2008-04-09 20:06:17 +02:00
Jan Engelhardt
5fbc01b991
compat: add check for pskb relocation
...
The Xtables-addons compat layer does not support pskb relocation
(result of possible memory allocation in kernels before 2.6.24) and
we just assume it does not happen. Add a check to warn if relocation
did happen and packet loss is to be expected.
2008-04-01 09:12:38 +02:00
Jan Engelhardt
5fd97e9973
compat update: allow building from 2.6.18 onwards
2008-03-12 04:28:40 +01:00
Jan Engelhardt
2fbfbe6cd4
Import Chaostables extensions
...
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de >
2008-02-21 18:56:21 +01:00
Jan Engelhardt
ec9663f680
Remove compat code for kernels below 2.6.22
...
Some code already uses ip_hdr() functions which did not exist in
2.6.21 and I do not feel like adding more compat code.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de >
2008-02-21 13:35:19 +01:00
Jan Engelhardt
75e88a7321
Update compat code for new 2.6.25 code
...
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de >
2008-02-21 13:29:31 +01:00
Jan Engelhardt
f53dc9fbaf
Add plural target (un)registration to compat glue
...
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de >
2008-01-30 03:50:16 +01:00
Jan Engelhardt
47b700b0f5
Add a compat wrapper to make modules work with older Linux.
...
The extension modules use the API of a fairly recent kernel, if not
even the networking git tree. To make it work with older Linux
kernels, an API wrapper is added. Should compile against
running-kernels Linux 2.6.19..current (tested: 2.6.22..current).
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de >
2008-01-29 15:40:57 +01:00