diff options
author | \033]2;Jacob Appelbaum\007 <jacob@appelbaum.net> | 2015-05-23 17:08:50 +0000 |
---|---|---|
committer | \033]2;Jacob Appelbaum\007 <jacob@appelbaum.net> | 2015-05-23 17:08:50 +0000 |
commit | f01d27fc8143c5b0dab09ba2d0ac3dead6028e98 (patch) | |
tree | c52f2580e511561af97fbf81bcd8fe054e2ec94f | |
parent | fd04f48ed60eb773c8e34d27ef2ee12ee7559a41 (diff) | |
parent | 2049a7c43f591b490a9840454c272a8629cd1356 (diff) | |
download | tlsdate-f01d27fc8143c5b0dab09ba2d0ac3dead6028e98.tar.gz |
Merge pull request #174 from d1b/switch_default_host_to_google
Switch from www.ptb.de which is sending a randomised time to google.com.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | etc/tlsdated.conf | 2 | ||||
-rw-r--r-- | man/tlsdate.1 | 2 | ||||
-rw-r--r-- | src/tlsdate.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index baeb592..1573a7b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -126,7 +126,7 @@ update_ca_root_data: rm ca-roots/certdata.txt test_run: - ./src/tlsdate-helper www.ptb.de 443 tlsv1 racket verbose ca-roots/tlsdate-ca-roots.conf dont-set-clock showtime no-fun holdfast none + ./src/tlsdate-helper google.com 443 tlsv1 racket verbose ca-roots/tlsdate-ca-roots.conf dont-set-clock showtime no-fun holdfast none BUILT_SOURCES+= src/configmake.h noinst_HEADERS+= src/configmake.h diff --git a/etc/tlsdated.conf b/etc/tlsdated.conf index 6b3b9be..ca42029 100644 --- a/etc/tlsdated.conf +++ b/etc/tlsdated.conf @@ -18,7 +18,7 @@ wait-between-tries 10 # Host configuration. source - host www.ptb.de + host google.com port 443 proxy none end diff --git a/man/tlsdate.1 b/man/tlsdate.1 index 85011dc..b052e48 100644 --- a/man/tlsdate.1 +++ b/man/tlsdate.1 @@ -25,7 +25,7 @@ Print the help message .IP "\-s | \-\-skip\-verification" Skip certificate verification .IP "\-H | \-\-host [hostname|ip]" -Set remote hostname (default: 'www.ptb.de') +Set remote hostname (default: 'google.com') .IP "\-n | \-\-dont\-set\-clock" Do not set the system clock to the time of the remote server .IP "\-p | \-\-port [port]" diff --git a/src/tlsdate.h b/src/tlsdate.h index 1cf8214..52305eb 100644 --- a/src/tlsdate.h +++ b/src/tlsdate.h @@ -24,7 +24,7 @@ #include "src/rtc.h" -#define DEFAULT_HOST "www.ptb.de" +#define DEFAULT_HOST "google.com" #define DEFAULT_PORT "443" #define DEFAULT_PROXY "none" #define DEFAULT_PROTOCOL "tlsv1" |