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 |
|
Maximilian Münchow
|
4bbbd63860
|
added new methods ts3init_calculate_cookie_ipv4 and ts3init_calculate_cookie_ipv6. Changed TS3INIT_SET_COOKIE to use the new methods.
|
2016-10-12 13:04:20 +02:00 |
|
Maximilian Münchow
|
e31b6cf80c
|
Added license to compat headers.
removed compat_user.h because it isn't used.
|
2016-10-12 12:16:16 +02:00 |
|
Maximilian Münchow
|
3ad7aabe34
|
amended mistake in previous commit
|
2016-10-12 12:10:58 +02:00 |
|
Maximilian Münchow
|
1a334a2885
|
added TS3INIT_SET_COOKIE
renamed ts3init_reset to TS3INIT_RESET
moved cookie seed spefic things to ts3init_cookie_seed.h
moved cache specific things to ts3init_cache
|
2016-10-12 12:07:32 +02:00 |
|
Niels Werensteijn
|
ad542d0a33
|
fix --min-version parameters with offset
|
2016-10-12 09:17:35 +02:00 |
|
Niels Werensteijn
|
0394bf8987
|
fixed buffer overflow
|
2016-10-11 16:57:27 +02:00 |
|
Niels Werensteijn
|
b6ec076bc0
|
added readme (still needs work) and license
|
2016-10-11 15:42:39 +02:00 |
|
Niels Werensteijn
|
47f6ebf27f
|
Created Makefile for all projects
|
2016-10-11 15:23:29 +02:00 |
|
Niels Werensteijn
|
4a11da005b
|
added min_client_version check
|
2016-10-11 15:09:26 +02:00 |
|
Niels Werensteijn
|
2bf9af83b9
|
make sure all symbols that show up in the kernel are prefixed with ts3init_
|
2016-10-11 14:54:22 +02:00 |
|
Niels Werensteijn
|
481ba26c0f
|
code formatting and copyright
|
2016-10-11 14:14:29 +02:00 |
|
Maximilian Münchow
|
1559f82b55
|
torture.py allows for testing if the rules can handle, lots and lots of packages.
|
2016-10-11 14:03:22 +02:00 |
|
Niels Werensteijn
|
927257312b
|
uninitialize matches if targets fail to register
|
2016-10-11 11:20:13 +02:00 |
|
Niels Werensteijn
|
984bab5a3f
|
added test for siphash
|
2016-10-11 11:16:14 +02:00 |
|
Niels Werensteijn
|
4e3670842d
|
fixed bug in shiphash23
|
2016-10-11 11:16:14 +02:00 |
|
Maximilian Münchow
|
9f80476ca4
|
cleaned up libxt_ts3init_reset
|
2016-10-11 10:52:22 +02:00 |
|
Maximilian Münchow
|
30482cd1d3
|
extended Makefile.xtables to include all, install and clean
|
2016-10-11 09:32:51 +02:00 |
|
Maximilian Münchow
|
bf8594c03e
|
added ts3init_reset
|
2016-10-11 09:26:11 +02:00 |
|
Maximilian Münchow
|
8348d1e327
|
moved ts3init-header specific definitions into a seperate header file.
|
2016-10-11 09:24:26 +02:00 |
|
Niels Werensteijn
|
b31273e12f
|
finished cleanup of siphash
|
2016-10-11 09:22:35 +02:00 |
|
Niels Werensteijn
|
03831e546d
|
macro to inline functions
|
2016-10-11 08:50:58 +02:00 |
|
Niels Werensteijn
|
8702640cb1
|
typo
|
2016-10-11 08:49:53 +02:00 |
|
Niels Werensteijn
|
e3baf6b849
|
added siphash24.h
|
2016-10-11 08:20:58 +02:00 |
|
Niels Werensteijn
|
7a5b5c2ab8
|
added ignore file
|
2016-10-11 08:20:42 +02:00 |
|
Niels Werensteijn
|
7d78a26857
|
made siphash more generic and finished cookie calculation code
|
2016-10-10 18:46:02 +02:00 |
|
Niels Werensteijn
|
d158318625
|
split and renamed xtables libs so that they actually load
|
2016-10-10 16:12:08 +02:00 |
|
Niels Werensteijn
|
48dcafcd0a
|
make sure we use ipv4 or ipv6
|
2016-10-10 15:50:26 +02:00 |
|
Niels Werensteijn
|
68d2388973
|
switched cookie to 64 bit
|
2016-10-10 15:23:36 +02:00 |
|
Maximilian Münchow
|
e0877e6aff
|
moved endianness convertion of k0 and k1, below the declations to conform to C90 and changed convertion method to be le64_to_cpu
|
2016-10-10 11:33:39 +02:00 |
|
Maximilian Münchow
|
5c482fb5b1
|
changed siphash24: key are two u64, out is a u64,* parameters are assumed to be LE, DOUBLE removed
|
2016-10-10 09:42:01 +02:00 |
|
Niels Werensteijn
|
aa3150a046
|
prefix all symbols that show up in the kernel with ts3init_
|
2016-10-08 11:29:30 +02:00 |
|