LinuxQuestions.org
Review your favorite Linux distribution.
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-10-2003, 09:23 AM   #1
jimieee
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Rep: Reputation: 15
strange iptables entry


Hi, Whilst dealing with a seperate problem I came across an interesting entry in iptables:

# iptables -L
[other rules]
okay tcp -- anywhere anywhere tcp dpt:8000
[more rules]

I checked in the script I use to make my firewall and I can't see anything that would create this rule, or see the port as open when I portscan my public IP (nmap with both -sS and -sT). Is this something I should be concerned about? I was doing some work on my iptables script last week, so I might just have put it in by accident then or something (don't remember doing it, but I did want port 80 open so I might have).

How do I remove the chain by the way? I know I use iptables -D, but can anyone tell me how I'd define the chain please?

Many Thanks,

James
 
Old 11-10-2003, 10:00 AM   #2
hazza
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Mandrake, SUSE, Fedora
Posts: 122

Rep: Reputation: 15
If you don't have any particular reason to leave tcp port 8000 open on that computer then it's best to remove that rule. It might be useful to do use netstat to check what ports are listed as listening. "netstat -lptuw" would do the trick. I'd just do "iptables --line-numbers -L" to get the line number and then remove it using "iptables -D LINENUMBER".

The next thing to check would be if you did define a rule for port 80 or accidentally typed in a couple of extra zeros. It shouldn't be too much to worry about. Still, it's best to allow connections only to the required ports and nothing extra.
 
Old 11-10-2003, 10:31 AM   #3
jimieee
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Original Poster
Rep: Reputation: 15
Thanks!

I checked and it belonged to some Dell management software the server came with, never used it so closed up the hole as instructed. I generally try not to run any services I don't need, cos I have enough to worry about as it is

~James~
 
  


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
Strange Bugzilla Entry... bornhj General 2 10-01-2004 11:56 PM
Need help with LOG entry in IPTABLES sergio3986 Linux - Networking 5 12-12-2003 02:59 PM
iptables log entry??? bulliver Linux - Security 2 02-15-2003 10:54 PM
strange apache access_log entry bulliver Linux - Security 3 01-30-2003 04:07 AM
Strange Log Watch entry magyartoth Linux - General 4 06-07-2002 10:46 AM

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

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