Commit Graph

1041 Commits (24bbfb6d251fea657568042fc6ea13a0a5032e5b)

Author SHA1 Message Date
Bryan Biedenkapp 4f3ac3214e make slot numerical;
2 months ago
Bryan Biedenkapp 4bc3376faa correct comment;
2 months ago
Bryan Biedenkapp 746b124e01 refactor MAC MCO defines;
2 months ago
Bryan Biedenkapp ba5377335f add MFID specific partition type;
2 months ago
Bryan Biedenkapp 5930dbe1a1 P2 abbreviated/explicit partition MCOs are essentially just TSBK opcodes;
2 months ago
Bryan Biedenkapp 9f9cc572cd begin defining P25 Phase 2 primitives;
2 months ago
Bryan Biedenkapp f4ea79b614 add some verbose debug trace for checkNetTrafficCollision();
2 months ago
Bryan Biedenkapp 6b70ffe435 begin adding support for P25P2 network transiting;
2 months ago
Bryan Biedenkapp 51cc90df77 increase packet processing latency warning to 250ms (1/4 second);
3 months ago
Bryan Biedenkapp b1dad3b8e1 always reset the call streams at the end of a call;
3 months ago
Bryan Biedenkapp 92a737affc move sample level dumping option to CLI;
3 months ago
Bryan Biedenkapp d26abdc968 remove main thread sleep control this causes WinSock on Win32 to lose its mind when polled too fast;
3 months ago
Bryan Biedenkapp 577d5cda1a fix concurrency lockup for DMR granting;
3 months ago
Bryan Biedenkapp 9cf2d49bbb (we're still hunting the cause of bridge ceasing UDP socket operations after a period of time, it *seems* to occur on Win32 only though); make the program status variable m_running a static s_running for dvmbridge; ensure PeerNetwork for dvmbridge uses m_packetDump instead of m_debug for packet dumping; fix shutdown issue with local audio causing a crash for dvmbridge; refactor how RTP and uLaw frames work; remove and deprecate the no include length configuration parameter; refactor and centralize UDP audio writing functionality; add verbose log messages for if the s_running flag becomes non-true during operation;
3 months ago
Bryan Biedenkapp b9b366a8a2 make the program status variable m_running a static s_running for dvmpatch; ensure PeerNetwork for dvmpatch uses m_packetDump instead of m_debug for packet dumping;
3 months ago
Bryan Biedenkapp 870c643200 very experimental fix for #111, along with additional enhancements to repeat parrot traffic to all VCs of a trunk site to ensure parrot traffic repeats;
3 months ago
Bryan Biedenkapp 5541998a5f minor bugfix, correct incorrect log module for host sourced analog audio;
3 months ago
Bryan Biedenkapp 2a8a22329b add PDU block reordering support to dvmhost;
3 months ago
Bryan Biedenkapp 1f95016ca6 enhance REST API logging; add dev REST API commands to force send NAK packets;
3 months ago
Bryan Biedenkapp 9872e9c707 BUGFIX: for unauthorized, unconnected failures the NAK response was not sending the appropriate RTP sequence;
3 months ago
Bryan Biedenkapp 7e91a60dcb bump copyright dates;
3 months ago
Bryan Biedenkapp 4f2a3b9f49 BUGFIX: fix startup crash of dvmbridge when using analog audio mode; add transmit voice frame status for analog audio; correct core network issue determining length of analog audio frames;
3 months ago
Bryan Biedenkapp 2e1ab42964 Merge remote-tracking branch 'origin/master' into r05a04_dev
3 months ago
Bryan Biedenkapp b35a2f5c60 BUGFIX: fix issue with CTS COR blocking VOX audio even when not enabled;
3 months ago
Bryan Biedenkapp cb0dcc7f03 implement proper packet reordering for P25 PDU data; BUGFIX: add boundary checking for P25 PDU disassembly;
3 months ago
Bryan Biedenkapp 096e9fb0cc better handle framequeue debugging when not performing packet dumping;
3 months ago
Bryan Biedenkapp 5ac001cb70 add network debug trace around stream ID reset calls;
3 months ago
Bryan Biedenkapp 966b6ddede BUGFIX: fix condition in P25 call handler where if the TSBK was not decoded it could result in a crash;
3 months ago
Bryan Biedenkapp e5d8eed40c add separate packet dumping option to the network stack, to allow for less-verbose debugging messaging (debugigng where packet dump/trace is not required);
3 months ago
Bryan Biedenkapp 40ef37179b prevent issue with 0 callDstId on dvmpatch; reject TDUs with no destination (these are invalid and can fuck off);
3 months ago
Bryan Biedenkapp ef7ed5f57a report ssrc for late packets;
3 months ago
Bryan Biedenkapp 7c98c1fbc8 BUGFIX: validate destination matches before handling TDU;
3 months ago
Bryan Biedenkapp 2caaccd9a9 hide debug messages;
3 months ago
Bryan Biedenkapp 75e808c90c add dropped call support to dvmpatch; refactor/rewrite dvmpatch encryption support;
3 months ago
Bryan Biedenkapp 6750afaebe BUGFIX: dvmbridge, ignore UDP frame timeouts when using RTP or USRP UDP streams;
3 months ago
Bryan Biedenkapp 2ee49c84e7 BUGFIX: always allow the network stack to process and pass RTP frames carrying the end of call sequence (65535);
3 months ago
Bryan Biedenkapp c93694e705 BUGFIX: only consider jitter buffer for RTP frames not carrying the end of call sequence (65535);
3 months ago
Bryan Biedenkapp 2e4bb275ab add some experiemental support to dvmpatch to support clear to enc one-way patching;
3 months ago
Bryan Biedenkapp 23e6823ea0 BUGFIX: add more stream ID lockout reset handling;
3 months ago
Bryan Biedenkapp a8734c0f31 BUGFIX: add more stream ID lockout reset handling;
3 months ago
Bryan Biedenkapp 5a70ace0af BUGFIX: for R05A04s 1s delayed TDU, make sure we have valid IDs before allowing a delayed TDU;
3 months ago
Bryan Biedenkapp 753ad09c6f BUGFIX: dvmpatch did not properly release the network stream ID at the termination of a call, resulting in a hang up;
3 months ago
Bryan Biedenkapp 7be04dad49 attempt to validate source IP/port during a RPTL, RPTK or RPTC event when RPTL, RPTK or RPTC is sent while not in the correct login state;
3 months ago
Bryan Biedenkapp 3ba3ab33bb track active call counts (this might be slightly error prone, so we will at best call this an approximate number);
3 months ago
Bryan Biedenkapp c04ec02f15 BUGFIX: lets not memset past the possible end of the key array....;
3 months ago
Bryan Biedenkapp dc5c833c68 initialize FinalCut palette earlier;
3 months ago
Bryan Biedenkapp 4f92cd373f implement support to configure adaptive jitter buffer from peered;
4 months ago
Bryan Biedenkapp 4515f10c7a slight TUI color palette change;
4 months ago
Bryan Biedenkapp 6ebf2be856 EXPERIMENTAL: add option for 1 second delayed network TDU when a subscriber dekeys;
4 months ago
Bryan Biedenkapp 2dad4a81c4 shut the compiler up about order of constructor initializers;
4 months ago
Bryan Biedenkapp 8163f0c322 Win32: FNE's P25PacketData clock() in its entirety should do nothing on Windows;
4 months ago
Bryan Biedenkapp c3677e08e0 WIN32: fix ctime_r and add Win32 compat for ctime_s so we can compile on Win32 again;
4 months ago
Bryan Biedenkapp 230f6c5358 add fne-stats; add reload peers and crypto;
4 months ago
Bryan Biedenkapp 7d15834462 add prereq logging of last load time for various lookup tables;
4 months ago
Bryan Biedenkapp 4f5051e8b6 better implement V(R) V(S) checking;
4 months ago
Bryan Biedenkapp ce6f04e6eb add some extra logging for VTUN PDU;
4 months ago
Bryan Biedenkapp 4164a12da5 implement preliminary positive response to KMM HELLO (this still will fail with No-Service due to missing implementation for per-SU UKEK implementation from the crypto container);
4 months ago
Bryan Biedenkapp cbb494cde3 use 3/4 rate instead of 1 rate; add some dev notes future me;
4 months ago
Bryan Biedenkapp 2f0c301685 implement a very preliminary DMR to VTUN IP dispatcher based on the P25 implementation (while I am sure this is probably going to be quite iffy, I am quite sure the VTUN TAP interface method we are using *is* the right direction; even though the P25 implementation is iffy, with iteration over time I suspect it is the correct approach, as such I have implemented a DMR equiviliant based on the P25 implementation);
4 months ago
Bryan Biedenkapp 9bad51784e BUGFIX: correct similar ip struct casting problem;
4 months ago
Bryan Biedenkapp d50a3a79a5 BUGFIX: correct naive implementation that did not consider the length of the packet being sent, which could result in a nullptr after casting the ip struct; BUGFIX: send actual bytes read from VTUN vs the default MTU size;
4 months ago
Bryan Biedenkapp aab56fe0a2 properly move hastily erected debug YAML config to the peer ACL file instead;
4 months ago
Bryan Biedenkapp b936e6b7cb remove unnecessary garbage in AI generated doc; use references for autos when looping peers; normalize jitter buffer log messages;
4 months ago
Bryan Biedenkapp 80215c00a1 EXPERIMENTAL: add an adaptive jitter buffer implementation to the FNE to better deal with peers on bad connections that may send packets out-of-sequence;
4 months ago
Bryan Biedenkapp b5d480ed24 enhance InfluxDB implementation: fix bad handling on Windows; fix bad use of free() for address info freeaddrinfo(); fix partial data writes for bigger payloads; enhance getting responses back from InfluxDB (this makes it so that InfluxDB cannot fail silently easily);
4 months ago
Bryan Biedenkapp 463bdee4bf BUGFIX: fix some unbounded array checking;
4 months ago
Bryan Biedenkapp c7b9f80335 rebuild r05a04_dev from nasty Git merge bullshit; implement handling of SNDCP on the FNE instead of dvmhost; add quick sanity Catch2 testcases; BUGFIX: NXDN SACCH was incorrectly handling the RAN and structure causing the structure value to become overwritten; correct badly set example IP range in FNE config; add AI generated documentation for the network statck, FNE REST and DVMHost REST; update version number for next dev version;
4 months ago
Bryan Biedenkapp 274a8f23fc
Merge R05A02 (r04k32_dev branch) into Master (#110)
4 months ago
Bryan Biedenkapp e9abdf63aa BUGFIX: correct scenario where traffic from an upstream master to a downstream peer FNE would lose the RTP sequence numbering;
6 months ago
Bryan Biedenkapp 236073a2d3 BUGFIX: null reference when trying to perform old style lookup of timestamp when debugging is enabled;
6 months ago
Bryan Biedenkapp 7c2bfb3914
R04J32 Merge to Master (#95)
7 months ago
Bryan Biedenkapp fcdec00f32 BUGFIX: correct issue where a completely incorrectly formatted identity table missing the appropriate number of entities would cause a startup crash; minor formatting cleanups for readability;
10 months ago
Bryan Biedenkapp 9fe90d3238 BUGFIX: evaluate the build arch and if we're building arm64 or armhf ensure atomic library is added to the dvmbridge linker stage;
10 months ago
Bryan Biedenkapp 51bf65775a BUGFIX: site data was not being set on the RCCH for NXDN;
10 months ago
Bryan Biedenkapp 5010fda595
deprecate Peer ACL blacklist mode; (#91)
10 months ago
Bryan Biedenkapp baded95e1f BUGFIX: correct issue where the pingTime configurable on the FNE could be greater then the maximum allowable timeout on the peers resulting in highly unstable configurations, the maximum allowable ping time is set to a hardcoded 60 second maximum;
10 months ago
Bryan Biedenkapp f791f9ae58 BUGFIX: if the host retried the login attempt and set WAITING_LOGIN state, it was possible for the connection to become stuck in an endless limbo state resulting in no connection, resolve this by evaluating the retry interval while in WAITING_LOGIN (login attempts to the FNE should not take over 10 seconds to complete!);
10 months ago
Bryan Biedenkapp 4306764819 BUGFIX: report appropriate LLID when responding to a KMM_HELLO (we currently report NO_SERVICE back to the SU for an OTAR request);
10 months ago
Bryan Biedenkapp de2c471cd7 BUGFIX: due to refactor in #88, it is possible for PDUs to arrive simultaneously in a very efficient manner, this confuses the P25 packet data handler logic causing very strange behavior (including a crash), this bugfix corrects that problem by: a) allowing data blocks for a given peer to arrive and be stored in any order (order is defined by the current block number), b) allow the data header to arrive at any time, c) once all blocks have been received and a valid data header is received, then the original PDU dispatch logic may execute;
10 months ago
Bryan Biedenkapp 1bf33a2055 update modem submodule;
10 months ago
Bryan Biedenkapp 5b6cc228ae update modem submodule;
10 months ago
Bryan Biedenkapp 738ee918d1
R04H31 Merge to Master (#89)
10 months ago
Bryan Biedenkapp 5e31e9a642 file cleanups;
11 months ago
Bryan Biedenkapp af2e7c9c8d
R04H30 Merge to Master (#88)
11 months ago
Bryan Biedenkapp c10087e6cd correct some minor errors;
11 months ago
Bryan Biedenkapp ac0cc2cf90 change locking mechanism for lookup tables;
11 months ago
Bryan Biedenkapp 10f6514c55 automatically enable SSL support if we detect libssl-dev;
12 months ago
Bryan Biedenkapp 030a09ebe9 change ENABLE_TCP_SSL to just ENABLE_SSL;
12 months ago
Bryan Biedenkapp b21f956bf9 fix incorrect variable type (this should have been a signed int);
12 months ago
Bryan Biedenkapp 2b8c7d4c91 partially revert 9ed3312, don't perform locking on isGranted(), isGroup() and isNetGranted();
12 months ago
Bryan Biedenkapp 9ed3312438 properly mutex lock in AffiliationLookup; add more mutex locking in ChannelLookup;
12 months ago
Bryan Biedenkapp 9af5c6b2bc ensure during encode we never allow a source ID of 0;
12 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;
12 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;
12 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;
12 months ago
Bryan Biedenkapp 774558ebd7 add better locking around frame queue flushing and enqueuing; make peer ACK messages direct writes (don't queue them);
12 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];
12 months ago
Bryan Biedenkapp 26aafbe1dd live long and oopsie;
12 months ago
Bryan Biedenkapp 6690098a1c do not announce data services when set for trunking and SNDCP is disabled;
12 months ago
Bryan Biedenkapp 89fe5bc1dc yet again make Win32 compiles work correctly;
12 months ago

Powered by TurnKey Linux.