shadowsocks-android icon indicating copy to clipboard operation
shadowsocks-android copied to clipboard

online acl rule can't be fetched.

Open Mirr0ch1 opened this issue 6 years ago • 6 comments

Describe the bug I started to use an online gfwlist rule hosted on github.com since the hardcoded gfwlist inside shadowsocks-android stopped updating a few years back. Yet under some cellular network (e.g. China Mobile Hangzhou), the DNS resolve for githubusercontent has been jeopardised.

Expected behavior If it's possible, maybe we can postpone the procedure -- by connecting to the remote server first, then fetch a remote acl rule using the proxy.

Mirr0ch1 avatar Dec 13 '19 09:12 Mirr0ch1

Unfortunately, it's impossible. Host your custom list with a CDN, like Cloudflare, should solve your problem.

BTW, GFW list is updated 4 months ago: https://github.com/shadowsocks/shadowsocks-android/pull/2290. Feel free to open a pull request to update the ACL.

madeye avatar Dec 13 '19 10:12 madeye

@madeye thanks for the explain. currently, I'm using the ACL4SSR project.

additionaly, maybe we can have another way to solve this problem by allowing import acl rule file from local storage in ss-android. nowadays an acl rule can only be applied from a online source.

Mirr0ch1 avatar Dec 13 '19 10:12 Mirr0ch1

You can import ACL rules directly from clipboard.

madeye avatar Dec 13 '19 11:12 madeye

Could be useful to set up a cache.

Mygod avatar Dec 13 '19 13:12 Mygod

a cache would be great.?

Mirr0ch1 avatar Dec 14 '19 21:12 Mirr0ch1

README.md of ACL4SSR project mentioned mirror sync address ;p

Lasovoc avatar Apr 24 '20 13:04 Lasovoc