[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
** Changed in: powernap Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets To manage notifications about this bug go to: https://bugs.launchpad.net/powernap/+bug/737479/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
** Branch linked: lp:ubuntu/powernap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets To manage notifications about this bug go to: https://bugs.launchpad.net/powernap/+bug/737479/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
This bug was fixed in the package powernap - 2.12-0ubuntu1 --- powernap (2.12-0ubuntu1) oneiric; urgency=low [ Andres Rodriguez ] * Add Initial PowerNap (powerwaked) Server Capabilities: - powerwake/*: Add module and Initial ARPMonitor (LP: #737479). - powerwaked.conf: Add config file. - powerwaked: Add daemon. - powerwake-monitor: Add tool to add, delete, list, etc. * Package powernap-server: - debian/control: Add powerwaked, powerwake-common, powernap-server - debian/{powerwaked,powerwake-common}.install: Add - debian/powerwaked.upstart: Add upstart job. [ Dustin Kirkland ] * bin/powerwake: - only seed the arp cache if the argument is not already a mac address -- Andres RodriguezFri, 01 Jul 2011 16:06:51 -0400 ** Changed in: powernap (Ubuntu) Status: Invalid => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets To manage notifications about this bug go to: https://bugs.launchpad.net/powernap/+bug/737479/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
** Branch linked: lp:powernap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets To manage notifications about this bug go to: https://bugs.launchpad.net/powernap/+bug/737479/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
** Changed in: powernap Status: Confirmed => In Progress ** Changed in: powernap Assignee: (unassigned) => Andres Rodriguez (andreserl) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets To manage notifications about this bug go to: https://bugs.launchpad.net/powernap/+bug/737479/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
Awesome. Will definitely like to include it into powerwaked once I start working on it, to be a feature of "Automatic Wake up on Network traffic" or something like that! Thanks again! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
Andres, Yes your understanding of my script is correct and your example is spot on. Explained another way, there are three computers involved in the process. There is the requester who is ARPing for the sleeping machine, there is the sleeping machine, which will not wake to ARP requests, and there is the sniffer, which is a third machine on the network that is awake and listening for ARP traffic on behalf sleeper and will send the magic packet (which will wake the sleeper) when it promiscuously hears the ARP request go out from the requester. -Jim -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
Hi Jim, Thank your for taking the time to file this bug and sending this script. It is indeed very very interesting and I definitely gonna consider it for the next release of PowerNap (3.x). Now, I just want to get something straight: When target/monitored machines are sleeping (suspended, hibernated, etc), and an ARP packet for any of those machines is heard over the network, then your script sends a WoL packet to the machine from which an ARP was sent to? So for example, if I have ServerA (192.168.1.100) suspended, and some router/switch tries to discover if ServerA is in the local network, by sending broadcasting ARP messages for 192.168.1.100 to discover its MAC address, then your script will sniff that ARP packet and send a WoL to 192.168.1.100? Now, the way I think I can integrate your script with powerwake, is that for the next Ubuntu release, I'd like to have a powerwaked daemon that keeps track of all the machine on the local network that are using PowerNap. This way we have some kind of client/'server approach to administer PowerNap clients from the server (such as schedule wakeups, poweroffs, and things like that), and I believe your script fits here perfectly. Finally, I'm marking this bug as invalid for Ubuntu, but open it in the project's bug tracking system as this is a feature request and should be handled there. Thanks a lot!! This is indeed awesome! ** Also affects: powernap Importance: Undecided Status: New ** Changed in: powernap (Ubuntu) Status: New => Invalid ** Changed in: powernap Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
I am uploading a version of the script with MACs removed. Best Regards, -Jim Heck ** Attachment added: "sniffwake.py Monitor for ARP from IPs and send Magic Packets" https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/737479/+attachment/1917178/+files/sniffwake.py ** Attachment removed: "scapy script to wake on ARP to specific IPs" https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/737479/+attachment/1917148/+files/sniffwake.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
Could I please bother you to block out the MAC addresses in the script I just posted, or to delete the attachment and let me upload it again. Best Regards, -Jim Heck -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 737479] Re: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets
** Attachment added: "scapy script to wake on ARP to specific IPs" https://bugs.launchpad.net/bugs/737479/+attachment/1917148/+files/sniffwake.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737479 Title: powerwake enhancement, monitor ARP requests for sleeping machines and send magic packets -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs