Skip to content

some url return 403 #389

Closed
Closed

Description

@andyoulovexy

image
Like this:
image

How to solve it?tks

Activity

  1. added
    bug
    on Dec 13, 2022
  2. TheophileDiot commented on Dec 13, 2022

    @TheophileDiot
    Member

    Hi, looks like the plugin crowdsec denied your requests

  3. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    Hi, looks like the plugin crowdsec denied your requests

    How to solve it?tks

  4. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    @andyoulovexy It can be a false positive with Crowdsec so I'd say that you can deactivate the plugin in your configuration and try opening an issue related to this to Crowdsec, maybe they can help you with this since it's related to their tool.

  5. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    @andyoulovexy It can be a false positive with Crowdsec so I'd say that you can deactivate the plugin in your configuration and try opening an issue related to this to Crowdsec, maybe they can help you with this since it's related to their tool.

    maybe,maybe crowdsec plugin should be fix or update?I will open an issue in crowdsec hub,tks

  6. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    @andyoulovexy I'll have a check

  7. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    @andyoulovexy I'll have a check

    image
    I commented these three lines, and there is no problem with revisiting, but I tested based on the nikto tool, and my ip was banned, but revisiting based on this ip can still be accessed normally

  8. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    @andyoulovexy Your IP was probably banned by the badbehavior because of the number of bad status code you generated

  9. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    Your IP was probably banned by the badbehavior because of the number of bad status code you generated

    image
    i didn't turn on bad behavior

  10. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    @andyoulovexy That's not recommended, except if you're just testing your configuration 😅
    Do you have any logs ?

  11. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    @andyoulovexy It looks like that Crowdsec is still activated so your IP was banned

  12. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    bunkerweb.txt
    crowdsec_plugin.txt
    image

    @andyoulovexy Your IP address was showing so I deleted your message, here are the files you sent with your IP censored

  13. deleted a comment from andyoulovexy on Dec 14, 2022
  14. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    bunkerweb.txt crowdsec_plugin.txt image

    @andyoulovexy Your IP address was showing so I deleted your message, here are the files you sent with your IP censored

    bunkerweb.txt
    crowdsec_plugin.txt
    tks!!!

  15. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    @andyoulovexy It looks like that Crowdsec is still activated so your IP was banned

    image
    My IP is not banned

  16. 2 remaining items

  17. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    @andyoulovexy Hmmmm it's okay for now but later it would be better to create rules for modsec.

  18. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    image
    i didn't start modsecurity at all.

  19. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    @andyoulovexy You just deactivated it or it was already deactivated ?

  20. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    @andyoulovexy You just deactivated it or it was already deactivated ?

    After adding the service, it is not activated

  21. deleted a comment from andyoulovexy on Dec 14, 2022
  22. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    @andyoulovexy Ok, any changes in the logs then ?

  23. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    @andyoulovexy You just deactivated it or it was already deactivated ?

    my ip x.x.x.222,it not in crowdsec decision!!!
    image

    but in bunkerweb log :
    image

  24. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    @andyoulovexy Ok, any changes in the logs then ?

    image

  25. TheophileDiot commented on Dec 14, 2022

    @TheophileDiot
    Member

    Ok, it has to be a problem with Crowdsec then, let me know if you have an answer for your issue

  26. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    Ok, it has to be a problem with Crowdsec then, let me know if you have an answer for your issue

    ok.I think crowdsec-bunkerweb-bouncer had some problem,but i still open an issue in crowdsec.tks

  27. andyoulovexy commented on Dec 14, 2022

    @andyoulovexy
    Author

    Ok, it has to be a problem with Crowdsec then, let me know if you have an answer for your issue

    ok.I think crowdsec-bunkerweb-bouncer had some problem,but i still open an issue in crowdsec.tks
    I had add my ip to whitelist,everything is ok!!but i can't add all ip to whitelist!!!!.
    image
    This logs:
    image

  28. andyoulovexy commented on Dec 15, 2022

    @andyoulovexy
    Author

    Ok, it has to be a problem with Crowdsec then, let me know if you have an answer for your issue

    image
    maybe need check bans.i think exist balcklist cache~.i open an issue at crowdsec discord,crowdsec developer reply crowdsec-bunkerweb-bouncer had some problem!!!https://discord.com/channels/921520481163673640/1003029165425049751/threads/1052533768151384094

  29. andyoulovexy commented on Dec 15, 2022

    @andyoulovexy
    Author

    Ok, it has to be a problem with Crowdsec then, let me know if you have an answer for your issue

    debug logs:
    *2022/12/15 02:57:49 [debug] 1802#1802: 597 [lua] bouncer.lua:376: allowIp(): 'ipv4_4294967295_1032667358' is in cache
    2022/12/15 02:57:49 [info] 1802#1802: *597 [ACCESS] Return value from crowdsec.access() is : CrowSec bouncer denied request, client: x.x.x.222, server: app.example.com, request: "GET /data/upload/image/20220409/1649486537112450.png HTTP/2.0", host: "app.example.com", referrer: "https://app.example.com/"
    2022/12/15 02:57:49 [warn] 1802#1802: *597 [ACCESS] Denied access from crowdsec : CrowSec bouncer denied request, client: x.x.x.222, server: app.example.com, request: "GET /data/upload/image/20220409/1649486537112450.png HTTP/2.0", host: "app.example.com", referrer: "https://app.example.com/"

  30. locked and limited conversation to collaborators on Jan 11, 2023
  31. converted this issue into a discussion #404 on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions