Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2007, 06:54 PM
bleach bleach is offline
Member
 
Join Date: Apr 2006
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Default Default open ports
Hi,

Current most up-to-date default PC-BSD install (1.3*) seems to have the following ports open:

Code:
PORT    STATE SERVICE
25/tcp  open  smtp
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
How many users actually use those services? What do you think about turning them off by default?
Reply With Quote
  #2  
Old 07-28-2007, 08:01 PM
dracheflieger dracheflieger is offline
Senior Member
 
Join Date: May 2006
Location: Greater State of Northern Kaliforneea
Posts: 2,880
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Default open ports
Originally Posted by bleach
Hi,

Current most up-to-date default PC-BSD install (1.3*) seems to have the following ports open:

Code:
PORT    STATE SERVICE
25/tcp  open  smtp
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
How many users actually use those services? What do you think about turning them off by default?
SMTP is the outgoing mail server (sendmail) and you probably wont get any root messages set to send every night to root's mailbox.

The other two are networking so if you don't smb or netattach or have any other devices on your network then you can probably safely turn them off but I'm not positive about that.
Reply With Quote
  #3  
Old 07-28-2007, 08:19 PM
bleach bleach is offline
Member
 
Join Date: Apr 2006
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I actually found about those services today, and local outgoing smtp engine is quite comfortable, but regarding latter two ports for example, then a google query on them could make one a little paranoid. Why have Samba (?) on by default if after all, it's so easy to enable/disable it at any time?
Reply With Quote
  #4  
Old 07-28-2007, 08:42 PM
dracheflieger dracheflieger is offline
Senior Member
 
Join Date: May 2006
Location: Greater State of Northern Kaliforneea
Posts: 2,880
Thanks: 0
Thanked 0 Times in 0 Posts
Default
To share files from a Windows machine :?: If your network consists of one computer then I guess you don't need it.
Reply With Quote
  #5  
Old 07-29-2007, 07:18 AM
bleach bleach is offline
Member
 
Join Date: Apr 2006
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Default
That's exactly my point :wink:

Just type "port 139" in the Google and the first thing that comes up is:
Quote:
NetBIOS Session (TCP), Windows File and Printer Sharing
This is the single most dangerous port on the Internet. All "File and Printer Sharing" on a Windows machine runs over this port. About 10% of all users on the Internet leave their hard disks exposed on this port. This is the first port hackers want to connect to, and the port that firewalls block.
http://www.iss.net/security_center/advi ... efault.htm

I haven't check the default firewall setup on PCBSD, but still, what percentage of installed PCBSDs actually use the thing at all? What do developers think? Let's run a poll on this here?
Reply With Quote
  #6  
Old 07-29-2007, 11:53 AM
hulleyrob hulleyrob is offline
Junior Member
 
Join Date: Jul 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to hulleyrob
Default
Maybe the developers were thinking this isnt windows so its not a security risk because it has proper security in the OS and doesnt need to hide this port behind a firewall......



Rob
Reply With Quote
  #7  
Old 07-31-2007, 10:47 PM
Galactic Dominator Galactic Dominator is offline
Senior Member
 
Join Date: May 2006
Posts: 168
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I'll add my 2 cents here. First, the previous poster is correct. Port 139 is essentially a windows hack although some SAMBA exploits do/did exist. If you're using SAMBA it's a good idea to fw it off from the outside. However, if you're not using SAMBA and that's a closed port on your system, fw'n it off simply isn't anymore effective than letting the packet run it's standard course. An attempt to connect to closed port isn't a security risk, in and of itself. Ports don't magically open because of such an attempt, nor is it a standard DOS vulnerability. Hence, it's a fool's errand to attempt to identify and block all those ports in which a potential vulnerability exists given certain ports popularity varies over time. Better that each system admin block appropriate ports as needed, (see security advisories for each port you chose to install) and have the admin learn the hard way if need be.

IMO it would really be desirable not to let pf, or whatever fw is implemented, to be morphed into another snake-oil firewall like norton, mcafee, zone alarm, <insert branded firewall here> or any other security bastardization
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
X.org 7.2 ports merged into the FreeBSD Ports Tree Arabian The Lounge 12 05-25-2007 05:18 PM
Defining default browser and default e-mail reader Charles General Questions 2 10-30-2006 08:30 PM
PCBSD's default font policy - open discussion. caesius General Questions 24 09-08-2006 12:56 AM
adding ports with cvsup/root/ports-supfile(solved) catlett Startup Bug Reports 6 06-04-2006 11:30 AM
[Open Contest] Submit your default wallpaper and vote! Charles The Lounge 31 04-02-2006 03:12 PM


All times are GMT. The time now is 10:36 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.