From owner-freebsd-net@FreeBSD.ORG Tue Feb 8 16:32:15 2011 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 248801065693 for ; Tue, 8 Feb 2011 16:32:15 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A96068FC13 for ; Tue, 8 Feb 2011 16:32:14 +0000 (UTC) Received: by wyf19 with SMTP id 19so6061777wyf.13 for ; Tue, 08 Feb 2011 08:32:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:reply-to:from:to:references:in-reply-to:subject :date:message-id:mime-version:content-type:content-transfer-encoding :x-mailer:content-language:thread-index; bh=thau5mFw+HBqdjl48YnrARURguSyRoPR7YIO6Qre5zE=; b=f7TUbEP1Qis+qB1mJBAAiLUlImbCdma4rmLMbk8H2ync1lYxWNtrm0NNs6IukpB51y YZbLwWKufToCzm1kCgP8xnyZZLsNSS2MTq5gyvGfCjQ+rC3Q6eDpO1Zowo49keM5UBjJ Y5nnZylb7vAkAFJl35Kd8cOufPnOZ2jmvHfxc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=reply-to:from:to:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :content-language:thread-index; b=qmXVVsVlGuiIAZxtqkWTILEhXz3CGzLKaboPxr3105ab2o9G7Aw1ZPw70VScmzGZzq 4jcrUzL6XuVyrQfnb7L1oOzI+EGg/GJs02ADk0VMNCqMg8nEcBDS3FTpQYaIdu3f9rQi yWErIAQbEKdCkYlQQvGOwQuahMnr0lq3ZkXeg= Received: by 10.227.132.69 with SMTP id a5mr17598606wbt.123.1297181291778; Tue, 08 Feb 2011 08:08:11 -0800 (PST) Received: from rimwks1x64 ([95.189.10.18]) by mx.google.com with ESMTPS id u9sm4541162wbg.18.2011.02.08.08.08.07 (version=SSLv3 cipher=RC4-MD5); Tue, 08 Feb 2011 08:08:10 -0800 (PST) From: rozhuk.im@gmail.com To: References: <4D4DCD1E.1050906@freebsd.org> <4D4DFC95.9010804@freebsd.org> <4D501198.6090901@FreeBSD.org> In-Reply-To: <4D501198.6090901@FreeBSD.org> Date: Wed, 9 Feb 2011 00:08:04 +0800 Message-ID: <4d516a6a.8937e30a.0996.2f26@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: ru Thread-Index: AcvG3OIukmf5op/ZQeWGpavfEOZxMAAzAq9w Subject: RE: divert rewrite X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rozhuk.IM@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 16:32:15 -0000 > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- > net@freebsd.org] On Behalf Of Sergey Matveychuk > Sent: Monday, February 07, 2011 11:37 PM > To: Julian Elischer > Cc: Ivo Vachkov; FreeBSD Net > Subject: Re: divert rewrite > > 06.02.2011 4:42, Julian Elischer wrote: > > On 2/5/11 4:09 PM, Ivo Vachkov wrote: > >> Hello, > >> > >> How can I help? > > > > if you have ipv6 connectivity and experience, I have no experience or > > connectivity, with it so > > I'll be coding blind and will need a tester. > > If you have an application for IPV6 testing that would be even > better. > > Divert is often used for NAT but that doesn't seem very useful for > IPv6 and > > natd doesn't support it anyhow. > > Object :) > Divert is really useful way to get packets from firewall to userspace, > analyse or process them some way and put them back. Really I see no > other way for this for IPv6. I've tried ng_socket+ng_nat but there is > no > easy way to put a packet back in firewall. > > I'm very interested in the process. And I'm ready to help in testing. Did you try ng_ether + ng_ksocket? It can translate Ethernet frames incapsulated to udp to user space receiver.