D4 core software client in Python
Project description
Main features
d4-pyclient is python implemention of the D4 encapsulation protocol.
It is a low-barrier entry for anyone interested into tinkering with the D4 protocol or embedding a d4 client into another project. It supports both regular types and types defined by meta-header.
Launching
./d4-pyclient.py -h
usage: d4-pyclient.py [-h] -c CONFIG [-cc]
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
config directory
-cc, --check_certificate
check server certificate
Configuration Files
of the client configuration can be stored in folder containing the following files:
- key: your Pre-Shared-Key
- snaplen: default is 4096
- source: stdin or d4server
- destination: stdout, [fe80::ffff:ffff:ffff:a6fb]:4443, 127.0.0.1:4443
- type: D4 packet type, see types
- uuid: generated automatically if empty
- version: protocol version
- rootCA.crt: optional : CA certificate to check the server certificate
- metaheader.json: optional : a json file describing feed's meta-type types
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
d4-pyclient-0.1.0.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for d4_pyclient-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9f10ade4858906b32e970bb43668fef71d8be10fd715588daf8cd268eae7e3f |
|
MD5 | 9f0606c7feeb8002c94992e82329d4d4 |
|
BLAKE2b-256 | 9e7d7bf32581e8e2ee9d732c76e63371cf8205aa68ab90157947f9326bb05148 |