-
-
Notifications
You must be signed in to change notification settings - Fork 113
Feature Request: logging of client IP in standard logs #196
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi - thanks for these suggestions.
The standard non-debug log output already displays the proxy's local address as set up in the config file, and the debug log just expands this to show the eventual local port and remote server address. When you're running the proxy on the same system as the email client, showing its address would be a bit meaningless. Do you mean the remote client address in the case that you're using the proxy on a public server?
From memory this may have been suggested before, but I can't find the discussion right now (it'll be in a GitHub issue). How would you suggest this is achieved?
This is already possible on macOS and Linux by sending |
Hello, Thank you for quick response! :)
|
I think the debug mode toggle is a useful idea, so have added it in 5f83395. Toggle modes by sending The client address could be printed fairly easily when clients first connect, but providing this for every log line as is currently done with the server address(es) would require more effort. Would a message on a new connection be useful? (i.e., as part of the |
Thanks for update. Client address - Yes, in my view when client first connect should be enough to have address for audit purpose. Also, it would be nice to have client address printed for failed login attempts. |
Thanks for testing this – I use the macOS version (which works); the Linux version had a typo, which is fixed in 73f7d8a. Sending the signal toggles debug mode, so yes, you can disable it when you don't need it any more. If I get time, I'll see whether the client address can be printed. |
Thanks, I have tested debug toggle on Linux and all works fine!! |
36a8e8d adds full connection details to the debug log, making it clearer which is the client, proxy and remote server address. |
Hi,
I am running the proxy on Linux with --no-gui mode and everything is working fine and it's great however wanted to see some of the below options are possible by any chance.
The last 2 options are present with GUI and want to see if same can be done with --no-gui option.
Thank you!
The text was updated successfully, but these errors were encountered: