Date: Mon, 27 Nov 2000 17:04:02 -0500 (EST) From: Mikhail Kruk <meshko@cs.brandeis.edu> To: Tim Zingelman <zingelman@fnal.gov>, <kris@FreeBSD.ORG> Cc: <freebsd-security@FreeBSD.ORG> Subject: Re: fics Message-ID: <Pine.LNX.4.30.0011271701480.32226-200000@calliope.cs.brandeis.edu> In-Reply-To: <Pine.GSO.4.30.0011271505560.19184-100000@nova.fnal.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --1082244355-1703506624-975362642=:32226 Content-Type: TEXT/PLAIN; charset=US-ASCII I added it to my /etc/security and it seems to work. diff file is attached (with the new 4.2 compatible version by Tim) could someone enlighten me on what actually has to be done to the diff so it can become real patch and eventually make it into the system? I'm rather green but would really like to start contributing to FreeBSD. On Mon, 27 Nov 2000, Tim Zingelman wrote: > On Mon, 27 Nov 2000, Tim Zingelman wrote: > > > sockstat|grep "\*\.[0-9 ]*\*\.\*"|cut -c10-18,39-45|sort -n -u +1 > > Oops, you caught me... I built this on a 3.x system... it doesn't work > on a 4.2 system. Sockstat output now uses : not . to separate ip & port. > Also, it looks like sort -u weeds out duplicate keys, not duplicate rows > as I'd assumed :( > > I'm starting to think this is too complex a solution... but: > > sockstat|grep "\*.[0-9 ]*\*.\*"|cut -c1-9,10-18,39-45|sort -u|sort -n +2 > > seems to do what I want both on 3.x and 4.x systems. > > If people think this is ok, I'd be glad to submit patches... > > - Tim > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message > --1082244355-1703506624-975362642=:32226 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="security.diff" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.4.30.0011271704020.32226@calliope.cs.brandeis.edu> Content-Description: Content-Disposition: attachment; filename="security.diff" NzhhNzksOTUNCj4gIyBTaG93IGNoYW5nZXMgaW4gdGhlIG9wZW4gdGNwIHNv Y2tldHMNCj4gIw0KPiBpZiBzb2Nrc3RhdHxncmVwICJcKi5bMC05IF0qXCou XCoifGN1dCAtYzEtOSwxMC0xOCwzOS00NXxzb3J0IC11fHNvcnQgLW4gKzIg PiAkVE1QOyB0aGVuDQo+ICAgICAgICAgaWYgWyAhIC1mICRMT0cvc29ja3N0 YXQudG9kYXkgXTsgdGhlbg0KPiAgICAgICAgICAgICAgICAgc2VwYXJhdG9y DQo+ICAgICAgICAgICAgICAgICBlY2hvICJubyAkTE9HL3NvY2tzdGF0LnRv ZGF5Ig0KPiAgICAgICAgICAgICAgICAgY3AgJFRNUCAkTE9HL3NvY2tzdGF0 LnRvZGF5DQo+ICAgICAgICAgZmkNCj4gICAgICAgICBpZiBjbXAgJExPRy9z b2Nrc3RhdC50b2RheSAkVE1QID4vZGV2L251bGwgMj4mMTsgdGhlbiA6OyBl bHNlDQo+ICAgICAgICAgICAgICAgICBzZXBhcmF0b3INCj4gICAgICAgICAg ICAgICAgIGVjaG8gIiRob3N0IGNoYW5nZXMgaW4gb3BlbiBuZXR3b3JrIHNv Y2tldHM6Ig0KPiAgICAgICAgICAgICAgICAgZGlmZiAtYiAkTE9HL3NvY2tz dGF0LnRvZGF5ICRUTVANCj4gICAgICAgICAgICAgICAgIG12ICRMT0cvc29j a3N0YXQudG9kYXkgJExPRy9zb2Nrc3RhdC55ZXN0ZXJkYXkNCj4gICAgICAg ICAgICAgICAgIG12ICRUTVAgJExPRy9zb2Nrc3RhdC50b2RheQ0KPiAgICAg ICAgIGZpDQo+IGZpDQo+IA0KMTQwYTE1OA0KPiANCg== --1082244355-1703506624-975362642=:32226-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.30.0011271701480.32226-200000>