[Click] Suggestion?

Eddie Kohler kohler at cs.ucla.edu
Tue Jul 24 16:19:02 EDT 2007


- 2 outputs, push processing
- Configuration argument is a string
- For each packet that arrives on the input:
   - If the packet contains the string, push the packet to output 0
   - Otherwise, push the packet to output 1

Eddie


JS wrote:
> Hi Eddie,
> can you tell me a little more about it?
> 
> 2007/7/24, Eddie Kohler <kohler at cs.ucla.edu <mailto:kohler at cs.ucla.edu>>:
> 
>     Here's a simple element that often works for a project: A variant of
>     Classifier that searches packets for a substring.  (Sort of like a mini
>     intrusion detector.)
> 
>     Eddie
> 
> 
>     Beyers Cronje wrote:
>      > JS,
>      >
>      > What area of research is your university interested in, i.e. routing,
>      > wireless, packet analysis etc? There are already a lot of basic
>     elements
>      > included in the distribution.
>      >
>      > Some examples of simple elements (maybe not very useful but will
>     give you an
>      > idea on how to write new elements):
>      >
>      > - Record total number of TCP connection requests (SYN packets)
>      > - Improve the Counter element to report bandwidth utilization in
>     addition to
>      > pps (Or a pure bandwidth element)
>      > - Record average packet size'
>      > etc.
>      >
>      > The beauty of Click is that it's really up to your imagination on
>     what you
>      > can do.
>      >
>      > Beyers
>      >
>      > On 7/24/07, JS < njeanseb at gmail.com <mailto:njeanseb at gmail.com>>
>     wrote:
>      >> Hi everyone,
>      >>
>      >> I am supposed to do an evaluation of click for my university.
>     This implies
>      >> trying to see if it is easy to used, easy to implement new
>     elements... So
>      >> I
>      >> have started to check the code of a few elements to see if it was
>      >> understandable, and now I am looking for a new element to do.
>      >> And so I was wandering if anyone had any idea about a simple
>     element that
>      >> is
>      >> not yet implemented so that I could see how difficult/easy it is to
>      >> implement a new element in click.
>      >> _______________________________________________
>      >> click mailing list
>      >> click at amsterdam.lcs.mit.edu <mailto:click at amsterdam.lcs.mit.edu>
>      >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>      >>
>      > _______________________________________________
>      > click mailing list
>      > click at amsterdam.lcs.mit.edu <mailto:click at amsterdam.lcs.mit.edu>
>      > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 
> 


More information about the click mailing list