Append Log Entry for Connections with X-Forwarded-For IP

Cerberus FTP Server – SFTP, FTP/S, HTTPS Server for Windows or the Cloud Forums General Suggestions Append Log Entry for Connections with X-Forwarded-For IP

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30929
    kaluaabyss
    Participant

    Currently (9.0.0.6), when a proxied connection is received the log shows something similar to:

    Incoming connection request on HTTPS interface x at accepted from

    Cerberus is aware of the X-Forwarded-For header which contains the real client IP, but does not indicate it in this log event. Simply adding “for ” to the end of that log line would be much appreciated.

    related: https://www.cerberusftp.com/phpBB3/viewtopic.php?f=2&p=11274#p11274

    Thank you!

    #37765
    pacman
    Participant

    The X-Forwarded header information is collected further down the connection chain.

    Cerberus doesn’t have that information at the point of HTTPS interface x at accepted from so adding “for ” wouldn’t work.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.