Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

On Fri, 24 Jun 2011 15:50:09 +0200, Achilleas Mantzios  
<achill@matrix.gatewaynet.com> wrote:

> Στις Friday 24 June 2011 13:00:24 ο/η Luis Neves έγραψε:
>> 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  
filtering.

>> Any pointers?
>> Thanks.

I have never seen it in use and google is also silent about it. You could  
create a patch for openjdk or use some native code in java.
Out of curiosity: What are you doing that optimizing accept() is worth the  
effort?

Ronald.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.vxk4r7yh8527sy>