[Click] Patch for Mac users

Eddie Kohler kohler at cs.ucla.edu
Wed Feb 24 15:44:23 EST 2010


Hi Alexander,

Going through very old mail ... Thanks for this bug report.  I think we've 
since fixed the bug, which was in Click's generic poll() handling.  If you 
know there are still problems, and don't hate us for the delay, just send a note.

Eddie


Alexander Afanasyev wrote:
> The patch I'm attaching change hard-coded iptables usage in user-mode 
> with "SNIFFER false". Now it can also disable incoming packets with 
> ipfw. Also patch disables non-blocking mode using pcap in FromDevice.
> 
> I'm experiencing some strange behavior of the click in user-mode under 
> Mac OS X 10.5.5.
> First thing is that running click with unpatched FromDevice module cause 
> high processor (kernel) load.
> Second thing is that if I try to use ControlSocket element, then it will 
> work only if no FromDevice element is present in configuration. I have 
> only found that it is somehow depends on the call to  add_select() from  
> (line 199 in controlsocket.cc and line 270 in fromdevice.cc). If I 
> comment this call in fromdevice.cc, ControlSocket starts working (but of 
> course FromDevice failed).
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list