aboutsummaryrefslogtreecommitdiff
path: root/slides/2021-swits/img/log-request.tex
blob: 08edf87fac0b596f2cb2732756ea6f060194db1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
\begin{tikzpicture}[
	-latex,
	entity/.style = {
		draw = gray!30,
		thick,
		rounded rectangle,
		fill = white,
		minimum width = 2cm,
		font = \fontsize{8}{8}\selectfont,
		text = white,
	},
	relation/.style = {
		draw = none,
		font = \fontsize{6}{6}\selectfont,
	},
	path/.style = {
		draw,
		thick,
		-latex,
	},
]
	\node[entity, fill=darkBlue] (Publisher) at (0,0) { Publisher };
	\node[entity, fill=darkGreen, below=1.5cm of Publisher] (DNS) {DNS};
	\node[entity, fill=darkOrange, left=1.5cm of Publisher] (Log) {Log};

	% Setup DNS
	\path[path, dashed] (Publisher) --
			node[relation, right] {TXT RR}
		(DNS);
	
	\path[path] (Publisher) edge[bend right]
			node[relation, above] {
				Key-value pairs
			}
		(Log);
	\path[path] (Log) edge[bend right]
			node[relation,below] {
				accept/reject
			}
		(Publisher);
	
	\path[path, rounded corners] (Log) |-
			node[relation,below,pos=.75]{
				verify TXT RR
			}
		(DNS);
\end{tikzpicture}