360connect VPN 有办法么?(chromium能用java不?)

#1

校园网的vpn,没有linux客户端。
android上用360connect是可以用的。

校园网提供的vpn网页版,它要求浏览器有java。
尝试了firefox52+icedtea 和 oracle jre 1.8.0 libnpjp2.so 。要么firefox说java崩溃,要么加载不出来。

这种VPN有什么方法?
chromium有办法用java么?

Has Likes
openSUSE-Gossip-20190101-20190407
#2

openjdk?
要不就是抓包

#3

openjdk好像没有浏览器插件

$ rpm -ql java-1_8_0-openjdk-headless|grep \.so$
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/jli/libjli.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libattach.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libawt.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libawt_headless.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libdt_socket.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libfontmanager.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libhprof.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libinstrument.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libj2gss.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libj2krb5.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libj2pcsc.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libj2pkcs11.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libj2sctp.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjaas_unix.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjava.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjava_crw_demo.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjavajpeg.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjavalcms.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjdwp.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjsdt.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjsig.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjsound.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libmanagement.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libmlib_image.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libnet.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libnio.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libnpt.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libsaproc.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libsunec.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libunpack.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libverify.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libzip.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/server/libjsig.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/server/libjvm.so

$ rpm -ql java-1_8_0-openjdk|grep \.so$
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libawt_xawt.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libicedtea-sound.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjawt.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjsoundalsa.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libsplashscreen.so
#4

Firefox 52 和 Chromium 45 是最后支持 NPAPI 的版本。Firefox 64 位从来没有支持过 NPAPI。Java Plugin 是基于 NPAPI 的。所以你只能寄希望于 Firefox 52 32 位。或者就得自己抓包做客户端了

#5

既然学校没有给专门的linux客户端,有没有试过Linux的通用的连接vpn的方式呢?比如你可以安装NetworkManager的NetworkManager-openvpn插件,然后通过NetworkManager来连接vpn。

#6

@java2learner 现在就是楼主无法确定校园网是啥 VPN 协议…怕是 inode 之类的国内公司自己开发的

Has Likes
#7

一般来说要抓包
从这点来说802.1x是非常讨厌的东西

#8

360connect不是通过ssl vpn来连接的吗?

#9

实在不行试试wine一下windows客户端?

#10

认证多半是802.1x
以前搞啥啥锐捷也是用的这玩意认证

#11

我尝试了firefox 52和更老的32位版本。插件试过了icedtea和oracle各版本的javaplugin,都不能用,很奇怪。oracle网站的java检测页面都崩溃。

现在暂时android代理顶住。
旧版本的chromium真不好找,目前在launchpad看见一个ubuntu14.04的旧版本,下次有空再下载试试它。

我对vpn和认证不太懂。openvpn和ssl vpn是一回事吗?
抓包看见通信的是443端口,TLS1.2,其中能看见

vpn.xxx.edu.cn.....#...
.............................	.http/1.1.


CN1.0	..U....BJ1.0...U....Beijing1.0...U.
..SecWorld1.0
..U....vpn1.0...U....gateway0..
00000000  16 03 01
00000000  16 03 03 00 31 02 00 00  2d 03 03

我不会进一步分析

#12

那就一定要中间人攻击了
要看见ssl里的内容
说起来也不一定是用vps传数据
可能只是做了个认证

#13

Chromium 45 是最后支持 NPAPI 的版本

有人说是45,有人说是35,晕死。

我现在下载了个32位的chromium 34,好不容易解决依赖让它能运行(带--no-sandbox --enable-plugins),现在搞不清怎么启用插件。

插件尝试java和flash(NPAPI版的),下载了jre-8u211-linux-i586flash-player-npapi-32.0.0.171-release.i386(都是最新的,不知道太新有没有关系)

尝试过.so放到位置

chromium的位置/usr/lib/chromium-browser/plugins/
/usr/lib/browser-plugins
/usr/lib/chromium/plugins

结果about:plugins都没有出现flash或java,只有一个 Chromoting Viewer

Chromoting Viewer
This plugin allows you to securely access other computers that have been shared with you. To use this plugin you must first install the Chrome Remote Desktop webapp.
Name: Chromoting Viewer
Description: This plugin allows you to securely access other computers that have been shared with you. To use this plugin you must first install theChrome Remote Desktop webapp.
Location: internal-remoting-viewer
Type: PPAPI (out-of-process)
|MIME types:||MIME type|Description|File extensions|
|application/vnd.chromium.remoting-viewer||.||