[ale] disconnect events

James Sumners james.sumners at gmail.com
Sun Oct 25 12:18:12 EDT 2009


Best thing I can think of would be to have iptables log the
disconnects to a file. Then have a process watch that file and spawn
your script when it sees a new disconnect. I don't think iptables can
spawn the script itself.

On Sunday, October 25, 2009, Atlanta Geek <atlantageek at gmail.com> 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
>
> --
> http://www.atlantageek.com
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>

-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59


More information about the Ale mailing list