Bryan Biedenkapp
|
258feb0173
|
put the naughty message in the right spot;
|
2 years ago |
Bryan Biedenkapp
|
942a53069b
|
add support to gate GRP_VCH_GRANT messages from going to peers with no affiliations for a TG (if the TG is configured for affiliated only);
|
2 years ago |
Bryan Biedenkapp
|
36099367c8
|
fix condition where the Log and ActivityLog would overflow the character buffer by no properly calculating the length of the va_args string (this should resolve buffer overflow terminations on GCC 13+);
|
2 years ago |
Bryan Biedenkapp
|
0ad47a1989
|
be a little less obtuse about the NAK reason in the FNE log;
|
2 years ago |
Bryan Biedenkapp
|
a1a0065a74
|
when logging what the peer reports as identity use 8 character padding;
|
2 years ago |
Bryan Biedenkapp
|
1cdd2aa56d
|
normalize log formatting better;
|
2 years ago |
Bryan Biedenkapp
|
9cfde0e57e
|
report peer identity string in influx data; make sure non-alternate port reporting properly reports peer identity;
|
2 years ago |
Bryan Biedenkapp
|
e57541c135
|
it would help if this was a string...;
|
2 years ago |
Bryan Biedenkapp
|
b1e0058986
|
whoops handle boolean with yes/no output response instead of 0/1;
|
2 years ago |
Bryan Biedenkapp
|
bcd2cf21e7
|
add support to report the textual identity in the logs for a peer along with its peer ID in most cases;
|
2 years ago |
Bryan Biedenkapp
|
75dbc9e025
|
refactor parrot frame storage; add support to allow parrot responses to go only to the peer for which the parrot call originated;
|
2 years ago |
Bryan Biedenkapp
|
c249ee5803
|
fix offset issue for network generated TSDUs;
|
2 years ago |
W3AXL
|
d980da74be
|
small fix to make preferred sites work via REST
|
2 years ago |
Bryan Biedenkapp
|
e0b6da51fb
|
make the network presence announcment (VC -> CC and CC -> FNE) timing configurable (this value is in seconds); refactor RF channel enumeration, RF channels are now enumerated in their own class ChannelLookup instead of being integrated into AffiliationLookup, this allows the flexibility to update and change channel information at runtime; add support for VC -> CC presence/registration to tell the CC what the REST information is for that VC, this makes the restAddress and restPort entries for the voiceChNo list in the config.yml optional, the only mandatory fields are channelId, channelNo and restPassword;
|
2 years ago |
Bryan Biedenkapp
|
0f7eabff82
|
implement support for peers that identify themselves as "conventional" to ignore affiliated talkgroup rules and be able to receive all traffic if the FNE is configured to allow promiscuous operation; implement extremely preliminary support to allow a CC to claim a VC peer, allowing for appropriate grouping of peers for trunked sites;
|
2 years ago |
Bryan Biedenkapp
|
4d776f6314
|
add support for DMR T3 adjacent site broadcast;
|
2 years ago |
Bryan Biedenkapp
|
3d752bc363
|
add preferred peer ID lists to the REST API;
|
2 years ago |
Bryan Biedenkapp
|
096efcef1a
|
ignore affiliation checks for ISSI-type peers, they are excluded from affiliation rule checking;
|
2 years ago |
Bryan Biedenkapp
|
94da264f55
|
better handle checking if a peer affiliation table has become invalid (null); better handle cleanup and creation of peer affiliation tables;
|
2 years ago |
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
|
1341690653
|
add call error (failed validation) events to InfluxDB logging;
|
2 years ago |
Bryan Biedenkapp
|
96a9ba1c03
|
implement trunking site preference support for TGIDs, this implements a feature by which TGIDs can be gated to allow affiliation to preferred sites, all other non-preferred sites will DENY affiliation causing the radio to attempt to roam to another site (this is a trunking only feature and does not change conventional operation);
|
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
|
1ef806fef1
|
handle edge-case scenario of RTP packet sequence overrun;
|
2 years ago |
Bryan Biedenkapp
|
1632019650
|
port and implement /dmr/rid and /p25/rid REST APIs on the CFNE;
|
2 years ago |
W3AXL
|
9675f42db5
|
added ability to save RID/TGID lookups from the FNE to local files
|
2 years ago |
W3AXL
|
b75389cd47
|
simple fix for RID list updates, verified on list sizes of 49, 50, 51, 99, 100, and 101
|
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
|
31ca17449d
|
*BEWARE* this commit alters the RPI_ARM cross-compiler and may break things *BEWARE*; implement support for HTTPS SSL REST API configuration; add contrib binary overlay for the RPI_ARM compiler (to add libssl-dev dependences);
|
2 years ago |
Bryan Biedenkapp
|
b4f9b2d201
|
fix some issues with the "unsupported no no mode" that people continue to abuse; correct issue with calculating list offsets when announcing RID lists to the host;
|
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
|
9dadc06130
|
I was asked for ASCII art, and I deliver, thus, ASCII art;
|
2 years ago |
Bryan Biedenkapp
|
c3f9b69454
|
catch and log certain situations where a buffer in a buffer vector may be released (this is likely due to a non-tread safe network flush); expose size of inclusion, exclusion and rewrite lists so we don't need to copy them to know the size;
|
2 years ago |
Bryan Biedenkapp
|
ba785f3d91
|
hide debug here (m_debug/m_verbose should be adhered to in classes as they *optionally* enable debug trace for modules, allowing the LogLevel to be set to 1 and not spam the log/console with unintended debug statements); alter bad handling of a compiler constant string for the Server/User-Agent strings;
|
2 years ago |
Bryan Biedenkapp
|
4acb60aeff
|
add more plumbing to the CFNE for future use;
|
2 years ago |
Bryan Biedenkapp
|
e7ce1d1f20
|
report errno errors from pthread_create;
|
2 years ago |
Bryan Biedenkapp
|
92a5bbd580
|
treat threadedNetworkRx and threadedACLUpdate with pthread_detach and ensure they will not retain resources waiting for a pthread_join that'll never happen;
|
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 |
Patrick W3AXL
|
d8eff1f1f4
|
got tgid editing via REST mostly working (#49)
|
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 |
Patrick W3AXL
|
a279b33876
|
Add RID alias to RID ACL (#48)
* initial RID alias support
* don't use toggle for an RID update from the REST API
|
2 years ago |
Bryan Biedenkapp
|
987e944d4b
|
add flag to denote traffic flow for external peers (that is a peer connection the CFNE makes to another CFNE);
|
2 years ago |