Commit Graph

149 Commits (r05a06_dev)

Author SHA1 Message Date
Bryan Biedenkapp 54cee44381 fixes for REST API handling, correct bad condition where TLS handshakes could leave dangling sockets, add deadlines for various operations to prevent deadlock scenarios, REST handlers operate async to prevent blocking ASIO event loop;
3 weeks ago
Bryan Biedenkapp a5e0f0f315 parrot playback should also properly adhere to inclusion peer list rules; add more robust peer traffic routing tests;
3 weeks ago
Bryan Biedenkapp 944a434db3 add better handling for parrot playback to do typical eligibility checks; add testcases to test these conditions;
3 weeks ago
Bryan Biedenkapp 15e18e3ccf file cleanup;
4 weeks ago
Bryan Biedenkapp 7ecb66ae93 whoops forgot to add source file;
4 weeks ago
Bryan Biedenkapp a67733c671 add some lifecycle tests for telephone interconnect;
4 weeks ago
Bryan Biedenkapp ffaf2ff88b correct issue with direct literal assignment to the JSON structure (you cannot do this); correct LC_TEL_INT_VCH_USER reading data from an incorrect offset; correct a bad testcase assumption;
4 weeks ago
majmongoose c0f4b89f6e
P25 telephone interconnect (TIA-102 PSTN calls) for trunked systems via a gateway peer (#133)
4 weeks ago
Bryan Biedenkapp 067b622fe9 aggregate peer affiliations and unit registrations upstream;
1 month ago
Bryan Biedenkapp b231a2f0fc prevent peer replication traffic worker deadlocks; replace raw peer pointers with shared ownership and use short-lived peer registry locks with stable snapshots; avoid holding peer locks during traffic queue writes, metadata updates, replication, and REST serialization, while keeping connections alive during concurrent disconnects;
1 month ago
Bryan Biedenkapp 9c66e6b8db correct possible replication-based metadata worker deadlock;
1 month ago
Bryan Biedenkapp 32b8e625e5 add RF talkgroup steering and preemption coverage for P25 enhanced conventional grants;
1 month ago
Bryan Biedenkapp 3b1d249dd9 support standard unconfirmed P25 MBT packets; implement TELE_INT_DIAL_REQ encoding and decoding; add factory routing and unit tests;
1 month ago
Bryan Biedenkapp 55b7570701 implement Change-RSI KMM encoding/decoding; recover from authenticated invalid-MN rekey NAKs using Change-RSI; resume rekeying after successful message-number resynchronization; optionally issue keyset changeover after rekey completion;
1 month ago
Bryan Biedenkapp 042c6986d8 enhance PacketBuffer to support extended PacketBuffer delivery;
1 month ago
Bryan Biedenkapp fb9db6ba1a correct KMM tests after correction for maximum KMF RSI;
1 month ago
Bryan Biedenkapp 6c8becc8a6 correct some STP edge case failures; implement STP unit tests proper;
1 month ago
Bryan Biedenkapp 97208efc43 implement some PacketBuffer bounds and order fixes;
1 month ago
Bryan Biedenkapp 536997ac10 add Tier III UDT and registration authentication;
2 months ago
Bryan Biedenkapp dbc30e97b4 correct DMR ACK_RSP dstId truncation;
2 months ago
Bryan Biedenkapp 33b9e25f55 recover Tier III grants for payload-channel re-key;
2 months ago
Bryan Biedenkapp 25dfc17d44 correct Tier III call teardown and slot allocation;
2 months ago
Bryan Biedenkapp 35a2716c07 add AACA Warm-Start Command encoding, CBC-MAC authentication, and temporary TEK handling; begin rekey immediately after a valid Warm-Start acknowledgment or after the response timeout; add upstream UKEK resolution through replica masters; rename LLA key request/response packets to generalized KEK exchanges; include algorithm metadata in KEK responses and network callbacks; improve KMM validation, MAC handling, and encrypted DLD/DLI processing; advertise idle inbound-channel status symbols on outbound P25 PDUs; add Warm Start configuration, test hooks, and expanded KMM/OTAR coverage;
2 months ago
Bryan Biedenkapp 5d32e6fe70 implement support to send the KMM changeover;
2 months ago
Bryan Biedenkapp aba9c330ef pace complete PDU transactions for air and hotspot modems; correct TIA-102 enhanced AES CBC-MAC generation; start outbound KMM message numbering at one; clear completed FNE response state before the next PDU; decode and log authenticated and invalid-MAC KMM NACKs; add KMM changeover command/response support;
2 months ago
Bryan Biedenkapp cd4496b56c correct OTAR response encryption and ACK ordering;
2 months ago
Bryan Biedenkapp 1cb1281839 harden PDU delivery and batch OTAR rekey commands;
2 months ago
Bryan Biedenkapp c59e93199c fix up ModemV24 to handle PDUs better;
2 months ago
Bryan Biedenkapp ce57f48302 corrected short/long modem frame serialization without mutating source lengths or overrunning buffers; removed double-counted PDU padding in common and V.24 assembly; added checked native-modem size enforcement before transmitting oversized PDUs; fixed exact-boundary padding calculations for P25 DataHeader; corrected unconfirmed Auxiliary ES handling, including the 13th-byte EXSAP field; removed incorrect test-side padding-length workarounds that caused tests to pass when they should not have; added exact-boundary and Auxiliary ES regression assertions;
2 months ago
Bryan Biedenkapp 4d1300826c reorganize source files; add mirror functionality for data router and packet scheduler from P25 to DMR; add tests;
2 months ago
Bryan Biedenkapp 3060769f9b add better handling for ARP and data packet routing;
2 months ago
Bryan Biedenkapp b0e2903fb6 perform refactor for how convential CAI P25 Data and SCEP is handled;
2 months ago
Bryan Biedenkapp 10e681d87f harden OTAR KMM handling and add bearer integration tests;
2 months ago
Bryan Biedenkapp 0bdac24d07 correct KMM NACK responses where necessary;
2 months ago
Bryan Biedenkapp 05b62003fa whoops placed tests in wrong files;
2 months ago
Bryan Biedenkapp 808aa8b70f correct bad KMM authentication and replay protection; correctly negotiate proper response authentication; correct key-format semantics (there was a serious mismatch in P25Defines causing incorrect handling of values); harden KMM parsing and framing; fix PDU AES OFB processing; expand the P25 OTAR and crypto tests;
2 months ago
Bryan Biedenkapp 99038b07ec EXPERIMENTAL: add experimental support for NXDN encrypt/decrypt on bridge;
2 months ago
Bryan Biedenkapp 5c5016b623 implement NXDN crypto support; code cleanup;
2 months ago
Bryan Biedenkapp a2dea3c4c6 add PatchRegistry sanity tests;
2 months ago
Bryan Biedenkapp e4bc909972 correct bad LICH handling for RCCH type packets; correct some bad PacketInformation handling;
2 months ago
Bryan Biedenkapp 9662385249 correct various P25P2 issues; correct bad P25P1 bit additions from network TSDUs;
2 months ago
Bryan Biedenkapp 5091225a9f correct DMR PDU handling;
2 months ago
Bryan Biedenkapp 28dd3ce50e correct DMR and NXDN low-level network loopback tests; add missing analog and P25 Phase 2 network loopback tests;
2 months ago
Bryan Biedenkapp 9f2949ac8b add missing network frame test;
2 months ago
Bryan Biedenkapp e9815ea8b9 correct FNE transport for NXDN to handle 48-byte CAI frames (as intended); correct NXDN bridge issues not properly handling the VCALL header and not handling the SACCH voice superframes correctly; correct NXDN bridge not properly handling NXDN FACCH TX_REL; correct FNE grant using VCALL instead of VCALL_CONN; correct memory handling for NXDN VCALL_IV MI handling; correct dvmhost TX_REL handling to use message type instead of depending on the modem tags alone; correct FACCH LC handling, this was handling incorrect lengths; expand NXDN unit tests;
2 months ago
Bryan Biedenkapp cb390aa0cd correct packetbuffer issues;
2 months ago
Bryan Biedenkapp fc23017cf2 P25 OTAR unit tests;
2 months ago
Bryan Biedenkapp 0776f91ba8 correct issue where GROUP_UPDT would incorrectly override the currently active dstId;
3 months ago
Bryan Biedenkapp 5e684228f5 add APIs for managing the separate RID alias data; add Catch2 tests;
3 months ago
Bryan Biedenkapp d736e7b598 implement FNE REST API tests;
3 months ago
Bryan Biedenkapp fb6a8089ea start plumbing for Harris RF OTA User Alias (this is not wired yet...);
3 months ago
Bryan Biedenkapp cf50ebdfb4 file cleanup;
3 months ago
Bryan Biedenkapp f3652d39a7 correct a regression with HTTP GET due to previous HTTP hardening;
3 months ago
Bryan Biedenkapp 47fff42173 add support for FNE tests via dvmtests harness;
3 months ago
Bryan Biedenkapp 5e15e26547 correct a out-of-bounds read error in the HTTP server;
3 months ago
Bryan Biedenkapp 2b3276f3d0 add FNE support to transmit P25 Phase 2 traffic; ensure critical Phase 2 data (such as scrambler offset and MAC PDU Opcode) are sent in P25 Phase 2 frames;
3 months ago
Bryan Biedenkapp e9dc058704 baseline implementation of host-only P25 Phase 2 implementation (this creates the plumbing required later once the SDR modems have support for Phase 2);
3 months ago
Bryan Biedenkapp b13f127036 expand previous PR to cover all RS decode functions; implement fecErr returns for P2 LC handlers; update tests;
3 months ago
Bryan Biedenkapp 105e77d7bd add more tests;
4 months ago
Bryan Biedenkapp 794e8b71e5 replace UDPSockets preshared AES-ECB implementation with a AES-CBC implementation;
4 months ago
Bryan Biedenkapp c731b9113a implement more complete network loopback tests;
4 months ago
Bryan Biedenkapp a08d2bd432 add core network loopback tests for sanity;
4 months ago
Bryan Biedenkapp 0d896f650d code cleanup;
4 months ago
Bryan Biedenkapp 66aa15ef53 continue adding code tests;
4 months ago
Bryan Biedenkapp 2cff88b802 add rfTGHang and rfLossWatchdog tests;
4 months ago
Bryan Biedenkapp 7bc01ec473 duplicate applicable tests across to DMR and NXDN;
4 months ago
Bryan Biedenkapp 0dc6e2bf41 during active RF collision defer stale stream reset;
4 months ago
Bryan Biedenkapp 5321821490 fix incorrect assumptions by some HostControl tests; correct HostControl class name collisions that would cause strange link time errors; correct intermittent CRC-6 test failure;
4 months ago
Bryan Biedenkapp 32c483a486 enhance new host control tests for network loopback testing to test network thru to control machinery;
4 months ago
Bryan Biedenkapp 399992fec9 correct possible edge case causing the Rx P25 stream ID to become stuck; build and implement a test harness against the host controller paths to validate logic where possible;
4 months ago
Bryan Biedenkapp 8b7f5cee72 add catch2 tests for Thread and ThreadPool;
4 months ago
Bryan Biedenkapp aea826fcbf minor jitter buffer alteration to properly drop the oldest frame vs the last frame;
4 months ago
Bryan Biedenkapp 63e197fa73 more catch2 tests for base functions;
4 months ago
Bryan Biedenkapp e810d0a547 continue implementing catch2 tests;
4 months ago
Bryan Biedenkapp 8fcd066c02 correct 3-bit error handling for Golay(24,12,8); add tests against network engine code; correct sendmmsg implementation against documentation for sendmmsg to better handle partially sent queues instead of discarding;
4 months ago
Bryan Biedenkapp 82f0c0c375 implement support to encrypt any TEK data with a preshared key;
4 months ago
Bryan Biedenkapp f72fc5a1b3 corrections for failing NXDN tests;
5 months ago
Bryan Biedenkapp 3d22282606 add CAC/RCCH/UDCH rudimentary round-trip tests;
5 months ago
Bryan Biedenkapp c76b417082 correct some minor NXDN issues;
5 months ago
Bryan Biedenkapp 5b3433a3f3 whoops, add missing files, this time really add P25P2 MAC scrambling support;
5 months ago
Bryan Biedenkapp 391e0068af add proper support for P25 P2 MAC scrambling; fix and enhance message number following for KMM frames; correct and fix CMAC rekey calculations;
5 months ago
Bryan Biedenkapp 274b805517
Merge R05A04 (r05a04_dev) into master (#114)
9 months ago
Bryan Biedenkapp 274a8f23fc
Merge R05A02 (r04k32_dev branch) into Master (#110)
12 months ago
Bryan Biedenkapp abe45a1d53 fix up file headers;
2 years ago
Bryan Biedenkapp 441712cefe update K for RC4 test;
2 years ago
Bryan Biedenkapp 8ba9e5c846 fix up Catch2 tests (these are woefully maintained...); add support for RC4-type encryption;
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);
3 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;
3 years ago
Bryan Biedenkapp 140b4ecd3c further cleanup/rework of CMake scripts;
3 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;
3 years ago
Bryan Biedenkapp 243ad6ce0c increase NXDN voice call verbosity; correct incorrectly calculated data offset for NXDN voice data;
3 years ago
Bryan Biedenkapp 1eb24608a0 add tiny AES library (for future LLA use);
3 years ago
Bryan Biedenkapp 2b6b0c574d
merge 3.5-dev into master, this marks 3.5 alpha/beta release; (#31)
3 years ago
Bryan Biedenkapp e6a399d4fb no fprintf's!;
4 years ago
Bryan Biedenkapp 53c6aeb0a4 update tests;
4 years ago
Bryan Biedenkapp bfb43e0a7a add CRC tests;
4 years ago
Bryan Biedenkapp 4ed018e72a slight file reorg;
4 years ago
Bryan Biedenkapp 095611d573 implement Reed-Soloman tests as actual P25 test cases using Catch2;
4 years ago
Nat Moore 4f181f8aa0 add testing framework;
4 years ago

Powered by TurnKey Linux.