From owner-freebsd-net Sun Dec 30 1:11: 4 2001 Delivered-To: freebsd-net@freebsd.org Received: from ns1.nttmcl.com (ns1.nttmcl.com [216.69.68.197]) by hub.freebsd.org (Postfix) with ESMTP id EEF8437B41A for ; Sun, 30 Dec 2001 01:11:02 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by ns1.nttmcl.com (Postfix) with ESMTP id 88B05DE541 for ; Sun, 30 Dec 2001 01:11:02 -0800 (PST) Date: Sun, 30 Dec 2001 01:11:02 -0800 (PST) From: Henry Su To: freebsd-net@freebsd.org Subject: provide packet header details to a user program for authentication Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is it possible to use ipfw provide packet header details to a user program for authentication? Any clue will be greatly appreciated. ************** Henry Su * NTT MCL * ************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Dec 30 4:49:24 2001 Delivered-To: freebsd-net@freebsd.org Received: from sj-msg-core-2.cisco.com (sj-msg-core-2.cisco.com [171.69.24.11]) by hub.freebsd.org (Postfix) with ESMTP id 347C537B439 for ; Sun, 30 Dec 2001 04:49:06 -0800 (PST) Received: from mira-sjc5-2.cisco.com (mira-sjc5-2.cisco.com [171.71.163.16]) by sj-msg-core-2.cisco.com (8.11.3/8.9.1) with ESMTP id fBUCn5D17815; Sun, 30 Dec 2001 04:49:05 -0800 (PST) Received: from stewart.chicago.il.us (ssh-sj1.cisco.com [171.68.225.134]) by mira-sjc5-2.cisco.com (Mirapoint) with ESMTP id AAP91598; Sun, 30 Dec 2001 04:49:04 -0800 (PST) Message-ID: <3C2F0D40.ADFE2B6F@stewart.chicago.il.us> Date: Sun, 30 Dec 2001 06:49:05 -0600 From: Randall Stewart X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Silbersack Cc: Bosko Milekic , net@FreeBSD.ORG Subject: Re: m_reclaim and a protocol drain References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Mike Silbersack wrote: > > On Wed, 26 Dec 2001, Randall Stewart wrote: > > > This comment facinates me. The reason we made SACK's in SCTP > > revokeable is due to the potential DOS attack that someone > > can supposedly lauch if you don't allow the stack to revoke. > > > > I can actually see the reason that Sally made the comments > > and had us change it so that SACK's are revokeable. However > > you argue to the contrary and I wonder which is correct. > > > > If you do not allow revoking it is the same as if a protocol > > does not hold a drain() fucntion. A attacker could easily > > stuff a lot of out-of-order segments at you and thus > > fill up all your mbuf's or clusters (in my current testing > > case). This would then yeild a DOS since you could no longer > > receive any segments and leave you high and dry.... > > Heh, you nailed the reverse of the problem we've seen: Right now the easy > way to cause exhaustion is to fill up _send_ buffers, via netkill. I > guess if we solve that problem, out of order segments could be used for an > attack too. > Mike: Interesting problem.. but I was thinking in terms of a outside attacker.. not someone who has a login id on your machine. That leads down another path... i.e. local machine security. R > Just FWIW, > > Mike "Silby" Silbersack > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- Randall R. Stewart randall@stewart.chicago.il.us 815-342-5222 (cell phone) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Dec 30 10: 1:30 2001 Delivered-To: freebsd-net@freebsd.org Received: from niwun.pair.com (niwun.pair.com [209.68.2.70]) by hub.freebsd.org (Postfix) with SMTP id BFC9337B416 for ; Sun, 30 Dec 2001 10:01:25 -0800 (PST) Received: (qmail 34406 invoked by uid 3193); 30 Dec 2001 18:01:25 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 30 Dec 2001 18:01:25 -0000 Date: Sun, 30 Dec 2001 13:01:24 -0500 (EST) From: Mike Silbersack X-Sender: To: Randall Stewart Cc: Bosko Milekic , Subject: Re: m_reclaim and a protocol drain In-Reply-To: <3C2F0D40.ADFE2B6F@stewart.chicago.il.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 30 Dec 2001, Randall Stewart wrote: > > Heh, you nailed the reverse of the problem we've seen: Right now the easy > > way to cause exhaustion is to fill up _send_ buffers, via netkill. I > > guess if we solve that problem, out of order segments could be used for an > > attack too. > > > > Mike: > > Interesting problem.. but I was thinking in terms of > a outside attacker.. not someone who has a login id on > your machine. That leads down another path... i.e. local > machine security. > > > R Heh, you don't have to be local to cause a machine to send you something. Just find a service which exists to send data (http, pop3, ftp, irc), and you're in business. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Dec 30 10:20:26 2001 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 1DE7E37B417 for ; Sun, 30 Dec 2001 10:20:16 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011230182015.MYZL1920.rwcrmhc51.attbi.com@InterJet.elischer.org>; Sun, 30 Dec 2001 18:20:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id KAA04524; Sun, 30 Dec 2001 10:13:41 -0800 (PST) Date: Sun, 30 Dec 2001 10:13:41 -0800 (PST) From: Julian Elischer To: Henry Su Cc: freebsd-net@freebsd.org Subject: Re: provide packet header details to a user program for authentication In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org but of course divert doesn't work with bridging (which you are doing) On Sun, 30 Dec 2001, Henry Su wrote: > > Is it possible to use ipfw provide packet header details to a user program > for authentication? Any clue will be greatly appreciated. > > > ************** > Henry Su * > NTT MCL * > ************** > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sun Dec 30 12:39:57 2001 Delivered-To: freebsd-net@freebsd.org Received: from ns1.nttmcl.com (ns1.nttmcl.com [216.69.68.197]) by hub.freebsd.org (Postfix) with ESMTP id A4E3E37B416 for ; Sun, 30 Dec 2001 12:39:52 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by ns1.nttmcl.com (Postfix) with ESMTP id 58B81DE541; Sun, 30 Dec 2001 12:39:52 -0800 (PST) Date: Sun, 30 Dec 2001 12:39:52 -0800 (PST) From: Henry Su To: Julian Elischer Cc: freebsd-net@FreeBSD.ORG Subject: Re: provide packet header details to a user program for authentication In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Julian: Do you know this code in ip_fw.c? #define BRIDGED (cookie == &bridgeCookie) hlen = ip->ip_hl << 2; Is this cause bridging fwd or divert problem? If so, how can we change it for bridging ipfw fwd or divert? Thanks. ************** Henry Su * NTT MCL * ************** On Sun, 30 Dec 2001, Julian Elischer wrote: > > > but of course divert doesn't work with bridging (which you are doing) > > > On Sun, 30 Dec 2001, Henry Su wrote: > > > > > Is it possible to use ipfw provide packet header details to a user program > > for authentication? Any clue will be greatly appreciated. > > > > > > ************** > > Henry Su * > > NTT MCL * > > ************** > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-net" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Dec 31 8:20: 9 2001 Delivered-To: freebsd-net@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 2DB6537B430 for ; Mon, 31 Dec 2001 08:20:07 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id RAA27353; Mon, 31 Dec 2001 17:20:03 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id fBVFqjd73925; Mon, 31 Dec 2001 16:52:45 +0100 (MET) (envelope-from j) Date: Mon, 31 Dec 2001 16:52:45 +0100 From: Joerg Wunsch To: Roman Kurakin Cc: freebsd-net@FreeBSD.org Subject: Re: kern/11238, kern/14848, kern/21771, sppp patch's patch_id #1 Message-ID: <20011231165245.B73897@uriah.heep.sax.de> Reply-To: Joerg Wunsch References: <000901c1134b$827a69a0$48b5ce90@crox> <3BDABF7B.4060808@cronyx.ru> <3BE24EE4.2020506@cronyx.ru> <20011102192916.A43204@uriah.heep.sax.de> <3BE3ED17.3060603@cronyx.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BE3ED17.3060603@cronyx.ru>; from rik@cronyx.ru on Sat, Nov 03, 2001 at 04:11:51PM +0300 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org As Roman Kurakin wrote: > >> This letter was sent last Saturday. When should I expect any > >> reaction? > >> > > > >You've already got one from me. > > > I thought someone else maintains this part of kernel. Was I wrong? Btw., i just finished all the work that was in my pipe regarding the sppp merge from the i4b code. Please have a look at it. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message