-
Notifications
You must be signed in to change notification settings - Fork 17
New package: RR Redir #14
Comments
Sure looks pretty trivial, i will have a go. Btw you just need the binary or should this start as a service and if so what are the default usefully start parameters for openwrt? |
Great! Regarding the "configuration" as you can see it's a simple binary with parameters. So, different strategies are possible:
I leave it up at your discretion for the best option. 😉 |
ok done, can you test if it works correctly. I just did a quick qemu test and binary showed the help. Did also build via my package-builder against snapshots sdk. PS: Will add config later, need to-do some other stuff. |
Hi @Andy2244 , I don't have a docker image for package-builder. I only have the openwrt-buildroot image. So I can't compile the package at time to testing it. Thank you! |
Sorry @Andy2244 , I weel see now https://github.com/Andy2244/openwrt-package-builder ! |
Hi @Andy2244 , |
What you mean by "isn't a pure docker image"? I don't understand what this means, since my builder is independent, self contained from anything else? I mean what is your build environment? Do you use the sdk or full buildroot? |
Hi @Andy2244 ,
I use a docker image with "all inside the docker image" for compiling the kernel with the buildroot. However, to compile a package I need to recompile all the buid environment just for one small package. The problem is: I can't execute scripts in the command, I can only instance docker images. This is the reason to comment that your So, to not consume more time: You have some precompiled ipk? |
I still don't know what target version you need, 18.06.x, snapshots? So you cant just add this feed to your containers PS: If you have docker already running, all you need is the builder script and a working build config.
|
Hi @Andy2244 , Thank you for the tip (about the In the meantime, can you provide a build of? Please...
and
Thank you! |
Hi @Andy2244 , Tested on both platforms: it works like a charm. You will implement some init.d script? Thank you for your effort! 😉 |
If i have some extra time yes. |
OK. Great! When you can! 🎉 |
Hi @Andy2244 , The tool Thank you! |
ok updated |
So, time for a PR to merge it with the Master OpenWRT Packages? |
Need to figure out the service script first. Still working mainly on cifsd, samba4 atm, so maybe next weekend. |
Hi @Andy2244 , OK. Don't worry! You're doing a good job. When you can. |
Hi @Andy2244
I don't want to take advantage of you. But I see that you have a lot of experience when it comes to making packages for OpenWRT.
I do a request for creating a package for the tool
RR Redir
: openwrt/packages#8202However, no one has accepted it.
I need to use it for this: My connection uses two different proxies. One is Master and another is a Backup. But the SoftEtherVPN doesn't have support for "multiple proxies". So each connection can use just one proxy. So my solution is to use this
rrredir
tool for connecting first to the Master and only if it's unavailable then connect to the Backup. With this solution the "proxy" configured with SoftEtherVPN is the port where the tool is listening.More or less, is like a "load-balancer". And it works when I run it on my Linux workstation as a test bed. But, I want to include it in my OpenWRT router. So for this reason I need the package.
Can you help me, please?
RR Redir
it's just a simple binary with no dependencies and plain C code (4 source files, and 2 headers).The text was updated successfully, but these errors were encountered: