[Click] Click newbie question - ping program
Eddie Kohler
kohler at cs.ucla.edu
Tue Aug 28 15:43:07 EDT 2007
Hi David,
Running real pings, i.e., ICMP echo messages, is not trivial at user
level. This is because you need to install firewall rules that prevent
the kernel from processing the pings as well.
I've just added a KernelFilter element, and a SNIFFER false optional
argument to FromDevice, that will handle this for you on Linux
automatically. See conf/test-ping-userlevel.click in the current git
repository.
Eddie
Li, W David wrote:
> Hello,
>
>
>
> Is there any example code that sends continuous ping messages from one
> click router to another on a different machine? I am looking for user
> level code.
>
> Thanks.
>
>
>
>
>
> -David
>
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list