<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 2, 2022, 00:23 Ondrej Zajicek <<a href="mailto:santiago@crfreenet.org">santiago@crfreenet.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Jan 01, 2022 at 10:07:12PM +0100, Alexander Zubkov wrote:<br>
> Hi,<br>
> <br>
> I found a funny bug, when made some tests. I found out that if you try<br>
> to give bird a full-length IPv6-address, like:<br>
> ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff<br>
> 1111:2222:3333:4444:5555:6666:7777:8888<br>
> You will get an error: "syntax error, unexpected BYTESTRING".<br>
<br>
Hi<br>
<br>
Thanks for remainding me about that issue. I noticed that some time ago,<br>
fixed it in one of my private branches and then completely forgot about<br>
that. Will merge it.<br>
<br>
> I find it happens in conf/cf-lex.l because of how BYTESTRING is<br>
> defined before IP6, it is too liberal to the forms of bytestrings,<br>
> allowing almost arbitrary mix of ':' and digits. I suspect the idea<br>
> was it allow 32-digit strings without delimters or with groups of 2<br>
> digits delimited by ':'. See proposed changes in the patch. By the<br>
> way, that possibility for string literals is not documented. :)<br>
<br>
The idea is 32-digit or more. Also, it is not generic string literals,<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><div dir="auto">Ok, then my patch is not fully correct, but you know what to do anyway. :)</div></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
it is limited to cryptographic keys, and documented:<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You are right. Sorry, my bad, missed that part.<br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
A password can also be specified as a hexadecimal key. <m/hex_key/ is a<br>
sequence of hexadecimal digit pairs, optionally colon-separated. A key<br>
specified this way must be at least 16 bytes (32 digits) long (although<br>
specific algorithms can impose other restrictions).<br>
<br>
-- <br>
Elen sila lumenn' omentielvo<br>
<br>
Ondrej 'Santiago' Zajicek (email: <a href="mailto:santiago@crfreenet.org" target="_blank" rel="noreferrer">santiago@crfreenet.org</a>)<br>
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, <a href="http://wwwkeys.pgp.net" rel="noreferrer noreferrer" target="_blank">wwwkeys.pgp.net</a>)<br>
"To err is human -- to blame it on a computer is even more so."<br>
</blockquote></div></div></div>