On Mon, Dec 08, 1997 at 11:04:07PM -0600, Ian Keith Setford wrote:
> I would like to configure my Debian box to accept telnet, ftp, and www
> connections. Right know I have my hosts.allow as ALL:ALL but I would like
> limit the connections to only those with my schools connections and my
> local LAN's machines.
> i.e. just allowing *.unt.edu and *.dimension.org
First you must check your configuration of inetd.conf in your etc dir
The line which specified ie telnet daemon must look like this :
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
Command /usr/sbin/tcpd means that before establishing connection for telnet deamon (in.telnetd)
must pass rules of host.allow and host.deny
After that your configuration of hosts files should by something like this :
#this disable absolutely all connection for telnet but allow :
Rules for passing hosts config diles are :
1) If acces is allowed in host.allow - the request is enabled
2) If no, then host.deny is scanned for apropriate rule - if it's found - the request is disabled
3) If the apropriate rule hasn't been founded - the request is enabled
Uh, it might be all
> What should my hosts.allow and hosts.deny files look like?
> Thanks in advance!
> p.s. reply to my email@example.com and the list as I haven't
> changed my address on the list yet! ;)
> .__. __ __
> | | .__. .__. .__. .__. .__.\\ \\ / /
> | | | | | \\ | | | | | | \\ \\ / /
> | | | | | |\\ \\| | | | | | \\ \\/ /
> | |__ | | | | \\ \| | | |_| | / /\\ \\
> |__|__.|__| |__| \\____| |_______| / / \\ \\
> ______ _ __ __ ___ ______. ______
> | ._. | | | | | | | | |______| |____ |
> | |_| | | | | | | | | ||_ / /
> | __| | | | | | | | |__| / /
> | |\\ \\ | |_| | | |__. ||_____. / /
> | | \\ \\ |_____| |_____| |______| / /___.
> |_| \\_\\ /______|
> * DEBIAN GNU/Linux *
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> firstname.lastname@example.org .
> Trouble? e-mail to email@example.com .
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .
- From: Ian Keith Setford <email@example.com>