Wakupator

Wakupator

LAN machine awakener using IP spoofing and Wake-on-LAN

161stars
3forks
Last commit: 5mo ago
Repo age: 2y old

Wakupator is a lightweight C-based service that monitors incoming network traffic on spoofed local IP addresses and sends IEEE 802.3 Wake-on-LAN magic packets to registered machines. It lets machines register IP/port rules before shutdown so they can remain powered off until relevant traffic arrives.

Key Features

  • Spoofs IPv4 and IPv6 addresses on the host to detect incoming TCP traffic for specific IP:port pairs.
  • Simple TCP registration protocol using a JSON payload (mac + monitor entries) to declare which IPs/ports to monitor.
  • Sends Wake-on-LAN magic packets with configurable number of attempts and intervals; reports boot time and retires clients when awake.
  • Handles IPv6 Duplicate Address Detection workarounds via sysctl adjustments and uses iproute2 to add/remove spoofed addresses.
  • Minimal C implementation with a small dependency footprint (uses cJSON for JSON parsing) and examples for systemd service integration.

Use Cases

  • Save energy for home servers or lab machines by waking them only when needed (game servers, SSH, etc.).
  • Host services on low-cost always-on hardware (e.g., Raspberry Pi) that wakes heavier machines on demand.
  • Small office or homelab setups where availability can be traded for lower power usage.

Limitations and Considerations

  • Requires CAP_NET_RAW (or root) and the ip and sysctl tools from iproute2 and the OS; must be run with sufficient privileges.
  • Not safe to expose to the Internet; intended for local LAN use only and can interact poorly with services bound to 0.0.0.0 or :: if host firewall rules are not tightened.
  • Incompatible with networks or routers that enforce static IP/MAC bindings; initial client connection attempts may timeout depending on boot time.

Wakupator is a focused, low-level tool for reducing idle power use by waking specific machines on incoming traffic. It is best suited for technically proficient users who can manage OS networking privileges and local firewall rules.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Pi-hole

Pi-hole

Network-wide DNS sinkhole for ad and tracker blocking

55.3k
3k
Last commit: 1mo ago

Pi-hole is a network-wide DNS sinkhole that blocks ads and trackers for all devices on your network, with a web dashboard, query logs, and optional DHCP server.

Alternative to:
AdGuard
AdGuard
+7
AdGuard Home

AdGuard Home

Network-wide DNS server that blocks ads, trackers, phishing and malware

32.1k
2.2k
Last commit: 1d ago

Open-source DNS-based ad & tracker blocking server for networks. Offers per-device rules, parental controls, encrypted upstream DNS (DoH/DoT/DNSCrypt), web UI and API.

Alternative to:
AdGuard
AdGuard
+5
MyIP (IPCheck.ing)

MyIP (IPCheck.ing)

Open-source IP toolbox for IP, DNS, WebRTC and network diagnostics

9.6k
1.1k
Last commit: 12d ago

MyIP (IPCheck.ing) is an open-source web IP toolbox that detects local/public IPs, runs DNS leak and WebRTC checks, speed/latency/MTR tests, availability and whois lookup...

Alternative to:
WhatIsMyIPAddress.com
WhatIsMyIPAddress.com
+10
Technitium DNS Server

Technitium DNS Server

Authoritative and recursive DNS server with web console

7.3k
616
Last commit: 28d ago

Cross-platform DNS server with authoritative/recursive modes, encrypted DNS (DoH/DoT/DoQ), DNSSEC, ad/malware blocking, DHCP, and an HTTP API with web admin UI.

Alternative to:
Cloudflare DNS
Cloudflare DNS
+10
Blocky

Blocky

Fast, lightweight DNS proxy and ad-blocker in Go

5.9k
257
Last commit: 1d ago

Open-source DNS proxy and network-wide ad-blocker for local networks. Supports DoH/DoT, per-client rules, caching, deep CNAME inspection, Prometheus metrics, Docker and H...

Alternative to:
NextDNS
NextDNS
+7
Unbound

Unbound

Validating, recursive, caching DNS resolver

4.2k
421
Last commit: 2d ago

Standards-based validating recursive DNS resolver with DNSSEC validation, DNS-over-TLS/HTTPS support and configurable caching for privacy and performance.

Alternative to:
Cloudflare DNS
Cloudflare DNS
+9