Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: iptables: User

libipq

 

 

iptables user RSS feed   Index | Next | Previous | View Threaded


dtsmedia at easynet

Aug 14, 2007, 10:33 AM

Post #1 of 2 (752 views)
Permalink
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.


eric at inl

Aug 14, 2007, 1:02 PM

Post #2 of 2 (689 views)
Permalink
Re: libipq [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Le Tue, 14 Aug 2007 21:33:12 +0400,
Micheal Scofield <dtsmedia [at] easynet> a écrit :

> I'm trying to use the libipq fucntions

Don't use libipq, it's fully deprecated.


> such as ipq_create_handle in C,
> but I keep getting the error
>
> Your 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 <eric [at] regit>
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-----

iptables user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.