Date: Fri, 24 Jun 2011 16:49:09 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: freebsd-java@freebsd.org, "Achilleas Mantzios" <achill@matrix.gatewaynet.com> Subject: Re: How to socket accept filters? Message-ID: <op.vxk4r7yh8527sy@212-182-167-131.ip.telfort.nl> In-Reply-To: <201106241650.09920.achill@matrix.gatewaynet.com> References: <BANLkTi=h2nEhyd-AZV2tLYBoaNW=6mM6Dw@mail.gmail.com> <201106241650.09920.achill@matrix.gatewaynet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Jun 2011 15:50:09 +0200, Achilleas Mantzios =20 <achill@matrix.gatewaynet.com> wrote: > =CE=A3=CF=84=CE=B9=CF=82 Friday 24 June 2011 13:00:24 =CE=BF/=CE=B7 Lui= s Neves =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: >> Hello, >> >> Is there any way to enable accept filters for a socket in Java/FreeBSD= ? >> I'm particularly interested in enabling the http accept filter. >> > > You can do it in OS level maybe. ipfw, pf etc... > I used to run ipfw, but now i switched to pf, it seems more powerful. He means accf_http(9) I presume. That is something else than firewall =20 filtering. >> Any pointers? >> Thanks. I have never seen it in use and google is also silent about it. You could= =20 create a patch for openjdk or use some native code in java. Out of curiosity: What are you doing that optimizing accept() is worth th= e =20 effort? Ronald.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.vxk4r7yh8527sy>