Commit Graph
606 Commits
Author SHA1 Message Date
DarthArgus 2680be9a29 add constexpr version of our crc calculator so that we can migrate toward simple comparisons and switches for isType checks 2016-09-29 20:13:52 +00:00
DarthArgus b5595e66e6 add maxConnectionsPerIP configurable to the connection server 2016-09-29 16:19:39 +00:00
DarthArgus 150a80efa8 add connections per ip limit to the connection server (public port only) 2016-09-29 11:07:01 -05:00
DarthArgus af9701a816 clion, your formatting is pissing me off 2016-09-29 03:48:11 +00: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 93735f9c3c silence unless the client has a legit station id 2016-09-26 06:28:09 +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 1651feb4de squash some of my overly verbose commits that have no uses 2016-09-26 06:27:53 +00:00
DarthArgus dd86cd4190 rearrange and make more descriptive this debug message 2016-09-26 06:27:53 +00:00
DarthArgus 05f8a322fb ConnectionServer: add altPublicBindAddress config option 2016-09-26 06:27:45 +00:00
DarthArgus 81ac74a4ff use std::abs instead of abs to allow the floats to be used instead of having roundoffs 2016-09-26 06:24:22 +00:00
DarthArgus 08b26c6535 gcc 6 compatibility bugfix 2016-09-26 06:24:22 +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 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 06925a9219 change to use bools as passed from the frontend (yay! less comparisons!) 2016-09-26 06:24:20 +00:00
DarthArgus 268727ce16 reduce the stats we're collecting... if we only need player count we can probably nuke everything but that, right @stellab @swgnoobs ? 2016-09-26 06:24:20 +00:00
DarthArgus e0e39df051 forgot something, now time to sleep 2016-09-26 06:24:20 +00:00
apathy e517f98f9c Consider all bazaars (not just the restuss ones) as persisted. 2016-09-26 06:24:19 +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 6e7a213f2d cleaning 2016-08-08 16:33:51 +00:00
DarthArgus 465aed03b4 remove unnecessary check 2016-08-06 03:22:16 +00:00
DarthArgus 537ed4ce53 make this string a static const... we basically just keep using it so why not? 2016-08-06 02:56:06 +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 46e985f72a reposition a sanity check 2016-08-04 21:49:12 +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
apathy 37e50708b7 Only resize if length is longer than max_account_name_length 2016-08-04 11:23:47 -07:00
apathy 648e5807a0 truncate the id to MAX_ACCOUNT_NAME_LENGTH before generating station id's 2016-08-04 03:21:32 -07:00
DarthArgus cbf84b65a4 more snprintf...more later 2016-08-02 02:23:21 +00:00
DarthArgus 2b5d006bb9 no cust service server, for now... 2016-08-01 03:20:55 +00:00
DarthArgus f4c737ddf7 static max lengths for the snprintfs etc 2016-08-01 03:02:50 +00:00
apathy 3d7acd9f32 Don't load the NetLogObserver for LogServer instances as it just sends messages into an infinite loop 2016-08-01 02:46:56 +00:00
DarthArgus 75c27f67ad cleanup 2016-07-31 09:59:38 +00:00
DarthArgus 04ed17a152 correct some of my erroneous snprintfs 2016-07-31 07:20:21 +00:00
DarthArgus 1dff426bbe enable more thread safety and buffer safety 2016-07-31 05:45:10 +00:00
DarthArgus ed4a4d54ee test this theory and see if this keeps the prod server (more threads) from dumping java...if so i'll make this value configurable 2016-07-27 05:05:22 +00:00
DarthArgus 74ade42185 this rids us of connection warnings on shutdown 2016-07-27 01:27:26 +00:00
DarthArgus 772146a72f fix readability 2016-07-27 01:09:19 +00:00
DarthArgus 5503ac606a partial revert 2016-07-26 03:15:10 +00:00
DarthArgus 814cf4f731 some more static analyzer suggestions 2016-07-25 22:11:10 -07:00
DarthArgus 88888e4091 bye bye, boost! thanks @apathy! 2016-07-25 05:47:57 +00:00
DarthArgus 0f815ce30e include <algorithm> 2016-07-25 05:41:26 +00:00
DarthArgus 73d718ba9e [apathy][PATCH] Cast jboolean to bool 2016-07-25 05:39:29 +00:00
DarthArgus be02bf64c3 [apathy] [PATCH] Replaced boost::shared_ptr with std::shared_ptr, update
headers accordingly
2016-07-25 05:39:03 +00:00
DarthArgus a84205abec [apathy] [PATCH] Changed forward declaration from boost::shared_ptr to 2016-07-25 05:34:40 +00:00
DarthArgus e20ac25bfc [apathy] [PATCH] Replace boost::shared_ptr with std::shared_ptr 2016-07-25 05:33:05 +00:00