by rsync · 6y ago · 0 comments
A "slug" is a layer-2 bridge, with no IP address configured, that still enforces a TCP/IP whitelist. So it does not "use" a hop on the network route, and you can't see the device, but as it bridges traffic it enforces a (very simple) ruleset.
In my case, I use my own VPN hosts that transact over TCP22 ... and so my network "slug" allows only tcp port 22 traffic. Everything else is blocked.
This means that no matter how badly behaved (or buggy) my VPN software is (I use sshuttle[1]) the bad behavior is blocked by the slug.
The slug itself has almost zero attack surface as it is a BSD based system that has no IP address configured and runs no network services.
I keep meaning to write up a blog entry about this ...
Yes, although I've been using it for several years when discussing a safety device like this ...
I first discussed a transparent, stateless firewall in 2001 when I wrote a HOWTO for the FreeBSD project:
http://www.kozubik.com/published/freebsd_bridging_ipfw.txt
... although that is hopelessly out of date. Like I said, I keep meaning to do a blog post on this ...
Popular with pirates because having torrent activity leaked to your ISP is not great.
But TFA is about iOS, where none of that is possible. Or at least, I'm not aware that it is.
Another thing. Although most people do work with and without VPNs on a given device, that's extremely iffy. Ideally, you want a device to have never hit the Internet directly, but only through the VPN or whatever that you're using. And using pfSense VPN-gateway VMs, that's very easy to do.
However you could use it with Tor in just the same way - your Tor-networked device should be talking on only specific network ports and any other "chatter" should be considered a leak ... so you would configure the "slug" to only allow the Tor-generated traffic on the expected ports.
I do not use Tor and don't have specific ports/protocols information on it ...
Where leaving no traces on a device is key, Tails is better, because it runs in RAM and wipes everything during shutdown.