-
-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Confirm the binary is installed and executable:
which wcat
wcat --versionFor a standalone archive install:
sudo install -m 0755 wirecat-0.1.0-linux-amd64/wcat /usr/local/bin/wcatUse the correct CA bundle and SNI name:
wcat connect --tls --ca-file ./ca.pem --sni service.example service.example 443For local testing only, use:
wcat connect --tls --tls-insecure 127.0.0.1 8443Do not use --tls-insecure for production trust decisions.
Check:
- both peers use
--quic - both peers use compatible ALPN values
- the server has
--certand--key - the client trusts the certificate or intentionally uses
--tls-insecurefor a local lab - the linked OpenSSL build exposes QUIC APIs
Useful checks:
openssl version -a
wcat connect --quic --tls-insecure 127.0.0.1 8443SCTP support depends on the host kernel and system libraries. Confirm SCTP is available on the target system and that firewall rules allow the traffic.
Example:
wcat listen --sctp 0.0.0.0 5555
wcat connect --sctp 127.0.0.1 5555VSOCK is Linux virtualization-specific. It requires a host/guest environment that supports AF_VSOCK.
Examples:
wcat listen --vsock any 5555
wcat connect --vsock 2 5555Use both --pty and --exec:
wcat listen --pty --exec /bin/bash 0.0.0.0 4444PTY mode is intended for interactive programs. Plain --exec uses pipes.
Bind to a specific address and use access control:
wcat listen --allow 192.0.2.0/24 127.0.0.1 4444For local-only testing, bind to 127.0.0.1.
Make sure the receiving directory is writable:
wcat recv ./archive.tar 0.0.0.0 9000Relay file:PATH endpoints create missing files with mode 0600.