
deri at ntop
Jul 11, 2012, 8:00 AM
Post #2 of 2
(222 views)
Permalink
|
Committed, thanks Luca On Jul 11, 2012, at 4:44 PM, Chris Wakelin wrote: > I've just made a little patch to enable the PF_RING_DNA_SYMMETRIC_RSS > flag if the environment variable PCAP_PF_RING_DNA_RSS exists: > > --- userland/libpcap-1.1.1-ring/pcap-linux.c.orig 2012-06-05 > 08:32:28.000000000 +0100 > +++ userland/libpcap-1.1.1-ring/pcap-linux.c 2012-07-11 > 15:27:10.434677526 +0100 > @@ -1167,6 +1167,7 @@ > int flags = 0; > > if(handle->opt.promisc) flags |= PF_RING_PROMISC; > + if(getenv("PCAP_PF_RING_DNA_RSS")) flags |= > PF_RING_DNA_SYMMETRIC_RSS; > > handle->ring = pfring_open((char*)device, handle->snapshot, > flags); > > Then checked with PF_RING-enabled tcpdump > > PCAP_PF_RING_DNA_RSS=yes tcpdump -n -i dna0@3 > > and now the flows are nicely symmetric :) > > Best Wishes, > Chris > > -- > --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- > Christopher Wakelin, c.d.wakelin [at] reading > IT Services Centre, The University of Reading, Tel: +44 (0)118 378 2908 > Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094 > > _______________________________________________ > 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
|