From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 6 19:37:46 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24AC716A41F for ; Sat, 6 Aug 2005 19:37:46 +0000 (GMT) (envelope-from silby@silby.com) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 924FE43D46 for ; Sat, 6 Aug 2005 19:37:45 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 80273 invoked from network); 6 Aug 2005 19:37:44 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 6 Aug 2005 19:37:44 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sat, 6 Aug 2005 14:37:42 -0500 (CDT) From: Mike Silbersack To: Minh Tran In-Reply-To: Message-ID: <20050806143524.S835@odysseus.silby.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: Kernel code of reseting/ignoring tcp SYN packets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 19:37:46 -0000 On Sat, 6 Aug 2005, Minh Tran wrote: > Would anyone have some hints on the clean way of injecting some code to deal with SYN packets > or could you give me some ideas on which files i should look at? I really appreciate that. > I saw some promising files in src/sys/netinet but they are not all clear in my mind. > > Thanks heaps! I don't have any idea what you are asking, so I can't answer your question. Before proceeding, it would probably be worth your while to find a copy of Stevens's TCP/IP Illustrated Volume 2 and at least skim it so that you have a better idea of how the connection establishment process works. The book describes an earlier version of the BSD TCP/IP stack, but much still applies. Mike "Silby" Silbersack