XDP-Newbies Archive mirror
 help / color / mirror / Atom feed
From: Vincent Li <vincent.mc.li@gmail.com>
To: xdp-newbies@vger.kernel.org
Subject: How to get system localtime/wall time from eBPF?
Date: Mon, 20 Mar 2023 08:33:01 -0700	[thread overview]
Message-ID: <CAK3+h2xYCBmP-0=uDUm1uKgfP8-v3KtG8Sy7Y0YR2x1gitHZrQ@mail.gmail.com> (raw)

Hi,

if I have a XDP based firewall to block ip  access based on system
localtime/wall time, is it still impossible like what mentioned here
https://github.com/xdp-project/xdp-tutorial/issues/204#issuecomment-819419800?
If so, is there any way to workaround this?

Thanks!

Vincent

             reply	other threads:[~2023-03-20 15:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 15:33 Vincent Li [this message]
2023-03-20 17:15 ` How to get system localtime/wall time from eBPF? Jesper Dangaard Brouer
2023-03-20 21:57   ` Vincent Li
2023-03-21 17:27     ` Vincent Li
2023-03-21 17:37       ` Vincent Li
2023-03-21 17:43       ` Toke Høiland-Jørgensen
2023-03-21 17:55         ` Vincent Li
2023-03-21 18:04           ` Fingerhut, John Andy

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='CAK3+h2xYCBmP-0=uDUm1uKgfP8-v3KtG8Sy7Y0YR2x1gitHZrQ@mail.gmail.com' \
    --to=vincent.mc.li@gmail.com \
    --cc=xdp-newbies@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).