Commit Graph

44 Commits

Author SHA1 Message Date
Simon 61013584a2 Add _MASTER_IP to XLXPEER 2021-08-30 17:13:53 +01:00
Simon a8633090e4 Re-resolve DNS on failed peer ready for testing 2021-08-30 17:02:29 +01:00
Simon 89a19ba107 If ANNOUNCEMENT_LANGUAGES is empty, use provided list instead.
Update default configs to reflect this as new default
2021-08-23 01:25:52 +01:00
Simon 422bfd5f53 replace master with corrected merge from hrt 2021-07-23 17:01:16 +01:00
Simon 732942d7c4 Revert "Merge branch 'hrt'"
This reverts commit de9892a1c2, reversing
changes made to dff06fff62.
2021-07-22 21:58:08 +01:00
Simon 10757f52a7 Revert "Need to remove merge marks"
This reverts commit 9cccfca70a.
2021-07-22 21:56:47 +01:00
Simon 9cccfca70a Need to remove merge marks 2021-07-22 16:35:32 +01:00
Simon de9892a1c2 Merge branch 'hrt' 2021-07-22 15:59:49 +01:00
Simon 75ccf3fe3c Clearer logging of BCSQ 2021-07-22 01:26:09 +01:00
Simon dff06fff62 Revert "Use hi-res timer for loop control"
This reverts commit cbd25b924d.
2021-07-21 23:38:10 +01:00
Simon cbd25b924d Use hi-res timer for loop control 2021-07-21 23:37:30 +01:00
Simon 075064a888 Revert "Default IPv6 by environment variable"
This reverts commit fb1032e116.
2021-07-10 00:51:01 +01:00
Simon fb1032e116 Default IPv6 by environment variable 2021-07-09 01:39:52 +01:00
Simon 497fa3143a Make preference for IPv6 when IP: :: more explicit for OBP 2021-07-06 01:12:19 +01:00
Simon 48354372f4 Further support for IPv6 and Dual-Stack in OpenBridge
To enable IPv6 only - put an IPv6 address in IP (bind specific address)
To enable IPv4 only - put IPv4 address in IP or leave blank (default - binds all IPv4)
To enable dual-stack put '::' in IP (Binds all IPv4 and IPv6 address)
2021-06-19 00:47:21 +01:00
Simon 09a3015f77 Don't error on unresolvable hostname in TARGET_IP
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 :-)
2021-06-18 01:52:13 +01:00
Simon 3385b89bce Add automatic downloading of tgid file from FreeDMR website to use
with HBMonitor etc.
2021-05-31 23:48:05 +01:00
Simon 4ef08cbe5e Fix error in tobytes() 2021-05-30 16:15:25 +01:00
Simon 52da820554 Send SERVER_ID not NETWORK_ID in packets on OBP. 2021-05-30 02:46:52 +01:00
Simon 428f470436 Fix XLXPEER and PEER not working 2021-05-26 19:42:34 +01:00
Simon 25bd7db348 Allow loading if multiple languages and selection both via
default in config file and OPTIONS.

Remove ANNOUNCEMENT_LANGUAGE from [GLOBAL]
Replace with ANNOUNCEMENT_LANGUAGES - Comma Separated list

Current list:

ANNOUNCEMENT_LANGUAGES: en_GB,en_GB_2,en_US,es_ES,es_ES_2,fr_FR,de_DE,dk_DK,it_IT,no_NO,pl_PL,se_SE

Add:

ANNOUNCEMENT_LANGUAGE to MASTER definition. If using GENERATOR, this becomes
the template default.

To change via OPTIONS add LANG=<language code>

take codes from list above
2021-05-14 00:07:11 +01:00
Simon b77d2b72ad Add support for SERVER_ID 2021-05-04 21:18:50 +01:00
Simon 53c1958aec Dynamic IP update:
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!
2021-04-04 18:39:16 +01:00
Simon dda0470ff2 New option - ENHANCED_OBP
Extends OpenBridge protocol

Added authenticated KeepAlives to protocol.
2021-04-04 18:19:28 +01:00
Simon b719a55e4c Add GENERATOR: N in MASTER deifnition
If GENERATOR is set to more than 1, the master definiton
is used as a template to generate N systems with sequential ports,
starting at the port listed in the defintion.

For example:

for N = 2:

G7RZU-0 - port 54000
G7RZU-1 - port 54001
2021-02-21 14:33:53 +00:00
Simon 1babf7e18a Add RELAX_CHECKS to OPENBRIDGE definitions
This disables source IP and port checking
to make OBP play nice with Docker.

Note, it *really* is a good idea to use a PASSPHRASE with this!
2021-02-20 22:02:44 +00:00
Simon 67db3f1acd Outline of language file support
Move sql.close() into SQL thread
2021-01-27 19:49:02 +00:00
Simon f8bd5b00df Allow null passphrase for MASTER logins
New config options for this in GLOBAL config section

If pashphrase is null and this option is set, login will always succeed
2021-01-23 11:43:56 +00:00
Simon ca054d5cd6 Add ability to specify table to SQL config 2021-01-22 13:09:28 +00:00
Simon 4682ad2228 On-the-fly generation of static bridges 2021-01-10 13:50:37 +00:00
Simon 37dfcf5eeb more bridge fixes 2020-10-22 22:04:05 +01:00
Simon 0392790dd4 Moving towards stuff 2020-10-02 17:13:49 +01:00
Simon 769aef3e6f Getting ready to add automatic static TG and default reflector setup 2020-10-01 22:52:04 +01:00
Simon c4777acf8c sucessfully reads repeater config from MySQL 2020-09-29 14:43:17 +01:00
Simon 01efd09a09 Config for MySQL 2020-09-25 12:15:14 +01:00
Simon 2014015421 Ident config option 2020-09-22 20:06:07 +01:00
Simon G7RZU 6fb3a86361 Add config option for UA timer to hblink.cfg 2020-08-26 15:24:06 +01:00
Steve Miller 429287452a
fix typo
missing bracket on line 89
2019-12-13 10:54:04 -05:00
Andy Taylor 24c201ffc2 Add basic XLX support 2019-06-19 07:32:44 +00:00
Cort Buffington 2af755f504 allow no log file to be named if we're not logging to a file 2019-02-05 08:48:02 -06:00
Cort Buffington 52180f29d4 Fixed encoding for options 2019-01-29 14:47:49 -06:00
Cort Buffington 90a889ec3b Large updates, mostly contact to join 2019-01-07 09:44:36 -06:00
n0mjs710 77d19f65ed Mostly kinda works now 2019-01-04 15:32:13 -06:00
Cort Buffington c3eee1b9b1 push changes 2018-12-27 14:31:08 -06:00