https://github.com/leighgarbs/sproxy
Monolithic LAN sleep proxy
https://github.com/leighgarbs/sproxy
daemon energy-consumption energy-efficiency hibernating-devices lan linux power sproxy
Last synced: 7 months ago
JSON representation
Monolithic LAN sleep proxy
- Host: GitHub
- URL: https://github.com/leighgarbs/sproxy
- Owner: leighgarbs
- License: mit
- Created: 2017-03-17T01:11:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-23T05:13:45.000Z (about 5 years ago)
- Last Synced: 2025-01-16T00:26:37.518Z (9 months ago)
- Topics: daemon, energy-consumption, energy-efficiency, hibernating-devices, lan, linux, power, sproxy
- Language: C++
- Homepage:
- Size: 959 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**[sproxy](https://github.com/leighgarbs/sproxy.git)** -
Monolithic LAN sleep proxy
==========================================================For personal use. This is an implementation of [this concept](https://en.wikipedia.org/wiki/Bonjour_Sleep_Proxy) that only uses ARP (no multicast DNS).
## Features ##
* Uses [ARP spoofing](https://en.wikipedia.org/wiki/ARP_spoofing) to receive traffic intended for sleeping or hibernating devices on the LAN
* Uses [magic packets](https://en.wikipedia.org/wiki/Wake-on-LAN#Magic_packet) to wake needed sleeping or hibernating devices which support [Wake-on-LAN](https://en.wikipedia.org/wiki/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