libipq
I'm trying to use the libipq fucntions such as ipq_create_handle in C, but I keep getting the error
too many arguments to function `ipq_create_handle'
I tried downloading the latest libnetfilter_queue files by wget-ing it, and I can see after "./configure"ing, "make"ing and "make install"ing it that there is a new libipq.h file with 2 arguments for the function "ipq_create_handle", but I'm not sure how to successfully get those into my include files. I tried "cp"ing it, but that ended up with more errors after I compiled.
Luckily I kept a backup of the old libipq.h file and put it back... It was a stupid idea, I know. but what am I supposed to do to use the updated functions.
Your help is grately apreeshiated.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Le Tue, 14 Aug 2007 21:33:12 +0400,
Micheal Scofield <[email protected]> a écrit :
Quoted 1 line
I'm trying to use the libipq fucntions
Don't use libipq, it's fully deprecated.
Quoted 4 lines
such as
ipq_create_handlein C,
but I keep getting the errorYour help is grately apreeshiated.
If you need to port some code to libnetfilter_queue, please have a look to snort-inline or nufw which can use both systems.
snort-inline: http://snort-inline.sourceforge.net/
nufw: http://www.nufw.org
BR,
- --
Eric Leblond <[email protected]>
NuFW, Now User Filtering Works : http://www.nufw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGwgpsnxA7CdMWjzIRAoRTAJ4wIHHPfxuQjuILw7pEvDItSj8l6QCfZIwO dIyAAT+rh6Oz3NL+K8SnRmI=
=7yMD
-----END PGP SIGNATURE-----