Next Wednesday (December 2) at the Flower City AI conference in Rochester, our very own Clint will be giving a presentation whose title asks a very important question: Why Does Your AI Agent Have Your Keys?
There’s a big difference between having AI agents perform code-building actions on your behalf and having them code as you, and as the people behind a zero trust solution, we’re painfully aware of that difference. (You may also be painfully aware of that difference if you’ve had OpenClaw go rogue on you, like a 12-year-old trying to figure out all the loopholes in the household rules.)
In this talk, Clint will walk through his evolution in development style and show you the processes and tools he developed to ensure that his agents do only what he approved them to do and not turn into the brooms from the Mickey’s Sorceror’s Apprentice cartoon. And remember, this is stuff he uses at work, where we’re building zero trust systems to secure enterprises!
I had the privilege of seeing the preliminary version of this talk at our recent all-hands conference, and if it’s any indicator of what the final version will be like, you should watch it. Clint’s not only technically locked in, but he’s a damned entertaining presenter, so you’ll be informed, but you won’t be bored!
Hello, open source contributors to OpenZiti! First, we’d like to thank you for your contributions to the project. Your brainpower and effort makes OpenZiti better.
Right now, our development team is having one of those “good news / bad news” situations:
😊 Good news: We have a lot of pull requests! 😬 Bad news: We have a lot of pull requests!
This is just a quick post to let you know that we’re working our way through all of them. It just takes time, which is in shorter supply this week as we approach the American Thanksgiving holiday. But yes, each and every contribution from our open source community is duly considered, and if it works and solves a problem or fixes an issue, we merge it.
Once again, thanks for your patience, and thanks for all your contributions and for helping make OpenZiti better!
Hey, r/OpenZiti! Joey de Villa, developer advocate for NetFoundry and OpenZiti here. You may remember me from at least a dozen episodes of Ziti TV with Clint ( u/dovholuknf ).
We’re starting an OpenZiti ambassador program, and I’m looking for founding members!
We’ve got some great stuff here: OpenZiti, zrok, LLM Gateway, MCP Gateway, NetFoundry, and more, and we’ve got a great community of people who are building projects with it, or showing builders how to make the most of it. And now, we want to expand that community and help that community succeed.
Here’s the tl;dr: Help us boost the presence of OpenZiti, and we’ll boost yours:
We’ll make sure people see what you’re building.
We’ll put your work in front of our community and the tech world in general.
We’ll give you a platform, and a more direct line to the team.
We’ll help you build a reputation as someone who really knows zero trust networking.
If you're building with our stuff (for example, this super-cool project) or teaching other people how to use it (such as this excellent guide), we want to hear about it. It can be a homelab setup, a tool, an integration, a product, a blog post, or a video.
As a founding ambassador, you would get:
Your work shared through our channels.
A chance to show it off on Ziti TV.
A direct line to me, so the problems you hit get to the team.
A say in what the program becomes, since it's brand new.
Sweet, sweet swag!
And as a founding ambassador, we’ ask this of you:
Keep building with OpenZiti and NetFoundry!
Talk about what you’re building / how to use our stuff.
Tell us honestly what works and what doesn’t. That’s how we make our stuff better and more useful to you.
Does this sound interesting to you? Comment with a line or two about what you're building (and yes please, include links!). If you'd rather keep it private, DM me or email me at [email protected].
We’ve covered all sorts of OpenZiti-related topics, but there’s a good chance we didn’t cover something that you’d like to know more about. If that’s the case, let us know in the comments:
What would you like us to cover on Ziti TV? Let us know in the comments!
Disclosure: I'm Joey de Villa, developer advocate at NetFoundry (who make OpenZiti), which maintains OpenZiti. My colleagueJack Pollerwrote the article linked below.
What’s this CVE all about?
CVE-2026-98432 is a “use-after-free” bug in the Linux kernel's IPv4 TCP handshake, and it’s scored at 9.8. It’s a a memory bug where a program frees a chunk of memory after using it, but keeps using a pointer to it afterward.
Here’s how this particular bug works: Some connection requests include extra IPv4 options. The kernel saves those options during the handshake, then shares that same memory with the finished connection instead of making its own copy. If the request gets resent and a different CPU core handles it, that core can read the memory after it’s already been freed. Ah, the joys of parallel processing!
The results of use-after-free bugs vary. Kernel crashes or memory corruption are pretty likely, There are some cases where access to the freed memory can lead to an information leak, or worse, reveal the layout of kernel memory. In the worst-case scenario, a capable attacker who knows the kernel memory layout could remotely run code as root.
The bug’s been in every kernel since Linux 4.4, which dates back to 2016.
Is this another one of those “AI found it” bugs?
It might be more accurate to say that it was found with AI assitance.
An Anthropic Frontier Red Team (a group that studies the attack capabilities of Anthropic’s own models) used an unreleased internal research model to hunt for vulnerabilities in widely used software.
In a write-up dated October 27, the team said that with Claude’s help, they found remotely triggerable arbitrary code execution vulnerabilities in the Linux kernel’s networking stack. They’ve since been patched upstream and publicly disclosed. The CVE-2026-98432 “use-after-free” bug is one of those vulnerabilities.
Humans were still in the loop. The team’s write-up says Claude wrote the exploit after initial prompting, and Xinyang Ge of Anthropic is credited with committing the fix.
So the CVE was discovered by a human research team directing a model, where the model was doing a good chunk of the discovery and the exploit writing.
Patching
This affects the Linux kernel and not other Unix variants. Mac users, you’re using a Unix-y OS based on BSD, so this doesn’t affect you. Same for anyone on FreeBSD, OpenBSD, AIX, and so on.
As of this writing, Debian, Oracle UEK, SUSE, and most Amazon Linux builds were fixed. RHEL 8/9/10 and rebuilds were still waiting on production kernels. Last I heard, Ubuntu was “working on it”.
This is moving fast, so check your distro's advisories for the current status. Compare uname -r against the fixed version your distro lists rather than the upstream fix (October 5), and remember that the fix doesn't count until you've rebooted or live-patched.
If you can't patch yet, look for an officially recommended interim mitigation from whomever makes your particular distro. Don’t improvising your own fix. You nay be tempted to hand-roll (or vibe-roll) firewall rules for packets carrying IPv4 options, but a hastily improved rule can miss the actual trigger or break traffic you need.
The OpenZiti angle
CVE-2026-98432 lives in the kernel's handling of inbound connection requests. That's below userspace and TLS, and most certainly below anything that checks identity. At that low a level, it’s difficult to stop an attack.
BUT...the attack doesn’t work if it can’t reach a listening port, which makes the case for dark services (you knew I’d go here, right?):
Tunneler:ziti-edge-tunnel dials out to your edge routers. Bind the app to 127.0.0.1, point the host.v1 config at it, and close the inbound port. The host never processes a handshake from a remote stranger.
Embedded SDK: No listener at all. This is especially relevant for MCP servers, since the reference MCP SDKs are TypeScript and Python, and OpenZiti has Node.js and Python SDKs.
Verify it:ss -tlnp on the host should show nothing bound to a non-loopback address, and a scan from outside should come back empty.
If you selfphost: Your controller and public edge routers listen on the internet by design. Since this bug fires during the TCP handshake, before mTLS starts, OpenZiti's identity checks can't protect those hosts. Anyone who can reach them can attempt the exploit. So:
Patch the controller and public routers first.
Keep the public footprint small. Audit which of your routers actually need to accept inbound connections, and check the router configuration docs for your OpenZiti version to see which listeners you can safely drop on the ones that don't.
Other caveats:
"Dark" has to mean fully dark. An open SSH port, a metrics endpoint, or a management API reachable from the internet or a flat internal network still exposes the host.
None of this replaces patching. Dark services cover the gap until the patch is applied, and they'll cover the next kernel CVE too.
[ Still on vacation, but I found a nice little café in Manila from which to post this, and once again, this is an issue that’s a little too big to ignore! ]
On the NetFoundry blog, we’ve posted a follow-up to the PHP2Shell post, because of course there’s another one. This one goes by a couple of more mundane names, namely HTTP2Shell and Node2Shell, but it also has a more memorable one: Broccoli2Shell.
The bug appears in the Brotli library, which calls for a quick explainer.
What’s Brotli?
Brotli is a lossless compression format that Google developed and released in 2015. Its original purpose was to shrink web fonts (it’s the compression behind WOFF2). It was later generalized for compressing any kind of data. Like its vulnerability, Brotli also has a “government name”: RFC 7932.
Brotli combines LZ77-style matching, Huffman coding, and context modeling with a built-in dictionary of roughly 120 KB of common words and fragments from HTML, CSS, JavaScript, and English text. That dictionary is a big part of why it’s so good on web content: even small files compress well, because common strings can be referenced instead of spelled out. For text assets, it typically produces files 15–25% smaller than gzip, and it decompresses quickly. At its highest quality settings, compression is slow, which is why sites often precompress static assets ahead of time.
On the web, it shows up as Content-Encoding: br. Every major browser supports it over HTTPS, as do CDNs, web servers, and HTTP client libraries in most languages.
What’s the bug in Brotli?
It’s an out-of-bounds write in Brotli's streaming decoder affecting versions 1.0.3 through 1.2.0. A crafted stream with an invalid block switch makes the decoder treat a fatal format error as “needs more input”; it then keeps appending bytes to an 8-byte internal buffer and writes past the end. Results range from a crash to a memory leak to RCE, depending on configuration. Public PoCs exist, but as I write this in a very nice café in Manila, no in-the-wild exploitations have been spotted...yet!
Brotli is everywhere. That’s exactly why a single decoder bug like Broccoli2Shell spreads across .NET, Node.js, and Python at once: they’re all running the same reference decoder code.
Fixing Brotli
Fixes have been posted...
.NET: fixed in 8.0.33, 9.0.22, 10.0.14, and the .NET 11 RC
Node.js: fixed in 22.23.4, 24.22.1, and 26.12.1
Python HTTP clients: urllib3, requests, httpx, and aiohttp
Two things make this harder than a version bump:
Vendored copies. Updating the system Brotli library does nothing for apps that bundle their own copy. You’ll have to check each deployment individually!
It cuts both ways. A server is exposed when it decompresses a malicious request, and a client is exposed when it decompresses a malicious response. Blocking inbound Brotli at a proxy only handles the first case.
What to do now:
Update to a fixed Brotli, Node.js, or .NET build
Restart affected processes
Rebuild and redeploy any container images carrying the old library.
From the OpenZiti point-of-view
There are two attack paths, and OpenZiti handles them differently.
1. The server path (malicious request to a server that decompresses it):
Using dark services closes this path. You have two options:
OpenZiti Tunneler: Put ziti-edge-tunnel in front of the service with a host.v1 config pointing at 127.0.0.1, bind the app to localhost, and close the inbound port. Same pattern as the PHP2Shell fix.
OpenZiti Embedded SDK: OpenZiti has SDKs for exactly the three affected ecosystems: Node.js, Python, and .NET. With the SDK embedded, the app binds to a Ziti service instead of a socket, so it has no listening port at all, not even on localhost.
In either case, an unenrolled attacker can't open a connection, so the hostile request never reaches the decoder.
2. Client path (your code fetches something and decompresses a malicious response)
If your service fetches an arbitrary internet URL, it's exposed until you patch. But even in this scenario, there are two places where OpenZiti still helps:
Blast radius: If RCE lands on a host, that host's identity can only dial the services its Dial policies allow.
Authenticated upstreams: When internal dependencies are reached over OpenZiti, a response can only come from an identity that's allowed to host that service. Spoofed or misrouted upstreams can’t do any damage.
Things to note:
Authorized identities can still send a malicious payload. Dark services shrink who can reach the decoder, but they don't make the decoder safe. Patch anyway!
If you're using the Python SDK's requests/urllib3 integration, the traffic goes over OpenZiti, but urllib3 still decompresses the response. Patch Brotli there too!
BTW: Anyone running Node, Python, or .NET services with an embedded SDK instead of a tunneler? I'm curious how the patch-and-rebuild cycle is going for you, and how you're hunting down vendored Brotli copies.
[ Still on vacation for another couple of days, but this was too big to ignore. ]
On the very off chance that you missed it: PHP2Shell is CVE-2026-109618 and CVE-2026-109619 (CVSS 9.2, unauthenticated RCE in the PHP engine). Details leaked on October 20, a day before planned disclosure, and it was being exploited before patches were out.
The bug is in PHP's HTTP request parsing, which happens before any application code runs. Login checks, framework middleware, and access rules haven't executed yet when the payload lands. The only precondition is that the attacker can reach your listening port.
That's exactly the problem dark services are designed to solve. If the PHP app sits behind OpenZiti, the setup looks roughly like this:
Run ziti-edge-tunnel on the PHP host (or a box that can reach it) with a hosting identity
Create a service with a host.v1 config that forwards to the web server on 127.0.0.1, and an intercept.v1 config for an address like intranet.ziti
Add a Bind policy for the hosting identity and a Dial policy for the people or workloads that should reach it
Bind the web server to localhost and close the inbound port
The tunneler only makes outbound connections to your edge routers. A scanner sweeping for PHP servers finds nothing listening, and an unenrolled client can't even open a connection, so the malicious request never reaches the parser.
Things to note:
This doesn't fix the bug. An authorized identity could still send the payload, so patch anyway: 8.5.12, 8.4.27, 8.3.36, or 8.2.35. Then restart PHP-FPM / Apache so the old code leaves memory, and check your logs.
A public site that has to serve anonymous visitors still needs a listening port. The best candidates for going dark are the things that never should've been public: wp-admin, cPanel, phpMyAdmin, internal tools, CRMs, staging servers.
Instead of "anyone on the internet" being able to reach the parser, only "identities you enrolled and authorized" can. Since each identity reaches only the services it's authorized for, a compromised one can't wander the network.
Question for the folks here: Anyone already running PHP apps as dark services? I'd love to hear what you put behind Ziti first, and what tripped you up.
Cloudflare Access checks who you are, then Cloudflare Tunnel hands the request to a connector. From there on every user looks the same: the connector's IP. Whatever sits behind it can only use IP and port rules.
Ziti Access Bridge (ZAB) is a small Go proof of concept that runs the tunnel itself, verifies the Access JWT, and signs in to an OpenZiti overlay with that same JWT, as that user. OpenZiti service policy then decides which apps each person reaches, and the apps listen on 127.0.0.1 only.
On today's Ziti TV stream we set it up from scratch:
a Cloudflare Tunnel and Access app (One-time PIN login, free plan)
an OpenZiti quickstart with an external JWT signer for Cloudflare
three people who all pass Cloudflare and get three different answers
revoking access mid-session
the same bridge in Kubernetes, two replicas, no Ingress, LoadBalancer or NodePort
There are (figuratively) a million, very straightforward guides for standing up Open Ziti in a variety of scenarios that I feel are solid. They’re not perfect but I have been able to follow them just fine.
Now, I am having extreme difficulty in finding information about administering and maintaining my Open Ziti deployment.
I can’t find any straightforward explanation of policies, identities, and services. How these all need to be configured and leveraged together to make my ZT Overlay Network sing.
I am not a network engineer or Security Engineer by trade but I am a cloud engineer. Ive got a substantial home lab and I host a good amount of services.
I REALLY want to have a solid ZTN for my infrastructure and clients but it’s guess work on how to actually make it work.
My employer has a ZTN from an enterprise competitor and Im not tasked with managing it, but I am able to see the docs. I can search their KB to ask “how can I make sure a client always uses DNS from on-prem” or “how can I make it so all clients resolve a single fqdn over the private network all the time” and get a walkthrough doc for getting it done.
I can’t find anything like that for Open Ziti. Just more deployment walkthrough videos.
Can someone point me to some wikis or KB articles that will help me get better at operating Open Ziti?
Mastering this tool at home is my goal so I can better understand it before recommending it as a solution on the job for carious scenarios it is suited for.
If you run OpenZiti (open source zero trust overlay networking), you've probably handed out enrollment JWTs: create an identity, export a one-time token, get it to the user somehow. It works, but it's a secret file you have to move around.
OpenZiti 2.0 can skip that. You point a tunneler at the controller's URL, the user signs in through your OIDC provider, and the controller creates the identity on first login and maps the IdP's groups claim to role attributes. Policies do the rest.
On today's Ziti TV stream we set it up from scratch:
Let's Encrypt cert on the client API, so clients trust the URL out of the box
Keycloak realm with engineering and finance groups, a PKCE client, and a groups mapper
External JWT signer with auto-enrollment: groups become role attributes
Users join from Ziti Desktop Edge on Windows and macOS, and each only reaches their group's service
User session (re-auths against the IdP) vs. device certificate (keeps working when the IdP is down), and the trade-offs
For most people, a complete change like that at the last minute would be a nightmare. But for Team Ziti TV, it’s just another day of zero trust and agentic coding. So during that initial episode, we had Claude ingest the repos for the three previous episodes, plus the code and notes for the current episode and try to have it rebuild the demo that originated on Joey’s machine.
The process took a while, so we decided to wait for Claude to finish, after which we’d record the results. And guess what: it works!!!
What’s in the video: ✅ Ziggy, an approved user, hosts an MCP tool on his laptop as a dark OpenZiti service, and the agent uses it, but only in his conversation ✅ Mallory, a malicious user who phished her way into the system, tries to host her tool under Ziggy's service name, and the network tells her that service doesn't exist ✅ Mallory's poisoned tool: the model catches one prompt injection and falls for the other. A model's judgment is a defense, not a control ✅ Ziggy closes his laptop, his tool vanishes with "has no terminators," and the model answers from memory anyway ✅ One command takes away a stranger’s identity, barring them from access
This is part 4 of our OpenZiti Appetizer series. The Appetizer is OpenZiti’s demo app, and in each episode we add something to it without changing a single line of its code.
In episode 1, we gave it a classifier: a model that decides whether a chat message is offensive. We ran it as a dark service. It has no open ports, and the Appetizer reaches it by name over the OpenZiti overlay.
In episode 2, we gave the classifier somewhere to turn when it isn’t sure. It asks LLM Gateway, which sends general questions to a small model running on my laptop and subtle ones to Claude.
In episode 3, we gave the Appetizer an agent. Claude decides which tools to use, MCP Gateway serves them, and the tools are the Appetizer’s own dark services. The network decides what the agent can reach, and we proved it by deleting a single policy and watching a tool disappear.
Giving different callers different tools means policies that name the callers. Today, we build that.
It’s “bring your own tool.” Joey is going to host a tool on his own laptop, with no open ports, and the agent will use it, but only in Joey conversation. Then we bring in Mallory (Mallory is security’s traditional name for the malicious actor, a.k.a. “bad guy”). She’ll try to take over Joey’s tool, and when that fails, she’ll bring a poisoned tool of her own.
We’ll see what the network can stop, and what it can’t.
Here’s the third walkthrough in a series on extending the OpenZiti Appetizer. (In case you missed the earlier ones, here’sthe firstandthe second.)
In the first exercise, we added a classifier to the OpenZiti Appetizer as a dark service, to catch insults its profanity filter misses. In the second, when that classifier isn’t sure, it asks LLM Gateway for a second opinion, and LLM Gateway decides which LLM answers.
So far, the models have lived in “chatbot land” and only answered questions. Episode 3 moves the OpenZiti Appetizer into agent territory! It gives the Appetizer an agent: A small Python program that asks Claude which tool would help, calls that tool, and uses the result.
This creates a new issue: What stops an agent from doing something it shouldn’t? A system prompt can only ask a model not to do something. We need a way to make sure it can’t do the thing we don’t want it to do.
The agent’s tools are dark services that were already on the Appetizer’s OpenZiti network:
A math service that’s already in the Appetizer
The classifier from the first exercise.
MCP Gateway serves those tools to the agent through a closed zrok share, with no open ports. Then, in the middle of a conversation, you delete one service policy, and the agent’s next call to that tool is refused by the network. Re-create the policy, and the tool works again. Nothing restarts, and once again, the Appetizer’s code doesn’t change. The model decides which tool to use, and the network decides which tools it can reach.
It’s 13 steps and about an hour. (It’s quicker if you’ve followed the steps from the first and second exercises.)
In this exercise, you’ll:
Call the Appetizer’s own math service, which becomes the agent’s first tool
Wrap two dark services as MCP tools that dial by service name, with one dial policy per tool
Serve them through MCP Gateway, and watch it log every tool call with its arguments
Send tool-calling requests to their own LLM Gateway route, with a virtual key that only works there
Run the agent as a dark service that the Appetizer’s stock reflect client talks to, and see that the agent knows who’s calling from the identity alone
Watch Claude call a tool that asks Claude
Take a tool away with one ziti command, and give it back with another
I tested this on my primary system (M5 MacBook Pro with 64GB; thank you again, NetFoundry tech stipend!).
You’ll need:
The second exercise’s setup (or you’ll have to go through the steps for the first and second exercises)
Go and Python 3.10 or later
A zrok account (and really, you should have one whether you do the exercise or not; it’s too useful!)
The Claude API key from the second exercise. You’ll use a few cents at most.
There are Linux notes, but they’re untested for now, so if you try it on Linux, I’d love to hear what breaks. Let me know if you have questions or comments, especially if a step doesn’t make sense, or gives you an error.
This episode will be part 3 in our series on enhancing OpenZiti Appetizer. The Appetizer is our demo app built around a reflect server that you connect to over the zero-trust OpenZiti overlay.
We’ll give the Appetizer an AI agent. That agent will be a model that decides on its own when to use a tool, calls it, and works the result into its answer. The agent's tools are services that were already running dark on the Appetizer's OpenZiti network: a math service built into the Appetizer, and the classifier from Part 1.
We'll wrap both the math service and classifier as MCP tools and serve them with MCP Gateway, which offers them to the agent through a zrok share without opening a port. LLM Gateway plays a role as well: it will send the agent's tool-calling requests to a model that can use tools.
And then, just for fun, we’ll take one of those tools away...
Will it work? It’s a livestream, so you never know. Watch us Friday morning and find out!
Here’s a recap of what we did earlier in the series:
In Part 1, we added a text classifier to filter out offensive messages that get past the Appetizer's profanity filter, such as insults that don't contain any swear words, and we did it without any changes to the Appetizer's code. The Appetizer was already written to call a classifier, so all we had to build was the classifier and the network side. We wrapped a pretrained offensive-text classifier from Hugging Face in a small Python web app, gave that app an identity, created an OpenZiti service for it, and defined the policies that let the app host that service and the Appetizer call it.
In Part 2, we gave that classifier a second opinion using LLM Gateway. Part 1's classifier was trained to spot insult vocabulary, but fails at subtle “Mean Girls” jabs that don’t use any insult words (for example, the casual schoolyard cruelty of “Nobody here wants you around and everyone knows it”). We tweak our demo so that when the classifier is less than 90% confident that a message isn’t insulting, it asks LLM Gateway. LLM Gateway’s semantic routing chooses between two LLMs: a small model running locally in Ollama for simpler messages, and Claude for the subtle ones. The classifier uses a virtual API key issued by the gateway, so it never sees the real Anthropic key. Once again, we didn’t make any changes to the Appetizer's code.
Here’s the second walkthrough in a series on extending the OpenZiti Appetizer. (In case you missed the first one,I wrote about it here.)
In the first exercise, we added a hate-speech classifier to the OpenZiti Appetizer as a dark service. It's fast, free and deterministic, and it's 84% sure that the insulting-but-not-profane-or-hateful “nobody here wants you around and everyone knows it” is fine.
Episode 2 keeps the classifier, but when it isn't sure, it asks for a second opinion, and LLM Gateway decides who answers:
gemma3:4b on your own machine for everyday messages, or
Claude Haiku for the subtle ones.
With a couple of changes to the classifier’s Python script, when the classifier can’t classify a message as offensive or not with at least the threshold level of confidence, it asks for a second opinion.
That second opinion request goes to LLM Gateway, which decides who answers:
gemma3:4b on your own machine for everyday messages, or
Claude Haiku for the subtle ones.
The Appetizer's code doesn't change. With a small change to the classifier’s Python script, the classifier now decides whether to ask an LLM via LLM Gateway, and LLM Gateway decides which LLM answers.
It’s 13 steps, about an hour if you include exercise 1’s steps, and most of that downloading models. In this exercise, you’ll:
Watch round-robin and failover with two fake backends
See that an endpoint pool doesn't check which models each endpoint has
Use virtual API keys, so the classifier never holds the Anthropic key and can't reach Opus
Route with model: "auto" and read the semantic-routing cascade in the log
Switch on escalation with one environment variable
Swap Claude for a local model with one line of config
Kill the backend and watch the classifier “fail open”
I tested this on my primary system (M5 MacBook Pro with 64GB; thank you, NetFoundry tech stipend!) and will test it on my Windows system and update the steps documented in the README accordingly.
You’ll need Ollama, about 21 GB disk space for models, and a Claude API key. It costs a few cents, and the README shows how to cap a console workspace at $5. There are Linux notes, but they're untested for now, so if you try it on Linux, I'd love to hear what breaks.
Questions and feedback welcome, especially if a step trips you up.
Ain’t livestreaming grand? We had a few rough-around-the-edges moments in today’s episode of Ziti TV (I worked on the demo a little too late last night), but the important thing is: THE DEMO WORKED.
The demo built on the previous episode’s work where we took the OpenZiti Appetizer (a service that displayed whatever text you feed it on a public web page via a secure zero-trust OpenZiti overlay) and added a RoBERTa classifier to it to prevent users from entering offensive messages for the Appetizer to display. There are lots of people out there who seem to not have aged past 12, and that’s what this is supposed to handle.
RoBERTa classifiers are good at handling profanity and direct insults like “You are too stupid to understand this”. It *will* miss more subtle jabs like “Nobody wants you here and everyone knows it”, but try saying that to a cop who’s writing you a speeding ticket, and they will classify it very differently.
So in this week’s, the classifier keeps its job, but when it isn’t sure, it asks for a second opinion. LLM Gateway, the OpenZiti-based open source OpenAI-compatible gateway, decides which LLM gives that opinion: a small model on your own machine for everyday messages, and Claude for the subtle ones. You won’t change a line of the Appetizer’s code.
I did the demo without much chance for a rehearsal, and I’ll post a GitHUb repo with all the steps and material you need to try it out for yourself. But in the meantime, catch Clint and I work our way through the demo!
If you’ve spent time with the OpenZiti Appetizer, you may have noticed this response:
you sent a message, but it can’t be qualified at this time for offensiveness
There’s a hate-speech classifier on the path every message takes, and it’s been waiting for a classifier to talk to. On the September 18 Ziti TV episode, I got curious about it and went down the “How do I get this thing to work?” rabbit hole. It turned out to be a nice tour of how OpenZiti authorization actually works!
Here’s the fun part. The first thing you notice is that the classifier URL has no instance prefix, while every other service name in the demo is scoped. That looked like the answer, but it wasn’t.Prepare tags the Appetizer’s own identity with an unprefixed classifier-clients attribute, deliberately, in a file where everything else goes through scopedName. The dial side was built with one shared classifier in mind rather than one per instance. The URL is right as written.
What’s left to build is the network side: the service and a dial policy. The application was always correct, and it’s been accurately reporting that it couldn’t reach something that wasn’t there yet.
In the end, the fix was a service and two policies, and (yay!) no changes to the code at all.
In the exercise, you add a real classifier (a RoBERTa model fine-tuned on OffensEval tweets) and host it as a dark service. By the end you have two processes talking by service name, with ss -ltn showing nothing listening inside the classifier container while the controller shows it actively hosting. Then you take access away with one policy change and watch the caller get “not found” for a service that’s running perfectly well three feet away.
The exercise shouldn’t take longer than a half hour, and it all runs in Docker containers, which means you don’t need Python, Go, or even the ziti CLI installed locally. I wrote it for people new to OpenZiti, with the diagnosis reasoning spelled out rather than just the commands, since that part transfers to debugging your own dials.
A few things I’d have liked to know going in, which I haven’t seen written down elsewhere:
Flask’s built-in dev server can’t host a ziti service. The bind succeeds and a terminator registers, but it never accepts. werkzeug polls the listening fd through selectors, and a ziti fd isn’t pollable that way. Callers see EOF and the Python side logs nothing. waitress works, and it’s what the SDK’s own Flask sample uses.
The SDK enumerates services at startup and doesn’t re-check per dial, so a service created after your process starts stays invisible until it refreshes.
Thanks to Clint for the Appetizer, which is a genuinely good teaching demo, and for co-hosting the episode this came from.
This is the first in a series! I’m turning Ziti TV episodes into standalone repos people can work through on their own. Episodes: https://www.youtube.com/@OpenZiti/streams
Issues and PRs welcome, especially if you hit something the troubleshooting section misses. Help make it better!
On the NetFoundry blog, our marketing side publisheda post on disclosure-versus-remediation math. The numbers are the interesting part, and they make a concrete argument for a thing Ziti already does that I think is undersold (I know I’ll be using that argument in my writing, videos, and presentations).
The post cites Verizon's 2025 DBIR, which says that for the edge and VPN device vulnerabilities they studied:
The median time to remediate was 32 days,
Only 54% got fully remediated, and
Median time from disclosure to exploitation was 5 days.
Edge and VPN devices went from 3% to 22% of studied breaches in one year. Meanwhile FIRST's mid-year revision puts 2026 near 66,000 CVEs.
Filter that flood for what's actually exploited — KEV entries, EPSS above 10% — and the workload is manageable. Triage works. But the list that survives triage is precisely the set attackers already decided was worth building for, so it's the slice with the shortest fuse. You end up with a smaller queue and the same deadline problem.
The Ziti-specific part
A service hosted through a Ziti tunneler or the SDK has no listening port on the underlay. The host dials out to the fabric; nothing dials in. Reachability is a function of identity and service policy instead of a firewall or a routable address.
This means that the failure mode in most of those DBIR breaches — where an attacker scans a system, finds a listening service, and makes use of a five-day-old exploit — has no first step. There's no address to scan; neither is there a port to hit.
An unpatched CVE in that service remains an unpatched CVE. It's in the code and had been flagged by your scanner, and it’s a ticket you’ll eventually have to deal with. But that unpatched CVE is also an unreachable CVE. There’s no path that an unauthenticated malicious party can use to get to it. The 32-day clock stops competing with the 5-day clock, because the 5-day clock needs reachability to matter.
What I'm actually curious about: Are any of you running Ziti “in anger”? That is, as a result of being frustrated with a security solution that didn’t work for you?
If so: Has moving services behind the overlay changed how you argue about patch SLAs internally? Not whether it's more secure, but whether it changed the conversation with whoever owns your remediation deadlines.
I suspect there's a gap between “This is genuinely a compensating control” and “My auditor accepts it as one”, and I’d like to know which side people are landing on.
We recently got a great set of questions from someone evaluating hosted zrok for a web-based e-commerce content tool.
Their situation: a small team of internal colleagues testing a tool for business work that might later become part of their daily workflow, and their budget was zero dollars.
Their main question: Could they use the Free hosted version of zrok?
The super-short answer
Yes!
The short (but with some details) answer
If you’re on a small internal team with zero budget, zrok's Free hosted plan will cover your core needs:
A stable HTTPS address
Browser access with no install for users
Login-gated access for approved colleagues/users.
Watch the daily bandwidth (you’re limited to 5GB in any 24-hour period), make sure team knows about the interstitial page, and test from every region where you plan to use it.
Before the detailed 5 answers: What’s zrok?
zrok(pronounced “zee-rock”) is an open-source tool for sharing things running on your machine, such as...
A web app,
an API, or
a folder of files...
...without the need for you to open firewall ports or set up servers. You run one command on the machine where the service lives, and zrok gives you a way for other people to reach it. If you’ve used tunneling tools like ngrok, zrok covers similar ground, with private sharing and zero trust networking built in, and with a much bigger bandwidth allowance, too!
zrok can share in two ways:
Public shares give your service a regular HTTPS URL that anyone with a browser can open. zrok handles the TLS certificate. You can optionally require a Google or GitHub login so only approved people get in.
Private shares are reachable only by people who also run zrok and have been given access, so the service is never exposed to the open internet.
zrok is built on OpenZiti, the open-source zero trust networking platform created by NetFoundry. Your service makes outbound connections to the zrok network instead of listening for inbound ones, which means there are no inbound ports on your machine for scanners and attackers to find. As far as unauthorized parties are concerned, nothing’s happening on your machine, and there’s no way in.
You can use the hosted version at zrok.io, run by NetFoundry, or self-host it under the Apache 2.0 license. This article is about the hosted Free plan.
The 5 questions, answered
1. Is small-team, business-related use allowed on the Free plan?
Yes! Testing a business tool with a few colleagues, and using it internally afterward, is allowed on the hosted Free plan. You don't need a paid tier for commercial use.
The terms that apply are in NetFoundry's Self Service Subscriptions Agreement. As with any service agreement, have someone read it before you build a workflow on top of it.
2. Can I reserve a persistent, custom-named public HTTPS address without a payment method?
Yes! By default, zrok2 share gives you a random share token that disappears when the share ends. zrok 2.0 adds namespaces and names, which let you keep a stable address:
A namespace works like a DNS zone. The public namespace corresponds to share.zrok.io.
A name works like a DNS record inside that zone. A reserved name persists across runs of zrok2 share.
If you reserve the name contenttool in the public namespace, your app is available at https://contenttool.share.zrok.io. That address stays the same every time you restart the share, and it comes with a trusted TLS certificate automatically.
3. Can colleagues use the app in a normal browser without installing zrok? Can I limit who gets in?
Yes to both! A public share is a regular HTTPS URL, so your colleagues just open it in a browser. Only the machine running your app needs zrok installed.
To limit access to approved people, turn on OAuth for the share. zrok supports Google and GitHub login for public shares, and you can restrict access by email address pattern:
# bash
zrok2 share public --backend-mode proxy \
--oauth-provider google \
--oauth-email-address-pattern '*@yourcompany.com' \
http://localhost:8080
Anyone who visits is sent to sign in first. Only accounts whose email matches the pattern get through. You can repeat --oauth-email-address-pattern to allow several domains or specific addresses.
There's also a bonus for developers. Once someone is authenticated, zrok adds headers such as zrok-auth-email to every request it forwards to your app. That means your app can tell who’s using it without you building a login system. See OAuth public frontend for the full flow.
4. Are there mandatory charges, usage limits, or restrictions?
No mandatory charges. The Free plan costs $0 a month and doesn't require a credit card. It does come with limits you should plan around:
5 GB of bandwidth per day, measured over a rolling 24-hour window. If you go over, your running shares are disabled and you can't create new ones until usage drops back under the limit. For a small team using a content tool this is usually plenty, but heavy media uploads could reach it.
25 environments, 50 share backends, and 50 private access frontends. A small team won't come close.
Rate limits on public shares: 2,000 requests per IP and 7,500 requests per share, each per 5-minute window.
An interstitial page. Accounts without a card on file show an anti-phishing page the first time someone visits a public share. It's a one-time click-through for each visitor, but tell your colleagues about it so it doesn't surprise them. Adding a card removes it, and you're still on the Free plan.
In case you were wondering, here’s what the interstitial page looks like:
All the details are on the zrok pricing page and in the service limits docs. If you outgrow the Free plan, you can self-host zrok with no limits under the Apache 2.0 license, or talk to NetFoundry about commercial options.
5. Are there known restrictions on reaching hosted zrok shares from mainland China or other countries?
We don't publish a list of country-by-country access guarantees. Whether a public URL is reachable from a given country depends partly on things outside our control, like local network policy.
Our advice is to review the terms of service linked above, then test your exact setup from the locations your users will be in before you roll it out. Stand up a throwaway share, have a colleague in each region load it and click around, and confirm it performs well enough for your needs.
Today on Ziti TV (our YouTube show), Clint and Joey take a closer look at Quickstart, an open source command that sets up an OpenZiti zero trust network in seconds.
How does it work? What’s “under the hood”? How do you use it? What can you do with it? We’ll answer all these questions LIVE on Friday, September 4 at 11:00 Eastern / 8:00 a.m. Pacific / 1500 UTC, or you can catch the recording later.
For the curious, here are my notes for an upcoming Ziti TV episode where we’ll be talking about what’s in the OpenZiti Quickstart.
OpenZiti Quickstart is a single command (ziti edge quickstart) that launches a complete, working OpenZiti network a few seconds. It does a lot behind the scenes, by
creating a fresh certificate authority hierarchy,
initializing a controller database,
creating and enrolling a router identity,
bootstrapping an admin user,
and starting both the controller and router as a single running process.
It does all this with sensible default policies already in place, which means identities can immediately connect through the router to any service.
As its name implies, the Quickstart is meant to get an OpenZiti zero trust network up and running is very short order, and it’s meant for demos, local development, and learning the platform. It has everything a production deployment would spread across multiple processes, machines, and days of setup, but it’s packed into a single instance that you can tear down and re-run whenever you want.
Simply put, it's the fastest path from zero to a working network you can actually build against.
As for the question of why I go with handwritten notes: it’s easier to add diagrams, and I end up understanding and retaining things better.