Luca, The OpenDPI_demo C code posted here seems to work well: https://github.com/thomasbhatia/OpenDPI/tree/master/src/examples/OpenDPI_demo
Possible performance issue aside, I am looking to port that to a python dpkt + ctypes implementation. Any insight you could provide would be greatly appreciated. Jason > Date: Mon, 27 Aug 2012 19:26:11 +0300 > From: Luca Deri <[email protected]> > To: [email protected] > Subject: Re: [Ntop-misc] Stand-alone nDPI Usage? > > Fatih > you will not find examples as I was interested in using the library inside > ntop apps. However as the code is backwards compatible with opendpi, please > update the examples if necessary and pass them to me so I can add them to the > repository > > Luca > > On Aug 27, 2012, at 4:47 PM, Fatih Deniz <[email protected]> wrote: > >> As far as I know, the executional logic behind ndpi is the same as opendpi. >> So, any examples on opendpi can also be used for ndpi. >> >> >> 2012/8/27 Digital Ninja <[email protected]> >> Hello all, >> >> I am interested in finding out if anyone out there is running nDPI >> outside of the ntop architecture. While the download page mentions >> this is possible, I can not find any examples of the proper function >> calls once the library has been built and installed. Ideally, I would >> like to leverage Python's ctypes LoadLibrary functionality. >> >> Thanks in advance, >> Jason _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
