| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1179 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
docbook-xsl stylesheets.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1178 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1177 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handle URI subjectAltNames.
(check_certificate, populate_cert): Adjust accordingly.
* test/ssl.c (uri_altname, fail_bad_urialtname): Add tests.
(cert_identities): Test the URI-altname cert.
* test/openssl.conf, test/makekeys.sh: Create new test certs.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1176 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
messages to omit trailing period.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1175 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
(fail_parse): Enable tests for ill-formed UTF-8.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1174 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
friendly_name handling in encrypted c.certs.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1173 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
now-redundant code on encrypted-cert path.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1172 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
PKCS#12 client certs with zero-length password.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1171 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
| |
iconv.
* src/ne_gnutls.c [HAVE_GNUTLS_X509_DN_GET_RDN_AVA]
(convert_dirstring, append_dirstring, ne_ssl_readable_dname):
Implement better RDN handling using GnuTLS 1.7.x interfaces.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1170 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1169 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
| |
CONNECT failure.
* test/ssl.c (auth_tunnel_fail): Add regression test for above.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1165 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
Meine.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1164 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1162 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
| |
NULL response header verification callback (patch from
dicuccio@comcast.net).
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1161 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1160 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
| |
strerror_r; always use a temp buffer and copy back to truncate rather
than fail for a short input buffer.
* test/string-tests.c (str_errors): Test for handling of bogus errno
values into too-short buffer.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1159 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
MD5 API.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1158 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
buffers to send() over loopback; send 8K at a time.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1156 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
| |
of Negotiate response header token, and set error message
on failure.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1155 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
for SSPI to prevent connection closure.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1154 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1153 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
| |
* src/ne_sspi.c: Define SECURITY_ENTRYPOINT if missing.
(base64ToBuffer): Fix cast.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1152 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
callbacks reflects the number of invocation of that callback only per
request:
* src/ne_auth.c (struct auth_handler): Add attempt field.
(get_credentials): Use per-handler attempt counter and post-increment
same.
(ah_create): Reset per-request attempt counters.
(auth_register): Initialize attempt counter.
* test/auth.c (fail_challenge): Add test for attempt handling
regression.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1132 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
| |
non-ASCII characters (CVE-2007-0157, Laszlo Boszormenyi).
* test/uri-tests.c (parse): Add test case.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1131 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1130 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
case where stale=true is given with an initial challenge; fix to not
leak sess->nonce for a valid stale challenge.
* test/auth.c (struct digest_parms): Add stale field, enum value.
(make_digest_header): Send stale=true as appropriate.
(serve_digest): Adjust to serve challenges with stale=true.
(digest): Add test for stale=true handling.
(digest_failures): Add test for error stale=true failure case.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1129 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
(open_connection): ...to here; and simplify slightly as a result.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1128 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/ne_auth.c (verify_digest_response): Reset nonce-count on receipt
of next-nonce parameter in A-I response header.
* test/auth.c (struct digest_parms): Add send_nextnonce, num_requests
fields.
(make_authinfo_header): Invent new nonce if send_nextnonce field is
set.
(serve_digest, test_digest): Handle num_requests requests.
(digest): Set new parameter fields; test for next-nonce handling.
(digest_failure): Set new paramater fields.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1126 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
failure to parse the nc paramater in an A-I response header.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1125 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
failures:
* src/ne_auth.c (struct auth_class): Add error_noauth field.
(struct auth_protocol): Pass errmsg buffers to challenge callback;
specify error message location for verify callback.
(challenge_error): New function.
(get_credentials, basic_challenge, continue_negotiate,
negotiate_challenge, digest_challenge): Take errmsg buffer; use
challenge_error on failure.
(verify_negotiate_response): Create errmsg buffer, pass to
continue_negotiate, and set session error string on failure.
(auth_challenge): Create error buffer and build error message during
challenge parsing.
* test/auth.c (digest_failures): Adjust for new error string.
(fail_cb, fail_challenge): Add tests for challenge parse failures.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1124 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1123 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
lack of lifetime requirement for passed-in objects.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1121 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1120 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/ne_socket.h (ne_sock_connect_timeout): New function.
(ne_sock_connect): Clarify timeout handling.
* src/ne_socket.c: Define USE_NONBLOCKING_CONNECT if appropriate.
Define NE_ISINPROGRESS.
(struct ne_socket_s): Add cotimeout field.
(timed_connect): New function.
(connect_socket): Renamed from raw_connect; use timed_connect; takes
socket structure and sets ->error string on failure.
(ne_sock_connect): Adapt to use connect_socket.
(ne_sock_connect_timeout): New function.
* src/ne_private.h (struct ne_session_s): Add cotimeout field.
* src/ne_session.h (ne_set_connect_timeout): New prototype...
* src/ne_session.c (ne_set_connect_timeout): ...implement it.
* src/ne_request.c (do_connect): Set socket timeout if appropriate.
* macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Check for fcntl, getsockopt,
fcntl.h and socklen_t.
* test/socket.c (connect_timeout): Add test (disabled by default).
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1119 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
(readable_raw): Use it.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1118 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
| |
* macros/neon-test.m4 (NE_FORMAT_TIMET): Factor out.
(NEON_TEST): Use it.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1109 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
in the .invalid TLD, reserved by RFC2606.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1104 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
to elicit an RST.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1103 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1102 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
| |
* macros/neon.m4: Drop _XOPEN_SOURCE_EXTENDED definition for
HP-UX.
* src/ne_socket.c: Use HAVE_DECL_H_ERRNO macro correctly.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1098 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1097 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
| |
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1096 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
strings.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1095 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/ne_session.h (ne_notify_status): Redefine callback type,
passing pointer to ne_session_status_info structure.
* src/ne_request.c (notify_status): Invoke notify callback, and
progress callback as appropriate.
(send_request_body, ne_read_response_block, lookup_host,
ne_begin_request, do_connect): Adjust to set up and invoke
the notify callback.
* src/ne_openssl.c (ne__negotiate_ssl): Drop notify callback
invocation.
* src/ne_private.h (struct ne_session_s): Store status union.
* macros/neon.m4: Define NE_FMT_NE_OFF_T.
* test/request.c (status_cb, status): Add new test.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1094 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
AUTH_FLAG_VERIFY_NON40x flag.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1093 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/ne_defs.h: Add ne_off_t typedef.
* src/ne_request.h (ne_set_request_body_fd64,
ne_set_request_body_provider64): Removed.
(ne_set_request_body_fd, ne_set_request_body_provider):
Take ne_off_t arguments.
* src/ne_internal.h: Move LFS definitions here...
* src/ne_request.c: ...from here.
(ne_set_request_body_fd64, ne_set_request_body_provider64): Removed.
(ne_set_request_body_fd, ne_set_request_body_provider): Adjust for
ne_off_t arguments.
* src/ne_basic.h (ne_get_range64): Removed prototype.
(ne_content_range): Use ne_off_t offsets.
* src/ne_basic.c (ne_get_range64): Removed function.
(ne_get_range): Adjust for ne_off_t offsets.
* test/largefile.c (send_high_offset, read_large_response): Adjust to
use normal interfaces. Save and restore debug mask.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1092 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add _XOPEN_SOURCE_EXTENDED=1 to CPPFLAGS for HP-UXes.
(LIBNEON_SOURCE_CHECKS): Remove _XOPEN_SOURCE_EXTENDED definition
here.
(NE_OS_MINGW, NE_MACOSX): Removed.
(NE_SEARCH_LIBS): Adjust for ne_cv_os_uname.
* src/ne_socket.c: Don't set _XOPEN_SOURCE_EXTENDED here.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1086 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
|
|
|
|
| |
use *.example.com.
* test/ssl.c (tunnel_server): New function.
(wildcard_match): Use a proxy to avoid using real hostnames.
(wildcard_init): Removed function.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1084 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|
|
|
|
|
|
|
| |
detected.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1080 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
|