Simon
6adf6e456b
Emergency fix - unique packets break hashing
4 years ago
Simon
16a06bf9f7
hi
4 years ago
Simon
e0aceca7e4
int_dst_id
4 years ago
Simon
9318d72de7
flkl
4 years ago
Simon
c6d7e2d6bc
put max back to 10
4 years ago
Simon
4d1e680154
add bcsq to max hops
4 years ago
Simon
3770165738
tweak hops handling 2
4 years ago
Simon
b176cca9e7
tweak hops handling
4 years ago
Simon
6de3b8a949
add new trace() debug method and put all the really low level stuff in there
4 years ago
Simon
9b3218716c
Tidy up logging levels - more - even more
4 years ago
Simon
54148e6c70
Tidy up logging levels
4 years ago
Simon
e43d6d90e3
fix strack trace in prohibited version reporting (thanks HB3XPL)
4 years ago
Simon
26aa6adfd2
Fixing hops
4 years ago
Simon
7cd6d5e070
30 hops - same as IP
4 years ago
Simon
c034164e2e
Drop if more than 10 hops
4 years ago
Simon
e112f47fd5
try
4 years ago
Simon
3c1928eb65
print hops
4 years ago
Simon
589b1e730b
testing hops
4 years ago
Simon
2655264b18
ss
4 years ago
Simon
45102f77e0
more hopping
4 years ago
Simon
c2fd967b13
fkljdk
4 years ago
Simon
1c8c1dcff9
more hopping
4 years ago
Simon
0693eb85e1
rework hops a bit
4 years ago
Simon
db1e8576a1
hops to 0
4 years ago
Simon
a5f49bb0aa
ho
4 years ago
Simon
36a817cbb1
noho
4 years ago
Simon
e5a27f2120
Hops
4 years ago
Simon
a243de035f
==
4 years ago
Simon
c805e122e1
==
4 years ago
Simon
5602662497
don't log same version as downgrade
4 years ago
Simon
2bf023565b
Also refuse VER 1 inbound if we have upgrade or set ver 2
4 years ago
Simon
60be554a7d
Add PROTO_VER to config file.
...
1 : Standard Open Bridge Protocol
2 : Free Bridge Protocol
This is taken as a minimum ver, so if you set "2", ver 1 traffic will not be accepted.
Protocol can be on-the-fly upgraded using BCVE packet
Downgrade is not allowed
4 years ago
Simon
edcbc13287
Add timestamp - try again
4 years ago
Simon
0b14c93eb3
Include TS in hash
4 years ago
Simon
618c3cb030
Try again with timestamp
4 years ago
Simon
d6b3e764e2
HBP does not do DMRE
4 years ago
Simon
3dc4631f84
without ts
4 years ago
Simon
ef89f0ad3f
dd
4 years ago
Simon
24a205e81a
move timestamp
4 years ago
Simon
a949512144
12-19
4 years ago
Simon
90882b784e
12-20
4 years ago
Simon
699ecb5a46
21
4 years ago
Simon
411be8d22a
25
4 years ago
Simon
b4268bf0a2
24
4 years ago
Simon
fee0df684f
Remove timestamp as dmrd_received does not expect it
4 years ago
Simon
fa2dd4fb0a
DMR
4 years ago
Simon
7b8091d5d4
_
4 years ago
Simon
c3fac8b570
24-28
4 years ago
Simon
ce96616984
_
4 years ago
Simon
4850cc154a
61
4 years ago
Simon
0f9bffe530
60
4 years ago
Simon
a9e8ae3e66
15
4 years ago
Simon
797dddf9af
16
4 years ago
Simon
42ed422b39
flkj
4 years ago
Simon
58cb9434b8
print packet
4 years ago
Simon
531c37cec8
5
4 years ago
Simon
077da3eea5
dot
4 years ago
Simon
32c68e7d14
Fix bcve
4 years ago
Simon
e759f87ac6
dd
4 years ago
Simon
88b55cca55
V1 runs OK in the V2 code
4 years ago
Simon
656e57be53
blake2
4 years ago
Simon
1858b2c2c3
initial
4 years ago
Simon
4447777c58
stun on send too
4 years ago
Simon
1c2f331797
underscore
4 years ago
Simon
c7d5cb1c68
caps
4 years ago
Simon
0eef98052c
if stun in self.config
4 years ago
Simon
cd7ee64bec
add BCST STUN
4 years ago
Simon
5e1dc45ca2
use existing HMAC for obp CRC
4 years ago
Simon
1a9d390ced
Revert "replace hblink with freedmr"
...
This reverts commit 50bd19a5df .
4 years ago
Simon
50bd19a5df
replace hblink with freedmr
4 years ago
Simon
e669f2166e
low-level TG filter
4 years ago
Simon
a0724511e2
Add logging for server status probes
4 years ago
Simon
374806c178
should have been int_id() not int()
4 years ago
Simon
f8eec86c02
Boolint
4 years ago
Simon
93cf57131b
Would help if I added the return
4 years ago
Simon
06c7b6acc6
Reject null streamid from HBP
4 years ago
Christian OA4DOA
fb1c6ef8c3
Add 'DNS_TIME' for 'XLXPEER' instances
...
Also change client.getHostByName I tried a couple of times to resolve a hostname with it but I couldn't, reactor.resolve works.
4 years ago
Simon
a8633090e4
Re-resolve DNS on failed peer ready for testing
4 years ago
Simon
ae393bc66d
First go at deferred re-resolve for peers
4 years ago
Simon
2e4134656f
Fix bug when options is sent but system does not appear to be logged in
4 years ago
Simon
501a557116
Revert "Override SERVER_ID that is sent for this OBP"
...
This reverts commit 36e7ed58b9 .
4 years ago
Simon
36e7ed58b9
Override SERVER_ID that is sent for this OBP
...
Generally, this is used for connecting to non-FreeDMR systems.
Should usually be set to:
OVERRIDE_SERVER_ID: False
** USE WITH CAUTION **
4 years ago
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 :-)
5 years ago
Simon
902b963e07
Slight fixes to peer logging
5 years ago
Simon
fa20a25852
Add traffic source validation:
...
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.
5 years ago
Simon
3385b89bce
Add automatic downloading of tgid file from FreeDMR website to use
...
with HBMonitor etc.
5 years ago
Simon
52da820554
Send SERVER_ID not NETWORK_ID in packets on OBP.
5 years ago
Simon
c20c0f4aec
Send contents of numbered AMBE files in language directory.
...
So, for example, for lang en_GB:
When you manual dial 9991, file en_GB_2/9991.ambe is played
5 years ago
Simon
2ee5af70d6
Treat a DMRD packet as a silent keepalive
...
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.
5 years ago
Simon
190e17b50e
CONFIG not config
5 years ago
Simon
f2c10e0b8a
Catch all exceptions in options code
5 years ago
Simon
52ee8ad8ac
Revert "Log todying again"
...
This reverts commit 06dc9fac55 .
5 years ago
Simon
06dc9fac55
Log todying again
5 years ago
Simon
aac52a03a5
Try only 4
5 years ago
Simon
f3c0d084bd
ok
5 years ago
Simon
cf3a0613ec
Add description to log on login of system
5 years ago
Simon
3a1626fde7
Revert "bcka test"
...
This reverts commit d7bf07c23a .
5 years ago
Simon
d7bf07c23a
bcka test
5 years ago
Simon
1b5f3fdcec
Acl on TG not iD
5 years ago
Simon
28b183befe
Also send BCSQ when a subscriber or TG hits the ACLs
5 years ago