Commit Graph

55 Commits

Author SHA1 Message Date
Simon 019744cdba clear 2023-06-04 23:52:00 +01:00
Simon 83c0ff9420 refine rptl 2023-06-04 23:31:46 +01:00
Simon dd79311f7a Flish 2023-06-04 18:31:41 +01:00
Simon 97aaef1a94 blocklist flush 2023-06-04 18:05:14 +01:00
Simon cfd8fd1dcd fklfk 2023-06-04 17:37:49 +01:00
Simon 77e2000317 600 2023-06-04 17:36:29 +01:00
Simon 90a918d432 bltime 2023-06-04 17:35:22 +01:00
Simon ad558e0773 Make rptl CLEAR 2023-06-04 17:19:35 +01:00
Simon 797226a6c1 Login requests too fast - protection for proxy 2023-06-04 16:57:00 +01:00
Simon 8a9f624020 Squashed commit of the following:
commit a490c68326
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 19:12:11 2023 +0100

    flkdlkf

commit 807887ac81
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 19:08:22 2023 +0100

    klkl

commit 23c9a59a8e
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 19:04:32 2023 +0100

    dd

commit ff8b8ee83f
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 19:00:05 2023 +0100

    klkdlk

commit 30b72208c7
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 18:51:47 2023 +0100

    typo

commit fa2a5bf105
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 18:48:14 2023 +0100

    gmgm

commit b300a12731
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 18:37:35 2023 +0100

    don't need self?

commit f9fec3ed68
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 18:32:26 2023 +0100

    Trying to get callinthread correct

commit 9a47064d56
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 17:40:44 2023 +0100

    priv helper

commit 0b13165159
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 17:36:22 2023 +0100

    ph

commit fc9e9dcbd9
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 12:03:35 2023 +0100

    fix

commit e043fd4c82
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 10:09:38 2023 +0100

    Create /run/priv_control in preparation for priv_control unix socket

commit 49df720303
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue May 9 10:02:08 2023 +0100

    Add Pyro5 to requirements

commit 2ff6b49fb5
Author: Simon <simon@gb7fr.org.uk>
Date:   Mon May 8 22:21:58 2023 +0100

    ff

commit 44cf8e3182
Author: Simon <simon@gb7fr.org.uk>
Date:   Mon May 8 22:17:11 2023 +0100

    Add Pyro5 to Proxy

commit c70711deac
Merge: 7b13b9f b373917
Author: Simon <simon@gb7fr.org.uk>
Date:   Mon May 8 22:16:50 2023 +0100

    Merge branch 'master' into testing

commit 7b13b9f046
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 19:01:33 2023 +0000

    SERVER_ID is bytes!

commit cee3bc76fb
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 18:50:06 2023 +0000

    frog

commit 82432b9c2c
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 18:49:53 2023 +0000

    fred

commit 6601573c7f
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 18:39:08 2023 +0000

    Stringly

commit 28fa37f828
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 18:30:37 2023 +0000

    self

commit 3e6d28d4dd
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 18:23:42 2023 +0000

    Fix trace

commit a15901dc79
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 18:21:30 2023 +0000

    Tweak config file used in install script

commit 654ec135ca
Merge: f75ff26 d4e3922
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 17:48:22 2023 +0000

    Merge branch 'master' into testing

commit f75ff26cfa
Merge: c0b5216 48339d3
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 17:46:07 2023 +0000

    Merge branch 'master' into testing

commit c0b5216e5a
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 11:04:45 2023 +0000

    more config work

commit c79ce0551d
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 00:54:56 2023 +0000

    ib

commit 294a09c8f1
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Jan 29 00:50:36 2023 +0000

    Enable minimal config and tidy up global ACL

commit d1dc58d46f
Author: Simon <simon@gb7fr.org.uk>
Date:   Sat Jan 28 23:12:41 2023 +0000

    Deprecate protocol versions 2 and 3
2023-05-09 23:10:16 +01:00
Simon b3739178ce Trap weird error reported by N2CID so we can see what's going on
Note this error appears to be in HBLink3 as well and may be related to
Python or library version
2023-05-05 00:06:26 +01:00
Simon 20cae95286 fix bug in setting different port from environment variable 2022-09-10 20:56:57 +01:00
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