hosts.deny (examples)

ALL : 123.123.123.123 : reject
or
in.ftpd : ALL
or
in.ftpd : somedomain.com

Same goes reverse for hosts.allow. You can allow or deny hosts to services
controlled by inetd.
I use this all the time.

Another example.

/etc/hosts.deny

in.telnetd : ALL

/etc/hosts.allow

in.telnetd : my.ip.address

This would deny everyone except my IP address to telnet.

Kirk



>At 03:19 PM 3/28/00 -0800, you wrote:
>using the /etc/hosts.deny and hosts.allow you can cut people off from
>certain protocols in the inetd.conf.  ive used them once or twice but
>cant remember the exact syntax of the files.
>
>Steve Lee wrote:
>> 
>> what is this and how is this related to
>> a firewall?
>> 
>> --
>> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>> as the Subject.
>
>-- 
>---------------------
>Steve Dixon
>Dpn, Incorporated
>System Administrator
>Phone - 702.873.3282
>Email - [EMAIL PROTECTED]
>---------------------
>
>
>-- 
>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>as the Subject.
>


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to