From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 12 09:39:27 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81C86106566C for ; Sat, 12 Feb 2011 09:39:27 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0C0FC8FC18 for ; Sat, 12 Feb 2011 09:39:26 +0000 (UTC) Received: by fxm16 with SMTP id 16so3820755fxm.13 for ; Sat, 12 Feb 2011 01:39:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:x-mailer:mime-version:content-type :content-transfer-encoding; bh=P+iKEjFEczCmIP7q8AOnRREHf+BbywkvAciEGR/Ltq0=; b=aQr3ViiGEbTkiPiqp66oU4WvdfF22ebgQZ98+t+hjm9KqLrgqSm9qdJXqiC7il8qO0 S8Cx/Jxg7tLQB+55nLDo9OGoNjf2nj6K0NwxRKmPDDgakxYovb2mwPpvDyYho1ATj9RA ei88uKlVpCzm6UqauWozgs7b+12SKzk6Tpjr8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=ZAa+NY6S7vatMlLZ3tOEw88Ra3MQbeaXNRDPRStQuTchXyuutVevzsSQA2g5VP7Zze MlVHLbu16gO8uz1PbmsXAVqU1PpAnSlhbzoFMZu30WeKEFaTZ04xXvZxv1FDJut7ueWg XriJYOBbQsS4hBNOuyPQZTupAKJWdPMek1vEE= Received: by 10.223.96.206 with SMTP id i14mr1712886fan.67.1297503565702; Sat, 12 Feb 2011 01:39:25 -0800 (PST) Received: from ernst.jennejohn.org (p578E2B35.dip.t-dialin.net [87.142.43.53]) by mx.google.com with ESMTPS id n26sm93314fam.13.2011.02.12.01.39.24 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Feb 2011 01:39:25 -0800 (PST) Date: Sat, 12 Feb 2011 10:39:23 +0100 From: Gary Jennejohn To: Julian Elischer Message-ID: <20110212103923.3098f6b3@ernst.jennejohn.org> In-Reply-To: <4D55E015.3010709@freebsd.org> References: <4D54E39D.1000505@herveybayaustralia.com.au> <4D54F0B0.7010503@freebsd.org> <4D550300.5090000@herveybayaustralia.com.au> <4D5565C7.1010809@freebsd.org> <4D55CE5A.8040902@herveybayaustralia.com.au> <4D55E015.3010709@freebsd.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Da Rock , dudu@dudu.ro Subject: Re: [maybe spam] Re: linux PF_PACKET compatibility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 09:39:27 -0000 On Fri, 11 Feb 2011 17:19:17 -0800 Julian Elischer wrote: > On 2/11/11 4:03 PM, Da Rock wrote: > > Unfortunately this software uses this family instead of pcap or bpf. > > So when built it errors. > > > > I guess if I am to use this app I will have to rewrite the way it > > uses the network stack. > l2tp runs over UDP packets (port 1701 (like the starship enterprise)) > I have no idea why they want raw packets. > Ther's a sendarp() routine which uses PF_PACKET to directly access the network driver and bypass the stack. Lazy Linuxers who have no idea or don't care that other operating systems exist. -- Gary Jennejohn