Bryan Biedenkapp
|
b19c1d5f6a
|
add support for processing CSBK on the FNE; add support to optionally log TSBK and CSBK network events to InfluxDB;
|
2 years ago |
Bryan Biedenkapp
|
f603949879
|
make common strings #defines instead of copy and pasted static text;
|
2 years ago |
Bryan Biedenkapp
|
7d1af0235b
|
implement support for reporting activity, diagnostic and call events to an InfluxDB instance;
|
2 years ago |
Bryan Biedenkapp
|
a8adeeaad7
|
implement missing parrot delay timer; fix bad implementation where parrot frames were only played if network packets were received (this logic changed when threaded network Rx was implemented);
|
2 years ago |
Bryan Biedenkapp
|
5571a71e4e
|
replace manual lock/unlock with lock_guard to ensure a lock is held in a scope, and released when a scope is closed;
|
2 years ago |
Bryan Biedenkapp
|
17d69cb950
|
add support to disable *ALL* passing of P25 ADJ_STS_BCAST from a CFNE instance; properly implement processing of TSDU messages from any peer; implement login flag from CFNEs to identify themselves as external when they are peering;
|
2 years ago |
Bryan Biedenkapp
|
c4ca72581f
|
for performance reasons on very noisy/busy setups that may have *lots* of peers, use of an alternate port to service diagnostic and activity log transfers helps ensure the traffic port doesn't become overloaded with data;
|
2 years ago |
Bryan Biedenkapp
|
8ca4ed5a40
|
implement a few more CFNE NAK types to notify the peer of invalid conditions; take first steps towards FNE-side authoritative grants by implementing some logic plumbing;
|
2 years ago |
Bryan Biedenkapp
|
5d6c99da43
|
add missing mutex unlocks for the lookup tables (I'm not sure how this hasn't caused a problem); reorganize the code in FNENetwork and make threadedNetworkRx private; add some counting logic to ensure the voice tag classes flush voice frames every 5 peers to ensure timely delivery of packets;
|
2 years ago |
Bryan Biedenkapp
|
e348b15d7f
|
for the purpose of performance handle incoming packets in their own threads (NOTE: this commit is *experimental* and may burn your house down and kick your dog, and it most certainly has a memory leak I'm working on somewhere);
|
2 years ago |
Bryan Biedenkapp
|
c6c1c72f79
|
institute a hard 250 peer cap on the CFNE for performance, stability and call quality reasons; implement support for the user to configure the connection limit on a CFNE; implement support to resolve a master NAK to a reason on the host;
|
2 years ago |
Bryan Biedenkapp
|
b28c685ee3
|
add missing documentation; properly annotate time value; add missing thread join wait;
|
2 years ago |
Bryan Biedenkapp
|
86985a5ecc
|
update peer ping time in RID ACL update; move core network process/read into its own thread;
|
2 years ago |
Bryan Biedenkapp
|
eb57f1b5d8
|
implement functionality to block traffic to specific peers from specific external peers; use std::string over const char* wherever possible to limit pointer passing; implement support in FrameQueue and RawFrameQueue to bypass the queue and directly send messages to specified peers (useful in some situations for packets to be immediately dispatched vs queuing and batching); chunk RID list transmissions to aid in increasing performance (this will likely also need to be done with the TGID lists in the future as well); refactor transmitting ACL lists to peers into its own spun off thread so we don't block the main network processing loop (and infact, this requires documentation; since at a certain peer size DVM network partitioning should be considered to reduce the number of concurrent peers serviced by any given FNE and to better load balance connections across a network, instead of relying on a singular central FNE); implement /peer/count REST API to simply return the known connected count of peers; disable the forced ACL list update functionality (for now);
|
2 years ago |
Bryan Biedenkapp
|
083517326e
|
fix nullptr reference for a non-existent peer affiliation list (can happen if the peer hasn't completed login); slightly reorganize RPTL (this stil has some bizarre problem);
|
2 years ago |
Bryan Biedenkapp
|
34ae323166
|
implement option to disable the CFNE from sending P25 ADJ_STS_BCAST to external peers (that is CFNE's the CFNE receiving the ADJ_STS_BCAST is connected to via peers list in the configuration file); add logging around the RPTL NAK condition; don't validate the connection state when performing a connection cleanup for an RPTL NAK; attempt to erase a peer ID from the peer table if during an RPTL the connection is null (this should never happen); correct a bunch if TG validation issues; correct condition where the FNE would try to pass traffic with *both* srcId and dstId 0 (this should never happen on any protocol really, and if there is some scenario that requires it, contact me on Discord please); add more processing for TSDUs to perform TGID checks and other validations;
|
2 years ago |
Bryan Biedenkapp
|
0e20d4fec0
|
add separate config option for reporting peer pings to the log; add extra logging around an RPTL NAK condition;
|
2 years ago |
Bryan Biedenkapp
|
80d38ccf3a
|
refactor and reorganize network socket handling classes to be more consistent;
|
2 years ago |
Bryan Biedenkapp
|
5b5efcbe9d
|
add support for network announcement of unit registration, deregistration and group affiliation so the FNE can collate the data more accurately; implement REST API on dvmfne to support retreiving the list of known affiliations; correct a bug in enumeration of RID and TGID lists that could cause weirdness; remote unnecessary "control" RTP payload type and just use a singluar payload type;
|
2 years ago |
Bryan Biedenkapp
|
5a5104ba2f
|
treewide: perform general refactor of file headers, I've modified the file headers to follow rules from: https://www.kernel.org/doc/html/next/process/license-rules.html, this trims/compresses the file header section a bit reducing the number of lines at the top of every file quite a bit, going forward all new files should follow this new format (if its good enough for the Linux kernel, its good enough for me);
|
2 years ago |
Bryan Biedenkapp
|
d9e2458722
|
implement support for low-level TCP sockets; deprecate and remove new_unique macro and use appropriate std::make_unique; apply various clang linting;
|
2 years ago |
Bryan Biedenkapp
|
8ff7067eca
|
mplement experimental support to AES-256 encrypt the network connection; cleanup some instances where buffers were not being cleaned up properly; cleanup some of the AESCrypto implementation; remove references to some little used compiler macros;
|
2 years ago |
Bryan Biedenkapp
|
6d5e35d361
|
fix issue with net active and roamer reaccess bits in OSP_RFSS_STS_BCAST; add helper function to AffiliationLookup to allow for reverse resolving of grants from source to destination; migrate FNEPeerConnection from a non-pointer reference to a pointer (this allows better tracking of values without copying the connection structure);
|
2 years ago |
Bryan Biedenkapp
|
7513bccf52
|
refactor PROPERTY_PLAIN and READONLY_PROPERTY_PLAIN;
|
2 years ago |
Bryan Biedenkapp
|
9fb2201139
|
code cleanup; some minor modifications for out-of-band software;
|
2 years ago |
Bryan Biedenkapp
|
cf0d8bb430
|
port RTP header changes from fnecore for better handling the RTP timestamp; relabel conference FNE to converged FNE; refactor version slightly so that the running DVM host version is properly reported to the FNE and when saved to modem configuration area;
|
2 years ago |
Bryan Biedenkapp
|
2226e1e6f7
|
implement confernece FNE API to force list updates on demand; better organize FNE dvmcmd commands;
|
2 years ago |
Bryan Biedenkapp
|
bf72dcbee8
|
add support to picojson for uint64_t; correct issue with conference bridge FNE never incrementing a connections ping counter; implement /status and /peerlist APIs for conference bridge REST API; implement support for /peerlist in dvmcmd;
|
2 years ago |
Bryan Biedenkapp
|
6b18089d75
|
implement REST API stub for conference bridge FNE;
|
2 years ago |
Bryan Biedenkapp
|
0f770462b7
|
update headers to properly reflect which module/package the file belongs;
|
2 years ago |
Bryan Biedenkapp
|
1379482fcc
|
reorganize entire codebase structure; move common classes, files into a compile time static library; reorganize CMake files to make use of common static library to reduce compile time;
|
2 years ago |