wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: Adhipati Blambangan <adhipati@tuta.io>
To: wireguard@lists.zx2c4.com
Subject: Attaching XDP program into wireguard interface
Date: Wed, 22 Apr 2020 15:05:11 +0200 (CEST)	[thread overview]
Message-ID: <M5WzVK5--3-2@tuta.io> (raw)

Hello everyone,

I have tried to search for the same question in this mailing-list archive, but got no result.

I have wireguard connection in all of my machines running in production, and it works pretty well. Currently, we are thinking of doing some packet-classification using XDP as an early hook in the RX path.

A simple XDP program has been successfully attached to our "standard" interface. But, when I tried to attach the same XDP program to my wg0 interface, the logic in the XDP program did not kicked in. Is this something expected? if yes, is there any plan to support this use-case? I would like to help. But if not, could you guys shed me some light on what went wrong?


Adhipati B.

             reply	other threads:[~2020-04-24 20:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-22 13:05 Adhipati Blambangan [this message]
2020-04-24 20:55 ` Attaching XDP program into wireguard interface Jason A. Donenfeld
2020-04-24 21:01   ` Jason A. Donenfeld
2020-04-24 21:06     ` Jason A. Donenfeld
2020-04-24 21:59     ` Toke Høiland-Jørgensen
2020-04-24 22:02       ` Jason A. Donenfeld
2020-04-24 22:25         ` Toke Høiland-Jørgensen

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:

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

  git send-email \
    --in-reply-to=M5WzVK5--3-2@tuta.io \
    --to=adhipati@tuta.io \
    --cc=wireguard@lists.zx2c4.com \


* 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 NNTP newsgroup(s).