outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

Basic support for Online Config

Open alalamav opened this issue 5 years ago • 4 comments

Support online Shadowsocks server configurations per SIP008 online config. For the first feature iteration we will support online config https URLs with domain names and root authority certificates. Fetch the server configuration on connection start and only accept the basic JSON file format with a single server configuration, ie:

{
  "server": "example.com",
  "server_port": 1234,
  "password": "example",
  "method": "chacha20-ietf-poly1305",
  "remark": "Example Server"
}

alalamav avatar Nov 13 '20 21:11 alalamav

The basic JSON document format is no longer a part of SIP008. Please refer to https://shadowsocks.org/en/wiki/SIP008-Online-Configuration-Delivery.html for specifics.

database64128 avatar Nov 14 '20 07:11 database64128

I noticed that shadowsocks-android and shadowsocks-windows do support the basic file format. @database64128, do you know if it will be deprecated in the future per the new spec?

alalamav avatar Nov 16 '20 16:11 alalamav

As a part of the refactoring process in shadowsocks-windows v5, I have reimplemented online config support to strictly follow the new spec. The basic file format is no longer supported.

database64128 avatar Nov 16 '20 16:11 database64128

Hope to see this implement soon.

moranno avatar Oct 04 '21 01:10 moranno

This has been launched this year: https://www.reddit.com/r/outlinevpn/wiki/index/dynamic_access_keys/

fortuna avatar Dec 29 '22 20:12 fortuna