[vox-tech] samba and tcpd

Peter Jay Salzman vox-tech@lists.lugod.org
Fri, 18 Jan 2002 14:48:01 -0800


i think it might be more complicated than that -- i'm fairly certain
that you don't use in.fingerd as the service name in hosts_access.  at
least, i think i'm fairly certain.  :)

afaik, all the services that i've wrapped up follow your rule *except*
cvs-pserver, which happens to be the ugly duckling.  i've never played
around with net-bios.  i just unwrapped all services for that host for
now, and once samba gets working will play around with this (and report
my findings).

thanks!
pete




begin Rod Roark <rod@sunsetsystems.com> 
> Hmm, maybe it really is the program name.  "man hosts_access" says to put 
> the "process name" here, and then goes on to identify the name as argv[0].
> 
> Likewise, "man kill" says it is to "kill processes by name".
> 
> So I guess process name == executable name.  Definitely not the kind of 
> terminology I would have chosen.
> 
> Sorry.
> 
> -- Rod
>    http://www.sunsetsystems.com/
> 
> On Friday 18 January 2002 14:16, Peter Jay Salzman wrote:
> > thanks rod.  i *thought* that was a general rule, but i found it's not
> > true in every case.  a few months ago, i set up a cvs server.
> >
> >    inetd entry:
> >    cvspserver stream tcp ... /usr/sbin/cvs-pserver
> >
> > but hosts_access expects "cvs-pserver" rather than "cvspserver" as i had
> > expected.  took me a long time to figure that out.   :/
> >
> > and it's so hard to diagnose these things when the service isn't working
> > correctly yet...   :)
> >
> > thanks!
> > pete
> >
> >
> > begin Rod Roark <rod@sunsetsystems.com>
> >
> > > I believe the former.  These are the service names found in /etc/inetd
> > > or xinetd.
> > >
> > > -- Rod
> > >    http://www.sunsetsystems.com/
> > >
> > > On Friday 18 January 2002 13:38, Peter Jay Salzman wrote:
> > > > do i make reference to samba services in hosts.allow / hosts.deny as
> > > >
> > > >    netbios-ssn: blah
> > > >    netbios-ns: blah
> > > >
> > > > or
> > > >
> > > >    smbd: blah
> > > > 	nmbd: blah
> >
> > _______________________________________________
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
The mathematics [of physics] has become ever more abstract, rather than more
complicated.  The mind of God appears to be abstract but not complicated.
He also appears to like group theory.  --  Tony Zee's `Fearful Symmetry'

PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D