Niels Werensteijn
|
ab7478727b
|
updated "simple" examples to be ipv4 and ipv6 capable
|
8 years ago |
Maximilian Münchow
|
716f509066
|
Added new target: TS3INIT_MORPH_TO_GET_COOKIE. Its rewrites an incomming packet into a TS3INIT_GET_COOKIE.
*/
|
8 years ago |
Maximilian Münchow
|
52cc424be2
|
added 2 new constants: TS3INIT_HEADER_CLIENT_LENGTH and TS3INIT_HEADER_SERVER_LENGTH
|
8 years ago |
Niels Werensteijn
|
2ed116a9ce
|
added "simple" fw example
|
8 years ago |
Maximilian Münchow
|
9e1f4cb760
|
added comments
|
8 years ago |
Maximilian Münchow
|
5a002888d0
|
replaced magic 60 with COOKIE_SEED_LEN
|
8 years ago |
Maximilian Münchow
|
9e2162ad63
|
renamed instances of package to packet
|
8 years ago |
Maximilian Münchow
|
9691026360
|
moved struct ts3_init_checked_header_data to ts3init_match.c
|
8 years ago |
Niels Werensteijn
|
a2af9c63df
|
follow kernel code and do not use skb_header_pointer for ip(v6)_hdr
|
8 years ago |
Niels Werensteijn
|
62810fe935
|
send proper reset command to client
|
8 years ago |
Maximilian Münchow
|
0babfde11d
|
removed debug messages
|
8 years ago |
Maximilian Münchow
|
dec609840c
|
changed TS3INIT_SET_COOKIE to use the recieved udp/ip header instead of the reply headers.
|
8 years ago |
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.
|
8 years ago |
Maximilian Münchow
|
f7181d65d0
|
fixed spelling mistake
|
8 years ago |
Niels Werensteijn
|
f5a1a99fa5
|
more target to uppercase fixes
|
8 years ago |
Niels Werensteijn
|
5e9ef66bdc
|
refactor calculate_cookie
|
8 years ago |
Niels Werensteijn
|
5712abbaa1
|
renamed some symbols to keep namespace clear
|
8 years ago |
Niels Werensteijn
|
e25dac37e9
|
more fixes to readme
|
8 years ago |
Niels Werensteijn
|
a4fbff1b3f
|
fixed help
|
8 years ago |
Niels Werensteijn
|
7a06bacb5c
|
update readme
|
8 years ago |
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.
|
8 years ago |
Maximilian Münchow
|
e31b6cf80c
|
Added license to compat headers.
removed compat_user.h because it isn't used.
|
8 years ago |
Maximilian Münchow
|
3ad7aabe34
|
amended mistake in previous commit
|
8 years ago |
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
|
8 years ago |
Niels Werensteijn
|
ad542d0a33
|
fix --min-version parameters with offset
|
8 years ago |
Niels Werensteijn
|
0394bf8987
|
fixed buffer overflow
|
8 years ago |
Niels Werensteijn
|
b6ec076bc0
|
added readme (still needs work) and license
|
8 years ago |
Niels Werensteijn
|
47f6ebf27f
|
Created Makefile for all projects
|
8 years ago |
Niels Werensteijn
|
4a11da005b
|
added min_client_version check
|
8 years ago |
Niels Werensteijn
|
2bf9af83b9
|
make sure all symbols that show up in the kernel are prefixed with ts3init_
|
8 years ago |
Niels Werensteijn
|
481ba26c0f
|
code formatting and copyright
|
8 years ago |
Maximilian Münchow
|
1559f82b55
|
torture.py allows for testing if the rules can handle, lots and lots of packages.
|
8 years ago |
Niels Werensteijn
|
927257312b
|
uninitialize matches if targets fail to register
|
8 years ago |
Niels Werensteijn
|
984bab5a3f
|
added test for siphash
|
8 years ago |
Niels Werensteijn
|
4e3670842d
|
fixed bug in shiphash23
|
8 years ago |
Maximilian Münchow
|
9f80476ca4
|
cleaned up libxt_ts3init_reset
|
8 years ago |
Maximilian Münchow
|
30482cd1d3
|
extended Makefile.xtables to include all, install and clean
|
8 years ago |
Maximilian Münchow
|
bf8594c03e
|
added ts3init_reset
|
8 years ago |
Maximilian Münchow
|
8348d1e327
|
moved ts3init-header specific definitions into a seperate header file.
|
8 years ago |
Niels Werensteijn
|
b31273e12f
|
finished cleanup of siphash
|
8 years ago |
Niels Werensteijn
|
03831e546d
|
macro to inline functions
|
8 years ago |
Niels Werensteijn
|
8702640cb1
|
typo
|
8 years ago |
Niels Werensteijn
|
e3baf6b849
|
added siphash24.h
|
8 years ago |
Niels Werensteijn
|
7a5b5c2ab8
|
added ignore file
|
8 years ago |
Niels Werensteijn
|
7d78a26857
|
made siphash more generic and finished cookie calculation code
|
8 years ago |
Niels Werensteijn
|
d158318625
|
split and renamed xtables libs so that they actually load
|
8 years ago |
Niels Werensteijn
|
48dcafcd0a
|
make sure we use ipv4 or ipv6
|
8 years ago |
Niels Werensteijn
|
68d2388973
|
switched cookie to 64 bit
|
8 years ago |
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
|
8 years ago |
Maximilian Münchow
|
5c482fb5b1
|
changed siphash24: key are two u64, out is a u64,* parameters are assumed to be LE, DOUBLE removed
|
8 years ago |