d1sm / finalspeed Goto Github PK
View Code? Open in Web Editor NEW高速双边加速软件,在高丢包,延迟环境下仍可达到90%物理带宽利用率.
高速双边加速软件,在高丢包,延迟环境下仍可达到90%物理带宽利用率.
以前我用锐速(DO)和Netspeeder(BWG)都跑不满宽带啊,这个真的可以90%吗?
我是在路由上使用ss客户端的,那么就没法在本地跑了吧?
路由的话,只在服务器端安装,本地不安装,会有效果吗?与net_speeder相比如何?
谢谢。
FS新版什么时候出呢?个人觉得就是随机启动跟最小化的问题。作为不会编译跟不懂汇编的人来说,只能添加快捷方式然后拖到启动文件夹实现随机启动,这样让人觉得非常low也不够严谨。另外开机就看到FS的界面直白的显示在那,感觉略微不友好。要是提供一个最小化运行可选项就最棒了,就如同SSR一般。另外个人还有一个洁癖,就是希望能将FS的图标做的更精细一点,最好是64*64级别吧,哈哈。在任务栏的最好是能使白色,类似系统音量图标的风格。相信作者能做出FS,小细节的优化肯定也是易如反掌的事,只是耽搁一点时间编译跟找素材。
FinalSpeed server starting...
System Name: linux
Listen udp port: 150
Listen tcp port: 150
Network Interface List:
venet0
zt0
ipsec0
Pseudo-device that captures on all interfaces any
lo
Selected Network Interface:
lo
自动选择到了 lo 让我很是无语
bwg上自动选择lo。同 #8
希望可以增加配置项。谢
如题,希望能帮上忙
大多数需要的人手机多半也已经root过了,不担心权限问题
连接YouTube,初次使用TCP协议,连接成功后过了几分钟就断掉了,报连接超时,超时关闭client
切换UDP协议后似乎没有出现问题,不知道是什么鬼,Debian 7。
PS:在办公室用TCP协议没问题....
期待GO版本
每次启动都删我其他服务的 iptables 配置吗= =
目前Go版本已经开始开发了吗?希望可以加入一起开发,贡献一下力量哈。
客户端Windows下加速效果很明显,但是在ArchLinux下不行。
要是每个客户都把物理带宽设的很大,服务器不是坏掉了吗?有没有办法限制每个客户的最大带宽?
@zqhong 请问题这个命令sudo java -jar client.jar 怎么后台运行?以及有没有重启的方法?
我想把客户端运行在raspberry pi 2 上。
https://github.com/zqhong/finalspeed
如题
[root@ss fs]# ./restart.sh
FinalSpeed server starting...
System Name: linux
Listen udp port: 150
Listen tcp port: 150
[root@ss fs]# cat server.log
FinalSpeed server starting...
System Name: linux
Listen udp port: 150
Listen tcp port: 150
Network Interface List:
venet0
tun0
Pseudo-device that captures on all interfaces any
lo
Select Network Interface failed,can't use TCP protocal!
FinalSpeed server start success.
[root@ss fs]# netstat -antp|grep 150
[root@ss fs]#
连成功的情况下效果很好。
OpenVZ的主机,只能用udp。客户端起来之后连接状态一直是空,也就是连不上。ss直连没有问题。服务器端的log也显示正常,查看端口和进程,finalspeed确实正常起来了。
但是我这边的情况是连上的几率较低,是否能连接成功,完全靠不停的观察界面上的连接状态。我相信server端已经很完善,所以是否可以麻烦作者给客户端加一个日志功能?
另外我看安装目录下有个e.log文件,但是显示找不到log4j,是不是下次编译的时候解决一下这个问题就能查看log了?
请添加,自动弹出申请admin功能。exe manifest??
客户端是硬伤啊。。。
日志显示:
delay_udp 240ms 123.114..:59217
delay_udp 240ms 123.114.__.:59217
delay_udp 242ms 123.114..***:59217
Openwrt是基于linux的路由器。
如果可以,就能做到所有客户端零配置了。
还是想试试看部署到路由器上面,虽然可能性能不行。
@d1sm 其实我是想要手机版。。。最近锐速作死,如果fs有手机版就可以彻底把锐速扔了。o(^▽^)o
不知道为什么对Netflix没有效果,但是youtube是有的。
在safari和chrome里都测试过了。
safari用的是silverlight插件
chrome应该是html5.
谢谢。
iptables已经开放了相应的udp接口,板瓦工的vps
java.io.IOException: 不允许的操作
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:693)
at net.fs.rudp.Route.sendPacket(Route.java:272)
at net.fs.rudp.ClientControl.sendPacket(ClientControl.java:125)
at net.fs.rudp.Sender.sendPacket(Sender.java:299)
at net.fs.rudp.Sender.send(Sender.java:295)
at net.fs.rudp.Sender.sendDataMessage(Sender.java:184)
at net.fs.rudp.Sender.reSend(Sender.java:217)
at net.fs.rudp.ResendManage.run(ResendManage.java:62)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
接收第三次握手 ident 9624
[Ethernet Header (14 bytes)]
Destination address: 56:00:00:17:12:47
Source address: fe:00:00:17:12:47
Type: 0x0800 (IPv4)
[IPv4 Header (20 bytes)]
Version: 4 (IPv4)
IHL: 5 (20 [bytes])
TOS: [precedence: 0 (Routine)] [tos: 0 (Default)] [mbz: 0]
Total length: 40 [bytes]
Identification: 9624
Flags: (Reserved, Don't Fragment, More Fragment) = (false, true, false)
Fragment offset: 0 (0 [bytes])
TTL: 46
Protocol: 6 (TCP)
Header checksum: 0x8919
Source address: /210.5.145.58
Destination address: /45.32.13.191
[TCP Header (20 bytes)]
Source port: 39828 (unknown)
Destination port: 150 (SQL-NET)
Sequence Number: 4064126487
Acknowledgment Number: 1973492846
Data Offset: 5 (20 [bytes])
Reserved: 0
URG: false
ACK: true
PSH: false
RST: false
SYN: false
FIN: false
Window: 65535
Checksum: 0x4b26
Urgent Pointer: 0
超时关闭client 210.5.145.58:39828 Wed Mar 23 07:17:47 UTC 2016
用UDP就没问题,但是公司网络UDP会被封锁
很想了解,能否详细介绍下finalspeed,双边加速是怎么个原理。-_-
Exception in thread "pool-1-thread-1" java.lang.UnsatisfiedLinkError: Unable to load library 'pcap': Native library (linux-x86/libpcap.so) not found in resource path ([file:/fs/fs.jar])
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:337)
at com.sun.jna.Function.getFunction(Function.java:83)
at org.pcap4j.core.NativeMappings.(NativeMappings.java:41)
at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:51)
at net.fs.cap.CapEnv.detectInterface(CapEnv.java:264)
at net.fs.cap.CapEnv.initInterface(CapEnv.java:196)
at net.fs.cap.CapEnv.init(CapEnv.java:102)
at net.fs.rudp.Route.(Route.java:103)
at net.fs.server.FSServer$1.run(FSServer.java:76)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
提示这个
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
这是啥原因哦?
服务器端配置成功了,立马shadowsocks又没法用,请问这个什么问题,我把finalspeed停用,ss还是没法用。我重装系统一次,还是如此。用的是搬瓦工的vps,centos7,请问怎么解决?
貌似FS Server把服务器上所有的端口,包括监听在127.0.0.1上的,都暴露给客户端了,而一些敏感端口是不能开放的,是不是不安全?
System: mac os x 10.11.3
java.io.IOException: Cannot run program "ipfw": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
at java.lang.Runtime.exec(Runtime.java:617)
at java.lang.Runtime.exec(Runtime.java:450)
at java.lang.Runtime.exec(Runtime.java:388)
at net.fs.client.ClientUI.checkFireWallOn(ClientUI.java:558)
at net.fs.client.ClientUI.(ClientUI.java:438)
at net.fs.client.FSClient.main(FSClient.java:8)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
... 6 more
就类似现在的ss客户端,因为有时候有的ss线路不是很稳定,需要切换线路。
服务端多网卡怎么都运行final speed
MAC客户端有时启动后状态显示:连接服务器成功,有时启动后就是没状态(LOG上看是超时关闭client);服务器TCP / UDP都可以用,服务器上用netstat看只有一个UDP开着;如果连上TCP模式会很慢,UDP模式会很快;MAC用nc命令看服务器UDP端口是链接正常;
您好,
看到论坛上很多的说明,大概都是针对服务器端到用户本地端的,请问现在还不支持在两台服务器之间进行加速吗(比如国外服务器和在国内的服务器)?
谢谢。
客户端配置好后,SS无法联网。
libpcap-dev 已经安装, 两个配置文件都是从可以运行的机器上拷贝来的,客户端用的是CLI版。
ss连不上的时候,抓包时有从finalspeed服务端返回到finalspeed客户端的包,但是没有finalspeed客户端返回到ss的数据包(ss没有问题)。
详细情况如下:
设备是一个安卓平板,环境是android 4.04,linux deploy装的 kali linux。
root@localhost:/home/android/finalspeed_cli# uname -a
Linux localhost 3.0.8+ #80 PREEMPT Thu Dec 20 13:50:00 CST 2012 armv7l GNU/Linux
java版本:
root@localhost:/home/android/finalspeed_cli# java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-2)
OpenJDK Zero VM (build 24.75-b04, mixed mode)
运行时会抛出几个异常:
root@localhost:/home/android/finalspeed_cli# java -jar client.jar
System: linux 3.0.8+
Network Interface List:
wlan0
Pseudo-device that captures on all interfaces any
lo
Linux netfilter log (NFLOG) interface nflog
Linux netfilter queue (NFQUEUE) interface nfqueue
USB bus number 1 usbmon1
USB bus number 2 usbmon2
USB bus number 3 usbmon3
Selected Network Interface:
wlan0
FinalSpeed server start success.
Exception in thread "Thread-18" java.lang.NullPointerException:
at java.util.concurrent.locks.AbstractQueuedSynchronizer.compareAndSetState(AbstractQueuedSynchronizer.java:566)
at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:211)
at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)
at java.util.concurrent.LinkedBlockingQueue.signalNotEmpty(LinkedBlockingQueue.java:170)
at java.util.concurrent.LinkedBlockingQueue.offer(LinkedBlockingQueue.java:429)
at java.util.AbstractQueue.add(AbstractQueue.java:95)
at net.fs.rudp.Route$1.run(Route.java:146)
连上连不上完全看概率,怪我设备太渣?
希望早日推出Go版本。
想把服务器当作v6访问v4网站的跳板机,但是不清楚是否支持v6
连接成功之后切换网卡会失效,比如原本用网线连接成功,把网线拔掉换成无线网,这时候尽管显示连接成功但是不能上网,把FS客户端重启一遍就可以连接了。
按照教程一步安装,安装过程出现如下提示:
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
FinalSpeed start,log file: /fs/server.log
FinalSpeed server starting...
System Name: linux
Listen udp port: 150
Listen tcp port: 150
Exception in thread "pool-1-thread-1" java.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna3254149984668182924.tmp: /tmp/jna-3506402/jna3254149984668182924.tmp: 无法从共享目标中映射段: 不允许的操作
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:763)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:738)
at com.sun.jna.Native.(Native.java:131)
at com.sun.jna.Pointer.(Pointer.java:41)
at com.sun.jna.ptr.PointerByReference.(PointerByReference.java:28)
at com.sun.jna.ptr.PointerByReference.(PointerByReference.java:24)
at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:48)
at net.fs.cap.CapEnv.detectInterface(CapEnv.java:264)
at net.fs.cap.CapEnv.initInterface(CapEnv.java:196)
at net.fs.cap.CapEnv.init(CapEnv.java:102)
at net.fs.rudp.Route.(Route.java:103)
at net.fs.server.FSServer$1.run(FSServer.java:76)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
运行 tail -f 出现如下:
tail -f /fs/server.log
at com.sun.jna.ptr.PointerByReference.(PointerByReference.java:24)
at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:48)
at net.fs.cap.CapEnv.detectInterface(CapEnv.java:264)
at net.fs.cap.CapEnv.initInterface(CapEnv.java:196)
at net.fs.cap.CapEnv.init(CapEnv.java:102)
at net.fs.rudp.Route.(Route.java:103)
at net.fs.server.FSServer$1.run(FSServer.java:76)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
java安装应该是正常的,
java -version
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)
麻烦给看下是怎么回事?
因为我的服务端都有自定义的防火墙规则
但是每次只要启动fs防火墙规则就乱了
虽然我有写了重新加载的一个定时shell暂时解决了防火墙规则乱掉的问题
但实际上fs真的不需要主动去修改服务端防火墙的功能
[TCP Header (32 bytes)]
[ Source port: 150 () ]
Destination port: 9579 ()
Destination port: 9579 ()
Sequence Number: 2349943662
Acknowledgment Number: 1477361765
Data Offset: 8 (32 [bytes])
Reserved: 0
URG: false
ACK: true
PSH: false
RST: false
SYN: true
FIN: false
Window: 65535
Checksum: 0xf9b2
Urgent Pointer: 0
Option: [Kind: 2 (Maximum Segment Size)] [Length: 4 bytes] [Maximum Segment Size: 1440 bytes]
Option: [Kind: 1 (No Operation)]
Option: [Kind: 1 (No Operation)]
Option: [Kind: 4 (SACK Permitted)] [Length: 2 bytes]
Option: [Kind: 1 (No Operation)]
Option: [Kind: 3 (Window Scale)] [Length: 3 bytes] [Shift Count: 6]
有啥注册方法么。
大大,你好。我想问下fs本身通讯时,有没有加密。我主要先直接在服务器端开一个http代理,不通过ss。因为如果用ss的话,本地端需要两个软件,太麻烦。但是又怕fs没有加密,http传输容易被干扰。
出错信息:nohup: failed to run command `java': No such file or directory
说是要手动安装JAVA,debian 6.0不知道怎么安装java
求详细教程
System Name: linux
Listen udp port: 1150
Listen tcp port: 1150
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "pool-1-thread-1" java.lang.Error:
There is an incompatible JNA native library installed on this system
/usr/java/packages/lib/i386:/usr/lib/i386-linux-gnu/jni:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/lib/jni:/lib:/usr/lib.
To resolve this issue you may do one of the following:
- remove or uninstall the offending library
- set the system property jna.nosys=true
- set jna.boot.library.path to include the path to the version of the
jnidispatch library included with the JNA jar file you are using
at com.sun.jna.Native.<clinit>(Native.java:146)
at com.sun.jna.Pointer.<clinit>(Pointer.java:41)
at com.sun.jna.ptr.PointerByReference.<init>(PointerByReference.java:28)
at com.sun.jna.ptr.PointerByReference.<init>(PointerByReference.java:24)
at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:48)
at net.fs.cap.CapEnv.detectInterface(CapEnv.java:261)
at net.fs.cap.CapEnv.initInterface(CapEnv.java:196)
at net.fs.cap.CapEnv.init(CapEnv.java:102)
at net.fs.rudp.Route.<init>(Route.java:103)
at net.fs.server.FSServer$1.run(FSServer.java:60)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
环境是DigitalOcean Ubuntu 15.10 (GNU/Linux 3.16.0-28-generic i686)
我自己装过openJdk
现在下载最新编译版挺不方便的
版本论坛隐藏了,难道不开发了吗
我的win8默认是关闭系统自带防火墙的服务的,必须要打开防火墙,FinalSpeed才可以打开,要不然FinalSpeed自动关闭,防火墙关不关闭和FinalSpeed运行好坏没必然联系吧?
建议还是别强制开防火墙好。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.