From owner-freebsd-net@FreeBSD.ORG Tue Dec 30 17:49:59 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0FA51065670 for ; Tue, 30 Dec 2008 17:49:59 +0000 (UTC) (envelope-from fernercc@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 593098FC21 for ; Tue, 30 Dec 2008 17:49:59 +0000 (UTC) (envelope-from fernercc@gmail.com) Received: by an-out-0708.google.com with SMTP id c2so1950443anc.13 for ; Tue, 30 Dec 2008 09:49:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=rxu5kaJ4/q5D85xOQGPON4yGO50Yl5UaoQiOdlfy0CY=; b=RS1OlhnBMsJLDHL4yMSOqmKP8Bkepbo1eOy3yaVKt5HlkpUbdz9fMgQWVmyIsBY84P IkacSVsiaKY68IQV7tjqFn4xNROcH2jbccup/nUZXUKFTupgDmwR1ivAvDb89Jq9Yk4R KAzL9fJ4Db9dvdycQHDVqXI61uQWsBBxRl/xc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=hwYYXJasNpKTkuwBzmEJWw9IFcwzpzXcHQoN1+FgD5GPwrTvq93aJEUxv/wk7bz1F3 cWRs9E5I6EnpUl9Z5lq8WgWu64y3VLkBVZspeO8WFF+jj3gb4dW0h/g57bAQA/Ffe/Ji /vomSIaqQhXGrzHeyh7/X51SklXfE8bLFhRb4= Received: by 10.100.128.2 with SMTP id a2mr8465460and.93.1230659398607; Tue, 30 Dec 2008 09:49:58 -0800 (PST) Received: from ?192.168.2.2? (cpe-70-112-179-136.austin.res.rr.com [70.112.179.136]) by mx.google.com with ESMTPS id d24sm21839334and.44.2008.12.30.09.49.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 09:49:57 -0800 (PST) From: Ferner Cilloniz To: freebsd-net@freebsd.org Content-Type: text/plain Date: Tue, 30 Dec 2008 11:49:55 +0000 Message-Id: <1230637795.4966.20.camel@mobiliare.Belkin> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 7bit Subject: kernel network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2008 17:49:59 -0000 Guys, I do not think I could ever be more tired of this topic but I cannot seem to understand what to do. I have tried more about a month now to send arbitrary UDP packets from a kernel module but cannot achieve it. I have looked at udp_send but found that building a socket* was much to tedious. Later i looked at in-kernel webservers (http://openketa.sourceforge.net/) but could not find anything useful. Netgraph is a possibility, but there isn't any documentation on accessing the network from kernel space. What do you all suggest?