Re: [Ntop-misc] Error: Please install libnuma-dev in order to use PF_RING

2015-09-10 Thread Pavel Odintsov
nipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] ntop and protocol identification

2015-07-08 Thread Pavel Odintsov
gt; Cheers Luca > > > > On 08 Jul 2015, at 05:11, Pavel Odintsov > wrote: > > > > Hello, folks! > > > > We have really huge network with ~1Tbps of traffic with sFLOW > > monitoring enabled. > > > > And we want to build traffic statistics from sFLOW

[Ntop-misc] ntop and protocol identification

2015-07-08 Thread Pavel Odintsov
p protocol detection with ntop? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

[Ntop-misc] PF_RING oops kernel inside KVM machine

2015-07-03 Thread Pavel Odintsov
Hello, folks! Sorry for bothering you but this ticket is really important for me: https://github.com/ntop/PF_RING/issues/13 Because I do all development inside KVM machine and could not use PF_RING now :( -- Sincerely yours, Pavel Odintsov ___ Ntop

Re: [Ntop-misc] SPSC library from ZC

2015-06-29 Thread Pavel Odintsov
On 28 Jun 2015, at 19:27, Pavel Odintsov wrote: >> >> Hello, folks! >> >> Do you have open source version of SPSC queue used in binary version >> of PR_RING ZC? Or it part of commercial closed source library too? >> >> -- >> Sincerely yours, Pavel

Re: [Ntop-misc] Could I achieve wire speed for 40GE?

2015-06-29 Thread Pavel Odintsov
gt; to your hardware. > > Alfredo > > > On 28 Jun 2015, at 12:10, Pavel Odintsov > wrote: > > > > Hello, folks! > > > > I looking for solution which could do 40GE on wire speed (56 Mpps). > > Could I achieve it with PF_RING ZC + i40e driver? > &g

[Ntop-misc] SPSC library from ZC

2015-06-29 Thread Pavel Odintsov
Hello, folks! Do you have open source version of SPSC queue used in binary version of PR_RING ZC? Or it part of commercial closed source library too? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http

[Ntop-misc] Could I achieve wire speed for 40GE?

2015-06-29 Thread Pavel Odintsov
Hello, folks! I looking for solution which could do 40GE on wire speed (56 Mpps). Could I achieve it with PF_RING ZC + i40e driver? Btw, could you add prices for 40GE solutions to the http://www.nmon.net/shop/cart.php? -- Sincerely yours, Pavel Odintsov

Re: [Ntop-misc] PF_RING on top of Virtual Function if ixgbe

2015-06-19 Thread Pavel Odintsov
Thanks you for lightning fast answer! :) On Fri, Jun 19, 2015 at 10:34 AM, Alfredo Cardigliano wrote: > Hi Pavel > replied on github (issue #15) > > Alfredo > >> On 19 Jun 2015, at 09:25, Pavel Odintsov wrote: >> >> Hello, folks! >> >> Just poking

[Ntop-misc] PF_RING on top of Virtual Function if ixgbe

2015-06-19 Thread Pavel Odintsov
Hello, folks! Just poking about: https://github.com/ntop/PF_RING/issues/15 Do you have any plans for this feature? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman

Re: [Ntop-misc] Pfring zc without interface detach

2015-06-14 Thread Pavel Odintsov
x27;s ixgbe. On Sun, May 31, 2015 at 1:22 PM, Alfredo Cardigliano wrote: > Something like zbounce -i zc:ethX -o stack:ethX -b should do the job. > > Alfredo > >> On 31 May 2015, at 12:03, Pavel Odintsov wrote: >> >> Hello! >> >> Thank you for fast answer! Do y

Re: [Ntop-misc] I suggest addition to load_driver.sh for ixgbe

2015-06-08 Thread Pavel Odintsov
no rx vectors found on eth5 no tx vectors found on eth5 eth5 mask=1 for /proc/irq/42/smp_affinity mkdir: cannot create directory ‘/mnt/huge’: File exists Git dev branch. On Sun, Dec 14, 2014 at 2:46 PM, Pavel Odintsov wrote: > Thank you! > > On Sat, Dec 13, 2014 at 6:33 PM, Alfredo Cardig

Re: [Ntop-misc] Pfring zc without interface detach

2015-05-31 Thread Pavel Odintsov
Hello! Thank you for fast answer! Do you have any examples of simple two direction forwarder between ZC and Linux Network Stack? On Sat, May 30, 2015 at 5:27 PM, Alfredo Cardigliano wrote: > > >> On 30 May 2015, at 15:55, Pavel Odintsov wrote: >> >> Hello! >>

[Ntop-misc] Pfring zc without interface detach

2015-05-30 Thread Pavel Odintsov
and injecting it to the linux stack? Could I achieve wire speed for traffic injection to the Linux network stack? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo

Re: [Ntop-misc] NDPI and multithreading

2015-05-07 Thread Pavel Odintsov
>> Ntop-misc mailing list >> Ntop-misc@listgateway.unipi.it >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it &

Re: [Ntop-misc] pfring filtering fails or not clear

2015-04-29 Thread Pavel Odintsov
>>> >>>>>>>> Capturing from eth3 [00:E0:ED:FE:18:19][ifIndex: 11] >>>>>>>> >>>>>>>> # Device RX channels: 6 >>>>>>>> >>>>>>>> # Polling threads:1 >>>>>>

[Ntop-misc] Debian & Fedora mount hugetlb by default and PF_RING could use it

2015-04-15 Thread Pavel Odintsov
ute Stats: 0 pkts - 0 bytes ===== -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Complains about absent svnversion on PF_RING 6.0.3

2015-04-13 Thread Pavel Odintsov
/pf_ring.h /usr/include/linux /sbin/depmod 2.6.32-042stab094.7 On Mon, Apr 13, 2015 at 1:03 PM, Luca Deri wrote: > Pavel, > how can we reproduce the issue? please provide a full log > > Regards luca > > On 04/13/2015 11:53 AM, Pavel Odintsov wrote: >> Hello! >> >&g

[Ntop-misc] Complains about absent svnversion on PF_RING 6.0.3

2015-04-13 Thread Pavel Odintsov
h: no svnversion in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) Could you fix this complains? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo

Re: [Ntop-misc] NIC offload features integration

2015-04-12 Thread Pavel Odintsov
Hello! Any news about checksumm offload for ZC? On Thu, Apr 2, 2015 at 4:56 PM, Pavel Odintsov wrote: > Thank you so much! I interested in ZC version because it could work on wire > speed and offload features are explicit in this case. > > I will test offload feature asap ;) >

Re: [Ntop-misc] pfring filtering fails or not clear

2015-04-05 Thread Pavel Odintsov
Shouldn’t they be filtered by the rule that just as added? >>> >>> >>> (BTW, when I use the command “./pfcount -i eth3 -u 1 -v 1 -r –m” (i.e. >>> –u is 1 rather than 2), the tester uses hash filters, and in this case, I >>> get errors: >>> >>> 18:53:19.052549112 [RX][if_index=11][00:08:E3:FF:FC:C8 -> >>> 00:01:02:03:04:05] [vlan 70] [direction 1] [IPv4][10.61.10.9:52311 -> >>> 10.70.150.108:60189] >>> [l3_proto=TCP][hash=344283189][tos=0][tcp_seq_num=596847159] >>> [caplen=128][len=1490][parsed_header_len=0][eth_offset=-14][l3_offset=18][l4_offset=38][payload_offset=58] >>> >>> pfring_add_hash_filtering_rule(1) failed) >>> >>> >>> Any help will be appreciated. >>> >>> >>> Thanks, >>> >>> Amir >>> >>> ___ >>> Ntop-misc mailing list >>> Ntop-misc@listgateway.unipi.it >>> >>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>> >>> >>> >>> ___ >>> Ntop-misc mailing list >>> Ntop-misc@listgateway.unipi.it >>> >>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>> >> >> > -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Avx v2 support for pfring zc

2015-04-02 Thread Pavel Odintsov
Wow! Awesome! Saw it https://svn.ntop.org/svn/ntop/trunk/PF_RING/userland/lib/libs/ :) Will test shortly! On Thu, Apr 2, 2015 at 6:36 PM, Alfredo Cardigliano wrote: > Hi Pavel > just added to SVN > > Alfredo > >> On 02 Apr 2015, at 16:12, Pavel Odintsov wrote: >> &g

[Ntop-misc] Avx v2 support for pfring zc

2015-04-02 Thread Pavel Odintsov
Hello! I have modern cpu with avx 2 support (e5 2697v3). Do you have any plans for supporting it in zc library? I checked zc libs and descided you have only avx 1 support. -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc

Re: [Ntop-misc] NIC offload features integration

2015-04-02 Thread Pavel Odintsov
sum offload enabled) */ > > We will add support for this also to ZC ASAP. > > Alfredo > > On 02 Apr 2015, at 08:28, Pavel Odintsov > wrote: > > Hello, folks! > > I'm working on user space tcp/ip implementation now. I have modern network > cards with many types o

[Ntop-misc] NIC offload features integration

2015-04-01 Thread Pavel Odintsov
ksumm validation. But checksumm offliad is definitely working and I coukd see counter values in network card stats. Nic offload features provide huge performance benefits and will be fine if you provide code and examples fir they. Thank you for your attention! -- Sincerely yours, Pavel Odi

Re: [Ntop-misc] PF_RING userland to OpenWRT

2015-03-26 Thread Pavel Odintsov
nt was scrubbed... >> URL: >> <http://listgateway.unipi.it/mailman/private/ntop-misc/attachments/20150326/014d0569/attachment-0001.htm> >> >> -- >> >> Message: 5 >> Date: Thu, 26 Mar 2015 12:50:14 +0300 >> From: Pavel Odintsov >> To: "

Re: [Ntop-misc] PF_RING userland to OpenWRT

2015-03-26 Thread Pavel Odintsov
flag --disable-zc ? > > ____ > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Could I open only one NIC queue with ZC?

2015-03-25 Thread Pavel Odintsov
Alfredo > >> On 25 Mar 2015, at 17:00, Pavel Odintsov wrote: >> >> Hello, folks! >> >> I need open only one NIC hardware queue with PF_RING ZC. Another 7 >> queues should be handled by Linux kernel for normal traffic. >&

[Ntop-misc] Could I open only one NIC queue with ZC?

2015-03-25 Thread Pavel Odintsov
Hello, folks! I need open only one NIC hardware queue with PF_RING ZC. Another 7 queues should be handled by Linux kernel for normal traffic. Is it possible with PF_RING/ZC? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc

Re: [Ntop-misc] Any user friendly ways to distribute software linked to PF_RING library and kernel module?

2015-03-24 Thread Pavel Odintsov
] Type=oneshot RemainAfterExit=yes ExecStart=modprobe pfring ExecStop=rmmod pfring [Install] WantedBy=multi-user.target On Tue, Mar 24, 2015 at 3:35 PM, Pavel Odintsov wrote: > Hello, again! > > I switched to use night build version: http://www.nmon.net/centos/ and > it works good.

Re: [Ntop-misc] Any user friendly ways to distribute software linked to PF_RING library and kernel module?

2015-03-24 Thread Pavel Odintsov
s because you do not add this path to ldconfig configuration. It could be fixed with: echo "/usr/local/lib" > /etc/ld.so.conf.d/pfring.conf ldconfig Thank you! :) On Mon, Mar 23, 2015 at 11:19 PM, Pavel Odintsov wrote: > Hello again! > > I'm so sorry! I found librar

Re: [Ntop-misc] Fwd: PF_RING userland to OpenWRT

2015-03-24 Thread Pavel Odintsov
two day and I think this >> is about version mismatch, but I can't go through... >> >> (I'm completely new in make file writing, I'm in a deep water now so I'm >> grateful for any help.) >> >> Thanks, >> András Kónya >> kandras585 a

Re: [Ntop-misc] Fwd: PF_RING userland to OpenWRT

2015-03-24 Thread Pavel Odintsov
gt; András Kónya > kandras...@gmail.com > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Any user friendly ways to distribute software linked to PF_RING library and kernel module?

2015-03-23 Thread Pavel Odintsov
g.ko /usr/local/pfring/README.FIRST /usr/local/include/pfring.h On Mon, Mar 23, 2015 at 11:06 PM, Pavel Odintsov wrote: > Hello, folks! > > I'm an author of open source toolkit which linked with PF_RING library > (yes, it also support ZC mode but I could disable it). > > And

[Ntop-misc] Any user friendly ways to distribute software linked to PF_RING library and kernel module?

2015-03-23 Thread Pavel Odintsov
ge galaxy of PF_RING enabled tools. But in each case speedup need few days in manual compilation and configuration. -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] PF_RING interface "any" conflicts with venet OpenVZ device

2015-03-20 Thread Pavel Odintsov
Thank you so much! It fixed in svn. Everything works exciting! On Thu, Mar 19, 2015 at 2:56 PM, Alfredo Cardigliano wrote: > Hi Pavel > this looks like an issue we fixed in svn, did you try with latest code? > > Alfredo > >> On 18 Mar 2015, at 17:12, Pavel Odintsov wrot

[Ntop-misc] PF_RING interface "any" conflicts with venet OpenVZ device

2015-03-18 Thread Pavel Odintsov
Hello, folks! I tried to open "any" device with pfring_open and got error: Can't create PF_RING descriptor: No such device But if I specify physical device eth0 or even bonding device bond0 all works fine. My interfaces list looks like: https://gist.github.com

[Ntop-misc] Any ETA about 6.0.3?

2015-03-18 Thread Pavel Odintsov
Hello, folks! 6.0.2 version is not enough stable and many customers complains about problems with it :( All problems solved with update from SVN but I can't rely on development tree. Do you have any estimations about release? -- Sincerely yours, Pavel Odi

Re: [Ntop-misc] KVM performance improvement without changing the virtio modules on the guest

2015-03-10 Thread Pavel Odintsov
Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > _______ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely

Re: [Ntop-misc] Bad timestamps with pfring_daq_zc

2015-03-08 Thread Pavel Odintsov
;> Ntop-misc@listgateway.unipi.it >>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >> >> >> >> ___ >> Ntop-misc mailing list >> Ntop-misc@listgateway.unipi.it >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >> > -BEGIN PGP SIGNATURE- > Version: GnuPG v1 > > iF4EAREIAAYFAlT8oHUACgkQCGX2wHRYUXSyOAD/RVrAXRhGr60itInjHR/JQM53 > 3TnpCWq0KzFIfnt4XbUA/2XJrikcUX1OWh62wP6979xfcoPMSzBkrDcTsMQBGWM1 > =D65Q > -END PGP SIGNATURE- > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Packet injection into Linux network stack with ZC like API

2015-02-26 Thread Pavel Odintsov
Good, thanks Alfredo! On Thu, Feb 26, 2015 at 5:11 PM, Alfredo Cardigliano wrote: > Hi Pavel > you can use zsend as example for stack injection, it works in the same way > pfsend does, just use the “stack:” prefix opening a device. > > Alfredo > >> On 26 Feb 2015,

[Ntop-misc] Packet injection into Linux network stack with ZC like API

2015-02-26 Thread Pavel Odintsov
o linux network stack injection for ZC API? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Contribution

2015-02-11 Thread Pavel Odintsov
ay.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Troubles with header file linux/pf_ring.h while installing PF_RING kernel module with DKMS

2015-01-29 Thread Pavel Odintsov
ucture/). > If that is what you have you may be out of luck unless you can get their > admins to load the modules for you. > > My issue ended up being a bit more straight-forward once I dug into the > Makefile and was fixed with by adding my custom location to $PATH. > > Regards

[Ntop-misc] Runtime linking to PF_RING library

2015-01-27 Thread Pavel Odintsov
Hello, folks! I found very interesting code for runtime linking to PF_RING (if we found it on machine): https://github.com/robertdavidgraham/robdns/blob/master/src/rawsock-pfring.c Do you have any plans to add support of this approach in upstream PF_RING library? -- Sincerely yours, Pavel

Re: [Ntop-misc] #define max may interfere with C++ tools

2015-01-10 Thread Pavel Odintsov
Thank you, Alfredo! On Sat, Jan 10, 2015 at 12:55 PM, Alfredo Cardigliano wrote: > Hi Pavel > the max() definition has been removed in SVN because it seems to be not > needed anymore. > > Alfredo > >> On 09 Jan 2015, at 23:28, Pavel Odintsov wrote: >> >&

[Ntop-misc] #define max may interfere with C++ tools

2015-01-09 Thread Pavel Odintsov
> b ? a : b) #endif Maybe you can rename your internal max for compatibility? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Ability to check state of ZC license and correctly shutdown tool

2014-12-20 Thread Pavel Odintsov
ng the device? > > Alfredo > > On 20 Dec 2014, at 22:29, Pavel Odintsov wrote: > > Hello, Alfredo! > > I switched to svn version of PF_RING and integrated > pfring_zc_check_license call to my tool > https://github.com/FastVPSEestiOu/fastnetmon/commit/3ab7bf50229148ff9cb

Re: [Ntop-misc] Ability to check state of ZC license and correctly shutdown tool

2014-12-20 Thread Pavel Odintsov
full >> ZC is running, >> you can terminate the application correctly handling SIGTERM. >> >> Alfredo >> >>> On 14 Dec 2014, at 19:19, Pavel Odintsov wrote: >>> >>> Hello, folks! >>> >>> My tool woking with ZC. And sometimes cust

Re: [Ntop-misc] Consultations about solution architecture

2014-12-19 Thread Pavel Odintsov
Excellent! Thank you! On Fri, Dec 19, 2014 at 8:49 PM, Alfredo Cardigliano wrote: > ZC works in zero-copy (no packet copy), thus capturing the whole packet or > just a snaplen does not affect performance. > > Alfredo > >> On 19 Dec 2014, at 17:57, Pavel Odintsov wrote: >

Re: [Ntop-misc] Consultations about solution architecture

2014-12-19 Thread Pavel Odintsov
you need > you should call: > pfring_parse_pkt(pkt /* u_char* */, &hdr /* struct pfring_pkthdr* */, 3 /* up > to L3 */, 0 /* no timestamp */, 0 /* no hash */); > > Alfredo > >> On 23 Oct 2014, at 20:00, Pavel Odintsov wrote: >> >> Hello, folks!

Re: [Ntop-misc] What difference between round_robin_policy and round_robin_bursts_policy?

2014-12-19 Thread Pavel Odintsov
improvements using the bursts version in > your application. > > Alfredo > >> On 19 Dec 2014, at 14:04, Pavel Odintsov wrote: >> >> Hello, folks! >> >> I integrated PF_RING ZC API and everything works perfectly! I can >> handle about 6M

[Ntop-misc] What difference between round_robin_policy and round_robin_bursts_policy?

2014-12-19 Thread Pavel Odintsov
y and round_robin_bursts_policy. In all examples you used round_robin_bursts_policy but I can't understand why did you do this :( -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.

Re: [Ntop-misc] Troubles with header file linux/pf_ring.h while installing PF_RING kernel module with DKMS

2014-12-18 Thread Pavel Odintsov
ruct pfring_pkthdr’ >> declared inside parameter list >> /nsm/pfring/include/pfring.h:1253: warning: ‘struct pfring_pkthdr’ >> declared inside parameter list >> /nsm/pfring/include/pfring.h:1299: warning: ‘struct pfring_pkthdr’ >> declared inside parameter list >

Re: [Ntop-misc] Ability to check state of ZC license and correctly shutdown tool

2014-12-15 Thread Pavel Odintsov
tly handling SIGTERM. > > Alfredo > >> On 14 Dec 2014, at 19:19, Pavel Odintsov wrote: >> >> Hello, folks! >> >> My tool woking with ZC. And sometimes customers use it with trial ZC >> license (only for 5 minutes). >> >> But I can't che

Re: [Ntop-misc] pf_ring with bond interface and transparent-mode=2

2014-12-15 Thread Pavel Odintsov
interface need one license. > > greetings, > Peter > > > > W dniu 2014-12-15 12:37, Pavel Odintsov pisze: > >> Hello! >> >> But why don't you can open both interfaces separately? Bonding is very >> simple round-robin balancer. And it didn't

Re: [Ntop-misc] pf_ring with bond interface and transparent-mode=2

2014-12-15 Thread Pavel Odintsov
ome limit, feature or i'm doing something wrong ? > > thanks for help > Peter > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely yours, Pavel Odintsov __

[Ntop-misc] Ability to check state of ZC license and correctly shutdown tool

2014-12-14 Thread Pavel Odintsov
ssible for production use. Finally, I suggest two features: 1) API call for checking "is this ZC license is valid or trial?" 2) Ability to provide callback for finishing my toolkit correctly when trial time is expired. Thank you for a great

Re: [Ntop-misc] I suggest addition to load_driver.sh for ixgbe

2014-12-14 Thread Pavel Odintsov
Thank you! On Sat, Dec 13, 2014 at 6:33 PM, Alfredo Cardigliano wrote: > Hi Pavel > fixed, thank you > > Alfredo > >> On 13 Dec 2014, at 13:31, Pavel Odintsov wrote: >> >> Hello! >> >> Please add this umount command before mount -t hugetlbfs: &g

[Ntop-misc] I suggest addition to load_driver.sh for ixgbe

2014-12-13 Thread Pavel Odintsov
_create_cluster error [No buffer space available] Please check that pf_ring.ko is loaded and hugetlb fs is mounted Thank you! -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Statistics on performance of ZC?

2014-12-12 Thread Pavel Odintsov
stgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] PF_RING ZC overload my CPU

2014-12-12 Thread Pavel Odintsov
Cardigliano wrote: > Hi Pavel > when you open an interface in ZC mode (zc:ethX) it gets disconnected from the > linux stack > > Alfredo > >> On 12 Dec 2014, at 18:42, Pavel Odintsov wrote: >> >> Hello! >> >> But how I can disable passing packets to syst

Re: [Ntop-misc] PF_RING ZC overload my CPU

2014-12-12 Thread Pavel Odintsov
Hello! But how I can disable passing packets to system? I need this packets only at PF_RING level :) On Fri, Dec 12, 2014 at 8:03 PM, Luca Deri wrote: > Good to know ZC works as expected > > Luca > >> On 12 Dec 2014, at 17:33, Pavel Odintsov wrote: >> >> Yep, I

Re: [Ntop-misc] PF_RING ZC overload my CPU

2014-12-12 Thread Pavel Odintsov
t; > Luca > > On 12 Dec 2014, at 17:23, Pavel Odintsov wrote: > > Maybe it will be relevant and I have 2 NIC's with 2 ports each in this > server: > > 0a:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit > SFI/SFP+ Network Connection (rev 01) > 0a:00.1 Et

Re: [Ntop-misc] PF_RING ZC overload my CPU

2014-12-12 Thread Pavel Odintsov
:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01) 0d:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01) On Fri, Dec 12, 2014 at 7:16 PM, Pavel Odintsov wrote: > Oh, very strange! > > In tran

Re: [Ntop-misc] PF_RING ZC overload my CPU

2014-12-12 Thread Pavel Odintsov
.10.200.0: UDP, length 0 19:15:19.916741 IP 10.10.10.100.41744 > 10.10.10.200.0: UDP, length 0 19:15:19.916742 IP 10.10.10.100.30049 > 10.10.10.200.0: UDP, length 0 10 packets captured 2980 packets received by filter 2839 packets dropped by kernel On Fri, Dec 12, 2014 at 7:11 PM, Pavel

Re: [Ntop-misc] PF_RING ZC overload my CPU

2014-12-12 Thread Pavel Odintsov
, I believe you are not using ZC. Please explain what > you are doing? > > > Luca > > On 12 Dec 2014, at 16:24, Pavel Odintsov wrote: > > Total number of generated packets per second flood was about 1million > packets per second, CPU E5-2407 0 @ 2.20GHz. > > On

Re: [Ntop-misc] PF_RING ZC overload my CPU

2014-12-12 Thread Pavel Odintsov
Total number of generated packets per second flood was about 1million packets per second, CPU E5-2407 0 @ 2.20GHz. On Fri, Dec 12, 2014 at 6:19 PM, Pavel Odintsov wrote: > Hello! > > I'm using PF_RING 6.0.2 with Debian 7 Wheezy 3.2.0-4-amd64. I > installed ixgbe driver with ZC s

[Ntop-misc] PF_RING ZC overload my CPU

2014-12-12 Thread Pavel Odintsov
61/32207MB] Swp[ 0/8190MB] I even tried to enable quick_mode=1 but ksoftirqd consuming almost whole CPU core. Thank you for your attention! -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing

Re: [Ntop-misc] How I can enable PF_RING packets parser in ZC mode?

2014-12-11 Thread Pavel Odintsov
arse_pkt() call with the below? > > memset(&h->extended_hdr.parsed_pkt, 0, sizeof(h->extended_hdr.parsed_pkt)); > pfring_parse_pkt((u_char*)p, (struct pfring_pkthdr*)h, 4, 1, 0); > > Alfredo > >> On 11 Dec 2014, at 15:30, Pavel Odintsov wrote: >> >>

Re: [Ntop-misc] How I can enable PF_RING packets parser in ZC mode?

2014-12-11 Thread Pavel Odintsov
I tried to find fix for this issue but have no success in it :( On Thu, Dec 11, 2014 at 5:23 PM, Alfredo Cardigliano wrote: > Hi Pavel > why do you expect a difference? > > Alfredo > > On 11 Dec 2014, at 15:11, Pavel Odintsov wrote: > > I read diff between 6.0.3 and curr

Re: [Ntop-misc] How I can enable PF_RING packets parser in ZC mode?

2014-12-11 Thread Pavel Odintsov
I read diff between 6.0.3 and current SVN and do not found any changes in parser :( Can you help me? On Wed, Dec 10, 2014 at 6:37 PM, Pavel Odintsov wrote: > Hello! > > I tried to do manual parsing and it failed with very strange results. > I tried do manual parser with vanilla PF

Re: [Ntop-misc] How I can enable PF_RING packets parser in ZC mode?

2014-12-10 Thread Pavel Odintsov
[payload_offset=54] [90:E2:BA:49:85:C8 -> 5C:5E:AB:24:0F:C0] [vlan 100] [IPv4][159.253.20.133:80 -> 178.18.208.229:41361] [l3_proto=TCP][hash=1376814929][tos=0][tcp_seq_num=1451307525] [caplen=128][len=1522][parsed_header_len=0][eth_offset=-14][l3_offset=18][l4_offset=38][payload_offset=58] Could you h

Re: [Ntop-misc] Feature request - L2TP unpacking in PF_RING

2014-12-10 Thread Pavel Odintsov
Hello, folks! I added support for L2TP decapsulation over IP with recursive call of pfring_parse_pkt. You can check this example: https://gist.github.com/pavel-odintsov/21e9831fec2895990196 On Tue, Dec 9, 2014 at 2:12 PM, Pavel Odintsov wrote: > Hello, Alfredo! > > Thank you for your

Re: [Ntop-misc] Run PF_RING app without root permission

2014-12-09 Thread Pavel Odintsov
ty per user? because I build and > compile the application over and over an each time I need root access again > to set the capability. > > Thanks, > > On Tue, Dec 9, 2014 at 12:22 PM, Pavel Odintsov > wrote: >> >> Hello! >> >> You should grant cap_net

Re: [Ntop-misc] Run PF_RING app without root permission

2014-12-09 Thread Pavel Odintsov
n pf_ring applications without root permission? > > Thanks, > -- > Behrooz > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Very strange behaviour of pfring_parse_pkt

2014-12-09 Thread Pavel Odintsov
ket length, thus pfring_parse_pkt() is not able > parsing the packet as expected. > > Alfredo > >> On 09 Dec 2014, at 12:46, Pavel Odintsov wrote: >> >> Hello! >> >> I'm trying to do L2TP packet parser and want to do something like this >> for pasring nes

[Ntop-misc] Very strange behaviour of pfring_parse_pkt

2014-12-09 Thread Pavel Odintsov
s=0][tcp_seq_num=0] [caplen=0][len=0][parsed_header_len=0][eth_offset=0][l3_offset=14][l4_offset=0][payload_offset=0] As you can see second call on same packet with zeroed struct pfring_pkthdr struct produces completely incorrect data. How I should initilize struct pfring_pkthdr correctly for pfring_pa

Re: [Ntop-misc] Feature request - L2TP unpacking in PF_RING

2014-12-09 Thread Pavel Odintsov
velopment. > > Alfredo > >> On 08 Dec 2014, at 11:43, Pavel Odintsov wrote: >> >> Hello, folks! >> >> I suggest new feature for L2TP decapsulation. It's very useful in >> modern decentralized networks. >> >> I tried with current PF_RING and got

[Ntop-misc] Feature request - L2TP unpacking in PF_RING

2014-12-08 Thread Pavel Odintsov
3_proto=115][hash=2784721876][tos=32][tcp_seq_num=0] [caplen=128][len=873][parsed_header_len=0][eth_offset=-14][l3_offset=14][l4_offset=34][payload_offset=0] Could you extract information about packet in tunnel? Thank you so much! -- Sincerely yours, Pav

[Ntop-misc] Troubles with header file linux/pf_ring.h while installing PF_RING kernel module with DKMS

2014-12-08 Thread Pavel Odintsov
e you can move this .h file to library? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Hardware filtering problem

2014-11-25 Thread Pavel Odintsov
er using script load_driver_2.sh > > > > Can you help us determine what are we doing wrong? > > > > Thank you in advance, > > Katarina Valent > > > > Best Regards > > Alfredo > > > > > > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Hardware filtering problem

2014-11-25 Thread Pavel Odintsov
e attached output from dmesg after using script load_driver_2.sh > > > > Can you help us determine what are we doing wrong? > > > > Thank you in advance, > > Katarina Valent > > > > Best Regards > > Alfredo > > > > > > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it > http://listgateway.unipi.it/mailman/listinfo/ntop-misc -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

[Ntop-misc] Wrong RING version: kernel is 16, libpfring was compiled with 15: error with latest PF_RING 6.0.2

2014-11-20 Thread Pavel Odintsov
error :( -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

[Ntop-misc] Site problems at http://www.ntop.org/products/pf_ring/

2014-11-17 Thread Pavel Odintsov
Hello! Subject! -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] pfring packet loss

2014-11-06 Thread Pavel Odintsov
Can anyone > help me what might have gone wrong? > > PS. I use pfring in normal mode not DNA > > > Thanks, > -- > Behrooz > > ___ > Ntop-misc mailing list > Ntop-misc@listgateway.unipi.it &

[Ntop-misc] Consultations about solution architecture

2014-10-23 Thread Pavel Odintsov
gwul8ka7ww/htoppng.png?dl=0 Is it possible to process more packets on non-zc PF_RING or I should go to ZC mode? :( -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Extremely big packet length after PF_RING packet parser

2014-10-23 Thread Pavel Odintsov
col: tcp flags: ack size: 70 bytes 2014-10-23 17:12:08.442047 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: ack size: 10202 bytes On Wed, Oct 22, 2014 at 2:06 AM, Pavel Odintsov wrote: > Thank you so much! I will check it! > > On Wed, Oct 22, 2014 at 2:05 AM, Alfredo Car

[Ntop-misc] PF_RING kernel overload and kernel crash

2014-10-22 Thread Pavel Odintsov
83 e2 07 f3 48 a5 89 d1 f3 a4 c3 20 4c 8b 06 4c 8b [13086.286116] RIP [] memcpy+0x6/0x110 [13086.287102] RSP [13086.288042] CR2: c90022b0b000 Can you fix this issues? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc

Re: [Ntop-misc] Extremely big packet length after PF_RING packet parser

2014-10-21 Thread Pavel Odintsov
Thank you so much! I will check it! On Wed, Oct 22, 2014 at 2:05 AM, Alfredo Cardigliano wrote: > You should disable them if you need real packets. > > Alfredo > >> On 22 Oct 2014, at 00:00, Pavel Odintsov wrote: >> >> Hello! >> >> Yep, it enabled :(

Re: [Ntop-misc] Extremely big packet length after PF_RING packet parser

2014-10-21 Thread Pavel Odintsov
21 Oct 2014, at 11:19, Pavel Odintsov wrote: >> >> Hello! >> >> I use PF_RING packets parser and got very strange packets size in >> network with stadnard MTU (1500): >> 2014-10-16 03:32:50.483384 188.120.233.239:39393 > 5.45.118.135:80 >> protocol: tcp

[Ntop-misc] Extremely big packet length after PF_RING packet parser

2014-10-21 Thread Pavel Odintsov
size: 66 bytes Full list: https://gist.github.com/pavel-odintsov/6aac022b8f6eebd284ff I got h->len from pfring_pkthdr *h struct with no processing. How it possible? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.

Re: [Ntop-misc] How I can enable PF_RING packets parser in ZC mode?

2014-10-21 Thread Pavel Odintsov
Thank you for fast and useful answer! :) On Tue, Oct 21, 2014 at 12:14 PM, Alfredo Cardigliano wrote: > No, with standard drivers it uses kernel threads (ksoftirq) > > Alfredo > >> On 21 Oct 2014, at 10:00, Pavel Odintsov wrote: >> >> Hello! >> >>

Re: [Ntop-misc] How I can enable PF_RING packets parser in ZC mode?

2014-10-21 Thread Pavel Odintsov
Hello! Yep, I can run it in my tool but standard parser with no-zc mode spread for all cores. It uses additional threads inside pf_ring? ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

[Ntop-misc] How I can enable PF_RING packets parser in ZC mode?

2014-10-21 Thread Pavel Odintsov
whole core. Could I enable PF_RING packet parser for ZC mode? -- Sincerely yours, Pavel Odintsov ___ Ntop-misc mailing list Ntop-misc@listgateway.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Re: [Ntop-misc] Troubles with PF_RING and GRE

2014-07-13 Thread Pavel Odintsov
again and let us know (cut&paste again the dmesg output) > > Thank you > Alfredo > > On 12 Jul 2014, at 22:15, Pavel Odintsov wrote: > > Hello! > > We got same error with svn version of PF_RING: > > > [130426.881833] NET: Unregistered protocol family

Re: [Ntop-misc] Troubles with PF_RING and GRE

2014-07-12 Thread Pavel Odintsov
t+0x0/0x37c [pf_ring] [130446.637399] [] ? ring_init+0x2bd/0x37c [pf_ring] [130446.637464] [] ? do_one_initcall+0x3c/0x1d0 [130446.637526] [] ? sys_init_module+0xe1/0x250 [130446.637588] [] ? system_call_fastpath+0x16/0x1b On Fri, Jul 11, 2014 at 3:51 PM, Pavel Odintsov wrote: > Thank you! &

Re: [Ntop-misc] Troubles with PF_RING and GRE

2014-07-11 Thread Pavel Odintsov
Thank you! I will check it soon. On Fri, Jul 11, 2014 at 2:26 PM, Alfredo Cardigliano wrote: > Hi Pavel > please try updating from svn and let us know. Cut&paste dmesg and ifconfig > output if possible. > > Thank you > Alfredo > > On 11 Jul 2014, at 09:09, Pavel

Re: [Ntop-misc] Troubles with PF_RING and GRE

2014-07-11 Thread Pavel Odintsov
Right! On Fri, Jul 11, 2014 at 11:08 AM, Alfredo Cardigliano wrote: > Ok now I understand. Is this happening *only* when GRE is up? > > Alfredo > > On 11 Jul 2014, at 08:58, Pavel Odintsov wrote: > >> Not, we only start PF_RING module on node with running GRE tunnel.

Re: [Ntop-misc] Troubles with PF_RING and GRE

2014-07-10 Thread Pavel Odintsov
i Pavel >>> can you provide us a small .pcap file we can use to reproduce the issue? >>> >>> Alfredo >>> >>> On 11 Jul 2014, at 08:32, Pavel Odintsov wrote: >>> >>>> Hello! >>>> >>>> I'm using GRE t

  1   2   >