DarthArgus
|
59fc45626a
|
more cleanup, and add "random udp data" strikes... needs refined/tested/made sure it works
|
2016-09-29 08:27:24 +00:00 |
|
DarthArgus
|
2ea868bdb6
|
implement proper blacklisting at the lowest possible level, with strikes so that people repeatedly hitting enter with connection issues don't get insta banned
|
2016-09-29 07:30:07 +00:00 |
|
DarthArgus
|
0f209ec5bf
|
log ourselves
|
2016-09-28 23:40:12 -05:00 |
|
DarthArgus
|
df1090e4dc
|
add logging
|
2016-09-28 23:26:04 -05:00 |
|
DarthArgus
|
ce705d4df5
|
this should pass through a proper disconnect reason, and hopefully also
prevent us from seeing onConnectionClosed be called back
|
2016-09-28 22:36:08 -05:00 |
|
DarthArgus
|
d88e3a9b58
|
cleanup the implementation and make it build properly
|
2016-09-27 20:43:43 +00:00 |
|
DarthArgus
|
a4663d8879
|
in theory this will let us track connection counts per ip more efficiently
using an unordered_map
|
2016-09-27 15:27:09 -05:00 |
|
DarthArgus
|
d0b54bbeee
|
better efficiency
|
2016-09-26 16:41:26 +00:00 |
|
DarthArgus
|
51e0119460
|
output the proper ipv4 address
|
2016-09-26 16:20:24 +00:00 |
|
DarthArgus
|
5e890f9c07
|
fix aforementioned bugs/mistakes/typos
probably need to add the SOE logging class to this one, or give it a log
output location or something at some point
|
2016-09-26 06:27:54 +00:00 |
|
DarthArgus
|
e395177e8f
|
this probably has at least one mistake/bug/typo but will move our DoS
protection into the low level UDP lib
|
2016-09-26 06:27:53 +00:00 |
|
DarthArgus
|
41639d8156
|
better oci error reporting
|
2016-09-26 06:27:53 +00:00 |
|
DarthArgus
|
088480ad11
|
add mulodi function (using tor's example) as it is missing in llvm when using m32 on 64 hosts... also tweak a default config flag and enhance some of our ldflags and cflags - having mulodi allows us to finally use flto!
|
2016-09-26 06:24:22 +00:00 |
|
DarthArgus
|
09b288a36e
|
use empty as we always init the var
|
2016-09-26 06:24:21 +00:00 |
|
DarthArgus
|
17265362de
|
getString: check if null before casting
|
2016-09-26 06:24:21 +00:00 |
|
DarthArgus
|
dd9417642c
|
for nullable types we'll need to create a proper function outside the template for them
|
2016-09-26 06:24:21 +00:00 |
|
DarthArgus
|
51fa1ff6ad
|
enums for clarity
|
2016-09-26 06:24:21 +00:00 |
|
DarthArgus
|
8b614c5769
|
return a proper T null instead of an empty T
|
2016-09-26 06:24:21 +00:00 |
|
DarthArgus
|
2b8a8fdd03
|
pvs studio suggestions
|
2016-09-26 06:24:20 +00:00 |
|
DarthArgus
|
f7d5eeb160
|
so the result buffer/string wasn't being parsed by the json class because even using the "proper" ways of comparing the char * to "application/json" weren't working...ugh
|
2016-08-20 13:44:33 +00:00 |
|
DarthArgus
|
5f0e741a72
|
make the webAPI more generic so that we can use it in a more standardized fashion
|
2016-08-20 11:19:23 +00:00 |
|
DarthArgus
|
e0d9f58ba0
|
update nlohmann's json to v2.0.2
|
2016-08-20 07:41:19 +00:00 |
|
DarthArgus
|
207449547f
|
cleanups and clarity
|
2016-08-06 02:35:55 +00:00 |
|
DarthArgus
|
00fef810e7
|
prevent the insanity of specifying (usually) defaults
|
2016-08-06 02:00:49 +00:00 |
|
DarthArgus
|
a9fa196e5f
|
did i say simpler? i'm not sure if this is more or less simple...but it is secure and operates how we need... @apathy audit please?
|
2016-08-05 01:09:25 +00:00 |
|
DarthArgus
|
91cd9b60ec
|
needs QA/TEST before even seeing TC - implement login based on returned username from web api
|
2016-08-04 21:36:55 +00:00 |
|
DarthArgus
|
1dff426bbe
|
enable more thread safety and buffer safety
|
2016-07-31 05:45:10 +00:00 |
|
DarthArgus
|
814cf4f731
|
some more static analyzer suggestions
|
2016-07-25 22:11:10 -07:00 |
|
DarthArgus
|
e65b05ada9
|
mostly template initializations to prevent undefined behavior in the
(unlikely) chance some of these properties are used
|
2016-07-24 21:25:03 -07:00 |
|
DarthArgus
|
5084c72fbe
|
fix a few discrepancies
|
2016-07-25 01:46:39 +00:00 |
|
DarthArgus
|
d2c830306f
|
i must test these before calling them good - as gcc isn't on the windows
machine i push, test, fix, and then push again - pvs studio <3
|
2016-07-24 20:37:39 -07:00 |
|
DarthArgus
|
5217465f67
|
pvs studio suggested improvements for performance
|
2016-07-24 17:47:01 -07:00 |
|
DarthArgus
|
0944957824
|
forgot to declare
|
2016-07-24 01:55:15 +00:00 |
|
DarthArgus
|
a31d7ca48b
|
partial revert as pvs mislead me
|
2016-07-24 01:52:29 +00:00 |
|
DarthArgus
|
5c8a1ebc42
|
despite the codemaid changes, this is some static analysis detected issues
|
2016-07-23 20:53:20 -07:00 |
|
DarthArgus
|
9b369713e1
|
again, re-add some windows stuff Revert "possibly controversial commit: remove all windows sources, keeping only the windows cmake so that we can generate an sln to edit the code"
This reverts commit 48ba7961eb.
|
2016-07-23 18:01:50 -07:00 |
|
DarthArgus
|
5bd85cf54d
|
just slap an inline for the chat debug printing function...@devcodex if this is nasty please let me know...but clang was griping about it in release builds
|
2016-07-13 23:29:40 +00:00 |
|
DarthArgus
|
b27d82ff39
|
no more spaces for extra secret slots - closes #34
|
2016-06-01 04:04:30 +00:00 |
|
DarthArgus
|
a05e61e0fe
|
the response should never be empty but we need to check the json lib for exceptions and return appropriately... + cleanup a bit - closes #33
|
2016-05-22 17:44:00 +00:00 |
|
DarthArgus
|
068228a938
|
forgot a case
|
2016-04-28 19:52:24 +00:00 |
|
DarthArgus
|
18e316631f
|
credit where it's due
|
2016-04-28 19:17:47 +00:00 |
|
DarthArgus
|
909ceab5e9
|
poke some fun with license header
|
2016-04-28 17:27:27 +00:00 |
|
DarthArgus
|
6049da78af
|
all working! thanks for the cmake help, @devcodex!
|
2016-04-28 17:23:30 +00:00 |
|
DarthArgus
|
b99e3e45f9
|
properly link the executable against curl, instead of the helper lib
|
2016-04-28 16:57:47 +00:00 |
|
DarthArgus
|
ecc0621f61
|
if only i could get past the linker errors, this will work...
|
2016-04-28 03:46:02 +00:00 |
|
DarthArgus
|
5f7cf7e969
|
this is closer but still not building correctly
|
2016-04-28 03:28:12 +00:00 |
|
DarthArgus
|
4f7a729d61
|
this makes more sense
|
2016-04-27 22:27:18 +00:00 |
|
DarthArgus
|
baecfbebb6
|
has linker error! but this should be a good start on breaking out our changes and web api into a standalone library/namespace
|
2016-04-27 21:54:10 +00:00 |
|
DarthArgus
|
cd997925eb
|
cleanup all the "#if 1" macro blocks
|
2016-03-24 21:27:54 +00:00 |
|
DarthArgus
|
3b430656ba
|
remove SOE deprecated code and files - leaving in the #if 0 blocks with TODO and other possible uses for later
|
2016-03-24 21:07:31 +00:00 |
|