• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

ca-roots/22-Nov-2023-4,7263,578

dbus/22-Nov-2023-11196

etc/22-Nov-2023-2518

init/22-Nov-2023-3420

m4/22-Nov-2023-476450

man/22-Nov-2023-286259

src/22-Nov-2023-11,9969,096

systemd/22-Nov-2023-119

tests/22-Nov-2023-183111

.gitD01-Jan-19700

.gitignoreD22-Nov-2023451 4140

.travis.ymlD22-Nov-2023305 1312

AUTHORSD22-Nov-2023146 54

Android.mkD22-Nov-20232.7 KiB9971

CHANGELOGD22-Nov-20238.5 KiB169167

HACKING.mdD22-Nov-20232.7 KiB10963

HARDENINGD22-Nov-20233.2 KiB7754

INSTALLD22-Nov-20236.5 KiB218158

LICENSED22-Nov-20232.4 KiB5239

MODULE_LICENSE_BSD_LIKED22-Nov-20230

Makefile.amD22-Nov-20234.1 KiB150111

Makefile.androidD22-Nov-20232.4 KiB7746

NOTICED22-Nov-20232.4 KiB5239

READMED22-Nov-20231.5 KiB4828

TLSDATEPOOLD22-Nov-20231.4 KiB3223

TODOD22-Nov-20231.9 KiB4336

apparmor-profileD22-Nov-20234.2 KiB201162

autogen.shD22-Nov-2023485 3321

config.hD22-Nov-20237.5 KiB30477

configure.acD22-Nov-202324.4 KiB605552

events.dotD22-Nov-20231.7 KiB5951

mkfileD22-Nov-2023369 138

run-testsD22-Nov-20231 KiB4941

test.confD22-Nov-202349 32

tlsdate-brew-formula.rbD22-Nov-2023782 2821

tlsdate-seccomp-amd64.policyD22-Nov-2023729 4948

tlsdate-seccomp-arm.policyD22-Nov-2023777 5150

tlsdate-seccomp-x86.policyD22-Nov-2023659 4847

README

1tlsdate: secure parasitic rdate replacement
2
3 tlsdate sets the local clock by securely connecting with TLS to remote
4 servers and extracting the remote time out of the secure handshake. Unlike
5 ntpdate, tlsdate uses TCP, for instance connecting to a remote HTTPS or TLS
6 enabled service, and provides some protection against adversaries that try to
7 feed you malicious time information.
8
9On Debian GNU/Linux and related systems, we provide an init.d script that
10controls the tlsdated daemon. It will notice network changes and regularly
11invoke tlsdate to keep the clock in sync. Start it like so:
12
13  /etc/init.d/tlsdate start
14
15
16Here is an example an unprivileged user fetching the remote time:
17
18  % tlsdate -V -n -H encrypted.google.com
19  Fri Apr 19 17:56:46 PDT 2013
20
21
22This is an example run - starting as root and dropping to nobody, setting the
23clock and printing it:
24
25  % sudo tlsdate -V
26  Fri Apr 19 17:57:49 PDT 2013
27
28
29Here is an example with a custom host and custom port without verification:
30
31  % sudo tlsdate --skip-verification -p 80 -H rgnx.net
32
33Here is an example where a system may not have any kind of RTC at boot. Do the
34time warp to restore sanity and do so with a leap of faith:
35
36  % sudo tlsdate -V -l -t
37  Fri Apr 19 18:08:03 PDT 2013
38
39
40Some SSL/TLS services do not provide accurate time in their handshake process;
41tlsdate may also be used to fetch time by processing the HTTP Date headers of
42HTTP services:
43
44  % sudo tlsdate -V -l -t -w
45  Wed Oct 30 18:08:46 CET 2013
46
47
48