Commit Graph

909 Commits (5e31e9a642681d9750120d26e08b1893bcc6df1f)

Author SHA1 Message Date
Bryan Biedenkapp 5e31e9a642 file cleanups;
9 months ago
Bryan Biedenkapp af2e7c9c8d
R04H30 Merge to Master (#88)
9 months ago
Bryan Biedenkapp c10087e6cd correct some minor errors;
10 months ago
Bryan Biedenkapp ac0cc2cf90 change locking mechanism for lookup tables;
10 months ago
Bryan Biedenkapp 10f6514c55 automatically enable SSL support if we detect libssl-dev;
10 months ago
Bryan Biedenkapp 030a09ebe9 change ENABLE_TCP_SSL to just ENABLE_SSL;
10 months ago
Bryan Biedenkapp b21f956bf9 fix incorrect variable type (this should have been a signed int);
10 months ago
Bryan Biedenkapp 2b8c7d4c91 partially revert 9ed3312, don't perform locking on isGranted(), isGroup() and isNetGranted();
10 months ago
Bryan Biedenkapp 9ed3312438 properly mutex lock in AffiliationLookup; add more mutex locking in ChannelLookup;
10 months ago
Bryan Biedenkapp 9af5c6b2bc ensure during encode we never allow a source ID of 0;
10 months ago
Bryan Biedenkapp 3551e7c7d7 don't allow source or destination ID's to become 0 at startup; ensure destination ID is range checked at startup;
10 months ago
Bryan Biedenkapp 8ebae02615 revert e6188b2, use a loop instead the lock blocking wasn't consistent; fix issue where the FNE wouldn't check the heartbeat state of a peer that wasn't in a complete running state causing the peer to get into weird states; modify peer timeout handler, external peers (i.e. ISSI or upstream) and peer link peers get double the alotted maximum missed before being dropped;
10 months ago
Bryan Biedenkapp e6188b21aa instead of using a while loop, just block based on whether or not another thread is holding the queue mutex;
10 months ago
Bryan Biedenkapp 774558ebd7 add better locking around frame queue flushing and enqueuing; make peer ACK messages direct writes (don't queue them);
10 months ago
Bryan Biedenkapp 68829b17f2 fix issue wehre message field was being incorrectly stored and could be pushed as an incorrect type (i.e. non-string) [NOTE: this could *break* collected Influx data];
10 months ago
Bryan Biedenkapp 26aafbe1dd live long and oopsie;
10 months ago
Bryan Biedenkapp 6690098a1c do not announce data services when set for trunking and SNDCP is disabled;
10 months ago
Bryan Biedenkapp 89fe5bc1dc yet again make Win32 compiles work correctly;
10 months ago
Bryan Biedenkapp 209bf40fb8 add better support for timing out a InfluxDB connection; add TCP timeout so that request() calls don't hang indefinitely;
10 months ago
Bryan Biedenkapp 1c51ff59bd add support to inject silence frames during a hang time when using UDP audio, where UDP audio has ended but the drop timer hasn't timed out;
10 months ago
Bryan Biedenkapp fb0e51f36a make Win32 compiles work again; correct incorrect behavior handling try_lock_for;
10 months ago
Bryan Biedenkapp 4fc8990d16 make InfluxDB queries async (non-blocking);
10 months ago
Bryan Biedenkapp d669410e46 whoops no drunk programming allowed;
10 months ago
Bryan Biedenkapp dbf67a4211 fix SysView shitting the bed when the JSON object for a peer is in an unknown state because it is state transitioning or still connecting;
10 months ago
Bryan Biedenkapp 7d6d4f4134 for peer FNE connections we should never disable network services on ACL NAK (this would result in a condition where the peer FNE would need to be restarted in order to reconnect, which isn't convenient);
10 months ago
Bryan Biedenkapp 6e589d9665 add peer connect and disconnect callbacks (for future use);
10 months ago
Bryan Biedenkapp 8dd504adea add support to enable/disable CC message stream debug when a protocol debug is enabled; correct some bad handling of the MESSAGE_TYPE_REG NXDN command;
10 months ago
Bryan Biedenkapp 27c852e4c2 remove the broken last IMBE logic; add logic to ensure a consistent LDU superframe stream (this will result in in-call garble for the length of a missed LDU, where LDUs are dropped due to extreme call load on the FNE);
10 months ago
Bryan Biedenkapp ecc8bfa32e fix issue where peer identity was being used instead of peer ID for FNE peer network lists; appropriately log blockTrafficTo configurations at startup;
10 months ago
Bryan Biedenkapp 5ecfc58300 permitted TG RPCs shouldn't test for m_enableControl;
10 months ago
Bryan Biedenkapp 63c85f3781 implement proper blocking operations for RPC; don't allow a RPC instance to call itself (i.e. you can't listen on port 127.0.0.1:9890 and then use req() to send an RPC to the listening instance); fix issue with RPC_PERMIT_XXX_TG not being a blocking operation; fix issue with RPC_DMR_TSCC_PAYLOAD_ACT not being a blocking operation;
10 months ago
Bryan Biedenkapp 81d4a40d24 do our best to attempt to warn on possible misconfiguration of channel RPC configuration;
10 months ago
Bryan Biedenkapp 202f3e57f8 make validate() TDU handling more similar to isPeerPermitted();
10 months ago
Bryan Biedenkapp 559647a28f we didn't have TDU filtering in validate(), just isPeerPermitted() this would let errant TDUs pass in some cases;
10 months ago
Bryan Biedenkapp b86a5ce939 add some mutex locking around modification of the channel lookup table;
11 months ago
Bryan Biedenkapp 3da4eb2d40
REST -> RPC Migration (#84)
11 months ago
Bryan Biedenkapp a242369496 flag the inbound channel as busy for DFSI messages;
11 months ago
Bryan Biedenkapp 110824e73b fix implementation for acking Start of Stream (writeImmediate wasn't really necessary using STT_NON_IMBE_NO_JITTER causes queued packets to bypass jitter buffer timing);
11 months ago
Bryan Biedenkapp d7b887a32d implement enhancement/alterations to allow back-to-back configuration of dvmhost in TIA-102 DFSI mode (with FSC enabled); correct minor nullref handling in FSCACK; add writeImmediate() to ModemV24 to support TIA-102's need to immediately ack a Start of Stream block;
11 months ago
Bryan Biedenkapp c3b31d241e hide the excessive noise during isPeerPermitted() where the FNE will complain of a peer with a uninitialized affiliations lookup;
11 months ago
Bryan Biedenkapp 6b4d7c5539 piss everyone off and properly relabel "enabled" options to "enable" to keep project consistency;
11 months ago
Bryan Biedenkapp ff3733ffef starting offset for ARC4 is 0;
11 months ago
Bryan Biedenkapp e533ac495f fix potential nullptr problem with Log when used from multiple threads during shutdown; reduce the intercycle delay to 2ms from 5ms for all main FNE threads;
11 months ago
Bryan Biedenkapp 2258e3a065 correct issue with passing a key request to the upstream master; comment on self-delete operations, stop() for lookup tables;
11 months ago
Bryan Biedenkapp a2fa303217 reorganize code, move Network class from host into common as its being used more as a generic peer network class; add some warning messaging to the FNE when a peer link or external peer (i.e. intra-FNE connection) drops;
11 months ago
Bryan Biedenkapp 0496737d46 late night whoopsie, forgot to add some critical stuff (note to self: don't do programming at near midnight its bad for you);
11 months ago
Bryan Biedenkapp 5a96f10906 add peer ID editor; implement support in the peer lookup and FNE to validate whether or not a peer can perform a encryption key request;
11 months ago
Bryan Biedenkapp 6927ea284c add preliminary support for forwarding a key request up to the next FNE (if we are Peer Linked);
11 months ago
Bryan Biedenkapp ea8699e03f add some guard rails around when batch operations add/remove;
11 months ago
Bryan Biedenkapp 231b829660 add batch manipulation operations for adding a peer to inclusion and always lists for all TGs;
11 months ago

Powered by TurnKey Linux.