From: ae <aeforeve@mail.ru>
To: "Roelf \\\"rewbycraft\\\" Wichertjes" <mailings+wireguard@roelf.org>
Cc: wireguard@lists.zx2c4.com
Subject: Re[2]: problem wireguard + ospf + unconnected tunnels
Date: Tue, 04 Jul 2017 20:10:07 +0300 [thread overview]
Message-ID: <1499188207.518000711@f408.i.mail.ru> (raw)
In-Reply-To: <740cb9af-aba8-c610-c1b7-0a7c69396e46@roelf.org>
[-- Attachment #1: Type: text/plain, Size: 2346 bytes --]
>Вторник, 4 июля 2017, 20:56 +05:00 от "Roelf \"rewbycraft\" Wichertjes" < mailings+wireguard@roelf.org >:
>
>From what you said, I surmise the following setup:
>- Three devices, A, B and C.
>- A talks ospf to B over wireguard.
>- A talks ospf to C over wireguard.
>- The connection between A and C has gotten interrupted. (maybe C is a
>laptop)
>- The error causes the entire ospf process to fail for all interfaces.
> In other words: A will suddenly also stop talking B when the
>connection A<->C fails?
Not at all
A-B normally installed tunnels
A-C with never working tunnel - there was no connection setup never
Both tunnels are described with a direct indication of the other side's feast (ip port)
There is a blocking of the work of the demon's ospfd - because of "No buffer space available"
Ospf uses ONE socket to send its message to all interfaces - and this socket is blocked due to buffer overflow - which occurs when it sends packets to a non-starting tunnel
>
>If I am correct in that, there are a few things to note:
> - The "No buffer space available" error is normal from wireguard when
>an interface cannot reach the peer.
Can and normal - but it blocks ospfd - and as a result to use them together is simply impossible
Would he rather have dropped them?
>
> - A single "failing" interface shouldn't kill the ospf process for all
>interfaces.
not kill - blocked yes
>
> - This sounds more like a quagga problem, as I have a similar setup (I
>use my laptop for device C in my case) except I use the BIRD routing
>daemon instead of quagga (and this setup works fine for me).
This is a problem with vireguard
No other tunnels - I did not allow myself to do this
About the inability to reach the addressee - packets just drop out
But here he accumulates and accumulate ....
>
>Of course, before any definitive conclusions can be made, we'll need a
>bit more information. Could you possibly provide us with the following
>pieces of information:
> - What distribution are you using?
debian9
>
> - What kernel (version) are you using?
4.9.30-2+deb9u2
>
> - What wireguard version are you using?
wireguard-0.0.20170613-1
>
> - What quagga version are you using?
0.99.23.1-1+deb8u3
>
> - Please provide the kernel logs.
empty
>
> - Please provide the quagga logs.
empty
[-- Attachment #2: Type: text/html, Size: 5282 bytes --]
next prev parent reply other threads:[~2017-07-04 16:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-03 21:09 ae
2017-07-04 15:55 ` Roelf "rewbycraft" Wichertjes
2017-07-04 17:10 ` ae [this message]
2017-07-07 15:08 ` Roelf "rewbycraft" Wichertjes
2017-07-07 15:47 ` Re[2]: " ae
2017-07-10 0:46 ` Jason A. Donenfeld
2017-07-10 17:06 ` Re[2]: " ae
2017-07-10 17:09 ` Jason A. Donenfeld
2017-07-10 17:26 ` Re[4]: " ae
2017-07-08 14:21 ` Indefinite queuing for unconnected peers (Was: problem wireguard + ospf + unconnected tunnels) Baptiste Jonglez
2017-07-08 18:51 ` Roelf "rewbycraft" Wichertjes
2017-07-10 0:53 ` 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=1499188207.518000711@f408.i.mail.ru \
--to=aeforeve@mail.ru \
--cc=mailings+wireguard@roelf.org \
--cc=wireguard@lists.zx2c4.com \
/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 NNTP newsgroup(s).