Giter VIP home page Giter VIP logo

goproxy's Introduction

goproxy's People

Contributors

arwmq9b6 avatar codexss avatar cxjava avatar dou4cc avatar johnsonz avatar jostyee avatar kisesy avatar meabc avatar overajog avatar xxnet avatar yfdyh000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

goproxy's Issues

goproxy vps 能不能设置全局代理

我已经实现了goproxy vps翻墙,但是主要还是在Chrome浏览网页的情况下使用。我有些别的软件要更新,不走代理的情况下,连接国外服务器的网速实在太慢,我想能不能用goproxy vps做全局代理。

我在mac上配置了全局代理,使用https协议,填好域名+端口号,验证输入了用户名和密码,但是走代理的时候,goproxy日志报错

tls: oversized record received with length 20037

相同的配置,当我用IOS上的Wingy这款软件,走goproxy vps代理时倒是正常的。但是我又在windows上,使用Proxifier这款全局代理配置软件,一模一样的配置,报和mac上一样的错。

我的goproxy.toml文件如下:

[default]
log_level = 2
reject_nil_sni = false
daemon_stderr = "./goproxy-vps.log"

[[http2]]
listen = ":443"
server_name = ["mydomain.com"]
disable_legacy_ssl = false
proxy_fallback = "http://127.0.0.1:80"
client_outh_pem = """"""

[[https]]
listen = ":443"
server_name = ["mydomain.com"]
proxy_fallback = "http://127.0.0.1:80"
proxy_auth_method = "pam"

其余的部分都被我注释了,我就开了http2和https。不知道有没有人知道这个问题。

项目转移

@xxnet 请求已发出,请确认。


readme的url已改成相对地址。社长的自动编译发布脚本感觉很复杂的样子,就没管。

今天试了下GP,已复活了

(如果您是遇到本软件使用问题而并不清楚具体原因的话,请尽量提供更多信息,如软件版本,日志截图,地级运营商信息等。否则问题可能会被忽略或关闭)

goproxy-简单配置速度

谨以此贴致敬@phuslu
"HostMap" : {
"google_hk": [
"119.28.87.227",
],

"ServerName": [
// "download.windowsupdate.com",
// "www.apple.com",
// "www.bing.com",
// "www.microsoft.com",
// "googleads.g.doubleclick.net",
// "pubads.g.doubleclick.net",
// "www.google-analytics.com",
// "ad.doubleclick.net",
"hkg12s11-in-f19.1e100.net",

2017-10-10 07 44 23

bug- php hosts The hosts parameter is invalid~

php.json

"Servers": [ { "URL": "http://23.66.41.55:1052", "Password": "ZhM9321h", "SSLVerify": false, "Host": "cn.tripadvisor.com", } ],

Packet capture test, hosts did not use custom parameters~

有没有指导一下编译遇到的问题

我是在windows下用docker装了个ubuntu弄的,
按照编译步骤那里,编译 golang 工具链 和 编译 bogo 都通过了,
编译 goproxy 时
awk那里开始出现问题,
一个是

github.com/phuslu/glog (download)
# cd /usr/src/goproxy/gopath/src/github.com/phuslu/glog; git pull --ff-only
fatal: Not possible to fast-forward, aborting.

一个是
golang.org/x/那边几个库版本对不上

然后尝试了下go build -v
出现2种错误

具体请看


root@343beab498c5:/usr/src/goproxy/goproxy# awk 'match($1, /"((github\.com|golan
g\.org|gopkg\.in)\/.+)"/) {if (!seen[$1]++) {gsub("\"", "", $1); print $1}}' $(f
ind . -name "*.go") | xargs -n1 -i go get -v -u {}
github.com/cloudflare/golibs (download)
github.com/phuslu/glog (download)
# cd /usr/src/goproxy/gopath/src/github.com/phuslu/glog; git pull --ff-only
fatal: Not possible to fast-forward, aborting.
package github.com/phuslu/glog: exit status 128
github.com/wangtuanjie/ip17mon (download)
github.com/dsnet/compress (download)
github.com/phuslu/net (download)
package golang.org/x/text/secure/bidirule: directory "/usr/src/goproxy/gopath/sr
c/golang.org/x/text/secure/bidirule" is not using a known version control system
package golang.org/x/text/unicode/bidi: directory "/usr/src/goproxy/gopath/src/g
olang.org/x/text/unicode/bidi" is not using a known version control system
package golang.org/x/text/unicode/norm: directory "/usr/src/goproxy/gopath/src/g
olang.org/x/text/unicode/norm" is not using a known version control system
github.com/phuslu/quic-go (download)
github.com/hashicorp/golang-lru (download)
github.com/lucas-clemente/aes12 (download)
github.com/lucas-clemente/fnv128a (download)
github.com/lucas-clemente/quic-go-certificates (download)
package golang.org/x/net/http2: directory "/usr/src/goproxy/gopath/src/golang.or
g/x/net/http2" is not using a known version control system
package golang.org/x/net/http2/hpack: directory "/usr/src/goproxy/gopath/src/gol
ang.org/x/net/http2/hpack" is not using a known version control system
package golang.org/x/net/idna: directory "/usr/src/goproxy/gopath/src/golang.org
/x/net/idna" is not using a known version control system
package golang.org/x/net/lex/httplex: directory "/usr/src/goproxy/gopath/src/gol
ang.org/x/net/lex/httplex" is not using a known version control system
package golang.org/x/crypto/ssh: directory "/usr/src/goproxy/gopath/src/golang.o
rg/x/crypto/ssh" is not using a known version control system
package golang.org/x/sys/windows/registry: directory "/usr/src/goproxy/gopath/sr
c/golang.org/x/sys/windows/registry" is not using a known version control system
package golang.org/x/sys/unix: directory "/usr/src/goproxy/gopath/src/golang.org
/x/sys/unix" is not using a known version control system
github.com/juju/ratelimit (download)
github.com/miekg/dns (download)
root@343beab498c5:/usr/src/goproxy/goproxy# go build -v
_/usr/src/goproxy/goproxy/httpproxy/helpers
# _/usr/src/goproxy/goproxy/httpproxy/helpers
httpproxy/helpers/dialer2.go:200:35: not enough arguments in call to net.DialTCP
Context
        have (context.Context, string, nil, *net.TCPAddr)
        want (context.Context, string, *net.TCPAddr, *net.TCPAddr, net.ControlFu
nc)
httpproxy/helpers/dialer2.go:278:33: unknown field 'RequestConnectionIDTruncatio
n' in struct literal of type quic.Config
httpproxy/helpers/dialer2.go:295:36: unknown field 'RequestConnectionIDTruncatio
n' in struct literal of type quic.Config
httpproxy/helpers/dialer2.go:303:36: unknown field 'RequestConnectionIDTruncatio
n' in struct literal of type quic.Config
_/usr/src/goproxy/goproxy/httpproxy/proxy
# _/usr/src/goproxy/goproxy/httpproxy/proxy
httpproxy/proxy/quic.go:41:34: unknown field 'RequestConnectionIDTruncation' in
struct literal of type quic.Config
root@343beab498c5:/usr/src/goproxy/goproxy#

该如何处理呢?

goproxy vps 报错“acme/autocert: missing certificate”

请问各位,我半年前到现在使用goproxy-vps版本一切正常,今天下午上google的时候突然连不上。
查看了goproxy-vps的日志写到

2018/03/31 02:30:34 http: TLS handshake error from XXX.XXX.XX:52861: acme/autocert: no supported challenge type found
2018/03/31 02:30:34 http: TLS handshake error from XXX.XXX.XX:52862: acme/autocert: missing certificate
2018/03/31 02:30:36 http: TLS handshake error from XXX.XXX.XX:52867: acme/autocert: missing certificate

然后,我以http方式能够打开我的域名网址,但是https却不行

为什么以前我也没有配置证书,能够以https方式打开我的域名网址,现在却不能了?

干扰情况汇总

南京移动,level=80:I1001 19:12:18.606670 12588 dialer2.go:262] MULTIDIALER DialQuic("clients3.google.com:443") with good_addrs=5, bad_addrs=8192

autoproxy有一处拼写错误

autoproxy.IndexFiles.severName应为autoproxy.IndexFiles.serverName,源码没看,不清楚是不是跟着错了。

Issues备份

GoAgent Issues

https://github.com/goproxy0/discuss_history/tree/master/goagent/

GoProxy Issues

1~2012:https://github.com/goproxy0/discuss_history/tree/master/goproxy/
2013:https://archive.is/QwVrM
2014:https://archive.is/GQfhb
2015:https://archive.is/0XxyI
2016:https://archive.is/vOa1x
2017:https://archive.is/WuarA
2018:https://archive.is/LKPgi
2019:https://archive.is/dttG2
2020:https://archive.is/Nxqdk
2021:https://archive.is/q14P3
2022:https://archive.is/7EIuR
2023:https://archive.is/nBmJC
2024:https://archive.is/BsGWZ
2026:https://archive.is/eXgyE https://archive.is/myDtz https://archive.is/8rJan https://archive.is/Hahju
2027:https://archive.is/qJlLH
2029:https://archive.is/7lZqv
2030:https://archive.is/x1YQy
2031:https://archive.is/czitY
2032:https://archive.is/FkBVp
2033:https://archive.is/XmAby
2034:https://archive.is/Mxjbj
2036:https://archive.is/8epat
2037:https://archive.is/Jk0Hs
2039:https://archive.is/NvEKe
2040:https://archive.is/DOYzD
2041:https://archive.is/krCer
2042:https://archive.is/K7BEu
2043:https://archive.is/OfAGz
2044:https://archive.is/j8S95
2045:https://archive.is/z5xoQ
2046:https://archive.is/OZwCU
2047:https://archive.is/twQgk
2049:https://archive.is/Zp8JQ
2050:https://archive.is/QL7zW
2051:https://archive.is/xoLeK
2052:https://archive.is/ZzVvq
2054:https://archive.is/Y7pFu
2055:https://archive.is/cHjMs
2057:https://archive.is/Y8IDr
2058:https://archive.is/bdrTM
2059:https://archive.is/HPnlG
2060:https://archive.is/h4R6E
2061:https://archive.is/hkWaj
2062:https://archive.is/MExYd
2063:https://archive.is/hmHDp
2064:https://archive.is/RdkrV
2065:https://archive.is/69YGG
2066:https://archive.is/n9hV8
2067:https://archive.is/QUBnz
2068:https://archive.is/SlhRU

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.