|
From: SourceForge.net <no...@so...> - 2004-05-01 12:21:40
|
Feature Requests item #945875, was opened at 2004-05-01 07:21 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410646&aid=945875&group_id=34096 Category: Packages Group: None Status: Open Priority: 5 Submitted By: Heiko Zuerker (smiley73) Assigned to: Nobody/Anonymous (nobody) Summary: ifplugd (Ethernet Link Detection) Initial Comment: The idea is to be able to run scripts based on the link state of the card. This project: http://0pointer.de/lennart/projects/ifplugd/ It was originally designed for laptops, but we could use it as well. I have already played with it, it works well. Why do I need it? (or want it) Let's say we are perfiorming an upgrade of some kind to the network. Instead of getting harassing phone calls from users, we simply unplug the WAN side of the DL router. Ifplugd will fire up a script that blocks all traffic and redirects WWW to a local web server in the DL box itself (say on port 8080). Example: iptables -t nat -I PREROUTING -i (LAN interface) -p tcp --dport 80 -j REDIRECT --to-port 8080. The users will now see a page that says: "Sorry for the trouble...we will be back up in a little bit. Go watch TV." When we plug the WAN port back in, ifplugd automagically removes the iptables entries and life is good. Neat? Who is interested? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=410646&aid=945875&group_id=34096 |