Commit Graph
217 Commits
Author SHA1 Message Date
DarthArgus 8e94519082 persister cleanup (still broke but logic is there for when it isn't); also replace all the SOE BS for forwarding stl port with native object classes because i thought that may be part of the problem... 2016-12-10 23:17:06 +00:00
DarthArgus 12cf580937 fix all the warnings 2016-12-04 00:56:24 +00:00
DarthArgus 1dda3feca0 this is more proper 2016-10-18 07:21:26 +00:00
DarthArgus 7f51fa9129 fixes 2016-10-18 03:25:50 +00:00
DarthArgus 8508437815 more refinements 2016-10-17 22:27:24 -05:00
DarthArgus c0a0092527 make it a string 2016-10-17 22:15:43 -05:00
DarthArgus f1dc0461df this should fetch the bin name 2016-10-17 22:14:04 -05:00
DarthArgus a372e936b1 send process name 2016-10-17 21:57:55 -05:00
DarthArgus 1289a17e87 typo 2016-10-18 02:10:33 +00:00
DarthArgus 46a578acb2 send a special user agent 2016-10-17 21:02:17 -05:00
DarthArgus a0a1f8eb31 in theory, this isn't a necessary check as the api would complain if
something is missing
2016-10-17 20:51:13 -05:00
DarthArgus c36b91e0d0 fix url 2016-10-18 01:38:13 +00:00
DarthArgus 40272ff290 autoformat and put it in other bins 2016-10-17 20:33:32 -05:00
DarthArgus 7a9d070608 both fatal and rm -rf now working - for internal/testing builds we
default to  -DSTELLA_INTERNAL to disable this thing...will add to the
rest of the bins and merge with the prod branches
2016-10-18 01:10:45 +00:00
DarthArgus 7290a4005e newline 2016-10-17 19:32:55 -05:00
DarthArgus d845df1921 prob don't need a dtor? 2016-10-17 19:31:04 -05:00
DarthArgus 0d4bef0e88 more tweaking 2016-10-17 19:28:44 -05:00
DarthArgus 826e75014a in theory this should work on all processes? 2016-10-17 19:05:25 -05:00
DarthArgus aeb6cbe47b ok, she builds! next step is to add it to all the server processes, and
define a var on non-prod (so all branches except for
clang-profile-build) to disable it entirely
2016-10-17 23:02:59 +00:00
DarthArgus b08fa054c4 functional prototype? may need to cleanup the cmake inclusion with the
crypter header...
2016-10-17 17:59:39 -05:00
DarthArgus 4da1791d05 cleanup 2016-10-17 21:44:11 +00:00
DarthArgus 83d2c16179 okies, she builds now so up next is making it actually do something
useful
2016-10-17 21:39:44 +00:00
DarthArgus 08cc494dda skeleton code for metrics 2016-10-17 16:21:39 -05:00
DarthArgus bde2d642ed cleanup 2016-10-05 21:28:28 -05:00
DarthArgus 7a48471d6d cleanup on udplib if, and hopefully properly disconnect on unsuccessful
logins to prevent blocking legit users - will have to test dossing after
this
2016-10-03 00:13:50 -05:00
DarthArgus 45ab99151d cleanup the "reason" output 2016-09-29 14:32:04 +00:00
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