Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Antonio Teixeira <antonio.teixeira@bry.com.br>
To: wireguard@lists.zx2c4.com
Subject: Running PTP (Precision Time Protocol) over Wireguard
Date: Tue, 14 Dec 2021 14:15:17 -0300	[thread overview]
Message-ID: <CACD1g0AfxsGNdO9e-fRLUvONfPJXJnLbzGjQb-s8t+iizXdB6A@mail.gmail.com> (raw)

Hey,

Has anyone ever got PTP (precision time protocol) working with
hardware timestamping over a wireguard VPN?

I need to start linuxptp (http://linuxptp.sourceforge.net/) listening
on a Wireguard virtual network interface, however, it seems that
linuxptp relies on the SO_TIMESTAMPING kernel socket option and the
wireguard virtual interface doesn't support that. Moreover, I need
this working with hardware timestamping, and right now I can't even
get it working with software timestamping.

Would it even be possible to get this working? Anyone got any tips?
Can I somehow make the Wireguard virtual interface mirror the physical
NIC's capabilities?

             reply	other threads:[~2021-12-20 16:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14 17:15 Antonio Teixeira [this message]
2021-12-20 17:00 ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACD1g0AfxsGNdO9e-fRLUvONfPJXJnLbzGjQb-s8t+iizXdB6A@mail.gmail.com \
    --to=antonio.teixeira@bry.com.br \
    --cc=wireguard@lists.zx2c4.com \
    --subject='Re: Running PTP (Precision Time Protocol) over Wireguard' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).