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).


Attachment: 0001-ipfw-support-MacOS-BSD-for-userlevel-FromDevice-e.patch
Description: Binary data

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to