kallydev

kallydev

Student | Full stack developer UTC+08:00 • Gen Z 18 y.o • My ambition is to be a major contributor to open source projects, and I am still working on it.

Member Since 3 years ago

GoodFirstIssue, Mars ⇄ Earth

Experience Points
391
follower
Lessons Completed
41
follow
Lessons Completed
1.2k
stars
Best Reply Awards
47
repos

485 contributions in the last year

Pinned
Activity
Nov
27
1 day ago
Activity icon
issue

kallydev issue comment v2fly/v2ray-core

kallydev
kallydev

CI: Add FreeBSD and OpenBSD ARM build tasks

Resolved #1409.

Build Results

https://github.com/kallydev/v2ray-core/actions/runs/1509624811

kallydev
kallydev

Hmm. Why not add ARM v5?

ARM on FreeBSD, OpenBSD, and NetBSD: ARMv6K or above is required.

Ref https://github.com/golang/go/wiki/GoArm.

pull request

kallydev pull request v2fly/v2ray-core

kallydev
kallydev

CI: Add FreeBSD and OpenBSD ARM build tasks

Resolved #1409.

Build Results

https://github.com/kallydev/v2ray-core/actions/runs/1509624811

Activity icon
delete
deleted time in 1 day ago
Activity icon
delete
deleted time in 1 day ago
push

kallydev push kallydev/v2ray-core

kallydev
kallydev

CI: Add OpenBSD ARM build tasks

commit sha: 4cbcbfcb49c97714daa32b5f27b21b18890aa084

push time in 1 day ago
Activity icon
created tag
createdAt 1 day ago
Activity icon
delete
deleted time in 1 day ago
Activity icon
created tag
createdAt 1 day ago
push

kallydev push kallydev/v2ray-core

kallydev
kallydev

CI: Add FreeBSD ARM build tasks

commit sha: 123cacf67f91b6d1528e3bfad8753a13789e9594

push time in 1 day ago
Activity icon
created tag
createdAt 1 day ago
Activity icon
delete
deleted time in 1 day ago
Activity icon
created tag
createdAt 1 day ago
Activity icon
delete
deleted time in 1 day ago
Activity icon
created tag
createdAt 1 day ago
push

kallydev push kallydev/v2ray-core

kallydev
kallydev

CI: Add FreeBSD ARM build tasks

commit sha: f9f1c84f049d2aff672344e44713300400e8e2cd

push time in 1 day ago
Activity icon
fork

kallydev forked v2fly/v2ray-core

⚡ A platform for building proxies to bypass network restrictions.
kallydev MIT License Updated
fork time in 1 day ago
push

kallydev push kallydev/v2fly-github-io

kallydev
kallydev

shadowsocks: add aliases for supported cipher methods

commit sha: 3d544c517f3122896f17e13de0d5735523765e5f

push time in 1 day ago
push

kallydev push kallydev/v2fly-github-io

kallydev
kallydev

shadowsocks: add aliases for supported cipher methods

commit sha: fee6f0527bdee50ac5a49d0d59d1127a4a853661

push time in 1 day ago
Activity icon
fork

kallydev forked v2fly/v2fly-github-io

⚡ V2Fly Website & Documentation
kallydev Creative Commons Attribution Share Alike 4.0 International Updated
fork time in 1 day ago
Activity icon
issue

kallydev issue comment shadowsocks/shadowsocks-rust

kallydev
kallydev

Suggest: Remove version number in release file name

After ' Remove version number in file name of release binary ' , We can make easy fixed URL download and extract using keyword 'latest'.

Example: curl -OL https://github.com/shadowsocks/shadowsocks-rust/releases/latest/download/shadowsocks- (REMOVE THIS v1.12.3) .aarch64-unknown-linux-musl.tar.xz tar xf shadowsocks-aarch64-unknown-linux-musl.tar.xz

Example: curl -OL https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-linux-arm64-v8a.zip unzip v2ray-linux-arm64-v8a.zip

kallydev
kallydev

I think this is an unnecessary change, that could cause problems for some GitHub releases based automation scripts.

Nov
26
2 days ago
started
started time in 2 days ago
Activity icon
fork

kallydev forked shadowsocks/shadowsocks-rust

⚡ A Rust port of shadowsocks
kallydev MIT License Updated
fork time in 2 days ago
Activity icon
issue

kallydev issue comment shadowsocks/shadowsocks-rust

kallydev
kallydev

[Snap][Service]Service in snap can not work, because there is no default path of config file

there is no default path of config file, therefore i can not use snap start shadowsocks-rust.ssserver-daemon

debian 10, snap, shadowsocks-rust edge v1.11.2.r34.gf717984

kallydev
kallydev

We can completely resolve the $HOME/.config/shadowsocks-rust permissions issue using https://snapcraft.io/docs/personal-files-interface, but this needs to be done via https://snapcraft.io/docs/process-for-aliases-auto-connections-and-tracks.

So, I just reviewed the qv2ray's solution, then replaced $HOME/.config/shadowsocks-rust/config.json with $HOME/snap/shadowsocks-rust/current/.config/shadowsocks-rust/config.json, which successfully bypasses the issue.

[email protected]:~$ shadowsocks-rust.ssserver -c ./snap/shadowsocks-rust/current/.config/shadowsocks-rust/config.json 
2021-11-25T18:08:11.951115534-08:00 INFO  shadowsocks server 1.12.3 build 2021-11-25T16:55:04.297088322+00:00
2021-11-25T18:08:11.952194068-08:00 INFO  shadowsocks tcp server listening on 127.0.0.1:8388, inbound address 127.0.0.1:8388
Activity icon
issue

kallydev issue comment shadowsocks/shadowsocks-rust

kallydev
kallydev

[Snap][Service]Service in snap can not work, because there is no default path of config file

there is no default path of config file, therefore i can not use snap start shadowsocks-rust.ssserver-daemon

debian 10, snap, shadowsocks-rust edge v1.11.2.r34.gf717984

kallydev
kallydev

Please try again with the global configuration path /etc/shadowsocks-rust/config.json

[email protected]:~$ sudo vim /etc/shadowsocks-rust/config.json
[email protected]:~$ shadowsocks-rust.ssserver
missing proxy servers, consider specifying it by --server-addr, --encrypt-method, --password command line option, or configuration file, check more details in https://shadowsocks.org/en/config/quick-guide.html
USAGE:
    ssserver [FLAGS] [OPTIONS]

This should be because the image does not have permission to read these configuration files.

[email protected]:~$ shadowsocks-rust.ssserver -c .config/shadowsocks-rust/config.json 
loading config ".config/shadowsocks-rust/config.json", error while reading file, Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
[email protected]:~$ shadowsocks-rust.ssserver -c /etc/
Display all 230 possibilities? (y or n)
[email protected]:~$ shadowsocks-rust.ssserver -c /etc/shadowsocks-rust/config.json 
loading config "/etc/shadowsocks-rust/config.json", error while reading file, Os { code: 2, kind: NotFound, message: "No such file or directory" }

I don't understand why snap's home permissions can't access $HOME/.config/shadowsocks-rust/config.json, but it can access $HOME/config.json.

Ref https://snapcraft.io/docs/home-interface, only "non-hidden files" can be accessed.

The home interface allows access to non-hidden files owned by the user in the user’s home ($HOME) directory where a user normally stores their personal files and documents.

[email protected]:~$ shadowsocks-rust.ssserver -c ~/config.json 
2021-11-25T17:37:52.484976149-08:00 INFO  shadowsocks server 1.12.3 build 2021-11-25T16:55:04.297088322+00:00
2021-11-25T17:37:52.486770036-08:00 INFO  shadowsocks tcp server listening on 127.0.0.1:8388, inbound address 127.0.0.1:8388
Activity icon
issue

kallydev issue comment shadowsocks/shadowsocks-rust

kallydev
kallydev

[Snap][Service]Service in snap can not work, because there is no default path of config file

there is no default path of config file, therefore i can not use snap start shadowsocks-rust.ssserver-daemon

debian 10, snap, shadowsocks-rust edge v1.11.2.r34.gf717984

kallydev
kallydev

The issue still exists with channels like stable and edge, but I can't see the snapcraft build logs. If edge is the latest image, then this issue may still be unresolved.

[email protected]:~$ sudo snap install shadowsocks-rust --edge
shadowsocks-rust (edge) v1.12.2.r12.g1eff9b1 from DuckSoft installed
[email protected]:~$ shadowsocks-rust.ssserver --version
shadowsocks 1.12.3
[email protected]:~$ cat .config/shadowsocks-rust/config.json 
{
    "server": "127.0.0.1",
    "server_port": 8388,
    "password": "password",
    "method": "aes-256-gcm"
}
[email protected]:~$ shadowsocks-rust.ssserver 
missing proxy servers, consider specifying it by --server-addr, --encrypt-method, --password command line option, or configuration file, check more details in https://shadowsocks.org/en/config/quick-guide.html
USAGE:
    ssserver [FLAGS] [OPTIONS]
Nov
24
4 days ago
started
started time in 4 days ago
Nov
14
2 weeks ago
started
started time in 2 weeks ago
Previous