[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Daemon program that runs scripts when a service become available.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is my network situation, recently I bought a 3G router providing
internet connection to my network (an amd64 Desktop PC with Wheezy and
a Linksys NSLU2 de-underclocked with armel Squeeze). I would like to
run some scripts when 3G router gets connected to the Internet.
Using nmap program I notice that a TCP/IP service become available as
soon as 3G router gets connected so I thought to use it as a trigger
for a daemon program that checks an IP address for available services
then automatically it runs scripts.
Does it exist such a daemon program out there? Should I write a shell
script using some network utility?

Thanks in advance for any answer.

Regards.
- -- 
                                        Franco Martelli.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJR0X/qAAoJEFM/ma7n+T+7+0cH/0LbLB9B9xqqQulPgOtmZQ2i
wQ8v7jlDOHyw/UP6c6LW1JzIEPu9j4oSVDMQvIFrVMoautoC1xdtTo26b41tceQ0
x9ykJVFLQ406lJ9InaHTggDZJobzhJYi1uDGCO8pVBWmCOPuG1sRZPLeu66rVurp
bZJKg/hLtFo1kKt7LB2Uawxg124oKKCPnNjHdgTiJjSYOqv/61oTTspwLoF7ppCi
N+2ml12HAclpm9eMGxV3AdNP7kfEffjgBtIAULuJKqbkChxXR5/luTypQ6DdFNAS
FE/8RWSKAAozYlnMhBMf4BJimSanqeus//mSbXpWjTNRT2NIXOK3r+y6ojy63Zw=
=5nd8
-----END PGP SIGNATURE-----


Reply to: