What's new

Barbara's fork

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

barbara

Occasional Visitor
Actually, it's not really a fork, just a patch to the source code. I do apologize for misleading. What it does is clean the firmware of unwanted apps and features. Suitable for agency use.

asuswrt-merlin-380.64_1-ARM-mods+apps+xtables-addons.patch (includes the iptables TARPIT target)
https://cryptobin.co/k5l2j2u2, password is lol

asuswrt-merlin-380.64_1-ARM-mods+apps.patch (without the extra netfilter addons)
https://cryptobin.co/i4p4u1c2, password is lol

asuswrt-merlin-380.63_2-ARM-mods+apps.patch
https://cryptobin.co/97v6b4j6, password is lol

asuswrt-merlin-380.62_1-ARM-mods+apps.patch
https://cryptobin.co/z626c3n9, password is lol

asuswrt-merlin-380.62-ARM-mods+apps.patch
https://cryptobin.co/m0i665t5, password is lol

asuswrt-merlin-380.61-ARM-mods+apps.patch
https://cryptobin.co/h904f1u2, password is lol

asuswrt-merlin-380.59beta2-ARM-mods+apps.patch
https://cryptobin.co/f4a541h6, password is lol

asuswrt-merlin-380.59-ARM-mods+apps.patch
https://cryptobin.co/n5i53285, password is lol

See what you could do with it.
  • Full disk encryption (ext4 + LUKS)
  • Connect an Arduino Nano via USB up to the router
  • Connect an uninterruptible power supply via USB
  • Synchronize the router clock with a GPS receiver via USB
  • Mount an ISO or UDF image
  • Countermeasures for those Internet port scanners (i.e. TARPIT)
This patch is really just a DIY starter kit. Now you have extra kernel power, to do useful things with your router. Or, just use it for learning and experimentation.

Things to be aware of
At compile time, it automatically updates the firmware's ca-certificates bundle from the host operating system. This is a good idea. It also installs everything from $HOME/staging into the firmware's root folder. This is where you'd put your pre-built apps. And this is where I run. my Entware, Optware and natively linked apps side-by-side. And since the firmware is squashfs compressed, your pre-built apps is automatically compressed into the firmware image. It fits much.

It has been tested with Asuswrt-Merlin 380.59-beta2 and the RT-AC68U router. It may work with other ARM routers too.

How to apply this patch and re-build the firmware
Code:
cd
tar xzvf 380.59-beta2.tar.gz
ln -sf asuswrt-merlin-380.59-beta2 asuswrt-merlin
cd asuswrt-merlin
patch -p2 -i ../asuswrt-merlin-380.59-ARM-mods+apps.patch
cd release/src-rt-6.x.4708
make clean
rm .config
rm $HOME/asuswrt-merlin/release/src/router/rc/prebuild/*.o
make rt-ac68u
 
Last edited:
That's a good start! Next step: how to use a RCS such as Git to more easily keep track of changes :)
 
Actually, it's not really a fork, just a patch to the source code. I do apologize for misleading. What it does is clean the firmware of unwanted apps and features. Suitable for agency use.

That's the good stuff of GPL - nicely done...

As RMerlin suggests - probably want to get on to GitHub or something similar - easier to keep track of changes, and also to allow for some level of collaboration - there are plenty of folks working on the various AsusWRT branches...
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top