WireGuard Archive on lore.kernel.org
 help / color / Atom feed
* Wireguard doesn't work with Linux 4.18-rc1
@ 2018-06-23 12:23 Jordan Glover
  2018-06-23 13:35 ` Bruno Wolff III
  0 siblings, 1 reply; 5+ messages in thread
From: Jordan Glover @ 2018-06-23 12:23 UTC (permalink / raw)
  To: wireguard

Hi,

I can't make wireguard work with linux 4.18-rc1 and mainline from
06.22.2018.

sudo wg-quick up abc
[#] ip link add abc type wireguard
[#] wg setconf abc /dev/fd/xx
[#] ip address add xx.xx.xx.xxx/xx dev abc
[#] ip link set mtu 1420 dev abc
[#] ip link set abc up
[#] resolvconf -a abc -m 0 -x
[#] wg set abc fwmark xxxxx
[#] ip -4 route add 0.0.0.0/0 dev abc table xxxxx
[#] ip -4 rule add not fwmark xxxxx table xxxxx
[#] ip -4 rule add table main suppress_prefixlength 0
RTNETLINK answers: File exists
[#] resolvconf -d abc
[#] ip -4 rule delete table xxxxx
RTNETLINK answers: Address family not supported by protocol
Dump terminated
RTNETLINK answers: Address family not supported by protocol
Dump terminated
[#] ip link delete dev abc

It works with Linux 4.17 and earlier. I tested two latest wireguard
snapshots (0.0.20180620, 0.0.20180613).

I'm disabling ipv6 at boot with ipv6.disable=3D1

Jordan

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

* Re: Wireguard doesn't work with Linux 4.18-rc1
  2018-06-23 12:23 Wireguard doesn't work with Linux 4.18-rc1 Jordan Glover
@ 2018-06-23 13:35 ` Bruno Wolff III
  2018-06-23 13:50   ` Jordan Glover
  0 siblings, 1 reply; 5+ messages in thread
From: Bruno Wolff III @ 2018-06-23 13:35 UTC (permalink / raw)
  To: Jordan Glover; +Cc: wireguard

On Sat, Jun 23, 2018 at 08:23:08 -0400,
  Jordan Glover <Golden_Miller83@protonmail.ch> wrote:
>Hi,
>
>I can't make wireguard work with linux 4.18-rc1 and mainline from
>06.22.2018.

It has been working for me. I use Fedora rawhide nodebug kernels and 
haven't noticed any problems with WireGuard. I build WireGuard from 
source (HEAD) when I switch kernels.

So you are probably going to need to provide more details to narrow 
things down.

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

* Re: Wireguard doesn't work with Linux 4.18-rc1
  2018-06-23 13:35 ` Bruno Wolff III
@ 2018-06-23 13:50   ` Jordan Glover
  2018-06-23 16:01     ` Jason A. Donenfeld
  0 siblings, 1 reply; 5+ messages in thread
From: Jordan Glover @ 2018-06-23 13:50 UTC (permalink / raw)
  To: Bruno Wolff III; +Cc: wireguard

On June 23, 2018 3:35 PM, Bruno Wolff III <bruno@wolff.to> wrote:

> On Sat, Jun 23, 2018 at 08:23:08 -0400,
>=20
> Jordan Glover Golden_Miller83@protonmail.ch wrote:
>=20
> > Hi,
> >=20
> > I can't make wireguard work with linux 4.18-rc1 and mainline from
> >=20
> > 06.22.2018.
>=20
> It has been working for me. I use Fedora rawhide nodebug kernels and
>=20
> haven't noticed any problems with WireGuard. I build WireGuard from
>=20
> source (HEAD) when I switch kernels.
>=20
> So you are probably going to need to provide more details to narrow
>=20
> things down.


Thx for the reply. I tested it with my custom kernel and with Manjaro
kernel on Archlinux.

Can you check if it works for you with 'ipv6.disable=3D1' boot param?

https://mirror.netzspielplatz.de/manjaro/packages/unstable/core/x86_64/linu=
x418-4.18rc1.0617.gce397d2-1-x86_64.pkg.tar.xz
https://mirror.netzspielplatz.de/manjaro/packages/unstable/core/x86_64/linu=
x418-headers-4.18rc1.0617.gce397d2-1-x86_64.pkg.tar.xz

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

* Re: Wireguard doesn't work with Linux 4.18-rc1
  2018-06-23 13:50   ` Jordan Glover
@ 2018-06-23 16:01     ` Jason A. Donenfeld
  2018-06-23 16:52       ` Jordan Glover
  0 siblings, 1 reply; 5+ messages in thread
From: Jason A. Donenfeld @ 2018-06-23 16:01 UTC (permalink / raw)
  To: Jordan Glover; +Cc: WireGuard mailing list

Working on it:

https://marc.info/?l=linux-netdev&m=152976958325076&w=2

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

* Re: Wireguard doesn't work with Linux 4.18-rc1
  2018-06-23 16:01     ` Jason A. Donenfeld
@ 2018-06-23 16:52       ` Jordan Glover
  0 siblings, 0 replies; 5+ messages in thread
From: Jordan Glover @ 2018-06-23 16:52 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

On June 23, 2018 6:01 PM, Jason A. Donenfeld <Jason@zx2c4.com> wrote:

> Working on it:
>=20
> https://marc.info/?l=3Dlinux-netdev&m=3D152976958325076&w=3D2

I can confirm that your patch fixes this issue. Thank you for help.

Jordan

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

end of thread, back to index

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-23 12:23 Wireguard doesn't work with Linux 4.18-rc1 Jordan Glover
2018-06-23 13:35 ` Bruno Wolff III
2018-06-23 13:50   ` Jordan Glover
2018-06-23 16:01     ` Jason A. Donenfeld
2018-06-23 16:52       ` Jordan Glover

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox