ifstated equivalent on Linux

2012-01-16 Thread Carlos Miranda Molina (Mstaaravin)
Hello all!

Anyone knows tool similar to iftstated (BSD) for Linux?

no matter if not exist Debian package (i can compile)

thanks!
-- 
La Voluntad es el único motor de nuestros logros
http://ngen.com.ar/blog


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CACJp8-o5eGs=uq4cvyh+1w1107-74ppm-b1mcivdvalkwlo...@mail.gmail.com



Re: ifstated equivalent on Linux

2012-01-16 Thread Jon Dowland
On Mon, Jan 16, 2012 at 12:39:48PM -0300, Carlos Miranda Molina (Mstaaravin) 
wrote:
 Anyone knows tool similar to iftstated (BSD) for Linux?
 
 no matter if not exist Debian package (i can compile)

If you provide a description of what ifstated does, then someone might be
able to suggest an alternative program (without having to go and look up
ifstated themselves)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120116161630.GB23539@pris



Re: ifstated equivalent on Linux

2012-01-16 Thread Carlos Miranda Molina (Mstaaravin)
On Mon, Jan 16, 2012 at 1:16 PM, Jon Dowland j...@debian.org wrote:
 If you provide a description of what ifstated does, then someone might be
 able to suggest an alternative program (without having to go and look up
 ifstated themselves)

Sorry...

http://www.openbsd.org/cgi-bin/man.cgi?query=ifstatedsektion=8

The ifstated daemon runs commands in response to network state changes,
 which it determines by monitoring interface link state or running
 external tests.  For example, it can be used with carp(4) to change
 running services or to ensure that carp(4) interfaces stay in sync, or
 with pf(4) to test server or link availability and modify translation or
 routing rules.  The options are as follows:


In my case i need manage a failover internet conection (actually with
debian + iproute + firehol) in Linux Wan failover is very hard to
configure and to see PF + ifstate is very very very very very very
very very simple.

Regards

-- 
La Voluntad es el único motor de nuestros logros
http://ngen.com.ar/blog


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cacjp8-rupqh+9xp9t8jsridlwmduynq4dubdh2eervmxe6c...@mail.gmail.com



Re: ifstated equivalent on Linux

2012-01-16 Thread Sebastian Steinhuber
Am 16.01.2012 18:24, schrieb Carlos Miranda Molina (Mstaaravin):
 On Mon, Jan 16, 2012 at 1:16 PM, Jon Dowland j...@debian.org wrote:
 If you provide a description of what ifstated does, then someone might be
 able to suggest an alternative program (without having to go and look up
 ifstated themselves)
 
 Sorry...
 
 http://www.openbsd.org/cgi-bin/man.cgi?query=ifstatedsektion=8
 
 The ifstated daemon runs commands in response to network state changes,
  which it determines by monitoring interface link state or running
  external tests.  For example, it can be used with carp(4) to change
  running services or to ensure that carp(4) interfaces stay in sync, or
  with pf(4) to test server or link availability and modify translation or
  routing rules.  The options are as follows:
 
 
 In my case i need manage a failover internet conection (actually with
 debian + iproute + firehol) in Linux Wan failover is very hard to
 configure and to see PF + ifstate is very very very very very very
 very very simple.
 
 Regards
 

Ifplugd or netplug could do the trick.

Sebastian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f146eab.7060...@googlemail.com



Re: ifstated equivalent on Linux

2012-01-16 Thread Carlos Miranda Molina (Mstaaravin)
On Mon, Jan 16, 2012 at 3:38 PM, Sebastian Steinhuber
sebastian.steinhu...@googlemail.com wrote:
 Ifplugd or netplug could do the trick.

Thanks...
But ifplug and/or netplug check state of link interface..
If my ISP is down, link still is up without routing.

i need (for example) send ICMP over WAN1 and WAN2
if ICMP over WAN1 get timeout, change ip route rules and send all
traffic over WAN2


regards


-- 
La Voluntad es el único motor de nuestros logros
http://ngen.com.ar/blog


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cacjp8-otjt2he9s+ubxeh67rp42prkywxchcfhs2pk2bt_x...@mail.gmail.com