I normally run a tcpdump in another window watching those ports.  If you 
see packets going out on a port, but no reponses, there's your answer.  
tcpdump takes the guess work out of this sort of thing.

ray


On Wed, 11 Feb 2004, Tim Fournet wrote:

> I think you can get by with just 139 if you don't need any of the name
> resolution type things. I'd start with just that one and open up more as
> you need, if you're trying to stay secure. 
> 
> On Tue, 2004-02-10 at 19:38, Shannon Roddy wrote:
> > Does 135 need to be open too?  Seems like I remember that somewhere....
> > 
> > On Feb 10, 2004, at 3:44 PM, Karthik Poobalasubramanian wrote:
> > 
> > > I am trying to find which ports should be open inorder to access a 
> > > samba share.
> > > are these( UDP/137, UDP/138, TCP/139, TCP/445 ) the only ones that 
> > > have to be
> > > opened?
> > > my smb.conf looks like this
> > > **********************************
> > > [global]
> > >      workgroup = codeshare
> > >      server string = Kalypso Code Share
> > >      log file = /var/log/samba/kalypso1.log
> > >      security = user
> > > [public]
> > >      path = /home/poobal/tmp/
> > >      readonly = no
> > >      create mode = 0777
> > >      directory mode = 0777
> > > **********************************
> > >
> > > -- 
> > > Karthik Poobalasubramanian
> > >
> > >
> > >
> > > _______________________________________________
> > > General mailing list
> > > [email protected]
> > > http://brlug.net/mailman/listinfo/general_brlug.net
> > >
> > 
> > --
> > Shannon Roddy
> > LIGO - Caltech
> > 225.686.3106 (work)
> > 225.933.7821 (cell)
> > [EMAIL PROTECTED]
> > 
> > 
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://brlug.net/mailman/listinfo/general_brlug.net
> 
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://brlug.net/mailman/listinfo/general_brlug.net
> 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean                                       http://www.r-a-y.org
Systems Engineer                    Southeastern Louisiana University
IBM Certified Specialist              AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Reply via email to