When I add an IP to this file, how do I activate the changes? Cheers, Steve.
On Tue, 2005-09-27 at 18:11 +0200, steve wrote:
When I add an IP to this file, how do I activate the changes?
Cheers, Steve.
There is nothing to activate, the changes are automatically used. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
On 27 Sep 2005, mail@steve-ss.com wrote:
When I add an IP to this file, how do I activate the changes?
You don't need to do anything. Charles -- "However, complexity is not always the enemy." -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)
On Tuesday 27 September 2005 18:30, Charles philip Chan wrote:
On 27 Sep 2005, mail@steve-ss.com wrote:
When I add an IP to this file, how do I activate the changes?
You don't need to do anything.
Charles
What's the syntax? I have: ALL:w.x.y.z Where w.x.y.z is the IP I want to block? In my case w.x.y.z can still access say, on port 22. Is this correct? Cheers, Steve.
On 27 Sep 2005, mail@steve-ss.com wrote:
What's the syntax? I have:
ALL:w.x.y.z
All: w.x.y.z for individual ip's. Also, you should check your /etc/hosts.allow file. It is actually more secure to use: ALL: ALL in /etc/hosts.deny and control access to services via /etc/hosts.allow For syntax please refer to: man 5 hosts_access Charles -- panic("Foooooooood fight!"); linux-2.2.16/drivers/scsi/aha1542.c
This is more secure: /hosts.deny ALL:ALL /hosts.allow sshd:w.x.y.z -- Jota Omella Developers Network http://planetas.net
participants (5)
-
Charles philip Chan
-
Javier Omella
-
Ken Schneider
-
steve
-
Sunny