Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Newbie PF_RING
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ss  
View profile  
 More options Nov 10 2011, 3:39 am
From: ss <shaisoftwa...@gmail.com>
Date: Thu, 10 Nov 2011 00:39:08 -0800 (PST)
Local: Thurs, Nov 10 2011 3:39 am
Subject: Newbie PF_RING
Dear All,
            I would like to build my own basic application based on
PR_RING. What the libraries I must include for it to work successfully?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
livio Ricciulli  
View profile  
 More options Nov 10 2011, 12:56 pm
From: livio Ricciulli <li...@metaflows.com>
Date: Thu, 10 Nov 2011 09:56:16 -0800
Local: Thurs, Nov 10 2011 12:56 pm
Subject: Re: [Snort-Users] Newbie PF_RING
On 11/10/2011 12:39 AM, ss wrote:
> Dear All,
>              I would like to build my own basic application based on
> PR_RING. What the libraries I must include for it to work successfully?

See
http://www.snort.org/assets/186/PF_RING_Snort_Inline_Instructions.pdf
or you can go to
http://www.metaflows.com/technology/pf-ring/ to download a set of libraries
that will work on CentOS 6

PF_RING is changing quickly so be careful combining different versions
of different components..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ss ss  
View profile  
 More options Nov 10 2011, 11:56 pm
From: ss ss <shaisoftwa...@gmail.com>
Date: Fri, 11 Nov 2011 12:56:53 +0800
Local: Thurs, Nov 10 2011 11:56 pm
Subject: Re: [Snort-Users] Newbie PF_RING

Dear Livio,
               My installation of pr_ring looks ok to my as I can run the
pfcount example. The problem now I copied the pcount and rename it as pf1.c
Then I tried to compile I got whole lots of errors as below. Do you think I
should just copy the pfring.h into usr/local/include or do it via some
proper manner? Thank you.
[root@localhost examples]# gcc -o pf1 pf1.c
In file included from pf1.c:47:
/usr/local/include/pfring.h:59:27: error: linux/pf_ring.h: No such file or
directory
In file included from pf1.c:47:
/usr/local/include/pfring.h:132: error: expected specifier-qualifier-list
before ‘packet_direction’
/usr/local/include/pfring.h:231: error: ‘MAX_NUM_RX_CHANNELS’ undeclared
here (not in a function)
/usr/local/include/pfring.h:248: error: expected declaration specifiers or
‘...’ before ‘hw_filtering_rule’
/usr/local/include/pfring.h:258: error: expected declaration specifiers or
‘...’ before ‘packet_direction’
/usr/local/include/pfring.h:259: error: expected declaration specifiers or
‘...’ before ‘cluster_type’
/usr/local/include/pfring.h:269: error: expected declaration specifiers or
‘...’ before ‘hash_filtering_rule’
/usr/local/include/pfring.h:272: error: expected declaration specifiers or
‘...’ before ‘hash_filtering_rule’
/usr/local/include/pfring.h:275: error: expected declaration specifiers or
‘...’ before ‘filtering_rule’
/usr/local/include/pfring.h:287: error: expected declaration specifiers or
‘...’ before ‘virtual_filtering_device_info’
pf1.c: In function ‘add_rule’:
pf1.c:158: error: ‘hash_filtering_rule’ undeclared (first use in this
function)
pf1.c:158: error: (Each undeclared identifier is reported only once
pf1.c:158: error: for each function it appears in.)
pf1.c:158: error: expected ‘;’ before ‘rule’
pf1.c:160: error: ‘rule’ undeclared (first use in this function)
pf1.c:162: error: ‘dont_forward_packet_and_stop_rule_evaluation’ undeclared
(first use in this function)
pf1.c:166: error: too many arguments to function
‘pfring_handle_hash_filtering_rule’
pf1.c:173: error: too many arguments to function
‘pfring_handle_hash_filtering_rule’
pf1.c: At top level:
pf1.c:329: warning: ‘struct pfring_pkthdr’ declared inside parameter list
pf1.c: In function ‘dummyProcesssPacket’:
pf1.c:341: error: dereferencing pointer to incomplete type
pf1.c:342: error: dereferencing pointer to incomplete type
pf1.c:342: error: invalid application of ‘sizeof’ to incomplete type
‘struct pkt_parsing_info’
pf1.c:343: warning: passing argument 2 of ‘pfring_parse_pkt’ from
incompatible pointer type
/usr/local/include/pfring.h:306: note: expected ‘struct pfring_pkthdr *’
but argument is of type ‘struct pfring_pkthdr *’
pf1.c:346: error: dereferencing pointer to incomplete type
pf1.c:347: error: dereferencing pointer to incomplete type
pf1.c:348: error: dereferencing pointer to incomplete type
pf1.c:349: error: dereferencing pointer to incomplete type
pf1.c:351: error: dereferencing pointer to incomplete type
pf1.c:352: error: dereferencing pointer to incomplete type
pf1.c:368: error: dereferencing pointer to incomplete type
pf1.c:370: error: dereferencing pointer to incomplete type
pf1.c:371: error: dereferencing pointer to incomplete type
pf1.c:373: error: dereferencing pointer to incomplete type
pf1.c:374: error: dereferencing pointer to incomplete type
pf1.c:374: error: dereferencing pointer to incomplete type
pf1.c:375: error: dereferencing pointer to incomplete type
pf1.c:376: error: dereferencing pointer to incomplete type
pf1.c:377: error: dereferencing pointer to incomplete type
pf1.c:377: error: dereferencing pointer to incomplete type
pf1.c:378: error: dereferencing pointer to incomplete type
pf1.c:381: error: dereferencing pointer to incomplete type
pf1.c:382: error: dereferencing pointer to incomplete type
pf1.c:385: error: dereferencing pointer to incomplete type
pf1.c:389: error: dereferencing pointer to incomplete type
pf1.c:390: error: dereferencing pointer to incomplete type
pf1.c:403: error: dereferencing pointer to incomplete type
pf1.c:405: error: dereferencing pointer to incomplete type
pf1.c:406: error: dereferencing pointer to incomplete type
pf1.c:410: error: dereferencing pointer to incomplete type
pf1.c:411: error: dereferencing pointer to incomplete type
pf1.c:411: error: dereferencing pointer to incomplete type
pf1.c:412: error: dereferencing pointer to incomplete type
pf1.c:412: error: dereferencing pointer to incomplete type
pf1.c:412: error: dereferencing pointer to incomplete type
pf1.c:413: error: dereferencing pointer to incomplete type
pf1.c:414: error: dereferencing pointer to incomplete type
pf1.c:415: error: dereferencing pointer to incomplete type
pf1.c:416: error: dereferencing pointer to incomplete type
pf1.c:426: error: dereferencing pointer to incomplete type
pf1.c:426: error: dereferencing pointer to incomplete type
pf1.c:426: error: dereferencing pointer to incomplete type
pf1.c:427: error: dereferencing pointer to incomplete type
pf1.c:428: error: dereferencing pointer to incomplete type
pf1.c:429: error: dereferencing pointer to incomplete type
pf1.c:430: error: dereferencing pointer to incomplete type
pf1.c:434: error: dereferencing pointer to incomplete type
pf1.c: In function ‘packet_consumer_thread’:
pf1.c:514: error: storage size of ‘hdr’ isn’t known
pf1.c: In function ‘main’:
pf1.c:574: error: ‘packet_direction’ undeclared (first use in this function)
pf1.c:574: error: expected ‘;’ before ‘direction’
pf1.c:628: error: ‘rx_and_tx_direction’ undeclared (first use in this
function)
pf1.c:629: error: ‘rx_only_direction’ undeclared (first use in this
function)
pf1.c:630: error: ‘tx_only_direction’ undeclared (first use in this
function)
pf1.c:631: error: ‘direction’ undeclared (first use in this function)
pf1.c:718: error: ‘cluster_round_robin’ undeclared (first use in this
function)
pf1.c:718: error: too many arguments to function ‘pfring_set_cluster’
pf1.c:722: error: too many arguments to function ‘pfring_set_direction’
pf1.c:799: error: ‘filtering_rule’ undeclared (first use in this function)
pf1.c:799: error: expected ‘;’ before ‘rule’
pf1.c:802: error: ‘rule’ undeclared (first use in this function)
pf1.c:805: error: ‘dont_forward_packet_and_stop_rule_evaluation’ undeclared
(first use in this function)
pf1.c:808: error: too many arguments to function ‘pfring_add_filtering_rule’
pf1.c:821: error: too many arguments to function ‘pfring_add_filtering_rule’
pf1.c:834: error: too many arguments to function ‘pfring_add_filtering_rule’
pf1.c:865: error: expected ‘;’ before ‘rule’
pf1.c:872: error: ‘forward_packet_and_stop_rule_evaluation’ undeclared
(first use in this function)
pf1.c:877: error: too many arguments to function ‘pfring_add_filtering_rule’
pf1.c:897: warning: passing argument 2 of ‘pfring_loop’ from incompatible
pointer type
/usr/local/include/pfring.h:235: note: expected ‘pfringProcesssPacket’ but
argument is of type ‘void (*)(const struct pfring_pkthdr *, const u_char *,
const u_char *)’

On Fri, Nov 11, 2011 at 1:56 AM, livio Ricciulli <li...@metaflows.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
vip2442  
View profile  
 More options Nov 11 2011, 3:40 am
From: vip2442 <vip2...@gmail.com>
Date: Fri, 11 Nov 2011 00:40:04 -0800 (PST)
Local: Fri, Nov 11 2011 3:40 am
Subject: Re: Newbie PF_RING
I'm looking for guide to install snort + PF_RING

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joel Esler  
View profile  
 More options Nov 11 2011, 10:24 am
From: Joel Esler <joel.es...@me.com>
Date: Fri, 11 Nov 2011 10:24:27 -0500
Local: Fri, Nov 11 2011 10:24 am
Subject: Re: [Snort-Users] Newbie PF_RING
http://www.snort.org/assets/186/PF_RING_Snort_Inline_Instructions.pdf

On Nov 11, 2011, at 3:40 AM, vip2442 wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »