Comments (4)
Did you run Naive with padding? curl won't be able to handle that.
Run curl with --trace -
to see what goes on.
from naiveproxy.
The http proxy here is only implemented as far as to get the http/2 proxy channel up. It only supports CONNECT method so you can put Naive server behind a regular reverse proxy with Naive client. Putting Naive server behind a regular server defeats traffic fingerprinting.
Proxying regular non-https traffic is not implemented because I think http proxying is only less efficient than socks proxying. You wouldn't want to use it as a regular http proxy.
So curl -x 127.0.0.1:1080 example.com
is expected to not work. But curl -x 127.0.0.1:1080 https://example.com
should work and it just worked for me. You can try again.
from naiveproxy.
no luck for me, but it's not a big deal here since it can't be used for standard http proxy :)
* Rebuilt URL to: https://www.google.com/
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.1 (127.0.0.1) port 8080 (#0)
* allocate connect buffer!
* Establish HTTP proxy tunnel to www.google.com:443
> CONNECT www.google.com:443 HTTP/1.1
> Host: www.google.com:443
> User-Agent: curl/7.58.0
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 OK
< Padding: .....................................................
<
* Proxy replied 200 to CONNECT request
* CONNECT phase completed!
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* (304) (OUT), TLS handshake, Client hello (1):
* CONNECT phase completed!
* CONNECT phase completed!
* error:1408F10B:SSL routines:ssl3_get_record:wrong version number
* stopped the pause stream!
* Closing connection 0
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
from naiveproxy.
I'll consider the second issue as missing --padding
option. The first issue is wontfix.
from naiveproxy.
Related Issues (20)
- Missing ISRG (Let's Encrypt Root) on some Windows 11 Installation HOT 6
- Chrome 121 is going to release HOT 2
- Failed to get original destination address HOT 7
- About provide Android binary HOT 1
- Naiveproxy Client-> transit server-> Naiveproxy Server ? HOT 4
- UDP over TCP HOT 5
- 请问 naiveproxy 如何设置 dns 解锁网飞之类? HOT 4
- naiveproxy can't bind to local link inet6 address HOT 5
- 开启naive,并做配置多域名问题 HOT 8
- NaïveProxy plugin for NB4 does not connect if use Domain as server address HOT 2
- Add Android Binary HOT 2
- HTTP3协议的站点访问问题 HOT 2
- 被GFW识别了吗?为啥经常会突然的访问不了 HOT 12
- 如何在config.json里配置 acl {allow 172.3.0.0} HOT 1
- 新版的forwardproxy的caddy配置文件和老版的不兼容,通过脚本更新服务就挂掉了(forwardproxy没地方发,就发这来了) HOT 4
- go version 1.22.0編譯,json參數無法識別 HOT 7
- bug,密码包含@会报错 HOT 2
- 是否支持单端口复用? HOT 11
- version v122.0.6261.43-2 won't work at arm 64 platform HOT 3
- Allow choosing IPv4 or IPv6 in client configuration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from naiveproxy.