source port logging
|Reported by:||ghen.myopenid.com||Owned by:|
|Keywords:||mail client source port logging||Cc:|
|uname -a:||Linux hostname 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux|
|nginx -V:||nginx version: nginx/1.4.7|
Due to the increasing use of Carrier-Grade NAT (CGN) at Internet Service Providers, new EU legislation will soon require service providers to log source ports in addition to source IP's to allow identifying individual end users (as a single IP may have multiple independent users behind it).
For HTTP (access_log) this can be done in configuration using $server_port.
For pop3/imap the log format (error_log) is hardcoded, so it must be changed in the code to include the source port of pop3/imap requests. Can this be considered?