authpf
An OpenBSD login shell that opens the firewall for a user for exactly as long as they stay logged in over SSH.
authpf arrived in OpenBSD 3.1 in 2002 with a pleasingly lazy idea: let SSH do the authentication and treat the session itself as the key. The user's shell is set to /usr/sbin/authpf, and on login it loads the rules in /etc/authpf/authpf.rules into a dedicated anchor in pf, with the client's address available as $user_ip. When the SSH connection drops, the rules go with it.
What you get is an authenticating gateway with no captive portal, no web form and no RADIUS server, just a shell that never hands out a prompt. It turns up on wireless networks and in labs where someone wants to know who was let through, and every login is logged with a username, which an IP address alone never tells you.