nfq_unbind_pf behaviour change

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

 



Hi, i developed an app that uses libnetfilter_queue and i noticed that
the behaviour of the nfq_unbind_pf function (from netfilter_queue) has
changed:

- up to kernel version 2.6.22.9 if you call it when there was no
previous nfq_bind_pf the return value was not < 0

- with kernel 2.6.23 and same setup the return value is < 0

Was this change intentional? Because of that change your nfqnl_test
app doesn't work anymore too, exiting with the message "NFNETLINK
answers: Invalid argument" (as Jorch reported in another email).

The fix i'm thinking to use is described here (see my comment at
2007-Oct-11 23:50):
http://developer.berlios.de/bugs/?func=detailbug&bug_id=12156&group_id=2509

is that the right way for an app to bind/unbind?

Thanks,

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

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux