Coder Social home page Coder Social logo

Comments (21)

shutup avatar shutup commented on July 4, 2024 2

@fatedier 搭建go-mips32的docker镜像,我这篇文章以frp为例的,顺便感谢 @FlashSoft

from frp.

fatedier avatar fatedier commented on July 4, 2024 2

Go1.8 开始会支持 mips32。

from frp.

se77en avatar se77en commented on July 4, 2024 1

@FlashSoft ngrok 放 docker 里可以解决 80,443 的问题,不过还是没有 frp 好用

from frp.

fatedier avatar fatedier commented on July 4, 2024

很抱歉,我对这方面不是很熟悉,而且也没有相关的测试环境,如果有其他人能提供一些帮助就更好了。

from frp.

wxyzh avatar wxyzh commented on July 4, 2024

客户端在 r6300v2上使用正常,固件是tomato

fatedier [email protected]于2016年8月24日周三 16:05写道:

很抱歉,我对这方面不是很熟悉,而且也没有相关的测试环境,如果有其他人能提供一些帮助就更好了。


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#96 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASpHqUaCwyMj69iOTTiewoCaRjf4tB9Jks5qi_svgaJpZM4Jrrxh
.

from frp.

FlashSoft avatar FlashSoft commented on July 4, 2024

看这里
http://www.right.com.cn/forum/thread-191839-1-1.html

from frp.

iseeyou avatar iseeyou commented on July 4, 2024

@FlashSoft 正常,就是版本不是最新的,Gzip打不开
sshot-3

from frp.

FlashSoft avatar FlashSoft commented on July 4, 2024

qq20160825-0 2x

from frp.

FlashSoft avatar FlashSoft commented on July 4, 2024

对了,需要再注意下,由于log库在op上编译的有点不兼容,所以需要启动的时候把log指向到一个/dev/null 如果是使用老毛子固件需要指向到/dev/zero

fprc -c xxx.conf -L /dev/zero

from frp.

fatedier avatar fatedier commented on July 4, 2024

@FlashSoft 感谢支持,我学习一下,争取后续发布新版本时编译一个 mips32 的版本。
@iseeyou 0.8.0 的 gzip 选项其实已经生效,只是非特权模式创建的代理在 dashboard 上的展示没有更新。

from frp.

FlashSoft avatar FlashSoft commented on July 4, 2024

@fatedier 其实大家感谢你开发的frp,这样让大家可以弃用ngrok了,毕竟frp可以不影响服务器的80 443之类的

from frp.

iseeyou avatar iseeyou commented on July 4, 2024

路由器上web关闭gzip性能提升不少,打开了卡顿明显。可能是路由器性能限制。

from frp.

FlashSoft avatar FlashSoft commented on July 4, 2024

嗯,所以才说frp更方便:)期待@fatedier 的后续更新

from frp.

fatedier avatar fatedier commented on July 4, 2024

@shutup Great!

from frp.

chmis8000 avatar chmis8000 commented on July 4, 2024

@fatedier @iseeyou
网上搜索,据说 lz4压缩算法省CPU,压缩速度非常快,不知道有人是否能够 比较一下 go实现的 lz4和 gzip 。说不准增加一个算法lz4,专用于路由器等低性能设备可以使用压缩特性:
https://github.com/bkaradzic/go-lz4
https://github.com/pierrec/lz4

一个比较:
http://catchchallenger.first-world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO
Stream test:
压缩时间:gzip: 376,lz4:130,不压缩:10
解压缩:gzip: 1797,lz4:809,不压缩:9
内存: gzip:0.5M lz4:0M none:0M
压缩率:gzip:0.99 lz4:1.59,不压缩:1(这个感觉不对啊)

from frp.

fatedier avatar fatedier commented on July 4, 2024

@chmis8000 go 1.7 的 gzip 默认压缩算法好像是换成 snappy 了,效率更高,资源占用低,但是压缩率要差一些,后面有时间了会研究比对一下。

目前还主要在加功能,后面差不多的时候会考虑重构一下代码,进行一些专门的优化。

from frp.

soulteary avatar soulteary commented on July 4, 2024

@fatedier 的工具棒棒哒。

@shutup 感谢分享,不过现在参考你的文章或者https://github.com/lnterface/go-mips32le 执行编译32位frp的时候都会出现一些小问题。

我补充点东西,以免后来人踩坑。

准备编译环境中,不论使用alpine3.3/3.4,搭配gomini/go-mips32源的代码,都会出现unknown relocation type 42; compiled without -fpic?的错误。

参考 golang/go#13114gliderlabs/docker-alpine#182 解决方案有两个,一个打补丁,一个是env关掉cgo。(偷懒暂时先关闭,明天详细看一下作者的修改记录,评估下mips go 1.4.2->1.7 麻烦否,如果不麻烦就升级1.7了)

执行编译的时候,发现博文中提到的工具有的仓库已经被作者删除/隐藏,中断again....
明天围观下frp现在的编译再继续补充。

另外,在构建过程中,我发现你clone了go mips32全部的代码,实则木有必要,--depth 1即可。
在编译frp的过程中,直接取最新代码不可取,应该取 @fatedier release stable的版本呀,不过 docker 中

RUN git clone --branch v0.8.1 https://github.com/fatedier/frp.git --single-branch --depth 1

会因为notice中断,可以考虑使用wget zipball, unzip zipball的方式来解决,go get 似乎可以取本地的代码构建,而不用一律取github上的,毕竟utils里的代码已经check到本地了...

from frp.

piiiiiiiiiiiiiii avatar piiiiiiiiiiiiiii commented on July 4, 2024

请问楼主 @FlashSoft

tomato advanced 路由器Tenda N6 芯片Broadcom BCM5357 ,能用frp吗?

我下载了这个mpls版客户端,有5m多,路由器放不下

http://www.right.com.cn/forum/thread-191839-1-1.html

from frp.

f8q8 avatar f8q8 commented on July 4, 2024

放到/tmp目录,缺点就是每次路由器重启后,这个玩意儿就没有了,

from frp.

NemoAlex avatar NemoAlex commented on July 4, 2024

实测目前的版本在 X64 上面可以很好地运行。
分享一个刚写的启动脚本:
https://gist.github.com/NemoAlex/d9bfb0a45c8d04eaf356753fb7be8971
图省事就放 /root 了,并且用 root 用户启动了。想改可以自己改一下。

from frp.

f8q8 avatar f8q8 commented on July 4, 2024

@NemoAlex 很不错,要是有界面就更好了,

from frp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.