Commit Graph

35 Commits (11280a2acfb1daf762113800753fb567a4fec61e)

Author SHA1 Message Date
Lorenzo L. Romero 11280a2acf
Merge 9c3601462f into 493ef2a728
6 days ago
Bryan Biedenkapp 74473bb6ad bump default nakFallOver count from 10 to 50 to decrease NAK fallover sensitivity;
7 days ago
Bryan Biedenkapp 5a0ae176c3 do not reset nakFallOverCount ever, this is a fatal accumulation, if we accumulate NAKs then are suddenly fine, this can cause a situation where the NAK fallover logic never activates;
7 days ago
Lorenzo L. Romero 9c3601462f FNE patch status registry replication. Add docs to new patch registry functions. Replace unordered map with mutex guarded map.
3 weeks ago
Bryan Biedenkapp ed028fdb94 add experimental NAK fallover logic, this is intended for use in situations where excess NAKs from an upstream master can be used to trigger a shutdown of the FNE, intentionally, this requires external scripts or systemd/init system to then restart the process after it automatically shuts down, the intention here is to very heavy handedly force a full state reset of the FNE in a case where it is unable to reconnect properly through other means;
2 months ago
Bryan Biedenkapp 7981a0a517 whoops typo;
2 months ago
Bryan Biedenkapp ec3c027e97 in an attempt to prevent the FNE upstream peer connection from becoming brain dead, use the new mechanism to handle NAKs and properly reset our connection on reception of one;
2 months ago
Bryan Biedenkapp 9d0d1f221d fix issue with HTTP ClientConnection and SecureClientConnection not properly handling responses >65K bytes; add missing backward compat flags (for now, after R05A06 these will be removed); update copyright headers properly in modified files;
2 months ago
Bryan Biedenkapp 3033a5889c because we are now getting varying types of peer connection classes, lets properly change the growing list of booleans to a proper class value and perform logic based on that instead; begin adding support for a console connection class (this operatess ssimilarly to sysview with validation freedoms, but does not get diagnostic messaging;
3 months ago
Bryan Biedenkapp 274b805517
Merge R05A04 (r05a04_dev) into master (#114)
3 months ago
Bryan Biedenkapp 274a8f23fc
Merge R05A02 (r04k32_dev branch) into Master (#110)
6 months ago
Bryan Biedenkapp 7c2bfb3914
R04J32 Merge to Master (#95)
9 months ago
Bryan Biedenkapp 738ee918d1
R04H31 Merge to Master (#89)
1 year ago
Bryan Biedenkapp af2e7c9c8d
R04H30 Merge to Master (#88)
1 year 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);
1 year 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;
1 year 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;
1 year ago
Bryan Biedenkapp 6927ea284c add preliminary support for forwarding a key request up to the next FNE (if we are Peer Linked);
1 year ago
Bryan Biedenkapp ef1a0df496 refactor FNE RTP packet handling, this change better handles a peer end-point transmitting multiple varied RTP streams; refactor promiscuous handling of RTP streams on the host network API; refactor handling non-promiscuous handling of RTP streams on the host network API; bump project version from 4.11F to 4.11G to reflect these larger changes; correct bad use of magic numbers when dealing with signal values;
1 year ago
Bryan Biedenkapp 3b395a99cf fix issue with potentional concurrency crash when updating lookup tables in PEER_LINK;
1 year ago
Bryan Biedenkapp 973fa59740 add extra error handling and check if the lookup tables are available before attempting to process;
2 years ago
Bryan Biedenkapp 50bdb43db2 add Peer-Link support to SysView, so long as the FNE is appropriately configured, this will allow SysView to operate without TGID or RID configuration files;
2 years ago
Bryan Biedenkapp 2893ed20d4 ensure multiple instances of a peer-link FNE don't clobber each other when receiving peer-link ACL;
2 years ago
Bryan Biedenkapp f40e6c6af0
Merge Peer Link Enhancement Changes (#73)
2 years ago
Bryan Biedenkapp 5f601247b7 add zlib 1.3.1 dep (included in common); implement Peer-Link feature, this allows a master CFNE, when configured by peer list, to transmit complete talkgroup, RID and peer list data to subordinate CFNEs;
2 years ago
Bryan Biedenkapp 65fa91b7cb
[THIS MAY BREAK THINGS, BE AWARE] Merge Win32 support and C++ dvmbridge into master. (#67)
2 years ago
Bryan Biedenkapp 882c2564ca correct double spaced formatting of CPP files in common; convert dvmhost to Doxygen documentation format; convert dvmfne to Doxygen documentation format; convert dvmcmd to Doxygen documentation format;
2 years ago
Bryan Biedenkapp 36c04a74ec move the NET_FUNC* and NET_SUBFUNC* constants into proper namespaced enums;
2 years ago
Bryan Biedenkapp 864044ff8b replace sprintf with snprintf;
2 years ago
W3AXL 9675f42db5 added ability to save RID/TGID lookups from the FNE to local files
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 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
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);
2 years ago
Bryan Biedenkapp d9e2458722 implement support for low-level TCP sockets; deprecate and remove new_unique macro and use appropriate std::make_unique; apply various clang linting;
2 years ago
Bryan Biedenkapp bde6284308 ensure FNE software reports itself differently; make host Network class private section protected so the FNE codebase can inherit from it; create PeerNetwork inherited class on FNE;
2 years ago

Powered by TurnKey Linux.