41Baloo / balooProxy

Lightweight http anti-ddos reverse-proxy made in golang
GNU General Public License v3.0
169 stars 39 forks source link

Not allowing a certain IP address to go through #26

Closed itsunderscores closed 1 year ago

itsunderscores commented 1 year ago

I'm trying to allow a certain IP to go through, but it's not working. I also tried adding a file to allow, and it still doesn't work.

"firewallRules": [
 {
"expression": "(ip.src eq 157.230.xx.xxx)",
"action": "0"
},
{
"expression": "(http.query contains \"0_link.php\")",
"action": "0"
},
]

What am I doing wrong?

itsunderscores commented 1 year ago

It keeps getting rate limited, anyway to bypass this?

41Baloo commented 1 year ago

There isnt a way to bypass the ratelimit currently. As for your issue of whitelisting the ip, make sure you dont lock the proxy stage. Also try restarting the proxy after applying the changes to your config.json