Solved

Monitoring tools are not monitoring smtp

Posted on 2008-06-20
8
304 Views
Last Modified: 2013-11-30
I have a weird problem which is not monitoring smtp service that is running on linux box.

The problem is if i configure any monitoring tools like sitescope and any free websites like...http://mon.itor.us/

is showing smtp is failed even it is running in the Linux box ..

what will it be the problem? Please assist me
0
Comment
Question by:jaisonshereen
  • 4
  • 3
8 Comments
 
LVL 10

Expert Comment

by:PeturIngiEgilsson
ID: 21831745
A firewall?
0
 

Author Comment

by:jaisonshereen
ID: 21831794
yes..but my firewall configuration seems like it is accepting smtp port 25 .
Please verify from your side:

[root@Server01 sysconfig]# cat iptables
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.xx.0.xx -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 25 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
#-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
[root@Server01 sysconfig]#
0
 
LVL 10

Expert Comment

by:PeturIngiEgilsson
ID: 21831826
I would think the reject rule has to come before the accept rules ? ..
0
 
LVL 10

Expert Comment

by:PeturIngiEgilsson
ID: 21831846
Sorry i was wrong.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 10

Accepted Solution

by:
PeturIngiEgilsson earned 250 total points
ID: 21831910
Does your box have a public ip or is it behing a NAT?
0
 

Author Comment

by:jaisonshereen
ID: 21831943
yes my box having public ip. That is what i put for monitoring.
I dont know about NAT
0
 
LVL 7

Assisted Solution

by:dineesh
dineesh earned 250 total points
ID: 21837375
hi,

do you have an idea on how the http://mon.itor.us/ is testing your server.

if you have another linux box try nmap <public ip> and if the monitoring site is doing a ping test, then ICMP must be enabled.

alternatly you can stop the firwall for 10 mins and then test, then you will know if its the firewall or anyother issue.

do remember to activate the firewall after  the test.

0
 

Author Comment

by:jaisonshereen
ID: 21838302
i took another linux system . stop iptables and checked the smtp settings in monitoting tool.
Its getting same error !!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now