wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* wireguard-go foreground mode broken on Linux
@ 2018-12-03 10:06 Chris Branch
  2018-12-06 16:18 ` Jason A. Donenfeld
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Branch @ 2018-12-03 10:06 UTC (permalink / raw)
  To: WireGuard


[-- Attachment #1.1: Type: text/plain, Size: 509 bytes --]

Though this isn't a common use case, I thought I should note that commit
2e772194cf7cd7c37d24364a9f9d407dc96a25e8 causes a regression in
wireguard-go running in foreground mode (-f flag); packets are never read
from the TUN interface.

I got as far as debugging that it works again if you call Fd() at least
once after SetNonblock i.e. it's not introduced by any of the other changes
in that commit. I've stopped looking at this for now, but thought I would
warn others and see if anyone else has some ideas.

[-- Attachment #1.2: Type: text/html, Size: 567 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-06 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-03 10:06 wireguard-go foreground mode broken on Linux Chris Branch
2018-12-06 16:18 ` Jason A. Donenfeld
     [not found]   ` <CAHmME9pyCqLvTOBHCFYttJJzYGSyf26Way1FmhUtr0NvB8jU6Q@mail.gmail.com>
     [not found]     ` <CAMhRzNQ6QwgGT4_LTrVrZ-8LL8bO=T5roFzLRdyGWwVHChvf2w@mail.gmail.com>
2018-12-06 16:37       ` Jason A. Donenfeld
2018-12-06 16:40         ` Jason A. Donenfeld

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).