Comments (7)
Wait, cloudflare isn't respecting robots.txt? Yikes.
Still, not a bad idea to have a blacklist for user-agents! I'll look into this.
from hellpot.
I have implemented and tested this in the development branch. Feel free to re-open this if you feel necessary, for now I'm gonna close this :)
One small detail: if you enable trace level logging, one will still have log entries for these blacklisted requests. This is done intentionally so that the user can debug their configuration. Trace logging is disabled by default.
Thank you very much, I'll give it a shot when my VPS bandwidth renews (hellpot was using 100gbs/1tb per day)
from hellpot.
Yeah cloudflare keeps trying to load index.html without actually reading robots.txt first so it kept clogging up the hellpot logs unfortunately.
172.69.79.101 - - [06/Apr/2022:02:22:47 +0000] "GET / HTTP/1.1" 200 3324 "-" "Mozilla/5.0 (compatible; Cloudflare-Traffic-Manager/1.0; +https://www.cloudflare.com/traffic-manager/; pool-id: 8fbe86cafa1408c6)"
from hellpot.
I have implemented and tested this in the development branch. Feel free to re-open this if you feel necessary, for now I'm gonna close this :)
One small detail: if you enable trace level logging, one will still have log entries for these blacklisted requests. This is done intentionally so that the user can debug their configuration. Trace logging is disabled by default.
from hellpot.
Thank you very much, I'll give it a shot when my VPS bandwidth renews (hellpot was using 100gbs/1tb per day)
lmao that's hilarious, don't forget to use the limiting features in the config file
that may be an idea for another feature actually, bandwidth counting and auto shutdown based on it or something
from hellpot.
Thank you very much, I'll give it a shot when my VPS bandwidth renews (hellpot was using 100gbs/1tb per day)
lmao that's hilarious, don't forget to use the limiting features in the config file
that may be an idea for another feature actually, bandwidth counting and auto shutdown based on it or something
Yep it is haha, may I ask what limiting features you were thinking I should enable? Couldn't see anything in the Readme I think.
Although yea that would make for a really good feature, I'm thinking either a cap on how much bandwidth usage per day, or just a simple cap on outgoing speed. 👍
from hellpot.
Lines 102 to 105 in 41c6a0a
However, I like the idea of adding more control to that, which I can do. Could you please make a separate issue for this?
from hellpot.
Related Issues (17)
- Add JSON response
- HellPot desperately needs test cases
- code for cli help is a dumpster fire
- 同学,您这个项目引入了208个开源组件,存在1个漏洞,辛苦升级一下 HOT 2
- go 1.16.6 net/http breaks HellPot HOT 3
- Add ability to use wildcards HOT 5
- v0.4: investigate potential automatic builds via CD HOT 5
- Ability to limit/throttle bandwidth HOT 8
- Print bytes sent in human readable format HOT 4
- Consider removing "fork status" from this repository HOT 3
- Error writing new config HOT 2
- [Featurerequest] - Docker HOT 3
- Logging: certain fasthttp errors are not using our logger. HOT 1
- Bug: CLI help menu is broken HOT 1
- Logging, hellpot ignores logpath + creates .config folder HOT 8
- Some URLs are not picked up by HellPot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hellpot.