From owner-freebsd-security Thu Jun 10 13:32:34 1999 Delivered-To: freebsd-security@freebsd.org Received: from hydrogen.fircrest.net (metriclient-3.uoregon.edu [128.223.172.3]) by hub.freebsd.org (Postfix) with ESMTP id F130E153CD for ; Thu, 10 Jun 1999 13:32:26 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.fircrest.net (8.9.1/8.8.7) id NAA11413; Thu, 10 Jun 1999 13:32:10 -0700 (PDT) Message-ID: <19990610133210.60388@hydrogen.nike.efn.org> Date: Thu, 10 Jun 1999 13:32:10 -0700 From: John-Mark Gurney To: Richard Childers Cc: Dmitriy Bokiy , freebsd-security@FreeBSD.ORG Subject: Re: Newbie questions: DoS & xinetd References: <18819.990610@cityline.ru> <37600E33.9A11E641@hamquist.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <37600E33.9A11E641@hamquist.com>; from Richard Childers on Thu, Jun 10, 1999 at 12:12:51PM -0700 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Richard Childers scribbled this message on Jun 10: > For instance, if I wanted to search for all occurrences of the string > "net.inet.ip.redirect", I would do: > > # find / -type f -exec grep -i "net.inet.ip.redirect" {} \; -print you might try zgrep instead of grep, this will look in gzip files also.. > Doing so (you may wish to redirect the output into a temporary file, to > keep binary from scrawling across your screen), you will see that the > following files reference this string: > > /usr/src/share/doc/smm/01.setup/5.t > /usr/src/share/doc/smm/01.setup/spell.OK > /var/db/kvm_kernel.db if you used zgrep, you would see the /usr/share/doc/smm/01.setup/paper.ascii.gz is an ascii version of the data you are looking for... /usr/share/doc/{smm,psd,usd}/* is a GREAT reference and contains MUCH information... I think we should publicize these docs more... > The file /usr/src/share/doc/smm/01.setup/5.t appears to be a text file, > containing documentation describing how to comprehensively configuring > network interfaces; unfortunately, despite some twenty years of > wrestling with roff(1), nroff(1) and troff(1), I was unable to get this > file to print out properly. if you looked at the Makefile in the same directory, you would see that it uses -ms, and you need to add the -t because of USE_TBL.. so you could read it with: groff -t -Tascii -ms 5.t | more and that should give you readable output... -- John-Mark Gurney Voice: +1 541 684 8449 Cu Networking P.O. Box 5693, 97405 "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message