c - libipq not supported in Ubuntu 12.04 -


i have requirement of altering packets part of university's research project , came across 2 libraries. libnetfilter_queue , libipq deprecated version. libnetfilter_queue documentation next 0 on packet alteration , documentation came across done via libipq.

thus, when run code error passer: unable create netlink socket: protocol not supported found out due fact libipq not supported in new linux kernels.

my query is, there work around make libipq work ubuntu 12.04 lts or reference documentation or tutorials implement packet alteration via libnetfilter_queue.

i @ days , not find solution. appreciated. :)

thank :)

p.s: question posted on here ( https://askubuntu.com/questions/430234/libipq-not-supported-in-ubuntu-12-04-lts )

once ip_queue module gone, can't use libipq, leverages module directly; no, there's no workaround unless install older kernel still has ip_queue module.

that said, you've mentioned absolutely nothing you've tried. if start basic libnetfilter_queue example, when you're setting verdict, should using nfq_set_verdict, passing in data_len , buf parameters containing swizzled packet data.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

angularjs - ng-repeat duplicating items after page reload -