[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] disconnect events
- Subject: [ale] disconnect events
- From: brandon at brandonchecketts.com (Brandon Checketts)
- Date: Sun, 25 Oct 2009 14:01:16 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
You might be able to implement this with some sort of 'port knocking'.
The concept is to send a sequence of tcp/udp packets to a machine that
has some daemon running that listens for those packets (even on blocked
and closed ports). When it identifies some pre-determined pattern, it
can be configured to run a series of system commands. It is usually
used to manipulate iptables rules to temporarily allow tcp syn packets
from the IP that successfully knocked.
See http://linux.die.net/man/1/knockd for a couple examples
Thanks,
Brandon Checketts
Atlanta Geek wrote:
> I am using iptables to do port forwarding. Is it possible to trigger a
> script on a disconnect from one of the ports being fowarded.
> Thanks
> -Tommie
>