sfx2000
Part of the Furniture
CTF is closed source, and completely out of my control. I don't even know how it works exactly, only Broadcom does.
Something inside the switching fabric black box...
CTF is closed source, and completely out of my control. I don't even know how it works exactly, only Broadcom does.
Something inside the switching fabric black box...
It's more than that. There's some kernel-level stuff as well (that part is partly visible since they're kernel patches).
OMG. THANK YOU THANK YOU THANK YOU!!!!
I have the ac68u and after trying every trick in the book, I could never get over 20mbps down over openvpn. Turning off hardware NAT and boom! problem solved. It's now using my full down link ~36Mbps.
You don't know how happy this has made me. I thought i had hit the cpu limit of this router and had given up.
Also I noticed using merlin (380.57) build (thanks Rmerlin, already donated to your worthy cause) that openvpn was sitting on CPU0 and this has been discussed in this thread that on merlin builds VPN client 1 is supposed to be on CPU1. I changed it with taskset -p 2 and noticed it was originaly set to 3, ie auto.
Tried moving it to VPN client 2 and it's now using cpu1.
PPTP is nowhere close to AES-128-CBC in terms of security. For all intents and purposes, consider PPTP as having zero encryption, since it's been cracked years ago... Sounds like an odd recommendation from a company providing security services IMHO.
I applied the latest code to my AC87U but I don't see any improvement in OpenVPN with CTF enabled.You don't need to change the CTF binary blobs or the kernel configuration anymore due to the commit I posted.
I applied the latest code to my AC87U but I don't see any improvement in OpenVPN with CTF enabled.
kvic mentioned that he managed to get better performance making those changes in 378.55 with CTF enabled.
So, question is, how can I replicate this with the latest code?
Are you sure no changes are needed? Not even CTF_PPTP_L2TP=n in "src-rt-6.x.4708/target.mak"?
I know you didn'tI never said anything about performance, only that you no longer needed to manually change these files to get the firmware to compile.
Any easy way to do that? I can test it.Might be interesting to experiment with having all the OpenVPN traffic marked, to force it to bypass CTF.
Any easy way to do that? I can test it.
That would be easy. Can you send me an example of how to mark the packets? I can write the firewall scripts.Ain't that simple to do unfortunately, it involves creating custom firewall scripts on the router.
That would be easy. Can you send me an example of how to mark the packets? I can write the firewall scripts.
iptables -t mangle -A PREROUTING -i tun21 -j MARK --set-mark 1
iptables -t mangle -A PREROUTING -i tun22 -j MARK --set-mark 1
I want to try too. Where do I put the script, is it in the firewall-start folder?It seems to be working like this:
Code:iptables -t mangle -A PREROUTING -i tun21 -j MARK --set-mark 1 iptables -t mangle -A PREROUTING -i tun22 -j MARK --set-mark 1
Before
Speedtest Download speed: 6Mbit/sec, Upload speed: 10Mbit/sec
CPU usage
View attachment 5590
(first bump is download test, 2nd bump is upload test)
After
Speedtest Download speed: 20Mbit/sec, Upload speed: 10Mbit/sec
CPU Usage
View attachment 5591
Note: Speedtest executed on a VPN client routing all traffic through the VPN server.
I want to try too. Where do I put the script, is it in the firewall-start folder?
Thanks
#!/bin/sh
iptables -t mangle -A PREROUTING -i tun21 -j MARK --set-mark 1
iptables -t mangle -A PREROUTING -i tun22 -j MARK --set-mark 1
Chain PREROUTING (policy ACCEPT 1974K packets, 1492M bytes)
pkts bytes target prot opt in out source destination
0 0 MARK all -- tun21 * 0.0.0.0/0 0.0.0.0/0 MARK set 0x1
188K 26M MARK all -- tun22 * 0.0.0.0/0 0.0.0.0/0 MARK set 0x1
pkts bytes target prot opt in out source destination
181 11236 MARK all -- !vlan2 * 0.0.0.0/0 xxx.yyy.zzz.www MARK set 0xb400
vlan2 Link encap:Ethernet HWaddr 14:DD:A9:xx:yy:zz
inet addr:xxx.yyy.zzz.www Bcast:xxx.yyy.zzz.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:772058 errors:0 dropped:0 overruns:0 frame:0
TX packets:835517 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:92394731 (88.1 MiB) TX bytes:810119084 (772.5 MiB)
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!