xt_TARPIT: fix a kernel oops in --reset mode

1. Moved misplaced code that was causing kernel oops in reset mode.

2. Added payload size calc to honeypot mode, so ack sequence may ACK
the length of client's sent payload packets correctly.

3. Modified TTL for honeypot mode so we look more like a Windows
machine.
This commit is contained in:
Martin Barrowcliff
2011-06-04 08:11:38 -04:00
committed by Jan Engelhardt
parent e84391ce66
commit 85d8f98dd7
2 changed files with 41 additions and 32 deletions

View File

@@ -1,6 +1,8 @@
HEAD
====
Fixes:
- xt_TARPIT: fix a kernel oops in --reset mode
v1.36 (2011-06-03)