arti/crates
Nick Mathewson 3885a2c05b tor-proto: add a backend to detect reported clock skew.
NETINFO cells, which are sent in every handshake, may contain
timestamps.  This patch adds an accessor for the timestamp in the
Netinfo messages, and teaches the tor-proto code how to compute the
minimum clock skew in the code.

The computation isn't terribly precise, but it doesn't need to be:
Tor should work fine if your clock is accurate to within a few
hours.

This patch also notes a Y2038 problem in the protocol: see
torspec#80.

Part of #405.
2022-03-23 08:24:36 -04:00
..
arti fix typos and minor issues 2022-03-14 21:16:56 +01:00
arti-bench arti-bench: don't allocate a separate receive-buffer for each job 2022-03-08 16:41:06 -05:00
arti-client actually add DNS support 2022-03-14 21:04:38 +01:00
arti-config add udp to runtime 2022-03-14 20:59:33 +01:00
arti-hyper Replace manual Clone impl with educe in arti-hyper 2022-03-02 18:06:37 +00:00
arti-testing add udp to runtime 2022-03-14 20:59:33 +01:00
caret Refrain from replacing manual with educe Debug impl in caret 2022-03-02 18:06:37 +00:00
retry-error Replace manual Clone impl with std derive in retry-error 2022-03-02 17:04:07 +00:00
tor-basic-utils Revert "humantime_serde_option: New module in tor-basic-utils" 2022-03-14 10:33:59 +00:00
tor-bytes Move skip_fmt into tor-basic-utils 2022-03-04 11:45:24 +00:00
tor-cell tor-proto: add a backend to detect reported clock skew. 2022-03-23 08:24:36 -04:00
tor-cert Merge branch 'clippy-allow-arc-clone' into 'main' 2022-03-01 20:38:05 +00:00
tor-chanmgr tor-proto: add a backend to detect reported clock skew. 2022-03-23 08:24:36 -04:00
tor-checkable Merge branch 'clippy-allow-arc-clone' into 'main' 2022-03-01 20:38:05 +00:00
tor-circmgr Use new upstream humantime_serde_option feature 2022-03-14 10:33:59 +00:00
tor-config Merge branch 'config-no-retcon' into 'main' 2022-03-10 14:47:01 +00:00
tor-consdiff Merge branch 'clippy-allow-arc-clone' into 'main' 2022-03-01 20:38:05 +00:00
tor-dirclient Replace manual Default and new with std derive in tor-dirclient 2022-03-02 18:01:08 +00:00
tor-dirmgr Merge branch 'missing_shrink_to_fit' into 'main' 2022-03-14 13:20:57 +00:00
tor-error Provide ErrorKind::Other 2022-03-04 17:35:34 +00:00
tor-events Merge branch 'clippy-allow-arc-clone' into 'main' 2022-03-01 20:38:05 +00:00
tor-guardmgr humantime: Update to humantime-serde 1.1.1 2022-03-14 10:33:59 +00:00
tor-linkspec Merge branch 'clippy-allow-arc-clone' into 'main' 2022-03-01 20:38:05 +00:00
tor-llcrypto Add a from_hex method for RsaIdentity. 2022-03-04 08:55:34 -05:00
tor-netdir Derive Deserialize for derive-builder-generated config builders 2022-03-07 15:58:53 +00:00
tor-netdoc Merge branch 'main' into 'intern-more' 2022-03-14 14:19:44 +00:00
tor-persist Merge branch 'clippy-allow-arc-clone' into 'main' 2022-03-01 20:38:05 +00:00
tor-proto tor-proto: add a backend to detect reported clock skew. 2022-03-23 08:24:36 -04:00
tor-protover Canonicalize and intern protover lines on descriptors 2022-03-11 16:56:12 -05:00
tor-rtcompat add simple unit test on UDP 2022-03-14 21:19:20 +01:00
tor-rtmock add udp to runtime 2022-03-14 20:59:33 +01:00
tor-socksproto Merge branch 'clippy-allow-arc-clone' into 'main' 2022-03-01 20:38:05 +00:00
tor-units Merge branch 'clippy-allow-arc-clone' into 'main' 2022-03-01 20:38:05 +00:00