Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2006 03:30:12 +0700
From:      "Vadim Goncharov" <vadim_nuclight@mail.ru>
To:        "Ulrich Spoerlein" <uspoerlein@gmail.com>
Cc:        freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: [PATCH] ng_tag - new netgraph node, please test (L7 filtering possibility)
Message-ID:  <opta1u8mlr17d6mn@nuclight.avtf.net>
In-Reply-To: <20060612185751.GB1226@roadrunner.aventurien.local>
References:  <optax2g7jq4fjv08@nuclight.avtf.net> <70e8236f0606110836j38f7ca33wa3058eaecf386fb5@mail.gmail.com> <optazz26kn17d6mn@nuclight.avtf.net> <d3ea75b30606111534q337aa27aj87baa1f20550ac1c@mail.gmail.com> <opta09vodb17d6mn@nuclight.avtf.net> <20060612185751.GB1226@roadrunner.aventurien.local>

next in thread | previous in thread | raw e-mail | index | archive | help
13.06.06 @ 01:57 Ulrich Spoerlein wrote:

> Vadim Goncharov wrote:
>> I hope that my explanation was helpful enough to understand :) Also, if  
>> you will be using
>> 7.0, include BPF_JITTER in your kernel config as this will enable  
>> native code-compiling for
>> bpf and ng_bpf - this will speed things up.
>
> Am I the only one, that thinks BPF_JITTER is a stupid name? It suggest
> you add or enable jitter for the packet flow. No one wants jitter! It
> sucks. Why isn't it called simply BPF_JIT? Everyone knows what JIT
> stands for, JITTER on the other hand is to be avoided.

I also think so, but that is not in my competence. But I, after two days  
of discussion, I must say another thing:

   WHERE ARE TESTERS ?!

You all are wanting this node to be included into FreeBSD src tree, so  
that it will be available in standard distribution. But before this code  
should be tested and bugs fixed, if any. And I don't yet see any success  
stories / bug reports !

>> P.S. Here is quick-and-dirty primer how to convert ipp2p functions to  
>> ng_bpf(4) input expression for tcpdump(1).

[...]

>> "get_u32 == __constant_htonl()" means comparing 4-byte values at given  
>> offset.
>
> Great stuff, this should make it somewhere into /usr/share/examples!

Good idea, but still to be worked for more P2P types examples, and BPF  
assembly language explanation, as I suspect some things can't be done but  
tcpdump expressions, though still possible on ng_bpf. Unfortunatelly I do  
not have much time for this.

-- 
WBR, Vadim Goncharov



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