huokedu / sshtunnel

Automatically exported from code.google.com/p/sshtunnel
GNU General Public License v3.0
0 stars 0 forks source link

HTTPS STILL DOES NOT WORK #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

sshtunnel 0.71
DNS: 8.8.8.8

Http访问正常
Https 不行。

Original issue reported on code.google.com by johsonc...@gmail.com on 21 Feb 2011 at 3:09

GoogleCodeExporter commented 9 years ago
环境:
Milestone
Caynogenmod 6
2.2 Kernel

Original comment by johsonc...@gmail.com on 21 Feb 2011 at 4:44

GoogleCodeExporter commented 9 years ago
某墙升级了,稍作忍耐

Original comment by max.c...@gmail.com on 21 Feb 2011 at 8:11

GoogleCodeExporter commented 9 years ago
有能力的话, adb shell 到手机,尝试 ping 8.8.8.8

Original comment by max.c...@gmail.com on 21 Feb 2011 at 8:12

GoogleCodeExporter commented 9 years ago
那DNS貌似没问题吧,我一直在用。

Original comment by johsonc...@gmail.com on 21 Feb 2011 at 8:55

GoogleCodeExporter commented 9 years ago
悲剧啊,0.72 还是不能用。

Original comment by johsonc...@gmail.com on 22 Feb 2011 at 4:33

GoogleCodeExporter commented 9 years ago
貌似是 twitter.com 的 https 不能用,FACEBOOK 
不能用,还是有能用的。比如 seapuff.com

Original comment by johsonc...@gmail.com on 22 Feb 2011 at 4:34

GoogleCodeExporter commented 9 years ago
话说你有ROOT吗?

Original comment by max.c...@gmail.com on 22 Feb 2011 at 7:30

GoogleCodeExporter commented 9 years ago
卸载之前版本,重新安装一次,可能是之前内置的DNS 
cache也被污染了。

Original comment by max.c...@gmail.com on 22 Feb 2011 at 7:31

GoogleCodeExporter commented 9 years ago
Root 了的。重装无用。
Iptables supported.

Original comment by johsonc...@gmail.com on 22 Feb 2011 at 8:10

GoogleCodeExporter commented 9 years ago
你的网络环境是?

Original comment by max.c...@gmail.com on 22 Feb 2011 at 10:57

GoogleCodeExporter commented 9 years ago
联通WCDMA
另外,8.8.8.8 是可用的。
个别现象?

Original comment by johsonc...@gmail.com on 22 Feb 2011 at 11:52

GoogleCodeExporter commented 9 years ago
升级 0.7.4 后仍无解,不应是 dns 问题吧。。
我访问另一个非SSL的DNS污染的网址,正常。

Original comment by johsonc...@gmail.com on 22 Feb 2011 at 12:12

GoogleCodeExporter commented 9 years ago
0.7.5 依然无解

Original comment by johsonc...@gmail.com on 23 Feb 2011 at 1:09

GoogleCodeExporter commented 9 years ago
断开连接情况下,删除 /data/data/org.sshtunnel/cache/ 
下面的所有文件,再尝试连接,如果还是不行,请帮忙提交 
adb logcat。

Original comment by max.c...@gmail.com on 23 Feb 2011 at 1:38

GoogleCodeExporter commented 9 years ago
依然无解,晚上提交日志。

Original comment by johsonc...@gmail.com on 23 Feb 2011 at 2:20

GoogleCodeExporter commented 9 years ago
不知道现在的状况如何,是否已可以正常访问?

Original comment by max.c...@gmail.com on 1 Mar 2011 at 11:27

GoogleCodeExporter commented 9 years ago
依然不可,忘了logcat这事了。。不好意思。

Original comment by johsonc...@gmail.com on 1 Mar 2011 at 11:48

GoogleCodeExporter commented 9 years ago
我想确认:
1. 是否已经勾选“自动设置代理”选项,
2. 是否曾经修改过系统的 hosts 文件,
3. 是否手动设置了代理,
4. 是否安装了 droidwall,CMWRAP 等可能造成冲突的软件。

Original comment by max.c...@gmail.com on 2 Mar 2011 at 6:48

GoogleCodeExporter commented 9 years ago
除了一,全否。

Original comment by johsonc...@gmail.com on 2 Mar 2011 at 6:57

GoogleCodeExporter commented 9 years ago
忽然想到,你用的是什么 SSH 服务?

Original comment by max.c...@gmail.com on 3 Mar 2011 at 2:07

GoogleCodeExporter commented 9 years ago
Puff

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 4:37

GoogleCodeExporter commented 9 years ago
弄出来 LOGCAT了。
LOGCAT后操作:打开SSHTUNNEL,链接,按HOME键,点开浏览器,访�
��一个HTTPS页面。

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 5:31

GoogleCodeExporter commented 9 years ago
不好意思……忘了上传

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 5:31

Attachments:

GoogleCodeExporter commented 9 years ago
我看出来是怎么一回事了,由于程序把你的手机的CPU被辨认��
�了 ARMV6,执行了 iptables_g1而产生错误。
我会尽快修改程序,到时候还请帮忙测试,谢谢啦~~

Original comment by max.c...@gmail.com on 3 Mar 2011 at 8:18

GoogleCodeExporter commented 9 years ago
我想请你帮忙执行这条命令 “adb shell cat 
/proc/cpuinfo”并把输出贴给我 ~~

Original comment by max.c...@gmail.com on 3 Mar 2011 at 8:21

GoogleCodeExporter commented 9 years ago
请帮忙试一下这个apk

Original comment by max.c...@gmail.com on 3 Mar 2011 at 8:35

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for using Better Terminal Emulator Pro

/ $ su
/ # cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 3 (v7l)
BogoMIPS: 249.96
Features: swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x1
CPU part: 0xc08
CPU revision    : 3

Hardware: mapphone_UMTS
Revision: 0000
Serial  : 0000000000000000
/ #

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 8:36

GoogleCodeExporter commented 9 years ago
新APK DNS有问题,DNS污染依旧,http 也无法访问。
未DNS污染的网页访问没问题。
重装和清数据依然。

这个APK是connectbox 核心?另一个核心运行有问题。

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 8:55

GoogleCodeExporter commented 9 years ago
不好意思,不是DNS的问题。。iptable 
可能没弄好,根本没有自动设置代理。

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 8:58

GoogleCodeExporter commented 9 years ago
确认是没有自动设置,因为程序没有申请ROOT权限。

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 9:05

GoogleCodeExporter commented 9 years ago
新的LOGCAT

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago
我看了这次的logcat,没有报错,也就说,其实 iptables 
没有起作用。
请帮忙尝试运行这段代码: “/data/data/org.sshtunnel/iptables_n1 -L 
-t nat”

Original comment by max.c...@gmail.com on 3 Mar 2011 at 12:36

GoogleCodeExporter commented 9 years ago
权限问题?
Thank you for using Better Terminal Emulator Pro

/ $ su
/ # cd /data/data/org.sshtunnel
/data/data/org.sshtunnel # iptable_n1 -L -t nat
bash: iptable_n1: command not found
/data/data/org.sshtunnel # ls
cache         iptables_g1   lib           redsocks      ssh
files         iptables_n1   proxy.sh      shared_prefs
/data/data/org.sshtunnel # ./iptables_n1 -L -t nat
bash: ./iptables_n1: Permission denied
/data/data/org.sshtunnel # sh iptables_n1 -L -t nat
iptables_n1: line 1: syntax error: unexpected word (expecting ")")
/data/data/org.sshtunnel # chmod iptables_n1 777
chmod: 777: No such file or directory
/data/data/org.sshtunnel # chmod 777 iptables_n1
/data/data/org.sshtunnel # ,/iptables_n1 -L -t nat
bash: ,/iptables_n1: No such file or directory
/data/data/org.sshtunnel # ./iptables_n1 -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
/data/data/org.sshtunnel #

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 12:45

GoogleCodeExporter commented 9 years ago
恭喜,Bugkilled
权限777后一切正常。https http全没问题。

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 12:52

GoogleCodeExporter commented 9 years ago
好像 0.8.3 有问题,今天有点忙,明天帮你测试。

Original comment by johsonc...@gmail.com on 3 Mar 2011 at 2:09

GoogleCodeExporter commented 9 years ago
按理说,我已经在程序里 chmod 
了,但为什么在你的机器上不起效果呢,真是很奇怪啊

Original comment by max.c...@gmail.com on 4 Mar 2011 at 1:04

GoogleCodeExporter commented 9 years ago
0.8.3 
也是权限问题,生成的可执行程序和那个脚本都没有权限,��
�在上课,中午给你logcat

Original comment by johsonc...@gmail.com on 4 Mar 2011 at 3:25

GoogleCodeExporter commented 9 years ago
我已经更新到0.8.4了,解决了你遇到的那个权限问题

Original comment by max.c...@gmail.com on 4 Mar 2011 at 3:53

GoogleCodeExporter commented 9 years ago
恩,基本上没问题了。

Original comment by johsonc...@gmail.com on 4 Mar 2011 at 4:11

GoogleCodeExporter commented 9 years ago
谢谢帮忙~~ Issue closed

Original comment by max.c...@gmail.com on 4 Mar 2011 at 5:26