Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

SSRF protection #15

Open
simonfrey opened this issue Jan 9, 2020 · 3 comments
Open

SSRF protection #15

simonfrey opened this issue Jan 9, 2020 · 3 comments
Labels
enhancement New feature or request Hacktoberfest help wanted Extra attention is needed

Comments

@simonfrey
Copy link
Owner

We need to protect the server from being missued, e.g. in an amplification attack.
Currently I have no idea how to do that, appart from IP logging and blocking to many requests from one IP which could be circumvented quite easy and also would require the server to store user data, what I do not want :/

If anyone has ideas on that front, it would be awesome to get them here :D

@simonfrey simonfrey added enhancement New feature or request help wanted Extra attention is needed labels Jan 9, 2020
@simonfrey
Copy link
Owner Author

simonfrey commented Jan 12, 2020

One metric could be to allow only X percentage increase of traffic to a certain site.

E.g. bit.ly normally receives 10 requests/sec do only allow spikes like 3x the the normal traffic 30 req/sec

This could be a problem if overall the traffic on the site increases, but a global factor could work here:
If the overall traffic increases 20%, allow 3x10x1.2=36 request max per second for bitly.

This feature would require more in-depth tracking on link traffic bases. This is no problem for privacy as it is not required to store any userdata to fullfill this metric

@Madydri
Copy link

Madydri commented May 27, 2021

CSF (free but not opensource software) can setup iptables firewall rules settings for that ?
Maybe mod_evasive for apache can help ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request Hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants