Commit Graph

808 Commits

Author SHA1 Message Date
Atermonera
ea8bf0ad0b Merge pull request #6630 from Novacat/nova-alerts
IP reputation checking
2020-01-21 15:10:27 -08:00
Atermonera
929ba9c96b Merge pull request #6620 from Heroman3003/eventpause
Pauses event processing while doing event actions
2020-01-15 20:43:25 -08:00
Unknown
645ddf30d1 IP reputation checking
Ported from https://github.com/VOREStation/VOREStation/pull/6451
Code done by Aronai

Adds IP reputation checking to detect Tor, proxy, and VPN usage and block it if so configured.

It's disabled by default, but if enabled the default settings are to block all VPN/Proxy/Tor to connect unless the player has been a player for 5 days on a 'normal' connection so that people who legitimately sometimes use a VPN for *reasons* can continue to do so. You can also have it check reputations and just log bad ones, without disconnecting the users.

Whether or not it allows 'existing' players, the length of time they must have played, what's considered a 'bad' IP score, etc, are configurable. You **must** put an e-mail address if you use this, otherwise the service will likely ban you. This is the e-mail address they will send e-mails to if you're performing too many checks or they need to speak to you. 

Adds config options, here's a paste from the example config:
```
## IP Reputation Checking
# Enable/disable IP reputation checking (present/nonpresent)
#IP_REPUTATION

# Set the e-mail address problems can go to for IPR checks (e-mail address)
IPR_EMAIL whatever@whatever.com

# Above this value, reputation scores are considered 'bad' (number)
IPR_BAD_SCORE 1

# If you want the people disconnected. Otherwise it just logs. (present/nonpresent)
IPR_BLOCK_BAD_IPS

# If players of a certain length of playtime are allowed anyway (REQUIRES DATABASE) (present/nonpresent)
IPR_ALLOW_EXISTING

# And what that age is (number)
IPR_MINIMUM_AGE 5
```

As you can see, it's off by default, so if you're a downstream this won't change anything for you unless you decide to turn it on. If you want the features, just copypaste the new config lines out of the example and uncomment IP_REPUTATION.

Downstreams can replace the /client/proc/update_ip_reputation() proc with your own, if you'd like to substitute your own service! Just set the client's ip_reputation var at the end of your proc.
2020-01-15 14:48:22 -05:00
Heroman
2c6bd784c4 Pauses event processing while doing event actions 2020-01-11 20:42:49 +10:00
Shadow
5db87c9526 Station time 2020-01-10 20:33:29 -06:00
Atermonera
ac8dd558b7 Buffs radiation so it isn't defeated by a thin sheet of lead. (#6572)
Makes radiation config options actually controlled by config.
2019-12-19 21:50:32 -08:00
Mechoid
7ecdcb40d2 Security / PseudoCargo Expansion (#6482)
* Security Expansion work.

* Weaponized Racism, Stowaways, Meteors

* Fix Fix. Prep modular armor for addition.

* Fix the boots.

* More modular armor work. Now in cargo!

* Fixfix

* Fixfix

* Thank you anxiety very cool.

* Make a Stowaway Antag

* FixFix
2019-11-24 17:22:25 -05:00
Unknown
7f4b35580d Blind port of Bay Radiation Subsystem
Figured I would do my part to move everything over to subsystems. Not tested yet.
2019-09-30 23:59:31 -04:00
Heroman
926be2ef53 Allows supplypacks with req_one_access to exist 2019-06-02 07:21:41 +10:00
Unknown
2fa409b3a9 Fixes Indentation 2019-05-27 00:52:32 -04:00
Unknown
2b0367c5c6 Tries another fix 2019-05-27 00:49:13 -04:00
Unknown
ccd4ac3ae9 Replaces Timer SS with Bay Port
I have no clue how to code or debug subsystems, this is just my desperate attempt to fix the constant timer subsystem crashes on Virgo.
2019-05-26 23:52:03 -04:00
Unknown
6f03ccff73 Fixes error with #6164
Whoops, accidentally overwrote something I should not have.
2019-05-13 22:44:49 -04:00
Unknown
5dccccb321 Ports character setup subsystem from Bay 2019-05-13 22:27:06 -04:00
Unknown
9ce4361faa Ports #6039 with Virgo Fixes 2019-05-03 20:36:06 -04:00
Heroman
1a2c7b6ada Fixes emergency pods not working 2019-05-02 10:50:44 +10:00
Neerti
2baef09f0f Merge pull request #6031 from Novacat/spriteadd
[REVIEW] Ports Modular Computers from Baystation
2019-04-28 22:06:27 -04:00
Neerti
4dbb8aeaaa Merge pull request #6118 from Novacat/nova-alerts
Ports Baystation's SS Debugging
2019-04-25 17:02:46 -04:00
Unknown
d4c0dd5d69 Merge remote-tracking branch 'PolarisSS13/master' into spriteadd 2019-04-22 20:20:56 -04:00
Atermonera
2deca08d67 Merge pull request #6114 from Neerti/gamemode_config
Makes gamemode player requirements be able to be overridden in the config
2019-04-22 10:33:07 -08:00
Neerti
546e4ccc7d Adds Config-Controlled Automated Solar Setup (#6107)
* Fixes autostart solars, adds new config-controlled solars.

* Tweaks map to use config-controlled solar panels, and makes it work.

* If true, Neerti finishes comment.
2019-04-21 00:33:38 -07:00
Unknown
c465391a24 Changes crash proc 2019-04-19 18:42:01 -04:00
Unknown
af4ca9938e Ports Baystation's SS Debugging
I was not able to port the VV_static part because, as far as I could tell, Polaris does not have an equivalent to VV_static.

Review this very carefully, I barely understand process/subsystem code as is.
2019-04-19 13:51:21 -04:00
Neerti
c5254bb7a8 Makes gamemode player requirements be able to be overridden in the config 2019-04-18 21:07:11 -04:00
Neerti
c5b8c5b4eb Makes transfer always occur if nobody is playing. 2019-04-17 07:05:20 -04:00
Neerti
f952b8a57a Merge pull request #6065 from Heroman3003/xenoarchening
Allows restriction of z-levels from spawning xenoarch finds
2019-04-14 02:27:56 -04:00
Neerti
6fcb14ef9e Merge pull request #6037 from Heroman3003/report-the-crate-cost-lazy-central-interns
Fixes export reports not mentioning crates' cost
2019-04-14 02:27:13 -04:00
Unknown
dfd9415458 Modern Modular Computers 2019-04-13 14:58:08 -04:00
Heroman3003
e1fd4cc80f Allows restriction of z-levels from spawning xenoarch finds 2019-04-11 09:54:25 +10:00
Neerti
6a2cd30e14 Replaces AI-controlled Maint Drones with AI-controlled Borg Shells (#6025)
* AI shells, some fixes re: Borgs.
2019-04-06 02:06:14 -07:00
Heroman
b2e06f1537 Fixes export reports not mentioning 2019-04-05 16:06:29 +10:00
Unknown
cce3116c3a Ports Modular Computers from Baystation
This is just the initial parts. Additional work will probably be necessary.
2019-04-02 21:06:37 -04:00
Novacat
349dd89396 Adds New Alert Levels (#6019)
* Adds New Alert Levels
2019-03-30 15:28:27 -07:00
Anewbe
414f71e6fe Headgibbing is a config thing 2019-02-07 23:55:00 -06:00
MisterLayne
de647089ef begone client 2019-01-28 16:22:53 -05:00
Atermonera
5b22bed842 Unclogs powersink drains (#5901)
* Unclogs powersink drains
Powersinks drain first, damnit!

* Unclogs powersink drains
Powersinks drain first, damnit!

* Debug code, godsdamnit!

* *angry noises*
2019-01-26 16:54:01 -06:00
Neerti
9ff8103153 Merge pull request #5636 from kevinz000/pixel_projectiles
[READY]Ports /tg/station pixel projectiles, processing subsystems, timer subsystems, and some misc stuff to make it all work
2019-01-26 04:25:17 -05:00
Anewbe
b5897a5c33 Removes the hyphen from default language keys, should make people spew gibberish less 2019-01-23 17:26:53 -06:00
kevinz000
bfaaffb41b Adds a better debug controller verb that can target all controllers/processes/mc/failsafe/config/etc (#5852) 2019-01-20 20:35:14 -08:00
kevinz000
c06a1eb504 Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2019-01-16 08:19:12 -08:00
kevinz000
0f4b976d43 Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2019-01-16 08:13:58 -08:00
kevinz000
46c79c7d3e [READY]Makes a bunch of processes subsystems instead (#5814
* Converts various New() definitions to Initialization()
* Adds absolute pathing
2019-01-15 22:58:06 -08:00
kevinz000
14832ccace Well that took a lot of effort.. 2019-01-12 05:25:00 -08:00
kevinz000
7053dbad27 Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2019-01-10 10:26:59 -08:00
kevinz000
ae64d73972 Upgrades SDQL2 and refactors it to a datum (#5793)
* SDQL2
2019-01-09 18:12:12 -08:00
kevinz000
1315bfff2c Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2019-01-06 23:12:48 -08:00
kevinz000
e408250296 Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2018-12-23 11:31:48 -08:00
Neerti
c2a2590c44 Finishes work on sounds. 2018-12-20 20:19:00 -05:00
Neerti
60115154f7 Stops initialization from grinding to a halt when loading maps. 2018-12-12 20:10:23 -05:00
Neerti
6db306c537 Merge pull request #5775 from Atermonera/startup_runtimes
Startup runtimes
2018-12-11 22:21:38 -05:00