LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-24-2004, 02:37 PM   #1
bleunuit
LQ Newbie
 
Registered: May 2004
Posts: 18

Rep: Reputation: 0
Mail server port-scanning my firewall?


This is an odd problem I seem to be having.

It seems that sendmail, once every 5 minutes or so will try and initiate a TCP connection with my firewall.

My firewall Log reports : Denied TCP connection from 10.x.x.x , 25. to 10.x.x.x 1028 where the first ip address is my mail server/port number and the second ip address is the firewall and the port number my mail server tried to connect on.

Why in the world would sendmail be trying to initiate tcp connections with my firewall?

For information sake: the mail server is behind the firewall running RedHat ES 3.0 kernel 2.4.21-4 (I know out of date). The version of sendmail I'm running is 8.12.10/8.12.10

Any ideas as to why this is happening?

thanks
 
Old 11-24-2004, 05:08 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Have a closer look at the logs and see what TCP headers the connection has..

It may be sendmail closing a connection after netfilter conntrack has dropped it..

Sendmail's source port wouldn't normally be port 25 for a new connection, it would use a normally available high port for that.
 
Old 11-24-2004, 05:14 PM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Re: Mail server port-scanning my firewall?

Quote:
Originally posted by bleunuit
This is an odd problem I seem to be having.

It seems that sendmail, once every 5 minutes or so will try and initiate a TCP connection with my firewall.

My firewall Log reports : Denied TCP connection from 10.x.x.x , 25. to 10.x.x.x 1028 where the first ip address is my mail server/port number and the second ip address is the firewall and the port number my mail server tried to connect on.

Why in the world would sendmail be trying to initiate tcp connections with my firewall?
Actually, if the source port is 25, then this would be the reply packet (ack). So it looks like your firewall initiated the port 25 connection to your mail server, but your mail server could not reply (ack).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat as webserver, ftp server, Mail server, firewall ineth Linux - Newbie 1 09-10-2005 08:14 AM
Firewall Settings- Mail Port 25 goldcougar Linux - Security 5 09-13-2004 04:00 PM
Mail Scanning on the Firewall? zymurgist Linux - Networking 6 09-30-2003 01:01 PM
Mail server - Content Scanning - Antivirus Solution?? Dr Solomon Linux - Networking 3 02-12-2002 11:29 AM
Mail server - Content Scanning - Antivirus Solution?? Dr Solomon Linux - General 1 02-10-2002 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration