LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-14-2006, 01:11 PM   #1
Chinook
LQ Newbie
 
Registered: Jan 2006
Posts: 16

Rep: Reputation: 0
Linux port usage interpertation?


Linux port usage interpertation?
--------------------------------

In trying to further improve my Linux (AppleTalk server) Mac (client) LAN I've been (in part) looking at the Mac OS X firewall log. For Mac to Mac traffic I use the support document <the forum rejected the url reference :-P > as a guide. I would think that such might generally apply to Linux also, but I can't seem to find a similar guide for Linux.

More specifically, I don't understand the following Linux related "denied" entries in the OS X firewall log.

legend: <prefix> = "ipfw 12190"
<from> = url of Linux box on LAN as 192.168.x.xx
<to> = url of Mac on LAN as 192.168.x.xx
<suffix> = "via en0" (Belkin router - ethernet 0)

<prefix> <from>:49658 <to>:79 <suffix>
:58724 :80
:58725 :80
:58726 :80
:58727 :80
:43600 :49932
:52405 :49933
:35367 :49936
:33708 :49937
:47891 :50802
:41822 :50803
:1057 :5000
:1058 :5000
:1059 :5000
:1065 :5000


Any pointers would be appreciated :-)

Thank you
Lee C
 
Old 01-14-2006, 04:31 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
:58724 :80
:58725 :80
:58726 :80
:58727 :80

Looks like randomly obtained ports on the Linux side (58724-58727) tried to hit the well known web port 80 on the Mac side and the Mac side prevent them. Since 80 is a root level port that's a good thing - did you try hitting 8180 instead?

Do a google for "well known ports" for a list of same. Also looking at /etc/services file will give you a lot of the common ones. It is normal for one side to be somewhat random unless you're doing a defined client/server application that clearly defines each side.

The command "lsof" for Unix/Linux can show you which processes have which ports open (as opposed to netstat -a which will only show you which ports are open but not tie them to specific processes). Since your list is "denied" entries they likely died right after making the attempt.
 
Old 01-14-2006, 07:51 PM   #3
Chinook
LQ Newbie
 
Registered: Jan 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks jlightner
 
  


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
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 09:32 PM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 08:07 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM

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

All times are GMT -5. The time now is 04:10 AM.

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