Commit Graph

  • 856fd396ba was missing a couple breaks - she's fixed DarthArgus 2016-09-30 05:54:59 +00:00
  • 49f772b37b nevermind, still broken, dammit DarthArgus 2016-09-30 00:38:26 -05:00
  • e044e4dc83 will revisit this later... but.. DarthArgus 2016-09-30 00:37:17 -05:00
  • 8d1a1f45a5 wow there are a ton of these DarthArgus 2016-09-30 00:21:53 -05:00
  • 83f43dac84 fix some find and replace madness DarthArgus 2016-09-29 23:33:59 -05:00
  • ce2e336457 Merge branch 'testing' of git.stellabellum.net:staff/src into testing DarthArgus 2016-09-29 23:30:26 -05:00
  • 4aa3bdd38a pick up some stragglers DarthArgus 2016-09-29 23:30:03 -05:00
  • 2b2226f6f6 keep our static crc's...but build them at compile time for speeeeeeeed DarthArgus 2016-09-29 23:22:53 -05:00
  • 780e388a8a being tired = breaking things DarthArgus 2016-09-30 03:58:34 +00:00
  • 32338c7c73 this one is huge, here's hoping it is correct DarthArgus 2016-09-29 22:47:26 -05:00
  • 9b5f4b1ff4 this one is big, WE WILL WANT TO TEST COMMODITIES TO MAKE SURE ALL IS WELL! DarthArgus 2016-09-29 22:17:49 -05:00
  • dac5147b7c also helps to name properly DarthArgus 2016-09-29 21:54:31 -05:00
  • 39509c3508 fix one previous file, setup another DarthArgus 2016-09-29 21:53:18 -05:00
  • 3379dc9298 probably helps to compare things... DarthArgus 2016-09-29 21:33:35 -05:00
  • a282307898 other than needing reformatting this should build unless i forgot something DarthArgus 2016-09-29 21:29:55 -05:00
  • d87f7a4f84 constexpr power in action DarthArgus 2016-09-29 20:45:09 +00:00
  • 2680be9a29 add constexpr version of our crc calculator so that we can migrate toward simple comparisons and switches for isType checks DarthArgus 2016-09-29 20:13:52 +00:00
  • b5595e66e6 add maxConnectionsPerIP configurable to the connection server DarthArgus 2016-09-29 16:19:39 +00:00
  • 150a80efa8 add connections per ip limit to the connection server (public port only) DarthArgus 2016-09-29 11:07:01 -05:00
  • 45ab99151d cleanup the "reason" output DarthArgus 2016-09-29 14:32:04 +00:00
  • 59fc45626a more cleanup, and add "random udp data" strikes... needs refined/tested/made sure it works DarthArgus 2016-09-29 08:27:24 +00:00
  • 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 DarthArgus 2016-09-29 07:30:07 +00:00
  • 0f209ec5bf log ourselves DarthArgus 2016-09-28 23:40:12 -05:00
  • df1090e4dc add logging DarthArgus 2016-09-28 23:26:04 -05:00
  • af9701a816 clion, your formatting is pissing me off DarthArgus 2016-09-29 03:48:11 +00:00
  • ce705d4df5 this should pass through a proper disconnect reason, and hopefully also prevent us from seeing onConnectionClosed be called back DarthArgus 2016-09-28 22:36:08 -05:00
  • d88e3a9b58 cleanup the implementation and make it build properly DarthArgus 2016-09-27 20:43:43 +00:00
  • a4663d8879 in theory this will let us track connection counts per ip more efficiently using an unordered_map DarthArgus 2016-09-27 15:27:09 -05:00
  • d0b54bbeee better efficiency DarthArgus 2016-09-26 16:41:26 +00:00
  • 51e0119460 output the proper ipv4 address DarthArgus 2016-09-26 16:20:24 +00:00
  • 93735f9c3c silence unless the client has a legit station id DarthArgus 2016-09-26 00:52:44 -05:00
  • 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 DarthArgus 2016-09-26 05:25:18 +00:00
  • e395177e8f this probably has at least one mistake/bug/typo but will move our DoS protection into the low level UDP lib DarthArgus 2016-09-26 00:29:29 -05:00
  • 41639d8156 better oci error reporting DarthArgus 2016-09-25 03:57:58 +00:00
  • 1651feb4de squash some of my overly verbose commits that have no uses DarthArgus 2016-09-04 18:00:31 +00:00
  • 10b86bcc7f remove -D_FORTIFY_SOURCE=2 as it causes stack dumps with datatabletool when built with gcc DarthArgus 2016-09-04 17:59:14 +00:00
  • dd86cd4190 rearrange and make more descriptive this debug message DarthArgus 2016-09-03 00:50:01 +00:00
  • 05f8a322fb ConnectionServer: add altPublicBindAddress config option DarthArgus 2016-09-02 21:30:35 +00:00
  • e0bd4f3c02 turn of mulodi building for now, will remove if not needed later DarthArgus 2016-09-02 21:15:10 +00:00
  • e0219af8fe ignore geany projects DarthArgus 2016-09-02 04:09:44 +00:00
  • 81ac74a4ff use std::abs instead of abs to allow the floats to be used instead of having roundoffs DarthArgus 2016-08-26 05:49:44 +00:00
  • 6ceefdceb0 more toying with cflags DarthArgus 2016-08-26 01:55:02 +00:00
  • 08b26c6535 gcc 6 compatibility bugfix DarthArgus 2016-08-25 21:10:56 +00:00
  • dec4946da5 doesn't seem that flto wants to work, despite it working earlier :( DarthArgus 2016-08-25 07:14:47 +00:00
  • 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! DarthArgus 2016-08-25 05:47:29 +00:00
  • d7392f2f40 No need to reserve, insert will handle any reallocating that needs to happen efficiently apathy 2016-08-21 18:10:20 -07:00
  • 09b288a36e use empty as we always init the var DarthArgus 2016-08-21 19:16:00 +00:00
  • 17265362de getString: check if null before casting DarthArgus 2016-08-21 18:23:47 +00:00
  • dd9417642c for nullable types we'll need to create a proper function outside the template for them DarthArgus 2016-08-21 18:21:33 +00:00
  • 51fa1ff6ad enums for clarity DarthArgus 2016-08-21 17:35:51 +00:00
  • 8b614c5769 return a proper T null instead of an empty T DarthArgus 2016-08-21 17:04:48 +00:00
  • 0595b456b9 Reserve enough space before inserting. apathy 2016-08-21 10:30:42 -07:00
  • 33c42720a8 Change encoding/decoding binary data to use base64 vs utf-8 to prevent bad characters in the oracle string encoding. apathy 2016-08-21 10:00:05 -07:00
  • 2b8a8fdd03 pvs studio suggestions DarthArgus 2016-08-21 01:13:27 -07:00
  • 06925a9219 change to use bools as passed from the frontend (yay! less comparisons!) DarthArgus 2016-08-21 03:52:51 +00:00
  • 268727ce16 reduce the stats we're collecting... if we only need player count we can probably nuke everything but that, right @stellab @swgnoobs ? DarthArgus 2016-08-20 15:01:11 +00:00
  • e0e39df051 forgot something, now time to sleep DarthArgus 2016-08-20 14:21:42 +00:00
  • e517f98f9c Consider all bazaars (not just the restuss ones) as persisted. apathy 2016-08-20 06:45:19 -07:00
  • 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 DarthArgus 2016-08-20 13:44:33 +00:00
  • 5f0e741a72 make the webAPI more generic so that we can use it in a more standardized fashion DarthArgus 2016-08-20 11:19:23 +00:00
  • e0d9f58ba0 update nlohmann's json to v2.0.2 DarthArgus 2016-08-20 07:41:19 +00:00
  • 6e7a213f2d cleaning DarthArgus 2016-08-08 16:33:51 +00:00
  • 465aed03b4 remove unnecessary check DarthArgus 2016-08-06 03:22:16 +00:00
  • 537ed4ce53 make this string a static const... we basically just keep using it so why not? DarthArgus 2016-08-06 02:56:06 +00:00
  • 207449547f cleanups and clarity DarthArgus 2016-08-06 02:35:55 +00:00
  • 00fef810e7 prevent the insanity of specifying (usually) defaults DarthArgus 2016-08-06 02:00:49 +00:00
  • 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? DarthArgus 2016-08-05 01:09:25 +00:00
  • 46e985f72a reposition a sanity check DarthArgus 2016-08-04 21:49:12 +00:00
  • 91cd9b60ec needs QA/TEST before even seeing TC - implement login based on returned username from web api DarthArgus 2016-08-04 21:36:55 +00:00
  • 37e50708b7 Only resize if length is longer than max_account_name_length apathy 2016-08-04 11:23:47 -07:00
  • 648e5807a0 truncate the id to MAX_ACCOUNT_NAME_LENGTH before generating station id's apathy 2016-08-04 03:21:32 -07:00
  • cbf84b65a4 more snprintf...more later DarthArgus 2016-08-02 02:23:21 +00:00
  • 2b5d006bb9 no cust service server, for now... DarthArgus 2016-08-01 03:20:55 +00:00
  • f4c737ddf7 static max lengths for the snprintfs etc DarthArgus 2016-08-01 03:02:50 +00:00
  • 3d7acd9f32 Don't load the NetLogObserver for LogServer instances as it just sends messages into an infinite loop apathy 2016-07-31 19:43:09 -07:00
  • 75c27f67ad cleanup DarthArgus 2016-07-31 09:59:38 +00:00
  • 04ed17a152 correct some of my erroneous snprintfs DarthArgus 2016-07-31 07:20:21 +00:00
  • 1dff426bbe enable more thread safety and buffer safety DarthArgus 2016-07-31 05:45:10 +00:00
  • 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 DarthArgus 2016-07-27 05:05:22 +00:00
  • 74ade42185 this rids us of connection warnings on shutdown DarthArgus 2016-07-27 01:27:26 +00:00
  • 772146a72f fix readability DarthArgus 2016-07-27 01:09:19 +00:00
  • 5503ac606a partial revert DarthArgus 2016-07-26 03:15:10 +00:00
  • 814cf4f731 some more static analyzer suggestions DarthArgus 2016-07-25 22:11:10 -07:00
  • 88888e4091 bye bye, boost! thanks @apathy! DarthArgus 2016-07-25 05:47:57 +00:00
  • 0f815ce30e include <algorithm> DarthArgus 2016-07-25 05:41:26 +00:00
  • 73d718ba9e [apathy][PATCH] Cast jboolean to bool DarthArgus 2016-07-25 05:39:29 +00:00
  • be02bf64c3 [apathy] [PATCH] Replaced boost::shared_ptr with std::shared_ptr, update headers accordingly DarthArgus 2016-07-25 05:39:03 +00:00
  • a84205abec [apathy] [PATCH] Changed forward declaration from boost::shared_ptr to DarthArgus 2016-07-25 05:34:40 +00:00
  • e20ac25bfc [apathy] [PATCH] Replace boost::shared_ptr with std::shared_ptr DarthArgus 2016-07-25 05:33:05 +00:00
  • d7f94e8f7c [apathy] [PATCH] Replace boost::shared_ptr with std::shared_ptr DarthArgus 2016-07-25 05:32:38 +00:00
  • c9abbf1771 [apathy] [PATCH] Replace boost:shared_ptr with std::shared_ptr DarthArgus 2016-07-25 05:26:57 +00:00
  • 00fa2c450b [apathy] - emplace_back DarthArgus 2016-07-25 05:26:31 +00:00
  • 80b0db5327 another patch by apathy to remove shared_ptr DarthArgus 2016-07-25 05:25:38 +00:00
  • d9b4adb7e8 per apathy - other files/libs will need this where boost is used - [PATCH] Replace boost::shared_ptr usage with std::shared_ptr DarthArgus 2016-07-25 05:20:32 +00:00
  • 3129127815 via apathy - Replace push_back with emplace_back to create a default object which is immediately accessed following the changed line via .back() DarthArgus 2016-07-25 05:17:05 +00:00
  • 5d6bb85fa3 fix bug DarthArgus 2016-07-25 02:46:02 +00:00
  • 8b9665a0f8 this is where i stop for the evening DarthArgus 2016-07-24 21:48:49 -07:00
  • 9d2013918a some more to try... DarthArgus 2016-07-24 21:36:20 -07:00
  • e65b05ada9 mostly template initializations to prevent undefined behavior in the (unlikely) chance some of these properties are used DarthArgus 2016-07-24 21:25:03 -07:00
  • 5084c72fbe fix a few discrepancies DarthArgus 2016-07-25 01:46:39 +00:00