Re: [PATCH lnf-queue] src: PF_BIND/UNBIND is ignored in 3.8 and later

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> > -	nlh = nfq_hdr_put(buf, NFQNL_MSG_CONFIG, 0);
> > -	nfq_nlmsg_cfg_put_cmd(nlh, AF_INET, NFQNL_CFG_CMD_PF_UNBIND);
> > -
> > -	if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) {
> > -		perror("mnl_socket_send");
> > -		exit(EXIT_FAILURE);
> > -	}
> > -
> > +	/* PF_BIND is not needed with kernels 3.8 and later */
> 
> My only concern is that people using old kernels won't manage to run
> this example, I think there are quite a lot of people running < 3.8,
> so we may hit confusion from the other side.

I pushed the patch without the UNBIND removal.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux