XX-net / XX-Net

A proxy tool to bypass GFW.
32.98k stars 7.7k forks source link

IP6连接成功,但扫描很久还是没IP。 #8804

Open hai1212 opened 6 years ago

hai1212 commented 6 years ago

XX-Net Status:

sys-platform: i686, Linux-3.11.0-26-generic-i686-with-Ubuntu-12.04-precise os-system: Linux os-version: #45~precise1-Ubuntu SMP Tue Jul 15 04:04:35 UTC 2014 os-release: 3.11.0-26-generic os-detail: Dist:Ubuntu; Version:12.04; ID:precise architecture: 32bit,ELF browser: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 xxnet-version: 3.8.4 python-version: 2.7.3 openssl-version: 0.12 TLSv1 h2:no use-ipv6: auto gws-ip-num: total:0 ipv4:0 ipv6:0 ipv4-status: OK ipv6-status: OK connected-link: new:0 used:0 worker: h1:0 h2:0 scan-ip-thread-num: 10 ip-quality: 9999 is-idle: 0 block-stat: OK proxy_state: Fail ca_state: Fail Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

扫描了已晚上还是没有IP,上不了外网!! 从其他电脑导出来的IP,不能用!!

常见问题:

ghost commented 6 years ago

use-ipv6: auto——改为 只用ipv6 scan-ip-thread-num: 10——改大到50-100,待有一定数ipv6或正常后改回 proxy_state: Fail ca_state: Fail——在非系统默认或代理正常的浏览器内打开 http://127.0.0.1:8085/

hai1212 commented 6 years ago

XX-Net Status:

sys-platform: i686, Linux-3.11.0-26-generic-i686-with-Ubuntu-12.04-precise os-system: Linux os-version: #45~precise1-Ubuntu SMP Tue Jul 15 04:04:35 UTC 2014 os-release: 3.11.0-26-generic os-detail: Dist:Ubuntu; Version:12.04; ID:precise architecture: 32bit,ELF browser: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 xxnet-version: 3.8.4 python-version: 2.7.3 openssl-version: 0.12 TLSv1 h2:no use-ipv6: force_ipv6 gws-ip-num: total:3103 ipv4:0 ipv6:2285 ipv4-status: OK ipv6-status: OK connected-link: new:0 used:0 worker: h1:0 h2:0 scan-ip-thread-num: 0 ip-quality: 100 is-idle: 0 block-stat: Connect Blocked, 3 seconds to wait. proxy_state: OK ca_state: OK Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

设置好了,从其他可以的电脑导入IP,不过等扫描完导入的,就显示GAEProxy退出,无法链接。

12月 03 21:59:03.2 - [DEBUG] connect 2404:6800:400b:17::8 fail:AttributeError("'_socketobject' object has no attribute 'set_tlsext_host_name'",) 12月 03 21:59:03.2 - [DEBUG] report_connect_fail:2404:6800:400b:17::8 12月 03 21:59:03.4 - [DEBUG] connect 2404:6800:400b:18::13 fail:AttributeError("'_socketobject' object has no attribute 'set_tlsext_host_name'",) 12月 03 21:59:03.4 - [DEBUG] report_connect_fail IPv6 continue_fail_count:11 12月 03 21:59:03.4 - [DEBUG] report_connect_fail:2404:6800:400b:18::13 12月 03 21:59:04.0 - [DEBUG] connect 2607:f8b0:4009:30::12 fail:AttributeError("'_socketobject' object has no attribute 'set_tlsext_host_name'",) 12月 03 21:59:04.0 - [DEBUG] report_connect_fail IPv6 continue_fail_count:12 12月 03 21:59:04.0 - [DEBUG] report_connect_fail:2607:f8b0:4009:30::12 12月 03 21:59:04.1 - [DEBUG] network IPv6 is ok, cost:713 ms 12月 03 21:59:04.5 - [DEBUG] ip:2607:f8b0:401d:1d::7 real fail 12月 03 21:59:04.6 - [DEBUG] connect 2607:f8b0:4009:30::10 fail:AttributeError("'_socketobject' object has no attribute 'set_tlsext_host_name'",) 12月 03 21:59:04.6 - [DEBUG] report_connect_fail:2607:f8b0:4009:30::10 12月 03 21:59:05.2 - [DEBUG] connect 2a00:1450:400b:2::17 fail:AttributeError("'_socketobject' object has no attribute 'set_tlsext_host_name'",) 12月 03 21:59:05.2 - [DEBUG] report_connect_fail:2a00:1450:400b:2::17 12月 03 21:59:11.0 - [DEBUG] connect 2607:f8b0:401e:13::19 fail:AttributeError("'_socketobject' object has no attribute 'set_tlsext_host_name'",) 12月 03 21:59:11.0 - [DEBUG] report_connect_fail:2607:f8b0:401e:13::19 12月 03 21:59:11.6 - [DEBUG] connect 2404:6800:400b:c::14 fail:AttributeError("'_socketobject' object has no attribute 'set_tlsext_host_name'",) 12月 03 21:59:11.6 - [DEBUG] report_connect_fail:2404:6800:400b:c::14 12月 03 21:59:12.2 - [DEBUG] connect 2a00:1450:401c:17::a fail:AttributeError("'_socketobject' object has no attribute 'set_tlsext_host_name'",) 12月 03 21:59:12.2 - [DEBUG] report_connect_fail:2a00:1450:401c:17::a 12月 03 21:59:12.8 - [DEBUG] connect 2a00:1450:4002:1c::16 fail:AttributeError("'_socketobject' object has no attribute 'set_tlsext_host_name'",) 12月 03 21:59:12.8 - [DEBUG] report_connect_fail:2a00:1450:4002:1c::16

hai1212 commented 6 years ago

XX-Net Status:

sys-platform: i686, Linux-3.11.0-26-generic-i686-with-Ubuntu-12.04-precise os-system: Linux os-version: #45~precise1-Ubuntu SMP Tue Jul 15 04:04:35 UTC 2014 os-release: 3.11.0-26-generic os-detail: Dist:Ubuntu; Version:12.04; ID:precise architecture: 32bit,ELF browser: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 xxnet-version: 3.8.4 python-version: 2.7.3 openssl-version: 0.12 TLSv1 h2:no use-ipv6: force_ipv6 gws-ip-num: total:3103 ipv4:0 ipv6:0 ipv4-status: OK ipv6-status: OK connected-link: new:0 used:0 worker: h1:0 h2:0 scan-ip-thread-num: 100 ip-quality: 9999 is-idle: 0 block-stat: OK proxy_state: OK ca_state: OK Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

变成等待扫描IP,建议开启IPv6。但IPV6已开启 可以ping6 ipv6.google.com 64 bytes from tsa03s02-in-x0e.1e100.net: icmp_seq=12 ttl=56 time=406 ms 64 bytes from tsa03s02-in-x0e.1e100.net: icmp_seq=14 ttl=56 time=412 ms 64 bytes from tsa03s02-in-x0e.1e100.net: icmp_seq=15 ttl=56 time=412 ms 64 bytes from tsa03s02-in-x0e.1e100.net: icmp_seq=16 ttl=56 time=414 ms 64 bytes from tsa03s02-in-x0e.1e100.net: icmp_seq=17 ttl=56 time=408 ms 64 bytes from tsa03s02-in-x0e.1e100.net: icmp_seq=18 ttl=56 time=407 ms 64 bytes from tsa03s02-in-x0e.1e100.net: icmp_seq=20 ttl=56 time=418 ms 64 bytes from tsa03s02-in-x0e.1e100.net: icmp_seq=21 ttl=56 time=425 ms

ghost commented 6 years ago

https://github.com/XX-net/XX-Net/wiki/%E5%A6%82%E4%BD%95%E5%BC%80%E5%90%AFIPv6

hai1212 commented 6 years ago

IPV6已开启,只是显示要开始IPV6。还是扫描很久!然后就变成退出了。是不是移动宽带不行?

xxnet commented 6 years ago

​是因为老版本的Linux,不支持 set_tlsext_host_name 想办法升级 pyOpenSSL库

hai1212 commented 6 years ago

pyOpenSSL库怎么升级!

2017-12-05 9:32 GMT+08:00 Michael.X notifications@github.com:

​是因为老版本的Linux,不支持 set_tlsext_host_name 想办法升级 pyOpenSSL库

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/XX-net/XX-Net/issues/8804#issuecomment-349165505, or mute the thread https://github.com/notifications/unsubscribe-auth/Agmy9vZa3EAZgrMQxces9pktpM9oOjUxks5s9J0UgaJpZM4QzVm2 .

xxnet commented 6 years ago

sudo pip uninstall pyopenssl sudo ​pip install pyopenssl

qushaobo commented 6 years ago

安装的系统是Ubuntu12.04server版。 sudo apt-get remove python-openssl sudo pip install –U pyopenssl 可以有会报一些包版本也需要升级的。比如我的cffi也需要升级。报错是找到不这个版本的包。 sudo pip install –U cffi 安这个包时如果没有安装gcc,需要安装一下 Sudo apt-get install gcc