Damus

Recent Notes

Wolf480pl · 2w
Running pptp over wireguard is great, because while wireguard has no idea whether a link is up or down, pptp does, because it uses ppp, which has LCP, which has keepalives, yay! And this way the open...
Wolf480pl profile picture
Also pptp is slow (up/down 20/10 Mbit/s pptp+wg vs 40/70 Mbit/s pure wg), I'm guessing part of the reason is that on the server side, pptpd implements GRE decapsulation of PPP in userspace and then sends it through a pty "to pppd".

I should find a way to integrate bfd with openwrt instead...
1
Wolf480pl · 2w
or maybe I had incorrect mtu and fragmentatios was causing 2x the packets...
Wolf480pl · 2w
the og quote was sth like "Django is great for prototyping but eventually you should rewrite your webapp in Flask"
Wolf480pl · 2w
Openwrt is great for prototyping but eventually you'll have to rebuild your infra with *checks notes* a private fork of OpenWrt
Wolf480pl profile picture
Running pptp over wireguard is great, because while wireguard has no idea whether a link is up or down, pptp does, because it uses ppp, which has LCP, which has keepalives, yay!

And this way the openwrt on my router knows when the interface is up and when it's down and should be able to add and remove routes as needed, right?

Well, sorta, on the client end.

The server end is not integrated with openwrt's netifd in any way, shape, or form.
2
Wolf480pl · 2w
Why do I use openwrt anyway...
Wolf480pl · 2w
Also pptp is slow (up/down 20/10 Mbit/s pptp+wg vs 40/70 Mbit/s pure wg), I'm guessing part of the reason is that on the server side, pptpd implements GRE decapsulation of PPP in userspace and then sends it through a pty "to pppd". I should find a way to integrate bfd with openwrt instead...