Bryan Biedenkapp
e96384293e
attempt to better document blockTrafficTo;
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 )
...
* migrate away from REST API for inter-dvmhost operations towards a custom UDP RPC framework;
* replace config parameters for REST API in some places with properly named RPC; swap peer Network, FNE DiagNetwork and FNENetwork over from if-else-if ladders to switch statements (switch statements perform logically better after compilation because the compiler tends to optimize these into jump-tables which execute faster);
* continued work on inter-dvmhost REST to RPC transition;
* update build bumper for R04G20 to R04G21;
* cleanup config file;
* clean up doc/commenting;
11 months ago
Bryan Biedenkapp
6b5c61009a
add a interconnectivity diagram provided by @W3AXL;
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
7fc583c576
change some minor README.md formatting;
11 months ago
Bryan Biedenkapp
2b5e7dc836
correct README.md typo;
11 months ago
Bryan Biedenkapp
0e955ec1ab
update README.md
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
Bryan Biedenkapp
2d3aeb5307
reorganize code make things cleaner -- move P25 crypto into its own common class for reuse purposes;
11 months ago
Bryan Biedenkapp
03de7fdb0b
fix range clipping when using rxAudioGain or txAudioGain (previous code would allow a negative gain (to lower amplitude) to allow overflowing sample values);
11 months ago
Bryan Biedenkapp
cacec1fe8a
apparently Windows CPP is a pain in the ass, make it happy;
11 months ago
Bryan Biedenkapp
727ff3ed7b
add preliminary encryption support to dvmbridge (P25-only supports AES256 and ARC4); correct and hide some debug trace for FNE KMM messaging; implement support to generate a ARC4 keystream;
11 months ago
Bryan Biedenkapp
1c85e35ba2
correct possible buffer cleanup issues;
11 months ago
Bryan Biedenkapp
33d6c919d7
runAsThread should not automatically cleanup the passed thread_t, this should be done by the caller;
11 months ago
Bryan Biedenkapp
d11da32be7
ignore all build* folders;
11 months ago
Bryan Biedenkapp
02ab481a2d
make fne-watchdog.sh noisy;
11 months ago
Bryan Biedenkapp
ba23d0250d
instead of assert return false; better handle buffer init;
11 months ago
Bryan Biedenkapp
aef9545f72
cool this got broken...;
11 months ago
Bryan Biedenkapp
861a608bca
add some more debug trace while in TIA mode;
11 months ago
Bryan Biedenkapp
d8e6b17fbb
okay, because a certain OEM's system does, idiotic things, lets handle a START_OF_STREAM block along side FULLRATE_VOICE blocks;
11 months ago
Bryan Biedenkapp
1d9eefba56
attempt to remove relative pathing from CMake (hopefully nothing explodes);
11 months ago
Bryan Biedenkapp
8883feba9c
Revert "payload flag should be set false for ACK block type DFSI messages;"
...
This reverts commit ca09893970 .
11 months ago
Bryan Biedenkapp
ca09893970
payload flag should be set false for ACK block type DFSI messages;
11 months ago
Bryan Biedenkapp
db5a2310a4
send a return ACK on reception of a Start of Stream;
11 months ago
Bryan Biedenkapp
de02fdd445
[EXPERIMENTAL] experimental change for @faultywarrior, make V24 UDP respond back to whatever the source port that sent a request was;
11 months ago
Bryan Biedenkapp
3798c52b54
reorganize SIP handler code slighty;
11 months ago
Bryan Biedenkapp
cf2dee95d2
code cleanup; add SIP lexer and data handlers;
11 months ago
Bryan Biedenkapp
07edd0dbff
handle illegal call end properly;
11 months ago
Bryan Biedenkapp
1e8c266d8a
implement support to handle KMMs at the FNE; hardcode the host to ignore repeating KMM frames; implement HELLO KMM support and response with a NO_SERVICE (we don't have OTAR implemented at this time);
11 months ago
Bryan Biedenkapp
3dd7871ee6
ensure FNE key req/rsp handle variable length keys properly (fixes an issue with sending DES and ARC4 keys as 32-byte length keys);
11 months ago
Bryan Biedenkapp
9806ece4f5
add KMM opcodes for dereg, reg, NACK, no service, and zeroize;
11 months ago