How domenicoverde/connect-eth-go works
connect-eth-go is a Go library for establishing Ethernet-over-HTTP/3 tunnels using CONNECT-ETHERNET. The client opens a tunnel with Dial; a server-side integration parses a request, then Proxy establishes the tunnel, and Conn handles Ethernet frames over the HTTP/3 stream. The README also documents remote-access and site-to-site L2 VPN use, plus transparent VLAN forwarding. The sampled source shows the client and proxy creating Conn instances, but not the application-level server routing that connects request parsing to proxying.
Main entry points: conn.go Frame connection · client.go Open tunnel · proxy.go Establish tunnel
Components 7
Client API
- Open tunnel
client.go
Server API
- Parse request
request.go - Establish tunnel
proxy.go
Tunnel transport
- Frame connection
conn.go
Other components
- Client application
- Ethernet segment
- HTTP/3 peer
Connections 6
- Client application → Open tunnel: calls Dial
client.go - Open tunnel → Frame connection: creates
client.go - Establish tunnel → Frame connection: creates
proxy.go - Ethernet segment → Frame connection: frames read/written
conn.go - Frame connection → HTTP/3 peer: tunnels frames
README.md - HTTP/3 peer → Frame connection: tunnels frames
README.md