85 Commits

Author SHA1 Message Date
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
Niels Werensteijn
62810fe935 send proper reset command to client 2016-10-13 09:35:05 +02:00
Maximilian Münchow
0babfde11d removed debug messages 2016-10-13 08:55:34 +02:00
Maximilian Münchow
dec609840c changed TS3INIT_SET_COOKIE to use the recieved udp/ip header instead of the reply headers. 2016-10-13 08:48:33 +02:00
Maximilian Münchow
7c8d64811f the cookie-seed used in ts3init_get_puzzle and TS3INIT_SET_COOKIE can be loaded from file now.
Added new parameters --seed and --seed-file to ts3init_get_puzzle and TS3INIT_SET_COOKIE.
2016-10-12 17:32:07 +02:00
Maximilian Münchow
f7181d65d0 fixed spelling mistake 2016-10-12 17:24:09 +02:00
Niels Werensteijn
f5a1a99fa5 more target to uppercase fixes 2016-10-12 17:03:06 +02:00
Niels Werensteijn
5e9ef66bdc refactor calculate_cookie 2016-10-12 15:21:41 +02:00
Niels Werensteijn
5712abbaa1 renamed some symbols to keep namespace clear 2016-10-12 14:32:26 +02:00
Niels Werensteijn
e25dac37e9 more fixes to readme 2016-10-12 13:47:07 +02:00
Niels Werensteijn
a4fbff1b3f fixed help 2016-10-12 13:47:07 +02:00
Niels Werensteijn
7a06bacb5c update readme 2016-10-12 13:47:07 +02:00