LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 03-30-2005, 02:10 PM   #1
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
OS X firewall? No telnet or ssh


Hello all. I am having trouble with my G4 running OS X 10.3.8. I cannot ssh or telnet or send/recieve mail from this box to my server (which does NAT for this box). I can ping the server, and internet connectivity is working fine. I can also ssh to other boxes on the internal network from this box, just not the server. The strangest thing is when I used nmap to scan the server from this apple box:
Code:
Host vyvyan.badcomputer.org (192.168.0.10) appears to be up ... good.
Initiating SYN Stealth Scan against vyvyan.badcomputer.org (192.168.0.10)
The SYN Stealth Scan took 164 seconds to scan 1601 ports.
Warning:  OS detection will be MUCH less reliable because we did not find at least 1 open and 1 closed TCP port
All 1601 scanned ports on vyvyan.badcomputer.org (192.168.0.10) are: filtered
Too many fingerprints match this host for me to give an accurate OS guess
TCP/IP fingerprint:
SInfo(V=3.00%P=powerpc-apple-darwin7.5.0%D=3/30%Time=424A6E38%O=-1%C=-1)
The ip of the server is correct, but the TCP/IP fingerprint seems to show it is scanning itself...

I installed a security update a few days ago, could this be the culprit? Is there some sort of firewall that may have been installed/activated?

It just seems odd that I can connect to any other box in my network. As far as the failings go, when I try to telnet to port 25 or ssh to the server, it just hangs ans eventually times out. Again, I can ping the server, and internet connectivity is still working fine.

Any insight appreciated, and just ask if you need more details. I am still rather new at OS X...
 
Old 03-31-2005, 04:00 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Is the sshd server running in OSX box ? (System Preferences > Sharing > enable ssh remote control)
 
Old 03-31-2005, 08:17 AM   #3
buzznick
LQ Newbie
 
Registered: Mar 2005
Posts: 17

Rep: Reputation: 0
I had a similar problem after installing the new security update on OS X. I cured it by changing the settings in the "Sharing" preferences panel back to how they were before.
 
Old 03-31-2005, 02:14 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760

Original Poster
Blog Entries: 4

Rep: Reputation: 78
sshd was running. I turned it off and there was no change. The firewall is listed as 'Off'.

More info:
'vyvyan' is the server that NATs for all other boxes (linux)
'nina' is a file server (linux)
'virgo' is my main workstation (linux)
'eden' is the G4

I can ping from any box to any other box fine.
eden successfully mounts the NFS share from nina
I can ssh from eden to any box _except_ vyvyan
I can ssh from any box to eden
I can ssh/telnet port 25 from any box _except_ eden to vyvyan

Any connection between eden and vyvyan times out except a ping, which works fine, and web browsing, which is getting NATed just fine.

This is not a problem on the server, every other box in the network can connect, ssh, send and recieve mail from vyvyan just fine....

What the heck?
 
Old 03-31-2005, 04:39 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You could always ssh to a linux machine then ssh to the gateway

Did you try to swap the macintosh IP with a Linux box one to see if that
IP is not allowed to connect as ssh to your gateway ?
 
Old 03-31-2005, 06:28 PM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760

Original Poster
Blog Entries: 4

Rep: Reputation: 78
Quote:
You could always ssh to a linux machine then ssh to the gateway
Yes, I can do that. The problem is that's not what I need. I need to be able to send and receive mail to/from my server, which the Mac won't talk to.

Edit:
Well I feel dumb...

I have a custom script that parses my apache and exim logs for connections attempting to relay spam and bot attacks, then bans the IP address in my firewall. Somehow I managed to ban my Mac It only blocks tcp packets, hence why the pings still worked. Reveals a hole in my firewall I need to fix though...

I'm still scratching my head on why web browsing still worked though? Something to do with NAT I guess.

In any event, the problem is solved for now, caused by human error as usual

Thanks guys,
 
Old 04-01-2005, 06:19 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Good and don't forget ping don't send TCP frames but use ICMP protocol by default instead
 
  


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
X over SSH then telnet JSkalka Linux - Security 5 11-21-2003 04:19 PM
SSH, Telnet, Firewall concoran Linux - Networking 18 08-29-2002 12:53 PM
Telnet, ssh, etc. mrozkan *BSD 1 07-18-2002 11:55 AM
Telnet and SSH Rampage2884 Linux - Networking 3 04-30-2002 02:31 PM
How to telnet if you r behind firewall???? atiato Linux - Networking 2 03-03-2002 03:25 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 06:09 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