annex.security.allowed-ip-addresses ports syntax

Extended annex.security.allowed-ip-addresses to let specific ports of an IP
address to be used, while denying use of other ports.
This commit is contained in:
Joey Hess 2020-02-25 15:45:52 -04:00
parent 4316d92b48
commit 9659f1c30f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 43 additions and 7 deletions

View file

@ -4,7 +4,7 @@
date="2020-02-25T18:32:02Z"
content="""
As to ports, it seems reasonable to support eg
security.allowed-ip-addresses=127.0.0.1:80 to make sure that the massive
security.allowed-ip-addresses=[127.0.0.1]:80 to make sure that the massive
electron app I have running on some random other port doesn't get abused
to exfiltrate the contents of my $HOME. As a non-random example. :)
"""]]

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2020-02-25T19:30:35Z"
content="""
Implemented specifying allowed ports.
"""]]