pcarrier / srv.us

ssh to expose local HTTP services online, CLI pastebin, etc.
https://docs.srv.us
BSD Zero Clause License
80 stars 9 forks source link

Maintain a list of blocked endpoints #7

Open pcarrier opened 2 years ago

pcarrier commented 2 years ago

Should it become necessary, we could block an endpoint abusing the service from registering again.

Ideally, ssh srv.us block $endpoint / ssh srv.us unblock $endpoint and ssh srv.us blocked to get the list. Though ssh srv.us -p 2222 would be fine and simpler.

Could be persisted in a flat text file reloaded on change, in badger, or in a central DB like cockroachdb.