On Sun, 08 Oct 2006, in the Usenet newsgroup comp.os.linux.networking, in
article <egadr0$onf$(E-Mail Removed)>, Olaf Petzold wrote:
>Yep, this was confusing me too, no rlogind was/is running.
>$ ps aux|grep login
>root 693 0.0 0.0 3740 740 pts/3 S+ 10:34 0:00 grep login
As Stephane points out, rlogind is normally run out of the super-server
(inetd or xinetd), but you correctly used 'netstat' to identify the
actual program using the port.
>> Technically, there should only be one line for '127.0.0.1' - you could put
>> all of those hostnames on the same line OR change the second line to
>> 127.0.0.2 which is the same host (_everyone_ on 127.0.0.0/8 is "you").
>
>following
>http://www.debian.org/doc/manuals/re...html#s-net-dns,
That document isn't perfect, but not all Linux, never mind all operating
systems allow multiple definitions in /etc/hosts. The least controversial
setting is that _a_name_ or _an_IP_address should appear once in the
/etc/hosts file. This also avoids confusion.
>> Please don't grab domain names out of thin air.
>
>Oops, I've to change it
Many people choose names, and fail to think that the name may have been
registered and in use. If you have not registered a domain name (really
not needed for a home network), you should choose a name that you are
sure will never be valid - RFC2606 gives a number of suggestions.
>> Gotta love it. Tell me what's going to happen when some jerk out on the
>> net nmap's the snot out of your box, using the -D option and the IP
>> addresses to that option being your gateway, your DNS servers...
>
>Denial of Service?
Absolutely. If you feel that portsentry is useful, you should set it to
block an "attacking" address for a few minutes, rather than "permanently".
Also be aware that only those applications that have been compiled with
libwrap, or are run via tcp_wrappers even look at /etc/hosts.deny, and
those application ONLY do so if they are not listed in /etc/hosts.allow.
The "sensible" way of using tcp_wrappers is to allow services and addresses
in /etc/hosts.allow, and set just one line in /etc/hosts.deny - "ALL: ALL".
Just remember that this only works for a limited number of applications.
This stuff is mentioned in the hosts_access(5) man page.
Old guy