Hi, On 7/11/07, Rajendra Stalekar <rajendra.stalekar@xxxxxxxxx> wrote:
Hi, I have written a function to install a Netfilter hook function which will drop all incoming packets to a particular TCP port. How should I check whether the packets are getting dropped. Does it get logged somewhere? How should I test whether it really gets dropped.
If you have written any message in your netfilter module like "package Dropped" check dmesg output. Or use ping command to check whether you are getting ping replies back or not? Or use tcpdump or ethereal packages for watching packets. Regards, Parag. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ