LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-20-2011, 12:30 AM   #1
rose1366m
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Rep: Reputation: 0
layer 7 filter userspace compile error


i 'm trying to install layer 7 filter in userspace mode but has error ...
$ make
make all-am
make[1]: Entering directory `/root/l7/sources/l7-filter-userspace-0.10'
g++ -DHAVE_CONFIG_H -I. -g -O2 -MT l7-queue.o -MD -MP -MF .deps/l7-queue.Tpo -c -o l7-queue.o l7-queue.cpp
l7-queue.cpp: In function ‘int l7_queue_cb(nfq_q_handle*, nfgenmsg*, nfq_data*, void*)’:
l7-queue.cpp:80: warning: ‘nfq_set_verdict_mark’ is deprecated (declared at /usr/include/libnetfilter_queue/libnetfilter_queue.h:78)
l7-queue.cpp:80: warning: ‘nfq_set_verdict_mark’ is deprecated (declared at /usr/include/libnetfilter_queue/libnetfilter_queue.h:78)
l7-queue.cpp: In member function ‘u_int32_t l7_queue::handle_packet(nfq_data*, nfq_q_handle*)’:
l7-queue.cpp:199: error: invalid conversion from ‘char**’ to ‘unsigned char**’
l7-queue.cpp:199: error: initializing argument 2 of ‘int nfq_get_payload(nfq_data*, unsigned char**)’
l7-queue.cpp:281: warning: ‘nfq_set_verdict_mark’ is deprecated (declared at /usr/include/libnetfilter_queue/libnetfilter_queue.h:78)
l7-queue.cpp:282: warning: ‘nfq_set_verdict_mark’ is deprecated (declared at /usr/include/libnetfilter_queue/libnetfilter_queue.h:78)
make[1]: *** [l7-queue.o] Error 1
make[1]: Leaving directory `/root/l7/sources/l7-filter-userspace-0.10'
make: *** [all] Error 2
 
Old 12-06-2011, 08:05 AM   #2
martin2350
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
hello,have you solved the problem?I'm faced with the same confusion.Thank you!
 
Old 12-07-2011, 01:29 AM   #3
rose1366m
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Original Poster
Rep: Reputation: 0
hi
You can download the l7 rpm from this link
http://l7-filter.clearfoundation.com/downloads/start
 
Old 12-07-2011, 02:39 PM   #4
agentbuzz
Member
 
Registered: Oct 2010
Location: Texas
Distribution: Debian, Ubuntu, CentOS, RHEL
Posts: 131

Rep: Reputation: 25
Layer 7 filter build

It looks like there is a bug in the l7-filter-userspace-0.10 code. It would be easier to install a package, if you can get one. One or more patches exist, and you can try patching if you want.
 
Old 12-08-2011, 05:34 AM   #5
martin2350
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Smile

Actually,there's something wrong with the version of two modules: libnetfilter_queue-0.0.17.tar.bz2,and libnetfilter_conntrack-0.0.99.tar.bz2.
Before that,i thought the newer version would be better.But i was wrong.
 
Old 12-08-2011, 05:35 AM   #6
martin2350
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by rose1366m View Post
hi
You can download the l7 rpm from this link
http://l7-filter.clearfoundation.com/downloads/start
Thank you for your help!
 
Old 12-08-2011, 05:37 AM   #7
martin2350
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by agentbuzz View Post
It looks like there is a bug in the l7-filter-userspace-0.10 code. It would be easier to install a package, if you can get one. One or more patches exist, and you can try patching if you want.
the same, thanks very much!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] the same story, userspace accees error for a memory mapped control register pardis Linux - Embedded & Single-board computer 2 07-21-2010 06:49 AM
Need layer 7 filter rule to block .teamviewer tranceash Linux - Security 2 07-27-2009 02:30 PM
issue with layer 7 filter Net_Spy Linux - Networking 1 04-10-2009 03:40 PM
simple way to make k9copy shrink dual layer to single layer DVD replica9000 Linux - Software 2 12-06-2007 02:41 PM
Application Layer Packet Classifier for Linux (l7-filter) stomach Linux - Software 1 09-10-2005 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration