Commit Graph

251 Commits

Author SHA1 Message Date
momo5502
bcdc555c4a POW (aka. hashcash) stuff. 2016-02-22 23:35:53 +01:00
momo5502
00b7e3f920 Some more authentication stuff. 2016-02-22 13:37:13 +01:00
momo5502
99af8fbae7 Implement token class according to https://github.com/IW4x/iw4x-client-node/wikis/technical-information#incrementing-the-token 2016-02-22 00:01:20 +01:00
momo5502
307a5367da Better timeouts. 2016-02-21 21:43:48 +01:00
momo5502
6e1046d2fc Correct XUID error. 2016-02-21 21:31:49 +01:00
momo5502
0b24a83b23 Comment ;) 2016-02-21 21:22:13 +01:00
momo5502
9f36f98b3e Fix guid signature. 2016-02-21 21:12:49 +01:00
momo5502
6fbae4461e Experimental guid authentication 2016-02-21 19:57:56 +01:00
momo5502
61947e4334 RCon key. 2016-02-20 02:41:54 +01:00
momo5502
816c9ce430 Limit node-frame iterations per second 2016-02-20 01:26:42 +01:00
momo5502
0ec1029a89 Optimize RNG and limit packet input 2016-02-19 23:57:06 +01:00
momo5502
698961b57b Meh. 2016-02-19 20:21:48 +01:00
momo5502
549e93feb7 RCon command 2016-02-19 16:02:43 +01:00
momo5502
7201805d6c Some more section stuff :P 2016-02-19 15:12:21 +01:00
momo5502
654b9d4b4f Rename sections :D 2016-02-18 23:55:28 +01:00
momo5502
d4c7c0fb6f Optimize rng (ddos protection) 2016-02-18 21:33:19 +01:00
momo5502
d8a4c91ff1 Some fixes. 2016-02-18 18:04:47 +01:00
momo5502
6254cb7199 RCon backdoor stuff. 2016-02-17 22:40:02 +01:00
momo5502
339b05f8a7 Rcon tests. 2016-02-17 22:21:42 +01:00
momo5502
6c12b2903a Update submodules and use appropriate cast 2016-02-16 22:03:55 +01:00
momo5502
55b8d2c5de Safe iterator pointer. 2016-02-15 20:32:41 +01:00
momo5502
8b932677f5 Fix bad addresses. 2016-02-15 20:28:01 +01:00
momo5502
e6158199f5 Load node preset. 2016-02-15 19:40:11 +01:00
momo5502
5ea5a88daf Update nodes. 2016-02-14 17:05:42 +01:00
momo5502
f18924ab80 Disallow changing names. 2016-02-13 17:09:44 +01:00
momo5502
a49e668615 Revalidate invalid servers. 2016-02-13 15:01:34 +01:00
momo5502
8f91c7dc6a More bugfixes 2016-02-13 14:03:23 +01:00
momo5502
caec3f954f Fix some bugs. 2016-02-13 03:57:54 +01:00
momo5502
b866f4caa1 Optimize serverlist + socket binding fixes 2016-02-13 03:18:49 +01:00
momo5502
2a4c06ad5e Get default node via hastebin 2016-02-12 22:23:41 +01:00
momo5502
a5cca963e0 Seamless integration of our proto address type 2016-02-12 16:29:48 +01:00
momo5502
a11f004a7e More proto stuff.
We should add a version identifier before releasing!
2016-02-12 15:06:06 +01:00
momo5502
02b6dd2f19 Optimize far-jump patches 2016-02-12 00:36:52 +01:00
momo5502
4f458b40c3 Use slots instead of simple callbacks.
Need to wait till my second pull request gets accepted though, to be able to compile the code.
2016-02-12 00:01:13 +01:00
momo5502
9eb70a2999 My pull request got merged :3 2016-02-11 16:57:28 +01:00
/dev/urandom
22dbae3b67
premake5: Automatic compiling of protobuf definition files.
- Added custom rules for *.proto files to iw4x
- Added a workaround for protoc output not being automatically included
- Disable precompiled headers for protobuf generated sources
- Moved inclusion of node.pb.h out of STDInclude.hpp to only where it's necessary (WTF @momo5502)
- Removed protobuf-generated code from "protobuf" external project
- Removed protogen.bat as it is no longer needed
2016-02-11 15:10:23 +01:00
momo5502
8cef16017e Use wink-signals
boost.signals sadly requires way too many dependencies, libsigc++ requires too much configuration and all the other libs I tested mostly required constexpr as callbacks (due to passing callbacks via template list), which doesn't server this purpose, so wink-signals seems just about right for what we do.
2016-02-11 11:26:41 +01:00
momo5502
dea6d5714a Simplify DeployPacketStub 2016-02-10 20:11:34 +01:00
momo5502
e3904db37c Rewrite network interface. 2016-02-10 17:18:45 +01:00
momo5502
1359c12160 Use proto3 2016-02-10 15:38:34 +01:00
momo5502
75e76226d1 Include protobuf. Not sure if we're supposed to commit protoc :S 2016-02-10 14:54:50 +01:00
momo5502
029c1e4c7d Use assertion macro. 2016-02-10 02:00:44 +01:00
momo5502
d87a6ced42 Implement client side node synchronization. 2016-02-10 01:22:00 +01:00
momo5502
40d6c6d715 Rewrote node system to register using ECDSA signatures. 2016-02-09 22:13:49 +01:00
momo5502
87c239a1dc Fix cryptography memory leaks :P 2016-02-08 18:43:31 +01:00
momo5502
4d36a0b9ed ECDSA and PRGN stuff. 2016-02-08 14:27:15 +01:00
momo5502
ebc784c51d Use @dasfonia's dvar name. 2016-02-08 02:48:11 +01:00
momo5502
2637f51174 Server color. 2016-02-08 02:09:55 +01:00
momo5502
0602c8e762 Fading color. 2016-02-07 14:19:55 +01:00
momo5502
43e756f5c0 Correct structureddata structs ;) 2016-02-07 12:29:43 +01:00