remi.clavier | 3 May 2010 11:39

Patch for kernel compilation needed?

Have anyone experience hox to use click in kernel mode with the Linux
kernel version 2.6.31.14-generic (ubuntu 9.10?
Is a compilation of the kernel needed?
If yes, witch patch is convenient?
Is a simple compilation of click is suffisant?
Thanks 
Ian Rose | 3 May 2010 20:37
Picon

extending simple_action() to multiple ports

Howdy -

A few months ago there was an email to the list concerning (in part) the 
fact that simple_action always operates on input port 0 (when pulling) 
and output port 0 (when pushing):

http://pdos.csail.mit.edu/pipermail/click/2010-March/008810.html

Eddie pointed out that there were very few existing N-to-N elements 
where packets entering on port i exit only on port i, and since these 
are essentially the only kinds of elements that would benefit from the 
proposed change to simple action, the code would be left as-is.

At the time this logic seemed reasonable to me, but now I am beginning 
to think that maybe simple_action *should* be changed as proposed 
(namely, input and output ports should match).  AND a number of existing 
elements could be changed to N-to-N in order to make use of this.

For example:

all of the Counter elements can be used to count the sum of multiple 
independent packet flows

many of the Timestamp and TCP/IP Measurement elements can be used to 
monitor multiple independent packet flows

many modification elements (e.g. RandomBitErrors, EtherEncap, 
IPsecEncap, Paint, etc.) can be used to modify multiple packet flows - 
although you can of course do this with 1 element per flow, the 
advantage to using a single element is that it can simplify code, 
(Continue reading)

Jesse Brown | 3 May 2010 22:57
Favicon

Re: extending simple_action() to multiple ports

Hi Ian,

I originally came across this issue trying to support something similar 
to your first two examples (uniform behavior over multiple classes of 
traffic). I never considered the impact of having to write handlers (as 
I wasnt using them) or the benefit that other elements might get from a 
similar change - thanks for considering the option further.

To address your example of the Counter element there could be a similar 
AggregateCounter element (or an AGGREGATE argument). Although, the 
impact depends on the number of elements that would need this change and 
I have an admittedly limited view into the most used elements overall.

Jesse

Ian Rose wrote:
> Howdy -
>
> A few months ago there was an email to the list concerning (in part) the 
> fact that simple_action always operates on input port 0 (when pulling) 
> and output port 0 (when pushing):
>
> http://pdos.csail.mit.edu/pipermail/click/2010-March/008810.html
>
> Eddie pointed out that there were very few existing N-to-N elements 
> where packets entering on port i exit only on port i, and since these 
> are essentially the only kinds of elements that would benefit from the 
> proposed change to simple action, the code would be left as-is.
>
> At the time this logic seemed reasonable to me, but now I am beginning 
(Continue reading)

remi.clavier | 5 May 2010 11:06

Re: Patch for kernel compilation needed?


Have anyone experience hox to use click in kernel mode with the Linux
kernel version 2.6.31.14-generic (ubuntu 9.10?
Is a compilation of the kernel needed?
If yes, witch patch is convenient?
Is a simple compilation of click is suffisant?
Thanks 
remi.clavier | 5 May 2010 11:37

Strange Unknow element

I use without proble a router with my own element.
./click myrouter.click works fine.
After a make install, .ko and executable seems to be correctky generated.
But click-instal myrouter.click generate errors saying unknow element class for my own elements.

During the make-install process these elements appears in the linuxmodule directory (.o)

What appends?

Help will be appreciated

Rémi 
remi.clavier | 5 May 2010 12:11

CONT: Strange Unknow element


 Added information
Sources for my own elements have capital letters:
FT_encap_802.1q (.cc,.hh)
FT_MarkIPCE (.cc,.hh)

It's in relation with the problem?

Other information : I use click-1.7

Thanks for help

Remi

-----Message d'origine-----
De : click-bounces <at> pdos.csail.mit.edu [mailto:click-bounces <at> pdos.csail.mit.edu] De la part de remi.clavier <at> orange-ftgroup.com
Envoyé : mercredi 5 mai 2010 11:37
À : click <at> pdos.csail.mit.edu
Objet : [Click] Strange Unknow element

I use without proble a router with my own element.
./click myrouter.click works fine.
After a make install, .ko and executable seems to be correctky generated.
But click-instal myrouter.click generate errors saying unknow element class for my own elements.

During the make-install process these elements appears in the linuxmodule directory (.o)

What appends?

Help will be appreciated
(Continue reading)

林 育全 | 5 May 2010 12:55
Picon
Favicon

about relevance of click and GNU radio‏


Dear R&D team:
I am a graduate sudent form Republic of China, Dong Hwa University.
I need some examples for creating element class to click and this element can use GNU radio to work.
I am poor for operating click.Can send some real cases for it?Then I can follow this to build my own elements.
By the way,whether click has any interface to operate GNU Radio?
If it has,can you send me a list about relevance of click and GNU radio?
thanks a lot
Best Regards
Yu-Chuan  Lin


 
 		 	   		  
_________________________________________________________________
除了電子信箱,還有許多有用的功能。快來使用免費的 Windows Live Hotmail。
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
click mailing list
click <at> amsterdam.lcs.mit.edu
https://amsterdam.lcs.mit.edu/mailman/listinfo/click
remi.clavier | 5 May 2010 13:53

GIT hhtp server


 It's possible to acces to the click's git server using http beacause my
proxy don't allow me to pass thru git protocol.
Thanks
Remi
Eddie Kohler | 5 May 2010 19:21
Favicon

Re: Strange Unknow element

Try

which click-install

so you make sure that you're using the right click-install binary.

Then try

click-install -u myrouter.click

to make sure that you replace any running version of the click module 
with the one you just installed.

Eddie

On 5/5/10 2:37 AM, remi.clavier <at> orange-ftgroup.com wrote:
> I use without proble a router with my own element.
> ./click myrouter.click works fine.
> After a make install, .ko and executable seems to be correctky generated.
> But click-instal myrouter.click generate errors saying unknow element class for my own elements.
>
> During the make-install process these elements appears in the linuxmodule directory (.o)
>
> What appends?
>
>
> Help will be appreciated
>
>
> Rémi
(Continue reading)

Ian Rose | 5 May 2010 20:07
Picon

Queue overflow bug?

Hi -

I think I have found a bug in the Queue element, although this would 
surprise me considering how often this element is used by people...

line 126 of fullnotequeue.hh (in the push_failure method) kills the 
packet regardless instead of calling "checked_output_push(1, p)" like 
the other queue implementations do (e.g. line 165 of simpleeueue.cc).

Am I missing something?
- Ian

Here is a config that demonstrates the problem (sorry about the 
weirdness with the Unqueue elements - I'm not sure if there is a simpler 
way to make this happen):

InfiniteSource(\<0800>, LIMIT 20) -> Unqueue -> q::Queue(10) -> 
Unqueue(ACTIVE false) -> Discard;
q[1] -> Script(TYPE PACKET, print "I see a drop", return 0) -> Discard;

If you run this you should ONLY see "q :: Queue: overflow", but if you 
change q to a SimpleQueue instead, then you should see:

q :: SimpleQueue: overflow
I see a drop
I see a drop
I see a drop
I see a drop
I see a drop
I see a drop
(Continue reading)


Gmane