• 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 Support Troubleshooting Get ip-address from login attempts in log level warning

     
    • 0 Vote(s) - 0 Average

    Get ip-address from login attempts in log level warning

    Merkanom
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #1
    2024-09-27, 08:42 AM (This post was last modified: 2024-09-27, 09:25 AM by Merkanom. Edited 1 time in total.)
    Hello,
    im trying to use fail2ban to block users who failed with login 3 times.
    My fail2ban filter is working fine, but jellyfin logs are increasing several gigabyte over hours and jellyfin is spamming "login denied"-messages with just 1 login try. This didnt seems correct. Now i changed the logging to "WARNING" in system.xml. I can see login attempts now like
    "jellyfin  | [10:31:25] [ERR] [25] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid username or password entered. URL POST /Users/authenticatebyname." and this logs are correct now (1 try > 1 log entry). But now i have the problem that the IP the login attempt was created is missing. Is there a way to get to this ip? Reverse proxy etc is correct i can see in INFO-log level the public ip-adresses. I just want them in that log.

    How i can see ip-adresses in log level warning?

    thank you very much!

    edit:
    chatgpt says i have to create a middleware.. is there no other option to see IP at just that log entry?
    is this hard to implement that?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Get ip-address from login attempts in log level warning - by Merkanom - 2024-09-27, 08:42 AM
    RE: Get ip-address from login attempts in log level warning - by TheDreadPirate - 2024-09-27, 12:57 PM
    RE: Get ip-address from login attempts in log level warning - by Merkanom - 2024-09-30, 01:40 PM

    • 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