WireGuard Archive on lore.kernel.org
 help / Atom feed
* Minor differences in config parsing, wg-quick and Android
@ 2018-11-24  9:10 Jaseem Abid
  2018-12-07  5:00 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Jaseem Abid @ 2018-11-24  9:10 UTC (permalink / raw)
  To: wireguard

[-- 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

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

* Re: Minor differences in config parsing, wg-quick and Android
  2018-11-24  9:10 Minor differences in config parsing, wg-quick and Android Jaseem Abid
@ 2018-12-07  5:00 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2018-12-07  5:00 UTC (permalink / raw)
  To: Jaseem Abid; +Cc: WireGuard mailing list

We'll have this fixed shortly. Thanks for pointing it out.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-24  9:10 Minor differences in config parsing, wg-quick and Android Jaseem Abid
2018-12-07  5:00 ` Jason A. Donenfeld

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