LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2006, 12:27 AM   #61
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122

It's a postfix issue.

Have a look at

# netstat --listen -p -n | grep master

and see if Postfix is listening on IP 72.232.208.44

Do you have a firewall in place? This could well be the problem.

Try posting

# iptables -L
 
Old 07-30-2006, 12:38 AM   #62
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I hope you don't mind, but I ran nmap on your IP, and here's what came back

Quote:
Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-07-30 14:36 EST
sendto in send_ip_packet: sendto(5, packet, 40, 0, 72.232.208.44, 16) => Operation not permitted
Stats: 0:00:09 elapsed; 0 hosts completed (1 up), 1 undergoing SYN Stealth Scan
SYN Stealth Scan Timing: About 48.03% done; ETC: 14:37 (0:00:08 remaining)
Interesting ports on 44.208.232.72.reverse.layeredtech.com (72.232.208.44):
(The 1650 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
53/tcp open domain
80/tcp open http
110/tcp open pop3
130/tcp filtered cisco-fna
131/tcp filtered cisco-tna
132/tcp filtered cisco-sys
133/tcp filtered statsrv
134/tcp filtered ingres-net
135/tcp filtered msrpc
136/tcp filtered profile
137/tcp filtered netbios-ns
138/tcp filtered netbios-dgm
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds
995/tcp open pop3s
2121/tcp open ccproxy-ftp
3128/tcp filtered squid-http
3306/tcp open mysql
4444/tcp filtered krb524
6969/tcp filtered acmsoda
8443/tcp open https-alt
10000/tcp open snet-sensor-mgmt

Nmap finished: 1 IP address (1 host up) scanned in 15.551 seconds
So nothing (ie email) can get in on port 25. Looks like a firewall issue
 
Old 07-30-2006, 01:21 AM   #63
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
very interesting because i have no even setup my IPTables yet (i was waiting to sort out my mail problem) so i need to open port 25 on my firewall somehow?
 
Old 07-30-2006, 01:31 AM   #64
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Yes. I guess the guys who put the box together put a basic firewall in place for you
 
Old 07-30-2006, 02:10 AM   #65
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
anyway i tried to set my iptable to accept port 25 but when i tried to apply it i got

applying iptables firewall rules: iptables-restore: line 41 failed [FAILED]

im trying to figure out whats causeing this now

if it doesnt fix it somehow (if theres a hardware firewall i guess doing this would have no afffect though but i wanna try it anyways) im gonna send a support ticket and see whatsup
 
Old 07-30-2006, 02:20 AM   #66
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can I suggest you start a new thread on this one under security, and when you post, post the iptables script as well.


Rgds


Bill
 
Old 07-31-2006, 02:36 AM   #67
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
hey billy mayday. i install thed nmap thing on my home linux machine to try and do it to myserver (to test the firewall stuff)

i cant figure out what kind of command to type into it though could you help me out?
 
Old 07-31-2006, 04:05 AM   #68
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Typically just

# nmap IP_address

or

#IP domain_name

So for yours, I simply typed

# nmap 44.208.232.72
 
Old 07-31-2006, 02:23 PM   #69
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
could you please post what you get for the nmap right now? i dont know if my server is wrong or if theres somethign wrong with my nmap

[danny@localhost ~]$ nmap gofastgaming.com

Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2006-07-31 14:22 EDT
Failed to resolve given hostname/IP: gofastgaming.com. Note that you can't use '/mask' AND '[1-4,7,100-]' style IP ranges
WARNING: No targets were specified, so 0 hosts scanned.
Nmap run completed -- 0 IP addresses (0 hosts up) scanned in 0.203 seconds
[danny@localhost ~]$ nmap 44.208.232.72

Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2006-07-31 14:22 EDT
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
Nmap run completed -- 1 IP address (0 hosts up) scanned in 4.078 seconds
[danny@localhost ~]$
 
Old 07-31-2006, 04:21 PM   #70
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You probably need to run it from an external machine. Think about it this way - if you run it from inside your network, you don't see the external interface the same way as external machines.

Anyway, here's the output of

# nmap 44.208.232.72

Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-08-01 05:54 EST
sendto in send_ip_packet: sendto(5, packet, 40, 0, 44.208.232.72, 16) => Operation not permitted
sendto in send_ip_packet: sendto(5, packet, 40, 0, 44.208.232.72, 16) => Operation not permitted
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
Nmap finished: 1 IP address (0 hosts up) scanned in 2.118 seconds

And

# nmap -P0 44.208.232.72

Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-08-01 05:56 EST
Stats: 0:00:47 elapsed; 0 hosts completed (1 up), 1 undergoing SYN Stealth Scan
SYN Stealth Scan Timing: About 13.44% done; ETC: 06:01 (0:04:57 remaining)
Stats: 0:03:33 elapsed; 0 hosts completed (1 up), 1 undergoing SYN Stealth Scan
SYN Stealth Scan Timing: About 63.02% done; ETC: 06:01 (0:02:04 remaining)
All 1674 scanned ports on 44.208.232.72 are: filtered

Nmap finished: 1 IP address (1 host up) scanned in 339.457 seconds

Looks like you've blocked everything

Note that if you want me to run this again, you are better to drop me an email, which you can do if you click on my posting name to the left.

Rgds
 
Old 07-31-2006, 05:19 PM   #71
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
# nmap 44.208.232.72

Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-08-01 07:18 EST
sendto in send_ip_packet: sendto(5, packet, 40, 0, 44.208.232.72, 16) => Operation not permitted
sendto in send_ip_packet: sendto(5, packet, 40, 0, 44.208.232.72, 16) => Operation not permitted
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
Nmap finished: 1 IP address (0 hosts up) scanned in 2.085 seconds

7:19am
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Putting together my first Linux box, suggestions wanted Lazy Foo' Linux - Hardware 1 12-03-2005 02:41 AM
sendmail server mail box creation problems kjsubbu Linux - Networking 0 08-25-2003 06:47 AM
mail server behind linux box antken Linux - Networking 6 02-18-2003 03:07 PM


All times are GMT -5. The time now is 12:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration