<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wg-wrap.git/internal/wireguard/wireguard_test.go, branch main</title>
<subtitle>wg-wrap runs commands in network namespaces configured with userspace wireguard tunnels.
</subtitle>
<id>https://git.theodohertyfamily.com/wg-wrap.git/atom?h=main</id>
<link rel='self' href='https://git.theodohertyfamily.com/wg-wrap.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.theodohertyfamily.com/wg-wrap.git/'/>
<updated>2026-05-30T01:07:46Z</updated>
<entry>
<title>feat: harden bootstrap and optimize network data path</title>
<updated>2026-05-30T01:07:46Z</updated>
<author>
<name>James O'Doherty</name>
<email>james@theodohertyfamily.com</email>
</author>
<published>2026-05-30T01:07:46Z</published>
<link rel='alternate' type='text/html' href='https://git.theodohertyfamily.com/wg-wrap.git/commit/?id=d2173cdbc03884ecd9534e9369f8ebe1634f7e9c'/>
<id>urn:sha1:d2173cdbc03884ecd9534e9369f8ebe1634f7e9c</id>
<content type='text'>
- Security: Eliminate namespace escape risk by removing `HostBind` and enforcing `FDBind` using pre-opened host socket FDs.
- Security: Replace unsafe `atoi` with `strtol` and strict validation in the C launcher to prevent malformed PID joins.
- Stability: Fix PID wraparound by storing session timestamps in PID files to detect recycled PIDs.
- Stability: Resolve DNS mount leaks by implementing proper unmounting of `/etc/resolv.conf` during tunnel shutdown.
- Performance: Optimize `FDBind` throughput by implementing batch packet processing in the receive loop.
- Deployment: Implement `memfd_create` for the C launcher to support `noexec` temporary directories and reduce disk I/O.
- Maintenance: Replace external `ip` CLI dependency with native `netlink` library for robust network configuration.
- Quality: Fix all `golangci-lint` errors and replace remaining panics with explicit error handling.
</content>
</entry>
<entry>
<title>Refactor CLI for testability and implement hermetic config path injection</title>
<updated>2026-05-22T13:18:55Z</updated>
<author>
<name>James O'Doherty</name>
<email>james@theodohertyfamily.com</email>
</author>
<published>2026-05-22T13:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.theodohertyfamily.com/wg-wrap.git/commit/?id=96d75d9f1fab87365d7e6b5070eed3a5757c3484'/>
<id>urn:sha1:96d75d9f1fab87365d7e6b5070eed3a5757c3484</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Scaffold wg-wrap project structure and toolchain</title>
<updated>2026-05-22T13:13:16Z</updated>
<author>
<name>James O'Doherty</name>
<email>james@theodohertyfamily.com</email>
</author>
<published>2026-05-22T13:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.theodohertyfamily.com/wg-wrap.git/commit/?id=756ba94292b408cc4f23d137b2c4c52009b2b38d'/>
<id>urn:sha1:756ba94292b408cc4f23d137b2c4c52009b2b38d</id>
<content type='text'>
</content>
</entry>
</feed>
