Skip to content

leighgarbs/sproxy

Repository files navigation

sproxy - Monolithic LAN sleep proxy

For personal use. This is an implementation of this concept that only uses ARP (no multicast DNS).

Features

  • Uses ARP spoofing to receive traffic intended for sleeping or hibernating devices on the LAN
  • Uses magic packets to wake needed sleeping or hibernating devices which support Wake-on-LAN
  • Periodically polls all configured network devices for sleep status using ARP requests
  • Configurable
  • IPv4 support
  • Ethernet v2 support
  • Runnable as a daemon
  • Logs useful information to log file during runtime

Goals

  • Transition to object-oriented C++ (see branch "refactor")
  • Add tests
  • IPv6 support

Style

  • No tabs, only spaces
  • 4 space indents
  • Lines wrap to 80 characters