Allow null TARGET_IP - Waits for first keepalive to update - use for
endpoints that are on a dynamic or unknown IP
Support IPv6 for OBP - to listen IPv6 set IP: :: or other valid ipv6 address
IPv6 addresses can be used in TARGET_IP or will be resolved from DNS
Note, might cause confusion if the target has an IPv6 address and we don't
take note of this and specify ipv4 explicitly if needs be.
IPv6 Needs some testing :-)
Change behaviour of NETWORK_ID in OPENBRIDGE config:
This should be the ID of remote system. If traffic received on this bridge is not shown as
from this ID, it will be disgarded.
Fix reporting of PEER so it actually takes the peer from the incoming connection, not NETWORK_ID:
So, in short:
SERVER_ID in [GLOBAL] - the ID you send to other servers via OBP
NETWORK_ID in OPENBRIDGE - the expected ** remote ** ID for the bridge.
This is because the other end may not have enabled ENHANCED_OBP,
DMRD is traffic so the server is up, and not sending to systems
we can receive from can cause weird effects on the network.
BCSQ is Source Quench or Squelch
When a stream id is received from more than one source on a TG
the system sends a BCSQ to all of the non-first systems to ask them
to stop sending this stream ID. This reduces network and CPU load. Also
packets can't loop of they arent even received!
Squashed commit of the following:
commit e5ba9ece5d84e56096c459139fb39eba16249f96
Author: Simon <simon@gb7fr.org.uk>
Date: Mon Apr 12 23:16:30 2021 +0100
Tidy up log handling for streams
commit fc1e4bd91f0e576e8c58e84cf4b96f00ce6ec933
Author: Simon <simon@gb7fr.org.uk>
Date: Mon Apr 12 22:56:45 2021 +0100
Fix target port (BCKA)
commit 27e046e5efe744679c7652f65135cf3129481092
Author: Simon <simon@gb7fr.org.uk>
Date: Mon Apr 12 22:50:35 2021 +0100
Handle keyerror
commit 99c660fa813a300940b16e55d840218f1868cadb
Author: Simon <simon@gb7fr.org.uk>
Date: Mon Apr 12 22:45:05 2021 +0100
Stream trimmer for BCSQ
commit 9d6102be13813b27b752192e29e94d5eafbbb934
Author: Simon <simon@gb7fr.org.uk>
Date: Mon Apr 12 21:32:54 2021 +0100
Brack
commit 2f8a8cf620153cb0138e970c0dcd85328a47521c
Merge: f77a68a 17b6968
Author: Simon <simon@gb7fr.org.uk>
Date: Sun Apr 11 22:16:38 2021 +0100
Merge branch 'master' into bcsq
commit f77a68a96297fe050609b8ee5fb56b0866ec78f4
Merge: 7f4c6f5 9a3e5fb
Author: Simon <simon@gb7fr.org.uk>
Date: Fri Apr 9 01:39:54 2021 +0100
Merge branch 'master' into bcsq
commit 7f4c6f5375b589aa78e74f0002448afe95a625a2
Author: Simon <simon@gb7fr.org.uk>
Date: Thu Apr 8 18:35:08 2021 +0100
c
commit c0904242e0f532c26e33bdd9cba8d1bea5329abc
Author: Simon <simon@gb7fr.org.uk>
Date: Tue Apr 6 19:05:40 2021 +0100
only try to quench the source once
commit 2748d0cf7c5557522a5b2d0d9e3b37e294711910
Author: Simon <simon@gb7fr.org.uk>
Date: Tue Apr 6 18:56:05 2021 +0100
Comment out check for enahnced to tes
commit fa43a09db73862343f0f70a367786c4d77aaf9b9
Author: Simon <simon@gb7fr.org.uk>
Date: Tue Apr 6 18:51:19 2021 +0100
Dst id not tgid
commit f02df6edf10cfa936147b0862671ed949a820785
Author: Simon <simon@gb7fr.org.uk>
Date: Tue Apr 6 18:48:44 2021 +0100
More BCSQ
commit adf3bb4059f0710848f8e3349722141836889c41
Author: Simon <simon@gb7fr.org.uk>
Date: Tue Apr 6 18:44:15 2021 +0100
more BCKA fixes
commit b4dc518d9b74a0d8c83b3b1bb17d7de4d04b9915
Author: Simon <simon@gb7fr.org.uk>
Date: Tue Apr 6 18:42:13 2021 +0100
Fix broken BKCA
commit 637d772dbadb346ad49d5b80d8299c13b0fbfc79
Author: Simon <simon@gb7fr.org.uk>
Date: Tue Apr 6 18:38:17 2021 +0100
More work on BCSQ
Using BCKA (Extended OBP KeepAlives):
When an authenticated keepalive is received from a different IP but
on the same port, we update the IP for the OpenBridge. This means, we can
handle dynamic IP seamlessly!