BackupPC-users

Re: [BackupPC-users] Check-if-alive-pings alternatives

2010-02-08 06:38:49
Subject: Re: [BackupPC-users] Check-if-alive-pings alternatives
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 08 Feb 2010 22:36:12 +1100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tino Schwarze wrote:
> Hi Sorin,
> 
> On Mon, Feb 08, 2010 at 11:29:11AM +0100, Sorin Srbu wrote:
> 
>> I have a server that sits behind a router (server is NAT:ed) and allows ssh
>> connections in. That is to say, the *only* thing it allows in is ssh
>> connections.
>>
>> Now, BackupPC uses pings to check if the machine to be backed up is alive.
>> Since the router in question doesn’t respond to any pings, it's in a
>> pseudo-stealth mode, then BackupPC thinks the machine is down and doesn't
>> initiate any backups even though the machine is actually alive and
>> responding otherwise.
>>
>> Short of making the router visible on the network for pings, is there any
>> other way to circumvent this problem? Maybe connecting to the ssh-port or
>> something? Ideas and pointers are greatly appreciated!
> 
> What's your argument for not making it visible? It will show up anyway,
> one way or another.

You have a number of options:
1) Change your firewall to allow your backuppc host to ping the router
2) Change your pingcmd to either pretend the ping was successful, or run
some other type of ping command (eg, nmap to test the ssh port or similar).

Regards,
Adam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktv9ysACgkQGyoxogrTyiWiXwCgqhdMP8FJDSJ1yKO2ohS3c7Qd
7fgAnjsypMev8/HxvbaffMkkw+rMLAU/
=xmFt
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/