Comments (5)
Could you potentially consider using the unified API abstraction layer that Redis has implemented as a reference? such like https://github.com/redis/redis/blob/7.2/src/ae.c . Just a small suggestion, awaiting your works.
from ndpid.
I have/had ambitions to support Windows and Mac OS X. IMHO the only thing that may cause headaches and requires some time to port is the usage of the linux only event I/O epoll
.
from ndpid.
There are already portable event I/O libraries available such as libuv
. But I am afraid of adding a new dependency to nDPId
(at least for Linux), because one of my goals of this toolkit was having minimal library dependencies. For now only libc and libpcap are a must have. libnDPI
can be built and statically linked into the application from this repository via CMake
.
from ndpid.
You may now try the add/event-io-abstraction branch. The newly added event I/O abstraction layer should make it possible to use nDPId
and nDPIsrvd
within BSD and Mac. Please report any errors, configure/build/runtime failures included.
Cheers!
from ndpid.
from ndpid.
Related Issues (20)
- Details about "Flow STATES" and "Flow EVENTS" HOT 15
- OpenWRT: Malformed JSON-UDP stream (when JSON string length is longer than 1024 bytes) HOT 3
- OpenWRT: Unexpected flood of daemon events ("daemon_event_name":"status") right after start... HOT 25
- 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
- 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
- Having hostname in EVENT_FLOW_END json output? HOT 1
- 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 3
- 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 3
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.