-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to hide SmtpServer version #187
Comments
just fork the project and change line 179 of SmtpSession.cs and remove the "v{version} " from that line. When new versions of SMTP are checked in just pull them down to your fork and make sure that line always stays the way you want it :) |
For several reasons I'd not recommend to run this server on a public port, but as a local SMTP filter instead. SMTP filters are commonly supported by MTAs like Postfix and easy to configure, too. The proxy MTA will then hide the version information of this SMTP server. However, running as SMTP filter would disable the authentication feature. |
Would you please list reasons? |
The version can be used to determine exactly which vulnerabilities the server has, i would also prefer to be able to switch this off. |
When the connection is made, the server automatically responds with a 220 code followed by the Name and version. In a security audit, it was brought to our attention that this could constitute information leakage, consisting of a potential (very unlikely) security risk.
It is not a make-or-break change, but it would be helpful to either have the possibility of not showing it, or overwriting it. It would be very appreciated.
The text was updated successfully, but these errors were encountered: