TrendMicro InterScan Messaging problematic with kernel 2.4 and ECN

Translation of the original in Catalan. Read it in: CatalàCastellano

I had a problem with an SMTP mail server that I couldn't reach from the mail server at work. However, from other IPs in our same range I did have access to port 25/tcp of this remote server. Well it turns out that the server in question has an InterScan Messaging Security Suite from TrendMicro installed and on the company's mail server I had ECN (Explicit Congestion Notification) enabled. The problem is that when a "SYN" is sent in the TCP handshake between our servers the TCP packet has two more flags enabled apart from the 'SYN', the 'W' and the 'E'.

Here you can see what my server sends with ECN, flags SWE:

14:12:31.257939 IP 1.1.1.1.44435 > 2.2.2.2.25: SWE 2986809236:2986809236(0) win 5840 <mss 1460,sackOK,timestamp 338497211 0,nop,wscale 0>

What another server without ECN sends, flag S:

14:13:02.225358 IP 1.1.1.2.37876 > 2.2.2.2.25: S 3871099907:3871099907(0) win 5840 <mss 1460,sackOK,timestamp 3419720577 0,nop,wscale 2>

To check whether we really have ECN enabled in the kernel:

# cat /proc/sys/net/ipv4/tcp_ecn

To disable ECN in our kernel:

echo 0 > /proc/sys/net/ipv4/tcp_ecn

Just by doing this the thing already started to work perfectly. So, I doubt that anyone will ever come across something as twisted as what has just happened to me, but here it is explained.

3 comments

Comments from the old blog, as they were written. Comments are closed.

  1. pfreixes

    Ben fet Oriol, tcpdump es una bona eina pero cal gent com tu per aplicarla en els moments adequats. Nomes una cosa, jo hauria titolat la noticia com : InterScan Messaging de TrendMicro problematic amb kernel 2.4 i ECN

  2. —

    Moltes gràcies pel suggeriment, m'ha agrdat tan que l'he aplicat. De fet, he de confessar que havia canviat el títol 3 vegades després de publicar la notícia però no m'agradava cap dels que em sortien :)

    Per cert, sobre el tema X25 i el XOT tinc pendent un article que per motius que no venen al cas encara no puc publicar, però estigues antent Pau perquè et molara el tema ;)

  3. Carita