]>
 
 
git.ipfire.org Git - thirdparty/xtables-addons.git/log 
 
 
 
 
 
 
Jan Engelhardt  [Thu, 19 Mar 2009 10:03:26 +0000  (11:03 +0100)]  
 
Merge branch 'ipv4options' 
 
Jan Engelhardt  [Wed, 11 Mar 2009 16:22:56 +0000  (17:22 +0100)]  
 
libxt_ipv4options: add manpage 
 
Jan Engelhardt  [Sun, 8 Mar 2009 22:38:12 +0000  (23:38 +0100)]  
 
Add a reworked IPv4 options match - xt_ipv4options 
 
This revision 1 of ipv4options makes it possible to match the 
presence or absence of any of the 32 possible IP options, either all 
or any of the options the user specified. 
 
Jan Engelhardt  [Sat, 7 Mar 2009 02:24:21 +0000  (03:24  +0100)]  
 
Xtables-addons 1.12 
 
Jan Engelhardt  [Sat, 7 Mar 2009 01:58:36 +0000  (02:58  +0100)]  
 
build: fix compile issues with <= 2.6.19
Resolve compile breakage from commits
36f80be2f7d496469690045d7dc754cfd0e02cb0  and
7b9ca945d4be0d6a12511a434ab329f3ad2b218d .
 
Jan Engelhardt  [Sat, 7 Mar 2009 00:33:31 +0000  (01:33  +0100)]  
 
ipset: fast forward to 2.5.0 
 
Jan Engelhardt  [Sat, 7 Mar 2009 00:20:39 +0000  (01:20  +0100)]  
 
xt_TEE: enable routing by iif, nfmark and flowlabel
Patrick McHardy suggests in
http://marc.info/?l=netfilter-devel&m=
123564267330117 &w=2 that
routing should handle the clone more like its original.
 
Jan Engelhardt  [Sat, 7 Mar 2009 00:15:48 +0000  (01:15  +0100)]  
 
xt_LOGMARK: print incoming interface index 
 
Jan Engelhardt  [Fri, 6 Mar 2009 23:59:05 +0000  (00:59  +0100)]  
 
build: silence warning about ignored variable 
 
The warning was: 
 
	config.status: WARNING: 'extensions/ipset/GNUmakefile.in' 
	seems to ignore the --datarootdir setting 
 
Florian Westphal  [Thu, 5 Mar 2009 10:01:50 +0000  (11:01 +0100)]  
 
xt_TEE: resolve unknown symbol error with CONFIG_IPV6=n 
 
WARNING: xt_TEE.ko needs unknown symbol ip6_route_output 
 
Signed-off-by: Florian Westphal <fwestphal@astaro.com>  
Jan Engelhardt  [Thu, 5 Mar 2009 01:03:06 +0000  (02:03  +0100)]  
 
revert "TEE: do not use TOS for routing"
Revert commit 
f77a8e2eda03d6a33d71987a17bdee55128476f2 .
Patrick McHardy suggests in
http://marc.info/?l=netfilter-devel&m=
123564267330117 &w=2 that
routing should handle the clone more like its original.
 
Jan Engelhardt  [Thu, 5 Mar 2009 00:43:29 +0000  (01:43  +0100)]  
 
xt_lscan: rename from xt_portscan 
 
Jan Engelhardt  [Mon, 2 Mar 2009 20:25:32 +0000  (21:25 +0100)]  
 
doc: ipset: replace RW_LOCK_UNLOCKED 
 
ipset uses RW_LOCK_UNLOCKED directly, but this is not quite right, 
and causes compilation errors with 2.6.29-rt. 
 
Jan Engelhardt  [Mon, 2 Mar 2009 20:25:32 +0000  (21:25 +0100)]  
 
ipset: replace RW_LOCK_UNLOCKED 
 
ipset uses RW_LOCK_UNLOCKED directly, but this is not quite right, 
and causes compilation errors with 2.6.29-rt. 
 
Jan Engelhardt  [Tue, 24 Feb 2009 18:14:10 +0000  (19:14 +0100)]  
 
doc: remove old path examples 
 
Jan Engelhardt  [Sat, 21 Feb 2009 16:18:25 +0000  (17:18 +0100)]  
 
doc: add changelog 
 
Jan Engelhardt  [Sat, 21 Feb 2009 15:54:49 +0000  (16:54 +0100)]  
 
build: make kbuild call obey V 
 
Jan Engelhardt  [Sat, 21 Feb 2009 15:54:30 +0000  (16:54 +0100)]  
 
build: trigger configure when GNUmakefile.in changed 
 
Jan Engelhardt  [Tue, 17 Feb 2009 23:31:26 +0000  (00:31  +0100)]  
 
Xtables-addons 1.10 
 
Jan Engelhardt  [Wed, 11 Feb 2009 15:56:35 +0000  (16:56 +0100)]  
 
doc: add precise version information to INSTALL document 
 
Jan Engelhardt  [Wed, 11 Feb 2009 15:51:40 +0000  (16:51 +0100)]  
 
ipset: upgrade to ipset 2.4.9 
 
Jan Engelhardt  [Wed, 11 Feb 2009 14:57:10 +0000  (15:57 +0100)]  
 
Update .gitignore 
 
Jan Engelhardt  [Wed, 11 Feb 2009 14:56:33 +0000  (15:56 +0100)]  
 
compat: compile fixes for 2.6.29 
 
2.6.29 removes at least NIP6, and NIPQUAD is scheduled to follow. 
 
Jan Engelhardt  [Fri, 30 Jan 2009 05:25:44 +0000  (06:25 +0100)]  
 
Xtables-addons 1.9 
 
Jan Engelhardt  [Fri, 30 Jan 2009 05:33:21 +0000  (06:33 +0100)]  
 
ipset: bump version to 2.4.7 
 
Moving from ipset 2.4.5 to 2.4.7. Upstream changed, but 
the Xtables-addons copy did not (issues were not present): 
 
>2.4.7 
>  - Typo which broke compilation with kernels < 2.6.28 
>    fixed (reported by Richard Lucassen, Danny Rawlins) 
> 
>2.4.6 
>   - Compatibility fix for kernels >= 2.6.28 
 
Jan Engelhardt  [Fri, 30 Jan 2009 05:19:22 +0000  (06:19 +0100)]  
 
TEE: remove calls to check_inverse 
 
Jan Engelhardt  [Fri, 30 Jan 2009 05:02:10 +0000  (06:02 +0100)]  
 
ipp2p: version bump 
 
For cosmetics, or so. The recent bugfix warrants this I'd say. 
 
Jan Engelhardt  [Thu, 29 Jan 2009 14:33:32 +0000  (15:33 +0100)]  
 
Add xt_length2 
 
xt_length2 provides exact layer-4,-5 and -7 length matching 
besides the preexisting layer-3 length match. 
 
Jan Engelhardt  [Sat, 10 Jan 2009 13:05:46 +0000  (14:05 +0100)]  
 
Xtables-addons 1.8 
 
Jan Engelhardt  [Sat, 10 Jan 2009 13:03:04 +0000  (14:03 +0100)]  
 
Merge branch 'TEE6' 
 
Jan Engelhardt  [Sat, 10 Jan 2009 13:03:03 +0000  (14:03 +0100)]  
 
Merge branch 'TEE' 
 
Jan Engelhardt  [Sat, 10 Jan 2009 12:59:43 +0000  (13:59 +0100)]  
 
Merge branch 'ipp2p' 
 
Jan Engelhardt  [Sat, 10 Jan 2009 12:58:19 +0000  (13:58 +0100)]  
 
TEE: collapse tee_tg_send{4,6} 
 
Jan Engelhardt  [Sat, 10 Jan 2009 09:19:21 +0000  (10:19 +0100)]  
 
TEE: IPv6 support for iptables module 
 
Jan Engelhardt  [Sat, 10 Jan 2009 09:01:31 +0000  (10:01 +0100)]  
 
Merge branch 'TEE' into TEE6 
 
Jan Engelhardt  [Sat, 10 Jan 2009 09:01:27 +0000  (10:01 +0100)]  
 
TEE: iptables -nL and -L produced conversely output 
 
Jan Engelhardt  [Sat, 10 Jan 2009 08:57:44 +0000  (09:57 +0100)]  
 
TEE: limit iptables module to NFPROTO_IPV4 
 
The code here is only usable with IPv4. 
 
Jan Engelhardt  [Sat, 10 Jan 2009 07:23:27 +0000  (08:23 +0100)]  
 
ipp2p: partial revert of 
3c8131b9 
Revert part of 
3c8131b976d2fb61c8e54437658bc632b46fd77f .
The transport header offset is not (yet) set by the time Netfilter
is invoked so using tcp_hdr/udp_hdr has undefined behavior.
 
Jan Engelhardt  [Sat, 10 Jan 2009 05:11:13 +0000  (06:11 +0100)]  
 
ipp2p: add boundary check in search_all_kazaa 
 
To avoid underflow on "end - 18", we must check for plen >= 18. 
 
Jan Engelhardt  [Sat, 10 Jan 2009 04:23:43 +0000  (05:23  +0100)]  
 
portscan: update manpage about --grscan caveats 
 
Jan Engelhardt  [Sat, 10 Jan 2009 03:46:26 +0000  (04:46  +0100)]  
 
ipp2p: remove log flooding 
 
Syslog was flooded by lots of messages due to if (plen >= 5) firing 
on any packet, when it should have been plen < 5. Incidentally, this 
turned up that plen also takes on huge nonsense values, assuming 
underflow - yet to be investigated. 
 
Jan Engelhardt  [Sat, 10 Jan 2009 03:42:27 +0000  (04:42  +0100)]  
 
ipp2p: update help text 
 
More suggestions from Stanley Pinchak. 
 
Jan Engelhardt  [Fri, 9 Jan 2009 19:24:41 +0000  (20:24 +0100)]  
 
ipp2p: update manpage 
 
(With suggestions from Stanley Pinchak.) 
 
Jan Engelhardt  [Thu, 25 Dec 2008 18:57:12 +0000  (19:57 +0100)]  
 
Xtables-addons 1.7 
 
Jan Engelhardt  [Wed, 10 Dec 2008 15:51:34 +0000  (16:51 +0100)]  
 
Merge branch 'ipp2p' 
 
Jan Engelhardt  [Wed, 10 Dec 2008 15:28:23 +0000  (16:28 +0100)]  
 
ipp2p: ensure better array bounds checking 
 
Jan Engelhardt  [Wed, 10 Dec 2008 15:03:13 +0000  (16:03 +0100)]  
 
Merge branch 'SYSRQ' 
 
Jan Engelhardt  [Wed, 10 Dec 2008 15:02:21 +0000  (16:02 +0100)]  
 
xt_SYSRQ: src: prefix variables 
 
Jan Engelhardt  [Wed, 10 Dec 2008 14:45:43 +0000  (15:45 +0100)]  
 
xt_SYSRQ: make new code compile for kernel <= 2.6.23 
 
John Haxby  [Tue, 2 Dec 2008 17:46:36 +0000  (17:46 +0000)]  
 
xt_SYSRQ: improve security 
 
I want to be able to use SYSRQ to reboot, crash or partially diagnose 
machines that become unresponsive for one reason or another. These 
machines, typically, are blades or rack mounted machines that do not 
have a PS/2 connection for a keyboard and the old method of wheeling 
round a "crash trolley" that has a monitor and a keyboard on it no 
longer works: USB keyboards rarely, if ever, work because by the time 
the machine is responding only to a ping, udev is incapable of 
setting up a new keyboard. 
 
This patch extends the xt_SYSRQ module to avoid both disclosing the 
sysrq password and preventing replay. This is done by changing the 
request packet from the simple "<key><password>" to a slightly more 
complex "<key>,<seqno>,<salt>,<hash>". The hash is the sha1 checksum 
of "<key>,<seqno>,<salt>,<password>". A request can be constructed in 
a small shell script (see manpage). 
 
Verification of the hash in xt_SYSRQ follows much the same process. 
The sequence number, seqno, is initialised to the current time (in 
seconds) when the xt_SYSRQ module is loaded and is updated each time 
a valid request is received. A request with a sequence number less 
than the current sequence number or a wrong hash is silently ignored. 
(Using the time for the sequence number assumes (requires) that time 
doesn't go backwards on a reboot and that the requester and victim 
have reasonably synchronized clocks.) 
 
The random salt is there to prevent pre-computed dictionary attacks 
difficult: dictionary attacks are still feasible if you capture a 
packet because the hash is computed quickly -- taking perhaps several 
milliseconds to compute a more complex hash in xt_SYSRQ when the 
machine is unresponsive is probably not the best thing you could do. 
However, cracking, say, a random 32 character password would take 
some time and is probably beyond what the people in the target 
untrustworthy environment are prepared to do or have the resources 
for. It almost goes without saying that no two victim machines should 
use the same password. 
 
Finally, the module allocates all the resources it need at module 
initialisation time on the assumption that if things are going badly 
resource allocation is going to be troublesome. 
 
Jan Engelhardt  [Tue, 25 Nov 2008 23:47:36 +0000  (00:47  +0100)]  
 
ipp2p: fix newline inspection in kazaa 
 
LFCR looks suspect, it should most likely be CRLF. 
 
Jan Engelhardt  [Tue, 25 Nov 2008 23:36:45 +0000  (00:36  +0100)]  
 
ipp2p: kazaa code cleanup 
 
Jan Engelhardt  [Mon, 24 Nov 2008 16:42:32 +0000  (17:42 +0100)]  
 
doc: add manpages for xt_ECHO and xt_TEE 
 
Jan Engelhardt  [Fri, 21 Nov 2008 00:14:01 +0000  (01:14  +0100)]  
 
TEE: IPv6 support 
 
Jan Engelhardt  [Thu, 20 Nov 2008 23:16:11 +0000  (00:16  +0100)]  
 
TEE: various cleanups, add comments 
 
Normalize function names in light of upcoming IPv6 support. 
Reformat other lines. 
Add comment note about tee_send4. 
 
Jan Engelhardt  [Thu, 20 Nov 2008 23:41:56 +0000  (00:41  +0100)]  
 
TEE: do not use TOS for routing 
 
Otherwise the cloned packet may be subject to more policy routing 
rules than expected. 
 
Jan Engelhardt  [Thu, 20 Nov 2008 22:08:33 +0000  (23:08 +0100)]  
 
ipset: enable building of new modules 
 
Whoops, modules need to be listed in GNUmakefile.in! 
(Needed for out-of-srcdir builds.) 
 
Jan Engelhardt  [Thu, 20 Nov 2008 20:17:42 +0000  (21:17 +0100)]  
 
build: use new vars from automake-tranquility-3 
 
Jan Engelhardt  [Thu, 20 Nov 2008 19:19:55 +0000  (20:19 +0100)]  
 
build: do not unconditionally install ipset 
 
build_ipset=n was not completely respected and the ipset userspace 
parts were still installed. This is now fixed. 
 
Jan Engelhardt  [Thu, 20 Nov 2008 19:00:26 +0000  (20:00 +0100)]  
 
src: avoid use of _init 
 
Xtables-addons's extensions will always be built as modules, so it is 
safe to use __attribute__((constructor)). 
 
Jan Engelhardt  [Wed, 19 Nov 2008 16:38:45 +0000  (17:38 +0100)]  
 
xt_ECHO: compile fix 
 
Jan Engelhardt  [Tue, 18 Nov 2008 17:16:34 +0000  (18:16 +0100)]  
 
Xtables-addons 1.6 
 
Jan Engelhardt  [Tue, 18 Nov 2008 11:51:25 +0000  (12:51 +0100)]  
 
Update for Linux 2.6.28 
 
Jan Engelhardt  [Tue, 18 Nov 2008 11:01:51 +0000  (12:01 +0100)]  
 
ipset: upgrade to ipset 2.4.5 
 
Jan Engelhardt  [Tue, 18 Nov 2008 10:57:14 +0000  (11:57 +0100)]  
 
src: use NFPROTO_ constants 
 
Jan Engelhardt  [Tue, 18 Nov 2008 10:29:57 +0000  (11:29 +0100)]  
 
src: add NULL to sentinel struct option 
 
Jan Engelhardt  [Thu, 13 Nov 2008 16:46:11 +0000  (17:46 +0100)]  
 
ipset: upgrade to ipset 2.4.4 
 
Jan Engelhardt  [Tue, 11 Nov 2008 18:36:33 +0000  (19:36 +0100)]  
 
ipset: upgrade to ipset 2.4.3 
 
Jan Engelhardt  [Fri, 17 Oct 2008 00:49:21 +0000  (20:49 -0400)]  
 
build: use readlink -f 
 
Coreutils 5.x does not know `readlink -e`; we can also use 
`readlink -f` instead which is supported by 5.x. 
 
Jan Engelhardt  [Wed, 24 Sep 2008 16:29:21 +0000  (12:29 -0400)]  
 
ipp2p: parenthesize unaligned-access macros 
 
Jan Engelhardt  [Mon, 22 Sep 2008 17:40:25 +0000  (13:40 -0400)]  
 
Support for Linux 2.6.17 
 
Jan Engelhardt  [Fri, 19 Sep 2008 21:10:23 +0000  (17:10 -0400)]  
 
Resolve compiler warnings in xt_ECHO 
 
Reported-by: Jiri Moravec <jim.lkml@gmail.com>  
Jan Engelhardt  [Mon, 1 Sep 2008 22:40:23 +0000  (18:40 -0400)]  
 
src: compile fixes for 2.6.18 and 2.6.19
I did not test 
f30793f591debd2644b60b9449acd334f1f8f757  on all
supported kernel versions and noticed too late.
 
Jan Engelhardt  [Mon, 1 Sep 2008 19:35:51 +0000  (15:35 -0400)]  
 
Xtables-addons 1.5.7 
 
Jan Engelhardt  [Mon, 1 Sep 2008 19:33:28 +0000  (15:33 -0400)]  
 
xt_SYSRQ: add missing aliases 
 
Jan Engelhardt  [Mon, 1 Sep 2008 19:32:15 +0000  (15:32 -0400)]  
 
xt_portscan: IPv6 support 
 
Jan Engelhardt  [Mon, 1 Sep 2008 19:31:10 +0000  (15:31 -0400)]  
 
src: remove redundant return statements 
 
Jan Engelhardt  [Mon, 1 Sep 2008 19:12:04 +0000  (15:12 -0400)]  
 
build: remove dependency on netinet/in6.h 
 
Jan Engelhardt  [Mon, 1 Sep 2008 18:26:21 +0000  (14:26 -0400)]  
 
DHCP address match and mangler 
 
Jan Engelhardt  [Tue, 12 Aug 2008 02:07:41 +0000  (22:07 -0400)]  
 
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. 
 
Jan Engelhardt  [Mon, 1 Sep 2008 17:02:59 +0000  (13:02 -0400)]  
 
xt_condition: ues glue-provided init_net__proc_net 
 
Jan Engelhardt  [Mon, 1 Sep 2008 19:27:10 +0000  (15:27 -0400)]  
 
Merge reworked fuzzy extension 
 
Jan Engelhardt  [Mon, 1 Sep 2008 19:26:33 +0000  (15:26 -0400)]  
 
fuzzy: IPv6 support 
 
Jan Engelhardt  [Sun, 31 Aug 2008 21:27:15 +0000  (17:27 -0400)]  
 
fuzzy: misc cleanup 
 
Jan Engelhardt  [Sun, 31 Aug 2008 20:48:15 +0000  (16:48 -0400)]  
 
fuzzy: remove unneeded spinlock 
 
Jan Engelhardt  [Sun, 31 Aug 2008 20:44:44 +0000  (16:44 -0400)]  
 
fuzzy: import 
20050627  code base
 
Jan Engelhardt  [Fri, 29 Aug 2008 11:53:06 +0000  (07:53 -0400)]  
 
Automatically run `depmod -a` 
 
James King  [Wed, 27 Aug 2008 01:12:33 +0000  (18:12 -0700)]  
 
ipset: adjust semaphore.h include for kernel >= 2.6.27
As of Linux kernel commit 
2351ec533ed0dd56052ab96988d2161d5ecc8ed9 ,
semaphore.h was moved from asm/ to linux/, which breaks building of
ipset. Add compat glue to ip_set.c to fix building on 2.6.27 an
onwards.
 
Jan Engelhardt  [Fri, 29 Aug 2008 00:14:29 +0000  (20:14 -0400)]  
 
xt_SYSRQ: fix compilation for Linux kernel version <= 2.6.19 
 
Jan Engelhardt  [Sun, 24 Aug 2008 20:44:07 +0000  (16:44 -0400)]  
 
Clear hotdrop before use 
 
Must make sure that hotdrop is properly initialized. GCC 
unfortunately did not warn. 
 
Jan Engelhardt  [Sun, 24 Aug 2008 16:34:31 +0000  (12:34 -0400)]  
 
libxt_geoip: reorder option parsing code 
 
Jan Engelhardt  [Sat, 16 Aug 2008 19:39:09 +0000  (15:39 -0400)]  
 
build: prepare make tarball for git 1.6.0 
 
Jan Engelhardt  [Sun, 3 Aug 2008 20:29:33 +0000  (16:29 -0400)]  
 
Xtables-addons 1.5.5 
 
Jan Engelhardt  [Sun, 3 Aug 2008 16:30:49 +0000  (12:30 -0400)]  
 
cleanup [KM]build layout 
 
Jan Engelhardt  [Sun, 27 Apr 2008 09:39:24 +0000  (11:39 +0200)]  
 
SYSRQ target 
 
Jan Engelhardt  [Sat, 2 Aug 2008 16:59:24 +0000  (12:59 -0400)]  
 
Update license texts 
 
Jan Engelhardt  [Thu, 10 Jul 2008 15:39:34 +0000  (17:39 +0200)]  
 
compat: properly clamp return value from skb_make_writable() 
 
Jan Engelhardt  [Wed, 30 Jul 2008 13:19:07 +0000  (09:19 -0400)]  
 
src: compile fixes after libiptc dependency throwout 
 
Jan Engelhardt  [Mon, 7 Jul 2008 19:34:52 +0000  (21:34 +0200)]  
 
Remove dependency on CONFIG_NETWORK_SECMARK 
 
Jan Engelhardt  [Mon, 7 Jul 2008 16:00:48 +0000  (18:00 +0200)]  
 
Merge branch 'ipset'