Commit Graph

11 Commits

Author SHA1 Message Date
Jeroen Leenarts 6346bad069 Better handling of CIDR values.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-03 21:34:51 +02:00
Jeroen Leenarts ce02b7a4c0 Do not try to resolve a valid ip address.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-03 10:39:04 +02:00
Jeroen Leenarts 0c1520d6f8 Convert DNS names to IP address.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-30 21:39:00 +02:00
Jeroen Leenarts 484bef1777 Clean up old school headers.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-16 21:17:54 +02:00
Jeroen Leenarts 1379d97bbe Switch copyright assignment from Jason to WireGuard LLC.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-06 07:42:23 +02:00
Jeroen Leenarts 5a7e67b53c Extend validators to work for DNS entries as well.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-16 22:41:45 +02:00
Jeroen Leenarts d341c8e8e8 Calculate and apply CIDR.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-16 21:26:24 +02:00
Eric Kuck b306149222 Added validation before saving any tunnels
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-08-15 17:34:16 -05:00
Jeroen Leenarts 91daed0c80 Improve validator for IPv6.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-15 22:52:37 +02:00
Jeroen Leenarts 15cb942368 Assign correct copyright.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-15 20:38:56 +02:00
Jeroen Leenarts 9037b90747 Add Validator for Endpoints.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-15 20:35:21 +02:00