Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strange open ports
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
smithj
Retired Dev
Retired Dev


Joined: 24 Sep 2004
Posts: 111

PostPosted: Thu Dec 16, 2004 3:08 pm    Post subject: strange open ports Reply with quote

pimping the nmap from an outside box, i get this for my gentoo:

Quote:
Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2004-12-16 09:38 EST
Interesting ports on xxxxx.xxxxx.xxx (xx.xxx.xx.xxx):
(The 1657 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
631/tcp open ipp
6000/tcp open X11

Nmap run completed -- 1 IP address (1 host up) scanned in 4.734 seconds


i'm assuming "ipp" on 631 is cupsd, but why is it open to the public? how can i close it?

and why the heck is X11 having a port? anytime i use it externally, i use ssh tunnels....

sshd is, of course, supposed to be running

how can i nail this down? :twisted:

edit: took out my ip :wink:


Last edited by smithj on Thu Dec 16, 2004 5:14 pm; edited 2 times in total
Back to top
View user's profile Send private message
db_404
Guru
Guru


Joined: 05 Dec 2002
Posts: 336

PostPosted: Thu Dec 16, 2004 4:11 pm    Post subject: Reply with quote

There's are various options in /etc/cups/cupsd.conf that let you set what IPs are allowed to connect to cups and what interface to listen on, which might help.

X i'm not sure about, by default it certainly does open a network port, and I'm not sure it can be disabled.

You really need to look into firewalling off the ports you don't want exposed externally with iptables (look here for more info http://gentoo-wiki.com/HOWTO_Iptables_for_newbies)
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20499

PostPosted: Thu Dec 16, 2004 4:17 pm    Post subject: Reply with quote

Does starting X with the -nolisten tcp option help?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum