missdeer / avege Goto Github PK
View Code? Open in Web Editor NEWYet Another Redsocks Golang Fork
License: GNU General Public License v3.0
Yet Another Redsocks Golang Fork
License: GNU General Public License v3.0
root@cubietruck-plus:/avege# mv config-sample.json config.json/avege# sudo ./avege
root@cubietruck-plus:
11:26:08.270 E ▶ Failed unmarshalling config file invalid character '}' looking for beginning of object key string 6750
parsing multi servers config file failed: invalid character '}' looking for beginning of object key string
panic: parsing multi servers config file failed: invalid character '}' looking for beginning of object key string
goroutine 1 [running]:
log.Panicln(0x10b31fa8, 0x2, 0x2)
/home/travis/.gimme/versions/go/src/log/log.go:336 +0x94
common.Panic(0x10b31fa8, 0x2, 0x2)
/home/travis/gopath/src/github.com/missdeer/avege/src/common/log.go:79 +0x2c
local.Main()
/home/travis/gopath/src/github.com/missdeer/avege/src/local/local.go:202 +0x234
main.main()
/home/travis/gopath/src/github.com/missdeer/avege/src/avege/main.go:8 +0x14
root@cubietruck-plus:~/avege#
用的是原来的配置文件没做改动,依然是这样。
Dependabot can't resolve your Go dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
go: gitlab.com/yawning/[email protected]: invalid version: git fetch -f git://gitlab.com/yawning/chacha20 refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /opt/go/gopath/pkg/mod/cache/vcs/ec15c6118927df46203688431f96b127117e3f6ae08e0f80353036bee740c3fd: exit status 128:
fatal: Unable to look up gitlab.com (port 9418) (Temporary failure in name resolution)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
07:58:04.126 W ▶ rules.v4.latest not found, try file /home/hxca/tmdl/avege/src/avege/rules.v4.latest
07:58:04.126 W ▶ /home/hxca/tmdl/avege/src/avege/rules.v4.latest not found, try file /home/hxca/tmdl/avege/src/avege/conf/rules.v4.latest
07:58:04.126 W ▶ /home/hxca/tmdl/avege/src/avege/conf/rules.v4.latest not found, try file /home/hxca/tmdl/avege/src/avege/rules.v4.latest
07:58:04.127 W ▶ /home/hxca/tmdl/avege/src/avege/rules.v4.latest not found, try file /home/hxca/tmdl/avege/src/avege/conf/rules.v4.latest
07:58:04.127 W ▶ rules.v4.template not found, try file /home/hxca/tmdl/avege/src/avege/rules.v4.template
07:58:04.127 W ▶ /home/hxca/tmdl/avege/src/avege/rules.v4.template not found, try file /home/hxca/tmdl/avege/src/avege/conf/rules.v4.template
07:58:04.130 W ▶ config.Configurations.json not found, try file /home/hxca/tmdl/avege/src/avege/config.Configurations.json
07:58:04.130 W ▶ /home/hxca/tmdl/avege/src/avege/config.Configurations.json not found, try file /home/hxca/tmdl/avege/src/avege/conf/config.Configurations.json
07:58:04.131 W ▶ /home/hxca/tmdl/avege/src/avege/conf/config.Configurations.json not found, try file /home/hxca/tmdl/avege/src/avege/config.Configurations.json
07:58:04.131 W ▶ /home/hxca/tmdl/avege/src/avege/config.Configurations.json not found, try file /home/hxca/tmdl/avege/src/avege/conf/config.Configurations.json
config file not found
panic: config file not found
goroutine 1 [running]:
panic(0x975e40, 0xc4201caaf0)
/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
log.Panicln(0xc42012bec0, 0x1, 0x1)
/usr/lib/go-1.7/src/log/log.go:334 +0xc9
common.Panic(0xc42012bec0, 0x1, 0x1)
/home/hxca/tmdl/avege/src/common/log.go:79 +0x3f
local.Main()
/home/hxca/tmdl/avege/src/local/local.go:251 +0xfc1
main.main()
/home/hxca/tmdl/avege/src/avege/main.go:8 +0x14
removed
statistic, _ := cache.Instance.Get(server.address)
未做验证,所以第一次启动时会报告一些类似的错误
Dependabot can't resolve your Go dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
verifying github.com/shadowsocks/[email protected]/go.mod: checksum mismatch
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
hi.
运行./avege遇错,显示没找到config.Configurations.json文件,可在avege/src/avege/里面确实没有
config.Configurations.json文件。到哪里去找这个文件?
yudeMacBook-Air:avege brite$ ./avege
16:35:55.866 W ▶ config.Configurations.json not found, try file /Users/brite/avege/src/avege/config.Configurations.json
16:35:55.866 W ▶ /Users/brite/avege/src/avege/config.Configurations.json not found, try file /Users/brite/avege/src/avege/conf/config.Configurations.json
16:35:55.866 W ▶ /Users/brite/avege/src/avege/conf/config.Configurations.json not found, try file /Users/brite/avege/src/avege/config.Configurations.json
16:35:55.866 W ▶ /Users/brite/avege/src/avege/config.Configurations.json not found, try file /Users/brite/avege/src/avege/conf/config.Configurations.json
config file not found
panic: config file not found
goroutine 1 [running]:
log.Panicln(0xc420169f38, 0x1, 0x1)
/usr/local/go/src/log/log.go:336 +0xc0
common.Panic(0xc420169f38, 0x1, 0x1)
/Users/brite/avege/src/common/log.go:79 +0x3f
local.Main()
/Users/brite/avege/src/local/local.go:251 +0x14f1
main.main()
/Users/brite/avege/src/avege/main.go:8 +0x20
yudeMacBook-Air:avege brite$ ls
addall.sh config.json run.sh
avege main.go templates
conf makeall.sh
config-sample.json resources
yudeMacBook-Air:avege brite$ pwd
/Users/brite/avege/src/avege
yudeMacBook-Air:avege brite$
Dependabot can't resolve your Go dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
verifying github.com/shadowsocks/[email protected]/go.mod: checksum mismatch
downloaded: h1:SiGEqep4n+bS5wCZwi6ZgX1MAGRV9erk0zsVOXZ7QvA=
go.sum: h1:/0aFGbhK8mtOX4J/6kTJsPLZlEs9KnzKoWCOCvjd7vk=
SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.
For more information, see 'go help module-auth'.
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
00:50:34.144 E ▶ Failed unmarshalling config file invalid character '{' after array element 6582
parsing multi servers config file failed: invalid character '{' after array element
panic: parsing multi servers config file failed: invalid character '{' after array element
goroutine 1 [running]:
log.Panicln(0xc042063f48, 0x2, 0x2)
/home/travis/.gimme/versions/go1.8.linux.amd64/src/log/log.go:336 +0xc7
common.Panic(0xc042063f48, 0x2, 0x2)
/home/travis/gopath/src/github.com/avege/avege/src/common/log.go:79 +0x46
local.Main()
/home/travis/gopath/src/github.com/avege/avege/src/local/local.go:225 +0x311
main.main()
/home/travis/gopath/src/github.com/avege/avege/src/avege/main.go:8 +0x27
这好像是说存在无效字符,可是找不到这个无效字符啊
Dependabot can't resolve your Go dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
verifying github.com/shadowsocks/[email protected]/go.mod: checksum mismatch
downloaded: h1:SiGEqep4n+bS5wCZwi6ZgX1MAGRV9erk0zsVOXZ7QvA=
go.sum: h1:/0aFGbhK8mtOX4J/6kTJsPLZlEs9KnzKoWCOCvjd7vk=
SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.
For more information, see 'go help module-auth'.
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Go dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
verifying github.com/shadowsocks/[email protected]/go.mod: checksum mismatch
downloaded: h1:SiGEqep4n+bS5wCZwi6ZgX1MAGRV9erk0zsVOXZ7QvA=
go.sum: h1:/0aFGbhK8mtOX4J/6kTJsPLZlEs9KnzKoWCOCvjd7vk=
SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.
For more information, see 'go help module-auth'.
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
大概配置如下
"dns": {
"enabled": true,
"cache": true,
"cache_timeout": "60s",
"cache_ttl": false,
"search_domain": "cisco.com",
"timeout": "12s",
"read_timeout": "10s",
"write_timeout": "10s",
"edns_client_subnet_policy": "auto",
"edns_client_subnet_ip": "",
"china_server_count": "4",
"abroad_server_count": "3",
"abroad_protocol": "tcp",
"local" : [
{ "address": "0.0.0.0:53", "protocol": "tcp"},
{ "address": "0.0.0.0:53", "protocol": "udp"}
],
"abroad" : [
{ "address": "...:5353", "protocol": "tcp"}, //这里写vps:5353正确吗?
{ "address": "208.67.222.222:443", "protocol": "tcp", "edns_client_subnet_enabled": true},
{ "address": "208.67.220.220:443", "protocol": "tcp", "edns_client_subnet_enabled": true}
]
"target": {
"port": {
"allow": "80,443,5353",
"deny": "all"
}
}
"inbounds": [
{
"address": "192.168.199.111", //写了内网本机ip,这个不知道正不正确?
"port": 58097,
"type": "socks5"
}
]
"outbounds": [
{
"address": "...:443",
"key": "***********",
"method": "rc4-md5",
"type": "shadowsocks",
"protocol": "auth_aes128_md5",
"pparam": "",
"obfs": "tls1.2_ticket_auth",
"oparam": ""
}
]
vps的443端口是ssr,5353是dnsmasq,在openwrt上用pdnsd的tcp能正常解析
11:48:53.426 W ▶ query dns 6-edge-chat.facebook.com. from ...:5353 failed, EOF
11:48:53.691 D ▶ 6-edge-chat.facebook.com. use result from abroad DNS servers only
11:48:53.691 D ▶ 6-edge-chat.facebook.com. not from cache, save to cache
自己vps的dnsmasq无法解析,opendns的可以解析,自己vps的应该怎么配置呢?
I look obfs add new tls1.2_ticket_fastauth and auth_chain_a , is this project will add this two new obfs?
hi。
yudeMacBook-Air:gopath brite$ go get -u -f -v github.com/RouterScript/ProxyClient
github.com/RouterScript/ProxyClient (download)
github.com/RouterScript/HTTPProxy (download)
github.com/RouterScript/SOCKSProxy (download)
github.com/shadowsocks/go-shadowsocks2 (download)
golang.org/x/crypto (download)
golang.org/x/sys (download)
github.com/Yawning/chacha20 (download)
package math/bits: unrecognized import path "math/bits" (import path does not begin with hostname)
yudeMacBook-Air:gopath brite$
tks
removed
14:34:18.420 E ▶ dialing unix failed: dial unix /protect_path: connect: no such file or directory 14:34:18.420 E ▶ connecting to target failed. {shadowsocks 127.0.0.1:8443 false encrypt-key=ssr&encrypt-method=rc4-md5&obfs=plain&obfs-param=&priority-interface-address=192.168.0.103%2F24&priority-interface-enabled=false&protocol=origin&protocol-param= } dial unix /protect_path: connect: no such file or directory
希望可以被解答。
(基于配置文件的sample上做了修改)
可能有点noob。
root@cubietruck-plus:~/avege# sudo ./avege
11:15:59.178 W ▶ rules.v4.latest not found, try file /root/avege/rules.v4.latest
11:15:59.178 W ▶ /root/avege/rules.v4.latest not found, try file /root/avege/conf/rules.v4.latest
11:15:59.178 W ▶ rules.v4.template not found, try file /root/avege/rules.v4.template
11:15:59.178 W ▶ /root/avege/rules.v4.template not found, try file /root/avege/conf/rules.v4.template
11:15:59.179 E ▶ Failed unmarshalling config file invalid character '}' looking for beginning of object key string 6750
parsing multi servers config file failed: invalid character '}' looking for beginning of object key string
panic: parsing multi servers config file failed: invalid character '}' looking for beginning of object key string
goroutine 1 [running]:
log.Panicln(0x10b31fa8, 0x2, 0x2)
/home/travis/.gimme/versions/go/src/log/log.go:336 +0x94
common.Panic(0x10b31fa8, 0x2, 0x2)
/home/travis/gopath/src/github.com/missdeer/avege/src/common/log.go:79 +0x2c
local.Main()
/home/travis/gopath/src/github.com/missdeer/avege/src/local/local.go:202 +0x234
main.main()
/home/travis/gopath/src/github.com/missdeer/avege/src/avege/main.go:8 +0x14
Hello,
New version golang supports mips. I want to try this on my ubnt routerX router. Do you have plan to compile a mips version? :-)
Dependabot can't resolve your Go dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
verifying github.com/shadowsocks/[email protected]/go.mod: checksum mismatch
downloaded: h1:SiGEqep4n+bS5wCZwi6ZgX1MAGRV9erk0zsVOXZ7QvA=
go.sum: h1:/0aFGbhK8mtOX4J/6kTJsPLZlEs9KnzKoWCOCvjd7vk=
SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.
For more information, see 'go help module-auth'.
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
hi.
yudeMacBook-Air:avege-master ym$ ls
LICENSE config.Configurations.json main.go
README.md dnsproxy outbound
assets go.mod rule
avege go.sum updateIptablesRules
common inbound
config local
yudeMacBook-Air:avege-master ym$ ./avege -c config.Configurations.json
15:40:06.235 E ▶ Failed unmarshalling config file json: cannot unmarshal number into Go struct field LocalConfig.outbounds of type string 6447
2022/03/04 15:40:06 parsing multi servers config file failed: json: cannot unmarshal number into Go struct field LocalConfig.outbounds of type string
panic: parsing multi servers config file failed: json: cannot unmarshal number into Go struct field LocalConfig.outbounds of type string
怎么解决?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.