On Sat, 2010-11-20 at 19:53 +0100, Gian Carlo Stagni wrote:
> Set PingCmd simply to "/bin/true" (and hope the remote host keeps
> working fine)
Or use a TCP ping method. However, this requires your BackupPC server to
either run a command as root or run a setuid root command:
sudo hping3 -S -c 1 -p 22 host | grep 'flags=SA'
hping3 treats ICMP-port-unreachable messages as answers, so you have to
grep for "SYN ACK" flags in the returned packet.
Regards,
Tyler
--
"If we confuse dissent with disloyalty — if we deny the right of the
individual to be wrong, unpopular, eccentric or unorthodox — if we
deny the essence of racial equality then hundreds of millions in Asia and
Africa who are shopping about for a new allegiance will conclude that we
are concerned to defend a myth and our present privileged status. Every
act that denies or limits the freedom of the individual in this country
costs us the ... confidence of men and women who aspire to that freedom
and independence of which we speak and for which our ancestors fought."
-- Edward R. Murrow
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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/
|