In the definition of the hook function, the function printk() is called, but nothing matter.... or i can't see where it happens (the "Dropped packet on ...." is showed in the screen..!!!). Please, can anybody tell me what must i do or what is wrong with this? Thanks! unsigned int hook_func(unsigned int hooknum, struct sk_buff **skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) { if (strcmp(in->name, drop_if) == 0) { printk("Dropped packet on %s...\n", drop_if); return NF_DROP; } else { return NF_ACCEPT; } } ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com