• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Off Topic General Discussion Fail2ban with Jellyseerr

     
    • 0 Vote(s) - 0 Average

    Fail2ban with Jellyseerr

    Has anyone successfully used Fail2ban with Jellyseer?
    Max L
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    #1
    2023-09-19, 03:21 AM
    I've tried the Overseerr documentation but it doesn't seem to work for me. Just want to make sure it works for Jellyseerr too before I go mad trying to figure it out.
    https://docs.overseerr.dev/extending-overseerr/fail2ban

    Thanks!
    Max L
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    #2
    2023-09-19, 10:46 AM (This post was last modified: 2023-09-20, 01:22 AM by Max L. Edited 2 times in total.)
    Figured it out. Couldn't find this anywhere but was able to figure it out with some learning:

    I just left everything called overseerr. So overseerr.conf looks like:

    [overseerr]
    enabled = true
    port = 80,443
    filter = overseerr
    logpath = /YOURLOCATIONFOR/apps/jellyseerr/logs/overseerr*.log
    maxretry = 2
    findtime = 1200
    bantime = 126400
    protocol = tcp
    action = iptables-allports[name=overseerr, chain=DOCKER-USER] #IF YOURE USING DOCKER OTHERWISE NO NEED





    and my .LOCAL file looks like:

    [Definition]
    failregex = ^.*\[warn\]\[Auth\]: Failed login attempt from user with incorrect Jellyfin credentials {"account":{"ip":"<HOST>","email":



    The reason the Overseerr instructions don't work is just because of the above wording is a bit different. I may have to add a line for the Jellseerr password. I think it will be:

    [Definition]
    failregex = ^.*Failed sign-in attempt using invalid Overseerr password .* {"account": \(IP: "<ADDR>"\)\.

    Not too sure if I need a different .local file or if I can add two in one. But should be easy to find out. Hopefully CHATGPT knows.

    [Definition]
    failregex = ^.*\[warn\]\[API\]: Failed sign-in attempt using invalid Overseerr password {"ip":"<HOST>","email":
    ^.*\[warn\]\[Auth\]: Failed login attempt from user with incorrect Jellyfin credentials {"account":{"ip":"<HOST>","email":



    According to CHATGPT. Hope this helps someone. (We might need both these lines since there are 2 ways to sign in) Seems to work for me
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode