From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: toke@toke.dk Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id c10cde57 for ; Sun, 13 May 2018 12:34:18 +0000 (UTC) Received: from mail.toke.dk (mail.toke.dk [IPv6:2001:470:dc45:1000::1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 38e4fc99 for ; Sun, 13 May 2018 12:34:18 +0000 (UTC) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Matthias Urlichs , wireguard@lists.zx2c4.com Subject: Re: Need for HW-clock independent timestamps In-Reply-To: References: <793381ba-b59d-50e4-6d7b-cbe9bef91ba1@cgws.de> Date: Sun, 13 May 2018 14:37:23 +0200 Message-ID: <87k1s7wx30.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Matthias Urlichs writes: > Can anybody think of problems with this solution? Well, the possibility of DOS if you set the counter too high, and the possibility of replay attacks if you fail to save the last state when you shut down comes to mind :) (Not saying it's not possible to create a workable solution, just that it's not trivial and requires careful thought to not break the security assumptions of the protocol). -Toke