Commit Graph

43 Commits

Author SHA1 Message Date
Simon dc91a31cd1 Maybe 15 was ok 2022-07-17 22:49:14 +01:00
Simon 4423296f75 5s is plenty to wait for other side to respond to closedown - 15 sec was too much 2022-07-17 21:31:12 +01:00
Simon 7d25fb1cf9 fixup 2022-07-17 11:13:47 +01:00
Simon f0039500f9 Tidying up logging.
Just report % loss on streams, instead of the missing packet
reporting at INFO level. Missing packet reporting still available
at DEBUG level.

Also report STREAM LOST properly.
2022-04-12 00:06:08 +01:00
Simon a1acfce029 Same fix for other logs 2022-03-10 21:51:32 +00:00
Simon 3e58e443ea Fix misplaced ) causing crash 2022-03-10 21:29:35 +00:00
Simon bce7ee8172 Proxy updates:
Signal handler

More logging of blacklist add / deletes when ClientInfo is True

Put config in config file (with default fallback if not exist)

either in it's own file, or in freedmr.cfg like below:

[PROXY]
Master = "127.0.0.1"
ListenPort = 62031
ListenIP =
DestportStart = 54000
DestPortEnd = 54100
Timeout = 30
Stats = False
Debug = False
ClientInfo = False
BlackList = [1234567]
IPBlackList = {}
2022-03-09 00:45:39 +00:00
Simon 071b2ecda3 fix slice 2022-03-07 00:14:09 +00:00
Simon af28c91410 pass peer ID with PRBL 2022-03-06 23:31:29 +00:00
Simon e25a63c386 auto blacklist for 60 seconds on bad ID 2022-03-06 18:07:38 +00:00
Simon 0766f4dbe4 only print port and IP, not opcode in log 2022-03-06 14:52:54 +00:00
Simon 9e5453b135 int 2022-03-06 14:38:16 +00:00
Simon 077b5b6d40 init 2022-03-05 16:54:35 +00:00
Simon db23d4fbb1
comment out debug in proxy for now 2021-11-02 12:03:26 +00:00
yuvelq 12d9134e9e ClientInfo id changed and reference time added 2021-10-23 12:14:38 -05:00
Simon 92c6c67d4d
Allow override of external proxy port from environment (docker-compose.yml) 2021-10-16 01:13:23 +01:00
Simon 04d3fc0123 Update Proxy to allow control of debugging options from environment
Update docker config
2021-10-02 11:24:58 +01:00
hacknix cafa0442cb
Merge pull request #13 from yuvelq/patch-3
Add ClientInfo option
2021-09-24 09:58:31 +01:00
Simon 8fe8b36813 Update GPLv3 compliance - ensure files all have GPL header and coypright
didaplyed. Tge project is licenced under this licence anyway but this is for
completeness.

GPLv3 is code is copyrighted code and should be correctly used and attributed.
2021-09-20 19:38:02 +01:00
Christian OA4DOA 7579f1ed46
Add ClientInfo option
- Fix While loop.
- Wait for a response of the client to prevent a reassignment of a port after the client was deleted, now reaper will do the work.
2021-09-15 11:12:29 -05:00
Simon 8bb83b428d And another 2021-09-12 11:45:47 +01:00
Simon 9dd004065d Typo in proxy 2021-09-12 11:40:36 +01:00
Simon d8d5ddf555 Expose process titles in ps (not just python3!) 2021-09-12 11:19:07 +01:00
Christian OA4DOA b9a519f28a
Update hotspot_proxy_v2.py 2021-09-06 13:24:08 -05:00
Simon 82f26f6c68 Enable IPv6 in proxy by environment variable 2021-07-09 01:17:38 +01:00
Simon f9e5ed71f1 Listen IP and IPv6 support in proxy
plus a bit of tidying up
2021-07-01 01:36:04 +01:00
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
2021-05-24 22:32:54 +01:00
Simon 22068bfbb1 Revert "Stop that annoying keyerror - HB3XPL ;-)"
This reverts commit 28eeab388c.
2021-05-08 16:47:11 +01:00
Simon 6b314774f3 More proxy 2021-05-08 16:45:09 +01:00
Simon 2b635b8643 Proxyoxyoxy 2021-05-07 22:40:00 +01:00
Simon 28eeab388c Stop that annoying keyerror - HB3XPL ;-) 2021-05-07 11:19:09 +01:00
Simon e41eb7bfc5 HDStack docker 2021-03-07 12:23:30 +00:00
Simon 5341ce6c4a resrt hs pp 2021-03-01 18:33:28 +00:00
Simon 638e585a46 Take callsign for voice ident from callsign sent in connection
rather than from system name. Now it will work with proxy setups too!
2021-02-26 19:13:58 +00:00
Simon d72c6b1f83 Tidy up proxy and add 100 systems for hs default 2021-02-14 15:45:31 +00:00
Roby f2f9392a18
Update hotspot_proxy_v2.py
missing line
2021-01-22 22:16:16 +01:00
Simon f81b714002 Add DMRA to proxy 2021-01-22 13:31:42 +00:00
Simon 2d34b683a5 Typos in RPTO handling 2021-01-07 00:48:19 +00:00
Simon 79a2dd1099 Fix missing master maintainance loop bug (peers not timing out) 2021-01-06 01:38:09 +00:00
Simon 259c48f63c Send a closedown to server (deleting peer record) when the proxy port times out 2021-01-05 18:37:49 +00:00
Simon d7e9ae9a4a OPtions - preserve peers 2021-01-05 17:18:02 +00:00
Simon 84bbc29650 Comment out mstn handling 2021-01-05 00:03:38 +00:00
Simon 349f89f8fe proxyv2 2021-01-04 21:42:48 +00:00