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

Mailing List Archive: NTop: Misc

snort daq

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


suroot at gmail

Feb 21, 2012, 3:04 PM

Post #1 of 3 (365 views)
Permalink
snort daq

Hey guys,

Just thought you should know that the latest SVN snort daq seems to
have an error when building:

daq_pfring.c: In function 'pfring_daq_open':
daq_pfring.c:99:5: warning: implicit declaration of function
'pfring_set_socket_mode' [-Wimplicit-function-declaration]
daq_pfring.c:99:41: error: 'recv_only_mode' undeclared (first use in
this function)
daq_pfring.c:99:41: note: each undeclared identifier is reported only
once for each function it appears in
daq_pfring.c: In function 'pfring_daq_acquire':
daq_pfring.c:380:11: warning: variable 'rc' set but not used
[-Wunused-but-set-variable]
make: *** [daq_pfring_la-daq_pfring.lo] Error 1

If I change line 99 to this:
pfring_set_socket_mode(ring_handle, rx_only_direction);

it builds, although obviously that isn't the intent of the line.

0100
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


cardigliano at ntop

Feb 21, 2012, 3:10 PM

Post #2 of 3 (349 views)
Permalink
Re: snort daq [In reply to]

0100
please update also the PF_RING kernel module

Alfredo

On Feb 22, 2012, at 12:04 AM, 0100 wrote:

> Hey guys,
>
> Just thought you should know that the latest SVN snort daq seems to
> have an error when building:
>
> daq_pfring.c: In function 'pfring_daq_open':
> daq_pfring.c:99:5: warning: implicit declaration of function
> 'pfring_set_socket_mode' [-Wimplicit-function-declaration]
> daq_pfring.c:99:41: error: 'recv_only_mode' undeclared (first use in
> this function)
> daq_pfring.c:99:41: note: each undeclared identifier is reported only
> once for each function it appears in
> daq_pfring.c: In function 'pfring_daq_acquire':
> daq_pfring.c:380:11: warning: variable 'rc' set but not used
> [-Wunused-but-set-variable]
> make: *** [daq_pfring_la-daq_pfring.lo] Error 1
>
> If I change line 99 to this:
> pfring_set_socket_mode(ring_handle, rx_only_direction);
>
> it builds, although obviously that isn't the intent of the line.
>
> 0100
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


deri at ntop

Mar 9, 2012, 10:39 PM

Post #3 of 3 (314 views)
Permalink
Re: snort daq [In reply to]

Hello
please resync completely from svn. I believe some of your files are out of sync

Luca

On Feb 22, 2012, at 12:04 AM, 0100 wrote:

> Hey guys,
>
> Just thought you should know that the latest SVN snort daq seems to
> have an error when building:
>
> daq_pfring.c: In function 'pfring_daq_open':
> daq_pfring.c:99:5: warning: implicit declaration of function
> 'pfring_set_socket_mode' [-Wimplicit-function-declaration]
> daq_pfring.c:99:41: error: 'recv_only_mode' undeclared (first use in
> this function)
> daq_pfring.c:99:41: note: each undeclared identifier is reported only
> once for each function it appears in
> daq_pfring.c: In function 'pfring_daq_acquire':
> daq_pfring.c:380:11: warning: variable 'rc' set but not used
> [-Wunused-but-set-variable]
> make: *** [daq_pfring_la-daq_pfring.lo] Error 1
>
> If I change line 99 to this:
> pfring_set_socket_mode(ring_handle, rx_only_direction);
>
> it builds, although obviously that isn't the intent of the line.
>
> 0100
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

---
Due to lack of interest, tomorrow is cancelled - Kaiser Chiefs


_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

NTop misc 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.