Re: [exim] Logging IPv4 port numbers

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jethro R Binks
Data:  
Para: exim-users
Asunto: Re: [exim] Logging IPv4 port numbers
On Thu, 27 Jan 2011, Mike Cardwell wrote:

> On 27/01/2011 11:10, Jethro R Binks wrote:
>
> >>> http://www.exim.org/exim-html-current/doc/html/spec_html/ch49.html#SECTlogselector
> >>
> >> My Exim installation already logs the source port:
> >>
> >> 2011-01-27 10:55:53 1PiPW5-0005aa-6F <=
> >> exim-users-bounces+lists.grepular.com@??? H=tahini.csx.cam.ac.uk
> >> [2001:630:200:8080:204:23ff:fed6:b664]:46199
> >> I=[2001:470:1f09:1186::beef]:25 P=esmtp S=4022
> >> id=F0D3DBE9D79C910E51F1ABBC@??? T="Re: [exim]
> >> Allow STARTTLS after HELO"
> >>
> >> Source port for that incoming email was 46199...
> >
> > What you don't get - unless something has changed - is a log of the
> > source port for outgoing messages, which I commented on in 2009, and
> > had some reason for finding useful.
>
> Right. I see what you mean. You want to log the source port when sending
> outgoing mail in case the Exim installation is behind NAT. Surely, if
> they're behind NAT, the NAT gateway will change the source port anyway
> as far as the destination server can see?
>
> Ie, if two Exim installations behind NAT bind to their local port 1234
> at the same time and try to connect to the same IP...


I've no idea now what interest I had in recording the source port when
sending, but it struck me as an odd ommission from the logging at the
time. That's all!

J.


. . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks, Network Manager,
Information Services Directorate, University Of Strathclyde, Glasgow, UK

The University of Strathclyde is a charitable body, registered in
Scotland, number SC015263.