diff options
author | Frank Lichtenheld | 2024-01-17 10:08:39 +0100 |
---|---|---|
committer | Gert Doering | 2024-01-17 10:52:01 +0100 |
commit | 6e010d4824b7251d817cf1770e80f186000b99ae (patch) | |
tree | 68d42ca180ca5d6bf24ce0ce9d25de06f02a8400 /.gitignore | |
parent | a021de2aabb21a24c7b69aaae1c710a9b6fee429 (diff) | |
download | openvpn-6e010d4824b7251d817cf1770e80f186000b99ae.zip openvpn-6e010d4824b7251d817cf1770e80f186000b99ae.tar.gz |
NTLM: increase size of phase 2 response we can handle
With NTLMv2 the target information buffer can be rather large
even with normal domain setups.
In my test setup it was 152 bytes starting at offset 71.
Overall the base64 encode phase 2 response was 300 byte long.
The linked documentation has 98 bytes at offset 60. 128 byte
is clearly too low.
While here improve the error messaging, so that if the buffer
is too small at least one can determine that in the log.
Change-Id: Iefa4930cb1e8c4135056a17ceb4283fc13cc75c8
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20240117090840.32621-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28040.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions