Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Jaseem Abid <jaseemabid@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: Minor differences in config parsing, wg-quick and Android
Date: Sat, 24 Nov 2018 09:10:08 +0000	[thread overview]
Message-ID: <CAH-tXsAsoyn+ye8cyC5Y5RGKBoExLGGY6NFKpG8GSGpHtkdDmw@mail.gmail.com> (raw)


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

Hello list,

I noticed that the config keys like Endpoint, AllowedIPS etc are case
insensitive in the C implementation because of strncasecmp but it's not the
case with the android app. The keys are silently ignored while the
configuration is imported in android while it works as expected with
wg-quick.

Is this intended behaviour? If not, which behaviour is preferred?

-- 
Regards,

Jaseem Abid
https://twitter.com/jaseemabid

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

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

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

             reply	other threads:[~2018-12-06 23:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-24  9:10 Jaseem Abid [this message]
2018-12-07  5:00 ` 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=CAH-tXsAsoyn+ye8cyC5Y5RGKBoExLGGY6NFKpG8GSGpHtkdDmw@mail.gmail.com \
    --to=jaseemabid@gmail.com \
    --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).