diff options
author | Werner Koch <wk@gnupg.org> | 2015-10-26 14:35:41 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-10-26 14:35:41 +0100 |
commit | 4061ac57ca84a1e0ed779096897a160d49b50c03 (patch) | |
tree | 74d40a22099a305d5dea25f9de5c4d1913fdc3eb /NEWS | |
parent | 85ece74a11718338dcd76d6e43ea8100183df02f (diff) | |
download | libassuan-4061ac57ca84a1e0ed779096897a160d49b50c03.tar.gz |
Support hostname based SOCKS5 connection.
* src/assuan.h.in (ASSUAN_SOCK_SOCKS): New.
(ASSUAN_SOCK_TOR): New.
(assuan_sock_connect_byname): New.
* src/libassuan.def, src/libassuan.vers: Add that function.
* src/assuan-socket.c (socks5_connect): Add args socksport,
credentials, hostname, and hostport. Implement user/password
authentication and domainname address type. Change callers
accordingly.
(_assuan_sock_connect_byname): New.
(assuan_sock_connect_byname): New.
* tests/socks5.c (main): Add options --byname, --user, and --pass.
--
The assuan_sock_connect_byname may eventually be extended to work
without Tor or SOCKS by using getaddrinfo. Or we move that all to
libgpgrt (aka libgpg-error).
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,6 +1,18 @@ -Noteworthy changes in version 2.3.1 (unreleased) [C6/A6/R_] +Noteworthy changes in version 2.4.0 (unreleased) [C6/A6/R_] ------------------------------------------------ + * New flags "socks" and "tor-mode" for assuan_sock_{set,get}_flag. + + * New function assuan_sock_connect_byname. + + * Interface changes relative to the 2.3.0 release: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + assuan_sock_connect_byname NEW. + ASSUAN_SOCK_TOR NEW. + ASSUAN_SOCK_SOCKS NEW. + assuan_sock_set_flag EXTENDED. + assuan_sock_get_flag EXTENDED. + Noteworthy changes in version 2.3.0 (2015-08-28) [C6/A6/R0] ------------------------------------------------ |