Git Product home page Git Product logo

Comments (7)

yunginnanet avatar yunginnanet commented on May 24, 2024 2

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.

MrBruz avatar MrBruz commented on May 24, 2024 1

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.

Relevant commit here

Thank you very much, I'll give it a shot when my VPS bandwidth renews (hellpot was using 100gbs/1tb per day)

from hellpot.

MrBruz avatar MrBruz commented on May 24, 2024

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.

yunginnanet avatar yunginnanet commented on May 24, 2024

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.

Relevant commit here

from hellpot.

yunginnanet avatar yunginnanet commented on May 24, 2024

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.

MrBruz avatar MrBruz commented on May 24, 2024

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.

yunginnanet avatar yunginnanet commented on May 24, 2024

HellPot/README.md

Lines 102 to 105 in 41c6a0a

[performance]
# max_workers is only valid if restrict_concurrency is true
max_workers = 256
restrict_concurrency = false

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.