Willem Toorop
aaebeff9e2
Merge branch 'develop' into v0.2.0
2015-05-19 12:30:20 +02:00
Willem Toorop
0ac1a0da82
Merge branch 'master' into develop
2015-05-19 12:29:52 +02:00
wtoorop
6475e5d0ea
Merge pull request #99 from anthonykirby/master
...
docs: clarify how extensions are specified
Absolutely, thanks Anthony
2015-05-19 12:29:16 +02:00
Anthony Kirby
7c0268b42c
docs: clarify how extensions are specified
...
The way that extensions are described in documentation can make it appear to a naive user that they are function names. Quoting the strings makes it clearer that they are just strings.
(it's obvious in retrospect, but I needed to look at the source to get this)
2015-05-19 11:07:20 +01:00
Willem Toorop
71fa069f3b
Enlist Rushi in contributors section.
2015-05-14 09:13:06 +02:00
Willem Toorop
f78ad93853
Update Makefile's, constants and symbols
2015-05-13 23:30:14 +02:00
Willem Toorop
e6f28d62b3
Stable native stub, so version 0.2.0
2015-05-13 23:24:36 +02:00
wtoorop
06a3105dd6
Merge pull request #98 from saradickinson/bugfix/starttls
...
Fix intermittent crash for STARTTLS
2015-05-13 19:41:38 +02:00
Sara Dickinson
894cb1555b
Fix intermittent crash for STARTTLS
2015-05-13 17:15:56 +01:00
Willem Toorop
98b3364b65
uniform debugging method + disable stub debugging
2015-05-13 12:47:17 +02:00
Willem Toorop
011b504496
Fix misplaced freeaddrinfo
2015-05-13 12:39:24 +02:00
Willem Toorop
5d97f9d496
Thanks Robert Edmonds
2015-05-12 21:15:35 +02:00
Willem Toorop
80865e0e88
Preparing for a new minor release...
2015-05-12 20:53:03 +02:00
Willem Toorop
b89b625321
autoreconf -fi on FreeBSD to get libtool 2.4.6
2015-05-12 20:47:23 +02:00
Willem Toorop
a6f2a0c6c4
libversion based on ABI not API
2015-05-12 17:09:25 +02:00
wtoorop
802c693ee5
Merge pull request #97 from saradickinson/features/async_tls
...
Features/async tls
Thank you Sara!
2015-05-12 17:05:10 +02:00
saradickinson
3ac5e660f9
Address few minor bugs pointed out by willem
2015-05-11 22:01:31 +02:00
Willem Toorop
35b73f5107
Mention run once
2015-05-11 13:24:39 +02:00
Willem Toorop
01d4275336
Run once with libevent!
2015-05-08 13:12:06 +02:00
Sara Dickinson
9a7bfdd45b
Add trivial stub_debug functions.
2015-05-03 15:39:21 +01:00
Sara Dickinson
9d967317d3
Improve the timeout handling for TLS.
2015-05-03 15:11:46 +01:00
Sara Dickinson
01adce8299
Organise code in stub.c and add some utility methods.
2015-05-02 18:08:45 +01:00
Sara Dickinson
d6d83b219d
Make sure UDP only uses 1 upstream per IP address. Fix a couple of other bugs.
2015-04-30 19:07:49 +01:00
Sara Dickinson
450a3bc6ff
Fix STARTTLS fallback.
2015-04-30 14:52:16 +01:00
Sara Dickinson
7905eda8b7
Some clean up of connection handling. Still a problem with STARTTLS fallback that needs fixing.
2015-04-30 12:24:13 +01:00
Willem Toorop
393b847668
autoreconf + ChangeLog for Daniel's libversion fix
2015-04-30 11:57:32 +02:00
Daniel Kahn Gillmor
f61a3d0fce
Fix libversion numbering
...
Version 0.1.7 built libgetdns.so.0 instead of libgetdns.so.1. This
broke anything depending on the package keeping the same SONAME from
0.1.6 to 0.1.7.
The problem stems from a broken libversion in upstream's configure.ac.
This is worked around in 0.1.8 by another change to GETDNS_LIBVERSION,
but the change isn't correct either, since interfaces have been added
again (in partcular, the GETDNS_TRANSPORT_TLS_* constants have been
added, which affects the API at least, for tools trying to compile
against the newer version).
Note that the commentary in configure.ac about how to update
libversion is correct up to a point, but then breaks things badly.
This patch removes that as well.
Here is the canonical reference for how to update libversion:
https://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
2015-04-30 11:33:39 +02:00
Sara Dickinson
79b3412fbf
Add another transport option as proof of concept for STARTTLS.
2015-04-29 19:20:25 +01:00
Sara Dickinson
b533bc59c5
Fix bug when fallback not available
2015-04-27 16:37:16 +01:00
Sara Dickinson
4e6e66fc77
Get sync messages working with new async code.
2015-04-27 15:32:57 +01:00
Sara Dickinson
3de15ad782
Change internal transport handling to use a list, not a fixed type
2015-04-24 16:29:08 +01:00
Sara Dickinson
f2ae55858f
First pass at making handshake async. Lots of issues with this code still
...
- timeouts are not being rescheduled on fallback
- several error cases are not being handled correctly (e.g. 8.8.8.8) and a user callback is not always called
- the fallback mechanism is not generic (specific to tls to tcp)
2015-04-23 17:46:31 +01:00
Willem Toorop
29b378ab16
release v0.1.8
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJVNB2sAAoJEOX4+CEvd6SYQVkP/1AgRoUw+5BM6gm+z5J4heXg
W9EpICfKn2BTC8JVwVOzA3LHJZ95tosNv+fy0faK0n7jByvT4ySl4V/k2W9JSd/S
bhDR5A1zyfYJdLTDONdkwXki9H90MW69lRGfh+zb0VHzFwi/10xQqYlUatF0IxY3
Vg4L0PBaUC4UsQevjJNxDJQkr4Q5hJph9jLyij7Zfty/rqjDIZoQpZgMeoZIr9xI
v51lnlG0ss6lnSRUkM1Nta3mFsXhTDNAhe8/pPUP+lWXceXqCWK63vJGf6Lp3LN4
gw/COsGnQdiUIbfRGWWGXuqG4c52SAK+ZE9D01bOeLJHw2S8IuA8oFvXdwfGcvYQ
/gax26lguWk4IrgWIHTRalZJbn+mTNG/DXqrpOuw+BWp3prdoJmyvtOc0rLX1OB2
ueDDphPg/kSiSknnMmrUgHC2elWewsZCFhx5Umy149ONQK85AQ08DAtJP5dHsXzi
Om/wuvbuzhoHtPV9YZZYcTa6uSVWaMLHLVJ5K9ifTJEvIKk4pVwbsFS5XIZAVEig
yGmSsngTQP4w3LdFZSCk3FRu0D+y60sG++Gs1X2X+TsLP/6ZoOL0lYEkPwGfHsvL
dhgG+iNUgSKmLwrpyI7c1DD1ZlpZluomjQQ5evfogHOmZC22AJvuNQI6hJY1pvXQ
AU+pzxUfo8947+nEJxMR
=qFXQ
-----END PGP SIGNATURE-----
Merge tag 'v0.1.8'
release v0.1.8
2015-04-19 23:28:49 +02:00
Willem Toorop
6d4c0afdeb
Correct library version bump
...
Also the mistake in the last version
2015-04-19 22:07:11 +02:00
Willem Toorop
034150cb42
Bump version & update ChangeLog for 0.1.8 release
2015-04-19 21:36:24 +02:00
Willem Toorop
2a6fc74314
netinet/in.h and openssl/ssl.h from config.h
2015-04-18 22:30:56 +02:00
Willem Toorop
0ba6af3523
upstreams_cleanup from upstreams_dereference
2015-04-18 22:17:28 +02:00
Willem Toorop
84c5b67ee0
Re-enable printing of json with getdns_query
2015-04-18 09:53:50 +02:00
Willem Toorop
b26f09d1aa
autoreconf -if # For convenience...
2015-04-18 09:35:46 +02:00
Sara Dickinson
6c7ffc4e4e
1) Fix enum mapping error.
...
2) Also add detection of TLS 1.2 in openssl during configure and warn that it if not available then TLS will not be available. Using TLS_ONLY in stub mode will then error with BAD_CONTEXT. TLS/TCP will fallback to TCP.
3) Explicitly disallow use of TLS_ONLY in RECURSIVE mode since it isn't supported yet. TLS/TCP will fallback to TCP.
4) Fix for MAC OS X build where openssl not linked correctly
2015-04-17 18:38:13 +01:00
Sara Dickinson
ab4fb8d9e9
Enable GETDNS_TRANSPORT_TLS_ONLY_KEEP_CONNECTIONS_OPEN for libunbound. Should only be used in stub mode.
...
GETDNS_TRANSPORT_TLS_FIRST_AND_FALL_BACK_TO_TCP_KEEP_CONNECTIONS_OPEN still just does TCP.
Also some tidy up of new transport types.
2015-04-17 15:50:08 +01:00
Sara Dickinson
99c1973fae
Cleanup of TLS code
2015-04-16 18:05:51 +01:00
saradickinson
99aa79b48f
First pass at TLS implementation - needs work!
2015-04-16 18:05:27 +01:00
Willem Toorop
793423b325
Release 0.1.7 today
2015-04-08 21:08:36 +02:00
Willem Toorop
954676b121
Bump versino to 0.1.7 release
2015-04-08 15:42:03 +02:00
Willem Toorop
b163ad1870
Doxygen documentation for the new functions
2015-04-08 15:36:12 +02:00
Willem Toorop
830e0267b3
Fix ASSERT_RC macro with check_getdns
2015-04-03 00:15:32 +02:00
Willem Toorop
c63bbd1399
s/getdns_strerror/getdns_get_errorstr_by_id/g
...
In the unit tests make use of the newly exposed error string getter
2015-04-02 23:08:35 +02:00
Willem Toorop
7bf48520d6
0.1.7 release candidate 2
2015-04-02 22:12:23 +02:00
Willem Toorop
87eb9307a7
A getter for context update callbacks
2015-04-02 22:01:30 +02:00