]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Modified ip_or_dns_addr_safe, which validates pulled DNS names,
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Sat, 6 Sep 2008 10:43:31 +0000 (10:43 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Sat, 6 Sep 2008 10:43:31 +0000 (10:43 +0000)
commitb4b5c311d376cd499dfeea146f0b448910700562
tree4cf7a01a76e4344d6d5a052090b33d903299a2a3
parentb8fb090c167ff500a8d702f612a42914d4f0bb03
Modified ip_or_dns_addr_safe, which validates pulled DNS names,
to more closely conform to RFC 3696:

* DNS name length must not exceed 255 characters

* DNS name characters must be limited to alphanumeric,
  dash ('-'), and dot ('.')

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3312 e7ae566f-a301-0410-adde-c780ea21d3b5
socket.c
socket.h