LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-05-2004, 11:42 PM   #1
a!exander
LQ Newbie
 
Registered: Apr 2004
Location: Texas
Distribution: Mandrake,Vector
Posts: 7

Rep: Reputation: 0
Mandrake10; open ports


Why does Mandrake 10 leave ports: 111/TCP; 6000/TCP; 10000/TCP and few others open?
What are the commands so I can manually close them?
Thanks
 
Old 04-05-2004, 11:52 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
what you want to do is install a firewall... in mandrake's control center you'll find the option to activate one...

there's also other options, here's a few:

http://firestarter.sourceforge.net/

http://www.shorewall.net/

http://easyfwgen.morizot.net/gen/
 
Old 04-05-2004, 11:57 PM   #3
a!exander
LQ Newbie
 
Registered: Apr 2004
Location: Texas
Distribution: Mandrake,Vector
Posts: 7

Original Poster
Rep: Reputation: 0
yes, though still I would like the code if anyone knows it out there.
Thanks
 
Old 04-06-2004, 12:20 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
ummm... okay... the "code" to do what you ask would be:

iptables -A INPUT -p TCP -s 0/0 --destination-port 111 -j DROP

iptables -A INPUT -p TCP -s 0/0 --destination-port 6000 -j DROP

iptables -A INPUT -p TCP -s 0/0 --destination-port 10000 -j DROP


but keep in mind that by closing those ports, you are doing absolutely NOTHING about the other sixty-five thousand (plus) ports...

=)
 
Old 04-06-2004, 12:33 AM   #5
a!exander
LQ Newbie
 
Registered: Apr 2004
Location: Texas
Distribution: Mandrake,Vector
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks much! I actually run guarddog (which need to mess with a bit.) Even with it running I have found these ports open when I run: nmap -sT 127.0.0.1
111/tcp open rpcbind
631/tcp open ipp
1024/tcp open kdm
6000/tcp open X11
10000/tcp open snet-sensor-mgmt
 
  


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
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 03:03 AM
open ports on linksys, i have ssh open but thats it PlatinumRik Linux - Security 1 07-07-2005 11:38 AM
open ports jbkerr Linux - Security 4 01-31-2005 09:45 AM
open ports erikm103 Linux - General 1 03-17-2003 09:41 PM
Open Ports? tarballedtux Linux - Security 2 02-12-2002 02:05 AM


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