LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2006, 11:48 AM   #1
Roosta21
Member
 
Registered: Aug 2004
Distribution: Fedora core 4
Posts: 55

Rep: Reputation: 15
iptables ports


Hi Guys,
I'm in the middle of setting up my firewall, but I am unsure which ports I should de-active. Could anyone give me some pointers to which ones I don't need.

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
dhclient 1686 root 5u IPv4 4211 UDP *:bootpc
named 1724 named 20u IPv4 4343 UDP s15206643.onlinehome-server .info:domain
named 1724 named 21u IPv4 4344 TCP s15206643.onlinehome-server .info:domain (LISTEN)
named 1724 named 22u IPv4 4346 UDP localhost.localdomain:domai n
named 1724 named 23u IPv4 4347 TCP localhost.localdomain:domai n (LISTEN)
named 1724 named 24u IPv4 4348 UDP *:32768
named 1724 named 25u IPv4 4349 TCP localhost.localdomain:rndc (LISTEN)
portmap 1769 rpc 3u IPv4 4422 UDP *:sunrpc
portmap 1769 rpc 4u IPv4 4425 TCP *:sunrpc (LISTEN)
rpc.statd 1788 rpcuser 4u IPv4 4458 UDP *:32769
rpc.statd 1788 rpcuser 5u IPv4 4448 UDP *:692
rpc.statd 1788 rpcuser 6u IPv4 4467 TCP *:32768 (LISTEN)
mDNSRespo 1908 nobody 7u IPv4 4756 TCP localhost.localdomain:5335 (LISTEN)
mDNSRespo 1908 nobody 8u IPv4 4766 UDP *:5353
cupsd 1932 root 0u IPv4 4834 TCP localhost.localdomain:ipp ( LISTEN)
cupsd 1932 root 1u IPv4 4835 UDP *:ipp
sshd 1968 root 3u IPv4 4856 TCP *:ssh (LISTEN)
xinetd 1980 root 5u IPv4 4917 TCP *:ftp (LISTEN)
xinetd 1980 root 6u IPv4 4918 TCP *oppassd (LISTEN)
xinetd 1980 root 8u IPv4 4919 TCP *:smtp (LISTEN)
xinetd 1980 root 9u IPv4 4920 TCP *:smtps (LISTEN)
postmaste 2077 postgres 4u IPv4 4986 UDP localhost.localdomain:32770 ->localhost.localdomain:32770
postmaste 2079 postgres 4u IPv4 4986 UDP localhost.localdomain:32770 ->localhost.localdomain:32770
couriertc 2102 root 5u IPv4 5084 TCP *:imap (LISTEN)
couriertc 2114 root 5u IPv4 5105 TCP *:imaps (LISTEN)
couriertc 2124 root 5u IPv4 5126 TCP *op3 (LISTEN)
couriertc 2135 root 5u IPv4 5146 TCP *op3s (LISTEN)
httpd 2201 root 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2201 root 4u IPv4 5356 TCP *:https (LISTEN)
httpd 2240 root 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2240 root 4u IPv4 5356 TCP *:https (LISTEN)
httpd 2241 apache 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2241 apache 4u IPv4 5356 TCP *:https (LISTEN)
httpd 2242 apache 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2242 apache 4u IPv4 5356 TCP *:https (LISTEN)
httpd 2243 apache 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2243 apache 4u IPv4 5356 TCP *:https (LISTEN)
httpd 2244 apache 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2244 apache 4u IPv4 5356 TCP *:https (LISTEN)
httpd 2245 apache 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2245 apache 4u IPv4 5356 TCP *:https (LISTEN)
httpd 2246 apache 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2246 apache 4u IPv4 5356 TCP *:https (LISTEN)
httpd 2247 apache 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2247 apache 4u IPv4 5356 TCP *:https (LISTEN)
httpd 2248 apache 3u IPv4 5354 TCP *:http (LISTEN)
httpd 2248 apache 4u IPv4 5356 TCP *:https (LISTEN)
httpsd 2267 root 16u IPv4 5720 TCP *:8443 (LISTEN)
monit 2417 root 4u IPv4 6208 TCP localhost.localdomain:2911 (LISTEN)
httpd 3438 apache 3u IPv4 5354 TCP *:http (LISTEN)
httpd 3438 apache 4u IPv4 5356 TCP *:https (LISTEN)
httpsd 5075 psaadm 16u IPv4 5720 TCP *:8443 (LISTEN)
httpsd 5076 psaadm 16u IPv4 5720 TCP *:8443 (LISTEN)
httpsd 5077 psaadm 16u IPv4 5720 TCP *:8443 (LISTEN)
httpsd 5078 psaadm 16u IPv4 5720 TCP *:8443 (LISTEN)
httpsd 5079 psaadm 16u IPv4 5720 TCP *:8443 (LISTEN)
httpsd 5080 psaadm 16u IPv4 5720 TCP *:8443 (LISTEN)
 
Old 03-15-2006, 05:06 PM   #2
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
What are you using this box for? (ie, desktop or server). This will make a difference in regards to the ports that you would want to close.
 
Old 03-16-2006, 05:00 AM   #3
Roosta21
Member
 
Registered: Aug 2004
Distribution: Fedora core 4
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks for replying,
I am using it for a webserver.
 
  


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
how to open ports with iptables lsimon4180 Linux - Security 7 07-07-2014 03:06 PM
ports open with iptables saugato Linux - Security 3 04-19-2005 02:31 AM
open ports with iptables? tykkea811 Linux - Networking 2 12-12-2004 02:43 AM
Opening ports with IPtables nrbowker Linux - Security 3 12-22-2003 07:32 PM
IPtables open ports Paul_assheton Linux - Security 3 10-10-2003 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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