96 Commits

Author SHA1 Message Date
Sven Paulsen
c3581e4436 added missing braces around initializer 2016-11-08 23:55:45 +01:00
Niels Werensteijn
15e5008b45 Merge pull request #6 from svenpaulsen/patch-1 2016-11-07 08:09:38 +01:00
Niels Werensteijn
f92754c982 Updated readme to include some prerequisites 2016-11-04 12:59:44 +01:00
Sven Paulsen
314bf3f5b5 added linux/module.h 2016-11-03 14:54:38 +01:00
Niels Werensteijn
1c800643d4 fix for loop variable initialization
https://github.com/TeamSpeak-Systems/ts3init_linux_netfilter_module/issues/3
Thanks to hunterpl for reporting this
2016-11-02 08:54:40 +01:00
nwerensteijn
e74e83eea7 Merge pull request #1 from svenpaulsen/patch-1
Fix "expected declaration specifiers or '...' before string constant" build issues
2016-11-02 08:22:50 +01:00
nwerensteijn
01b919f4d3 Merge pull request #2 from svenpaulsen/patch-2
Fix "implicit declaration of function ‘skb_put_padto’" build issues
2016-11-02 08:19:12 +01:00
Sven Paulsen
5a8550c00e added backport for skb_put_padto
added backport for skb_put_padto to support kernel versions <= 3.19.x
2016-11-01 16:12:09 +01:00
Sven Paulsen
a8562c0a87 added linux/module.h
added missing header to resolve "expected declaration specifiers or '...' before string constant" build issues
2016-11-01 14:20:15 +01:00
Niels Werensteijn
bb9573f565 Added some version info in the readme 2016-10-24 15:00:48 +02:00
Maximilian Münchow
946ef22858 Extended and improved torture.py 2016-10-24 14:31:31 +02:00
Niels Werensteijn
d948bad7e7 Added examples to Readme and update comment in complex example 2016-10-24 11:11:58 +02:00
Niels Werensteijn
d5cca28c30 fix ipv6 examples (fragment issues) and use new match 2016-10-21 18:18:43 +02:00
Niels Werensteijn
bf5411361e fix bugs introduced in last restructure 2016-10-21 17:46:29 +02:00
Maximilian Münchow
d21f6b1172 fixed wrong parameter name, when checking --command 2016-10-21 14:53:25 +02:00
Maximilian Münchow
8489b7be87 fixed xtables_param_act for TS3INIT_SET_COOKIE 2016-10-21 11:50:58 +02:00
Maximilian Münchow
a157c30eb0 improved formating in README.md 2016-10-21 11:50:58 +02:00
Maximilian Münchow
adceb124e3 added missing word in the comment from ts3init_get_puzzle_mt 2016-10-21 11:50:58 +02:00
Maximilian Münchow
bc4e578d9a Added ts3init match. 2016-10-21 11:50:58 +02:00
Maximilian Münchow
c1e1b14475 fixed invalid packet id in ts3init_reset_packet and ts3init_set_cookie_packet_header 2016-10-21 11:50:58 +02:00
Niels Werensteijn
ba2ae0798e added complex example 2016-10-20 19:04:34 +02:00
Niels Werensteijn
6bb2c7a8e4 mind fragments in fw simple example 2016-10-20 19:04:18 +02:00
Niels Werensteijn
479bfe4c60 fixed more language issues 2016-10-20 12:17:08 +02:00
Maximilian Münchow
b0a10018f6 Added description of the targets TS3INIT_GET_COOKIE and TS3INIT_SET_COOKIE. 2016-10-20 11:34:35 +02:00
Maximilian Münchow
66efea1c0d small fixed to README.md 2016-10-20 11:33:57 +02:00
Maximilian Münchow
f736245326 replaced tabs with 4 spaces. 2016-10-20 11:30:58 +02:00
Maximilian Münchow
b0dc373163 removed tab indents in ts3init_target.c 2016-10-20 10:41:55 +02:00
Maximilian Münchow
6d760c4bdb Improved phrasing and format in README.md 2016-10-20 10:15:52 +02:00
Maximilian Münchow
dc10393165 ts3init_get_cookie.help uses the same ident as other extensions 2016-10-20 09:33:11 +02:00
Niels Werensteijn
969982e417 fixed some errors in cookie.md 2016-10-20 09:28:53 +02:00
Niels Werensteijn
c3665992a9 removed lowercase reference 2016-10-20 09:19:07 +02:00
Niels Werensteijn
31bad73504 updated readme a bit 2016-10-20 09:19:07 +02:00
Maximilian Münchow
4509ac2612 Added first version of cookie.md 2016-10-14 15:23:34 +02:00
Niels Werensteijn
98fb883767 change "simple" example to use TS3INIT_GET_COOKIE 2016-10-14 14:46:26 +02:00
Niels Werensteijn
c362f2a33c use install to install xtables plugins 2016-10-14 14:14:18 +02:00
Maximilian Münchow
0ab6975a97 Renamed TS3INIT_MORPH_TO_GET_COOKIE to TS3INIT_GET_COOKIE 2016-10-14 13:19:03 +02:00
Maximilian Münchow
3b40dc3416 renamed all comments, arguments, and variables that contain or are related to the final cookie value to cookie 2016-10-14 13:03:58 +02:00
Maximilian Münchow
e1be5f7a25 renamed all comments, arguments, and variables that contain or are related to the value that is generated by combining random_seed and the current time to cookie_seed 2016-10-14 13:02:24 +02:00
Maximilian Münchow
75c9fd8642 renamed variables, parameters, constants, fields and files that contain or are about the user supplied seed to random_seeed. 2016-10-14 12:39:47 +02:00
Maximilian Münchow
cc16338fc0 added udp checksum calculation 2016-10-14 11:55:49 +02:00
Maximilian Münchow
4ab6b8f09d fixed bug in TS3INIT_MORPH_TO_GET_COOKIE. Kernel won't panic anymore. 2016-10-14 10:29:39 +02:00
Niels Werensteijn
ab7478727b updated "simple" examples to be ipv4 and ipv6 capable 2016-10-13 17:11:09 +02:00
Maximilian Münchow
716f509066 Added new target: TS3INIT_MORPH_TO_GET_COOKIE. Its rewrites an incomming packet into a TS3INIT_GET_COOKIE.
*/
2016-10-13 16:17:49 +02:00
Maximilian Münchow
52cc424be2 added 2 new constants: TS3INIT_HEADER_CLIENT_LENGTH and TS3INIT_HEADER_SERVER_LENGTH 2016-10-13 16:13:43 +02:00
Niels Werensteijn
2ed116a9ce added "simple" fw example 2016-10-13 16:12:32 +02:00
Maximilian Münchow
9e1f4cb760 added comments 2016-10-13 12:46:50 +02:00
Maximilian Münchow
5a002888d0 replaced magic 60 with COOKIE_SEED_LEN 2016-10-13 12:45:48 +02:00
Maximilian Münchow
9e2162ad63 renamed instances of package to packet 2016-10-13 12:41:49 +02:00
Maximilian Münchow
9691026360 moved struct ts3_init_checked_header_data to ts3init_match.c 2016-10-13 12:40:13 +02:00
Niels Werensteijn
a2af9c63df follow kernel code and do not use skb_header_pointer for ip(v6)_hdr 2016-10-13 09:35:05 +02:00