DarthArgus
|
dac5147b7c
|
also helps to name properly
|
2016-09-29 21:54:31 -05:00 |
|
DarthArgus
|
39509c3508
|
fix one previous file, setup another
|
2016-09-29 21:53:18 -05:00 |
|
DarthArgus
|
3379dc9298
|
probably helps to compare things...
|
2016-09-29 21:33:35 -05:00 |
|
DarthArgus
|
a282307898
|
other than needing reformatting this should build unless i forgot
something
|
2016-09-29 21:29:55 -05:00 |
|
DarthArgus
|
d87f7a4f84
|
constexpr power in action
|
2016-09-29 20:45:09 +00:00 |
|
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
|
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
|
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
|
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
|
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
|
10b86bcc7f
|
remove -D_FORTIFY_SOURCE=2 as it causes stack dumps with datatabletool when built with gcc
|
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
|
e0bd4f3c02
|
turn of mulodi building for now, will remove if not needed later
|
2016-09-26 06:24:23 +00:00 |
|
DarthArgus
|
e0219af8fe
|
ignore geany projects
|
2016-09-26 06:24:23 +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
|
6ceefdceb0
|
more toying with cflags
|
2016-09-26 06:24:22 +00:00 |
|
DarthArgus
|
08b26c6535
|
gcc 6 compatibility bugfix
|
2016-09-26 06:24:22 +00:00 |
|
DarthArgus
|
dec4946da5
|
doesn't seem that flto wants to work, despite it working earlier :(
|
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 |
|
 apathyandDarthArgus
|
d7392f2f40
|
No need to reserve, insert will handle any reallocating that needs to happen efficiently
|
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 |
|
 apathyandDarthArgus
|
0595b456b9
|
Reserve enough space before inserting.
|
2016-09-26 06:24:20 +00:00 |
|
 apathyandDarthArgus
|
33c42720a8
|
Change encoding/decoding binary data to use base64 vs utf-8 to prevent bad characters in the oracle string encoding.
|
2016-09-26 06:24:20 +00:00 |
|
DarthArgus
|
2b8a8fdd03
|
pvs studio suggestions
|
2016-09-26 06:24:20 +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 |
|
 apathyandDarthArgus
|
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
|
e0d9f58ba0
|
update nlohmann's json to v2.0.2
|
2016-08-20 07:41:19 +00:00 |
|