Ejemplo n.º 1
0
static unsigned int
delude_tg(struct sk_buff **pskb, const struct xt_action_param *par)
{
	/* WARNING: This code causes reentry within iptables.
	   This means that the iptables jump stack is now crap.  We
	   must return an absolute verdict. --RR */
	delude_send_reset(*pskb, par->hooknum);
	return NF_DROP;
}
Ejemplo n.º 2
0
static unsigned int
delude_tg(struct sk_buff *skb, const struct xt_action_param *par)
{
	/*
	 * Sending the reset causes reentrancy within iptables - and should not pose
	 * a problem, as that is supported since Linux 2.6.35. But since we do not
	 * actually want to have a connection open, we are still going to drop it.
	 */
	delude_send_reset(skb, par->hooknum);
	return NF_DROP;
}