Snapshot of robertdavidgraham/isowall: 312★, C. This is a mini-firewall that completely isolates a target device from the local network.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
This is a mini-firewall that completely isolates a target device from the local network.
This is for allowing infected machines Internet access, but without endangering the
local network.
Building
This project depends upon libpcap, and of course a C compiler.
On Debian, the following should work:
# apt-get install git gcc make libpcap-dev
# git clone https://github.com/robertdavidgraham/isowall
# cd isowall
# make
This will put the binary isowall in the local isowall/bin directory.
This should also work on Windows, Mac OS X, xBSD, and pretty much any operating system that supports libpcap.
Running
First, setup a machine with three network interfaces.
The first network interface (like eth0) will be configured as normal, with a TCP/IP stack,
so that you can SSH to it.
The other two network interfaces should have no TCP/IP stack, no IP address, no anything. This is the
most important configuration step, and the most common thing you'll get wrong. For example, the DHCP
software on the box may be configured to automatically send out DHCP requests on these additional
interfaces. You have to go fix that so nothing is bound to these interfaces.
The target device we are isolating has the indicated IP and MAC address.
Only IPv4 and ARP packets are passed.
Outbound packets must have the following conditions:
source MAC address equal to internal.target.mac
destination MAC address equal to external.router.mac
EtherType of 0x800 or 0x806
source IPv4 address equal to internal.target.ip
destination IPv4 address within an allow range, but not in a block range
if an ARP packet, then the destination IPv4 address must equal that external.router.ip
if an ARP packet, must be a "request"
Inbound packets must have the following conditions:
destination MAC address equal to internal.target.mac
source MAC address equal to external.router.mac
EtherType of 0x800 or 0x806
destination IPv4 address equal to internal.target.ip
source IPv4 address within an allow range, but not in a block range
if an ARP packet, then the source IPv4 address must equal that external.router.ip
if an ARP packet, then must be a "reply"
Security Guarantee
There is no guarantee, of course, but this program has pretty good security.
The security rests on the fact that there is no IP stack bound to adapters.
What that means is that the infected targetted cannot touch the firewall
machine in any way, except as allowed within the is_allowed() function.
That function represents the majority of the attack surface for the firewall
machine. And, as you can tell from reading the function, it contains almost
no functionality, meaning that the attack surface is very small indeed.
There are a few theoretical attacks that might happen at the physical layer,
but for the most part, we don't have to worry about them.
TopGit's metadata for robertdavidgraham/isowall does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is robertdavidgraham/isowall?
robertdavidgraham/isowall (robertdavidgraham/isowall) is a C project on GitHub. From the project's own README: This is a mini-firewall that completely isolates a target device from the local network.
Where do I read more about robertdavidgraham/isowall?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/robertdavidgraham/isowall is the definitive source.
Read full README in the tab above.
Curious whether isowall is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about isowall.