DarthArgus
|
e044e4dc83
|
will revisit this later... but..
|
2016-09-30 00:37:17 -05:00 |
|
DarthArgus
|
8d1a1f45a5
|
wow there are a ton of these
|
2016-09-30 00:21:53 -05:00 |
|
DarthArgus
|
83f43dac84
|
fix some find and replace madness
|
2016-09-29 23:33:59 -05:00 |
|
DarthArgus
|
ce2e336457
|
Merge branch 'testing' of git.stellabellum.net:staff/src into testing
|
2016-09-29 23:30:26 -05:00 |
|
DarthArgus
|
4aa3bdd38a
|
pick up some stragglers
|
2016-09-29 23:30:03 -05:00 |
|
DarthArgus
|
2b2226f6f6
|
keep our static crc's...but build them at compile time for speeeeeeeed
|
2016-09-29 23:22:53 -05:00 |
|
DarthArgus
|
780e388a8a
|
being tired = breaking things
|
2016-09-30 03:58:34 +00:00 |
|
DarthArgus
|
32338c7c73
|
this one is huge, here's hoping it is correct
|
2016-09-29 22:47:26 -05:00 |
|
DarthArgus
|
9b5f4b1ff4
|
this one is big, WE WILL WANT TO TEST COMMODITIES TO MAKE SURE ALL IS
WELL!
|
2016-09-29 22:17:49 -05:00 |
|
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 |
|