[Gllug] Detecting attempts to contact another machine and acting on them

Nix nix at esperi.org.uk
Mon Mar 12 21:17:16 UTC 2007


On 12 Mar 2007, salsaman at xs4all.nl stated:
> Another suggestion : set up iptables to log any packets with
> destination IP of the other machine. Then just monitor the size of the
> log file.

ITYM `set up iptables to route all packets to a netlink queue via the
NFQUEUE target and then read that queue from userspace and fire a WoL
packet if needed'.

Grepping logfiles for this is just horribly inefficient.

-- 
`In the future, company names will be a 32-character hex string.'
  --- Bruce Schneier on the shortage of company names
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list