From owner-svn-src-head@FreeBSD.ORG Sat Jan 10 18:51:09 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B9A01065674; Sat, 10 Jan 2009 18:51:09 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id D19BF8FC19; Sat, 10 Jan 2009 18:51:08 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so4158724yxb.13 for ; Sat, 10 Jan 2009 10:51:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=e2yHQ7zaohB8oOHZUhQExktsITTV6eK6PmANAjTOltk=; b=HFvj3vF8GBzkZLzlQ4r9C3edE5sCvd359Gx7AaolvaBOPcN0X3768f3T9rEypZAsk2 yqCSjhhJ8KkJNGc3C5UTwKO18BdYjcA7HyfD4gCiGqYiaWEaRQ0HaQ8EryLowYEPGdqA pxT8j5SZzDnac5oMYmcKVbl9g373wXCbo1J6w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=bZDr7jl5tLhYbbQm3tHpJBJ8qmXllRj8dOme9cQNO7PrFcudYwpLOHOf3V2y6nRUK/ JFcmuHA1wYy8CBJ+fofypwSZsW0JiSvVeFoCHTH8kpn8Mor7HcF/B/3MftgjMj0zYi2h 6Lgx8pv7dKh6SMcZJA/f24BHSbkrDPBjfI5bc= Received: by 10.100.105.9 with SMTP id d9mr14387129anc.142.1231613467867; Sat, 10 Jan 2009 10:51:07 -0800 (PST) Received: from ?10.98.171.71? ([32.157.62.101]) by mx.google.com with ESMTPS id b32sm1542208ana.14.2009.01.10.10.51.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 10 Jan 2009 10:51:06 -0800 (PST) References: <200901091602.n09G2Jj1061164@svn.freebsd.org> <4967A500.30205@fsn.hu> <4967B6D9.90001@elischer.org> <4967C539.2060803@fsn.hu> <49686A30.4000205@fsn.hu> <4968E8B4.9090309@fsn.hu> Message-Id: From: Garrett Cooper To: Attila Nagy In-Reply-To: <4968E8B4.9090309@fsn.hu> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5G77) Mime-Version: 1.0 (iPhone Mail 5G77) Date: Sat, 10 Jan 2009 10:50:57 -0800 Cc: Adrian Chadd , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , Robert Watson , Julian Elischer , "svn-src-head@freebsd.org" Subject: Re: svn commit: r186955 - in head/sys: conf netinet X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2009 18:51:10 -0000 On Jan 10, 2009, at 10:28, Attila Nagy wrote: > Adrian Chadd wrote: >> 2009/1/10 Robert Watson : >> >> >>> I think Julian's analysis, that this is more of an inet option >>> than a >>> socket-layer option, seems more appropriate to me, the benefits of >>> portability in adopting the API used by OpenBSD/BSDI/etc seem more >>> compelling. We should make sure that, if we move to the socket >>> option used >>> on those systems, we block setting it on non-supporting protocols, >>> or >>> confusion will result. In particular, Adrian's change only >>> modified IPv4, >>> not IPv6, so until it's implemented on IPv6 it shouldn't be >>> possible to set >>> the option. >>> >> >> I'm happy to (eventually) also implement the BSDI API once I actually >> spend time looking at what the difference in behaviours are. If we're >> lucky, the only difference is where the socket option hooks in and >> the >> actual network behaviour is the same. >> >> (Meanwhile, I think I have to go off and implement this particular >> behaviour in Squid, and see if the OpenBSD support indeed does >> function as advertised.) >> > BTW, I'm eagerly waiting for somebody to implement this transparency > into nginx, which can act as a reverse proxy with built-in perl > logic. :) > That way FreeBSD could be used as a highly flexible transparent > reverse HTTP proxy. > > Do you know anything else which can do that now with an easy API > (accessible from high level languages like perl or python)? I'm not sure why something like an extension with swig wouldn't be the best avenue to solve the high-level language support problem... -Garrett