Re:25 Gigabit Linux internet router PC build
by secure on Saturday July 10, 2021 @09:59AM
(#27793390)
I have built such a gateway for SSH: it accepts the connection, powers on the target machine if needed, then forwards traffic.
https://github.com/stapelberg/zkj-nas-tools/blob/master/wolg...
The advantage over just catching any packets is that an SSH connection is authorized, so less noisy in terms of undesired wakeups.
Re:25 Gigabit Linux internet router PC build
by secabeen on Saturday July 10, 2021 @12:26PM
(#27794500)
Apple has this. It's called Boujour sleep proxy, and it allows a always-on device like a Airport or AppleTV to claim the IP address of a sleeping Mac, waking it with a WoL packet when traffic for that device comes in. It's probably pretty useful, but is annoying on a managed network, as it spams my arpwatch system every time the IP is transferred between devices.
IP protocol does not guarantee delivery. So you don't have to cache request. Just power on the machine, client will retry sending the packets until the machine is powered on and can respond. Just make sure that there's no gap between networking available and http server is still starting on.