[exim-dev] [Bug 1556] Exim incorrectly checks for ident (rfc…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Don
日付:  
To: exim-dev
題目: [exim-dev] [Bug 1556] Exim incorrectly checks for ident (rfc1413) thus making is useless
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1556




--- Comment #3 from Don <do1@???> 2014-12-02 15:26:48 ---
I `su` to user and connect to ip of eth alias (not main server's ip) port 25.

root# ngrep -d any . 'host 212.x.13.116 and (port 25 or port 113)'
interface: any
filter: (ip or ip6) and ( host 212.x.13.116 and (port 25 or port 113) )
match: .
#######
T 127.0.0.1:60653 -> 212.x.13.116:113 [AP]
52723 , 25..
###
T 212.x.13.116:25 -> 212.x.13.116:52723 [AP]
220-x.x.x ESMTP Exim 4.82 #2 Tue, 02 Dec 2014 18:19:41 +0300 ..220-We do not
authorize the use of this system to transport unsolicited, ..220 and
/or bulk e-mail...

(Ngrep is like tcpdump but shows text.)
As you can see it replies from 127.0.0.1 not from 212.x.13.116.

Also strace:

bind(3, {sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(113),
sin_addr=inet_addr("212.x.13.116")}, 16) = 0

So, it's actually binds to 127.0.0.1...

Looking at source, probably `interface_address` is bound to be incorrect, but I
don't know how to debug that.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email