[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RAQ4R Lockup/Crash and Over Heating??
- Subject: Re: [cobalt-users] RAQ4R Lockup/Crash and Over Heating??
- From: Bruce Timberlake <bruce@xxxxxxxxxx>
- Date: Tue Dec 10 00:53:00 2002
- Organization: BRTNet.org
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I know this may be a little extreme but is there any way to
> completely block traffic from a entire country code like .fr ??
Since FTP is triggered from an inetd connection, the easiest way to
block entire TLDs is to use tcpwrappers and /etc/hosts.allow and
/etc/hosts.deny. In your /etc/hosts.deny file, you could put a line
like:
in.proftpd: ALL: ALL
Which denies FTP from everyone. Then in /etc/hosts.allow you
explicitly allow who will connect like this:
in.proftpd: ALL EXCEPT .fr
If you have multiple TLDs to block you could put:
in.proftpd: ALL EXCEPT .fr, .cn, .tw
Note: this only works for daemons spawned from inetd. Things like
httpd or sshd (standalone daemons) need other control mechanisms.
> A silly question but I don't remember how to run "TOP". Can you
> give me a quick overview??
Run 'top' as any user (will only be able to kill your own jobs though;
run as root to be able to control all jobs on the system).
Press '?' for help; it's all laid out there. Useful keys are 'k' to
kill a process (you give PID and signal to send), 'q' to exit top,
'W' to write current settings to .toprc for current user so you don't
have to re-enter them next time (you can set update refresh time,
sort order, etc).
- --
Bruce Timberlake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE99aqZvLA2hUZ9kgwRAjXEAJ92gM5HZvbLXWf7T8JS6LlwRduONwCeMfLl
Q/cNHfe0mOYbn0haAirZNWY=
=KXiG
-----END PGP SIGNATURE-----