Comments (1)
You need to store the host server name in the current flow.
For the C API: You need to reserve some user flow memory during socket init. In the JSON callback you may then access your memory via nDPIsrvd's flow struct.
For the Python API: You may use the current flow in the JSON callback and add the information you'll need. This information will be available as long as the flow does not end or time out.
from ndpid.
Related Issues (20)
- Duplicated "end" and "idle" events received for some flows HOT 8
- On the meaning of several Flow-Event JSON attributes HOT 2
- Info regarding detection of **VERY_LONG** lasting connections HOT 2
- Do you have any plans to support Mac OS X? HOT 5
- centos7 support? HOT 9
- Is it possible to carry the DPI information to the flow_event_end event? HOT 2
- Signal Voip on Fastweb Napoli ? HOT 1
- Require libndpi >= 4.7.0 while the last release of libndpi is 4.6.0 ? HOT 2
- I can not change source of ndpi HOT 1
- How can we prevent ndpid to fire some events ? HOT 2
- Do you have any plan to support FreeBSD ? HOT 27
- Do you have plan support Packet acquisition via PF_RING HOT 9
- Improve collectd example. HOT 1
- Can not connect to socket in FreeBSD HOT 2
- InfluxDB push daemon. HOT 1
- Could not get netmask for pcap device vmx0: No such file or directory HOT 4
- *_tot_l4_payload_len seem not correct HOT 23
- "-DSTATIC_LIBNDPI_INSTALLDIR" seems not working HOT 1
- Conf file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ndpid.