Catch SSL errors
Message ID | 1438628457-9393-1-git-send-email-michael.tremer@ipfire.org |
---|---|
State | Accepted |
Commit | a6094ef64a5bf29796b5d880427109826dfe1950 |
Headers |
Return-Path: <ddns-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.tremer.info [172.28.1.200]) by septima.ipfire.org (Postfix) with ESMTP id C60BB61FF0 for <patchwork@ipfire.org>; Mon, 3 Aug 2015 21:01:10 +0200 (CEST) Received: from hedwig.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 9C58E286 for <patchwork@ipfire.org>; Mon, 3 Aug 2015 21:01:10 +0200 (CEST) Received: from hughes.lan (5751a3c7.skybroadband.com [87.81.163.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id B14EC259; Mon, 3 Aug 2015 21:01:06 +0200 (CEST) From: Michael Tremer <michael.tremer@ipfire.org> To: ddns@lists.ipfire.org Subject: [PATCH] Catch SSL errors Date: Mon, 3 Aug 2015 20:00:57 +0100 Message-Id: <1438628457-9393-1-git-send-email-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.4.3 X-BeenThere: ddns@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List for the IPFire dynamic DNS client <ddns.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/ddns>, <mailto:ddns-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/ddns/> List-Post: <mailto:ddns@lists.ipfire.org> List-Help: <mailto:ddns-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/ddns>, <mailto:ddns-request@lists.ipfire.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ddns-bounces@lists.ipfire.org Sender: "ddns" <ddns-bounces@lists.ipfire.org> |
Message
Michael Tremer
Aug. 4, 2015, 5 a.m. UTC
Properly catch SSL errors. When a connection could not be
established, the ddns client will try again. If an invalid
certificate is presented future updates are held back for
the usual time.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
src/ddns/errors.py | 15 +++++++++++++++
src/ddns/system.py | 11 +++++++++++
2 files changed, 26 insertions(+)