Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: wildcards in /etc/hosts.deny



On Fri, Oct 23, 1998 at 06:00:15PM +0900, Jim Schweizer wrote:
> Did you know there's nothing apropos for hosts.deny? No man page,
> nothing in Running Linux, Practical UNIX & Internet Security, UNIX
> System Administration Handbook or the Linux Network Administrator's
> Guide!

I agree it is well hidden.  'man 5 hosts_access'
(And no, I can never remember that either.  I do 'man tcpd' and then
check the "see also" :-)

> Anyway, are wildcards like * allowed? For example can I do:
> ALL : *.goo.ne.jp
> ALL : *.melco.co.jp

I think for this sort of thing you don't use the *.  Try:
ALL: .goo.ne.jp
ALL: .melco.co.jp

which checks for matching ends.

-- 
Jim Tittsler, Tokyo   ICQ: 5981586


---------------------------------------------------------------
Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 12 December, 12:30 Tokyo Station Yaesu central gate
---------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links