From: nichols@nvl.army.mil (Don Nichols)
Subject: Re: Security Problem
Date: 1997/04/29 [thread overview]
Message-ID: <5k5hkq$1m6$1@izalco.nvl.army.mil> (raw)
In-Reply-To: 336516c8.87525299@news.netvision.net.il
In article <336516c8.87525299@news.netvision.net.il>,
George Berg <george@gilad.co.il> wrote:
>On Mon, 21 Apr 1997 09:47:09 -0500, "Floyd Davenport"
><davenportf@ces.aces.uiuc.edu> wrote:
>
>>I'm running DEC Unix 4.0 and I have some friendly folks that have decided
>>to
>>make use of my system without permission. They are using telnet and ftp to
[ ... ]
>There are 2 files in /etc directory called hosts.allow , hosts.deny U
>have to setup those files if U want to reject connections from
>specific hosts , domains . The syntax is simple :
Does tcp-wrappers come standard with DEC's version of unix? Those
files are part of the installation of tcp-wrappers. You also need to edit
/etc/inetd.conf properly so the connection requests are passed to tcpd
instead of the usual programs. "tcpd" then decides whether to allow the
connection, in which case it passes the connection on to the program
specified in /etc/inetd.conf.
As an example, on my system (a Sun running Solaris 2.x), I have:
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
While a unwrapped system (or one which hadn't bothered wrapping
telnet), would have something like:
telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd
Only once this is done can the entries in /etc/hosts.deny and
/etc/hosts.allow do anything.
You'll probably also want to treat various services differently, so
instead of using "ALL", you would have an entry for in.telnetd, one for
in.ftpd, and for each other service which had specific requirements. Then,
you might use an ALL entry to catch anything else which slipped through the
cracks.
Be sure to run tcpdchk, to get it to pass an opinion on how well
configured the files are.
Good Luck,
DoN.
--
DoN Nichols work:nichols@nvl.army.mil (703)704-2280
Disclaimer: No statements herein are to be considered as necessarily
representing the opinions of the Department of the Army or Night Vision Labs.
Black holes are where GOD is dividing by zero -- (author unknown)
next prev parent reply other threads:[~1997-04-29 4:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-21 4:00 Security Problem Floyd Davenport
1997-04-21 4:00 ` Will Sitch
1997-04-21 4:00 ` Dean Roth
1997-04-22 4:00 ` Thomas H. Ptacek
1997-04-21 4:00 ` Don Nichols
1997-04-21 4:00 ` Magnus Bergman
1997-04-22 4:00 ` Justin B. Harvey
1997-04-22 4:00 ` Thomas H. Ptacek
1997-04-23 4:00 ` Justin B. Harvey
1997-04-23 4:00 ` Kevin Oberman
1997-04-23 4:00 ` Thomas H. Ptacek
1997-04-23 4:00 ` Thomas H. Ptacek
1997-04-23 4:00 ` Theo de Raadt
1997-04-24 4:00 ` D. J. Bernstein
1997-04-22 4:00 ` Shaun Lowry
1997-04-28 4:00 ` George Berg
1997-04-29 4:00 ` Don Nichols [this message]
1997-05-01 4:00 ` Ryan A. Chapman
1997-05-06 4:00 ` Lee Mann
-- strict thread matches above, loose matches on Subject: below --
1997-04-28 4:00 bgz
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox