to deny access to all ip's all services, hosts.deny ALL:ALL then specifically allow in hosts.allow in.telnetd: jim@somedomain.com in.ftpd: joe@somedomain.com ps aux | grep inetd (for pid of inetd) kill -HUP (pid of inetd) This will allow jim from somedomain.com to telnet in and joe from somedomain.com to ftp in...hope this helps... Cliff Pankonien System Administrator Delaware.Net, Inc. http://www.delaware.net E: cliff@delaware.net P: 302.736.5515 ICQ: 5486073 Visit our Tucows Linux mirror at http://delaware.linux.tucows.com On Mon, 14 Feb 2000, Nick Zentena wrote:
Joakim Schramm wrote:
Do you just put the ip like
xxx.xxx.xxx.xxx
in the hosts.deny file?anything needed to reload/restart?
can you do ban like a whole subnet? There is notting in my hosts.deny and I'm a little bit too much in a hurry to track this info on my own.
IMHO change hosts.deny to ALL:ALL
then add the ips you want to give access to to hosts.allow
I think you need to restart inetd
Nick -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 --------------------------------------------------
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/