- Replace form_urlencoded with RFC 3986 compliant URI encoding - Implement aws_uri_encode() matching AWS SigV4 spec exactly - Unreserved chars (A-Z,a-z,0-9,-,_,.,~) not encoded - All other chars percent-encoded with uppercase hex - Preserve slashes in paths, encode in query params - Normalize empty paths to '/' per AWS spec - Fix test expectations (body hash, HMAC values) - Add comprehensive SigV4 signature determinism test This fixes the canonicalization mismatch that caused signature validation failures in T047. Auth can now be enabled for production. Refs: T058.S1 |
||
|---|---|---|
| .. | ||
| pxe-server | ||
| alpine-answers.txt | ||
| alpine-ssh-setup.sh | ||
| deploy-all.sh | ||
| launch-node01-dual.sh | ||
| launch-node01-iso.sh | ||
| launch-node01-netboot.sh | ||
| launch-node01.sh | ||
| launch-node02-alpine.sh | ||
| launch-node02-iso.sh | ||
| launch-node02-netboot.sh | ||
| launch-node02.sh | ||
| launch-node03-iso.sh | ||
| launch-node03-netboot.sh | ||
| launch-node03.sh | ||
| launch-pxe-server-install.sh | ||
| launch-pxe-server-iso.sh | ||
| launch-pxe-server.sh | ||
| netboot-initrd | ||
| netboot-kernel | ||
| pxe-server-setup.sh | ||
| README.md | ||
| validate-cluster.sh | ||
QEMU Socket Networking VM Cluster
Architecture
Topology: 4 QEMU VMs connected via multicast socket networking (230.0.0.1:1234)
VMs:
- pxe-server (192.168.100.1) - Provides DHCP/TFTP/HTTP services
- node01 (192.168.100.11) - Cluster node
- node02 (192.168.100.12) - Cluster node
- node03 (192.168.100.13) - Cluster node
Network: All VMs share L2 segment via QEMU multicast socket (no root privileges required)
Files
node01.qcow2,node02.qcow2,node03.qcow2- 100GB cluster node diskspxe-server.qcow2- 20GB PXE server disklaunch-pxe-server.sh- PXE server startup scriptlaunch-node01.sh,launch-node02.sh,launch-node03.sh- Node startup scriptspxe-server/- PXE server configuration files
MACs
- pxe-server: 52:54:00:00:00:01
- node01: 52:54:00:00:01:01
- node02: 52:54:00:00:01:02
- node03: 52:54:00:00:01:03
Provisioning Flow
- Start PXE server VM (Alpine Linux with dnsmasq)
- Configure DHCP/TFTP/HTTP services
- Deploy NixOS netboot artifacts
- Start node VMs with PXE boot enabled
- Nodes PXE boot and provision via nixos-anywhere