This repository contains only:
system_collector_openbsd.go- an OpenBSD implementation of cloudflared's diagnosticSystemCollector. It runs read-onlysysctlcommands and performs no privileged operations.build.sh- clones upstream cloudflared at a tagged version, applies the patch, and cross-builds a staticopenbsd/amd64binary.
Only issues in these files are in scope for this repository.
Vulnerabilities in cloudflared itself (the tunnel, its protocols, its dependencies) are out of scope here. Report those directly to Cloudflare:
This is not an official Cloudflare project.
Only the latest commit on the default branch is supported. build.sh accepts an
upstream version argument; a binary built from a cloudflared version that
Cloudflare no longer supports inherits upstream's risk regardless of this patch.
Use GitHub's private vulnerability reporting on this repository: open the Security tab and choose Report a vulnerability. Do not open a public issue for a security report.
Please include the affected file, the impact, and steps to reproduce. Expect an initial response within 7 days.
build.shfetches upstream source over HTTPS fromgithub.com/cloudflare/cloudflaredat the tag you specify. Review the script before running it. It builds withCGO_ENABLED=0and needs no root privileges.- The patched code runs only when you invoke
cloudflared tunnel diag. The tunnel data path is unmodified upstream code. - Install the resulting binary with the ownership and mode shown in the README
(
root:bin,0755). The binary needs no privileges beyond what cloudflared normally requires.