From owner-freebsd-questions Mon Aug 31 15:12:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13679 for freebsd-questions-outgoing; Mon, 31 Aug 1998 15:12:07 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA13446 for ; Mon, 31 Aug 1998 15:11:12 -0700 (PDT) (envelope-from nbm@rucus.ru.ac.za) Received: (qmail 8692 invoked by uid 1003); 31 Aug 1998 22:01:30 -0000 Message-ID: <19980901000130.A4802@rucus.ru.ac.za> Date: Tue, 1 Sep 1998 00:01:30 +0200 From: Neil Blakey-Milner To: Sm0ke , freebsd-questions@FreeBSD.ORG Subject: Re: I have a quick question...... References: <1.5.4.32.19980831200053.0067a520@pop.mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <1.5.4.32.19980831200053.0067a520@pop.mindspring.com>; from Sm0ke on Mon, Aug 31, 1998 at 04:00:53PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon 1998-08-31 (16:00), Sm0ke wrote: > I'm "head oper" on an IRC Server thats running BSD as the OS and I need to > know where to find hosts.allow and hosts.deny and how to edit them, I can't > find them on the machine and I really do need them! and How would I change > the port number on the Telnet ? Right now its using the default port (23) > and I would like to change that to another port number for more security. Firstly, go install /usr/ports/security/tcp_wrappers, if you want to use hosts.allow and hosts.deny. If you've used tcp wrappers before, it should be a cinch. Look at the hosts_access, tcpd, hosts_options man pages once you've install the port. You may want to update your ports collection before you do this, if you're not running a reasonably new release (http://www.freebsd.org/handbook/cvsup.html). To add a telnet daemon on another port, add an entry for the new port in /etc/services (man services for help), and then copy the existing telnet entry in /etc/inetd.conf (man inetd.conf for help) If you want more security, install the ssh port (/usr/ports/security/ssh). This port will encrypt traffic when you use the ssh client to connect to a ssh server. Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message