Typos
This commit is contained in:
1 parent
b1bde561bd
commit
9f25726bc2
1 file changed
+4
-4
@@ -84,7 +84,7 @@ UDP packet.
|
|||||||
The meta data for each frame contains the names of the capturing and
|
The meta data for each frame contains the names of the capturing and
|
||||||
destination peers. Since the name of the capturing peer name is
|
destination peers. Since the name of the capturing peer name is
|
||||||
associated with the source MAC of the captured payload, it allows
|
associated with the source MAC of the captured payload, it allows
|
||||||
receivings peers to build up their mappings of which client MAC
|
receiving peers to build up their mappings of which client MAC
|
||||||
addresses are local to which peers. The destination peer name enables
|
addresses are local to which peers. The destination peer name enables
|
||||||
the receiving peer to identify whether this frame is destined for
|
the receiving peer to identify whether this frame is destined for
|
||||||
itself or whether it should be forwarded on to some other peer,
|
itself or whether it should be forwarded on to some other peer,
|
||||||
@@ -93,7 +93,7 @@ intermediate peer has no knowledge of the destination MAC: only the
|
|||||||
original capturing peer needs to determine the destination peer from
|
original capturing peer needs to determine the destination peer from
|
||||||
the MAC. This way weave peers never need to exchange the MAC addresses
|
the MAC. This way weave peers never need to exchange the MAC addresses
|
||||||
of clients and need not take any special action for ARP traffic and
|
of clients and need not take any special action for ARP traffic and
|
||||||
MACs discovery.
|
MAC discovery.
|
||||||
|
|
||||||
### Crypto
|
### Crypto
|
||||||
|
|
||||||
@@ -162,12 +162,12 @@ size or latency is not a major concern, so the potentially substantial
|
|||||||
increase in length of messages by prepending the full nonce, or the
|
increase in length of messages by prepending the full nonce, or the
|
||||||
cost of generating a fresh random nonce for each message is not
|
cost of generating a fresh random nonce for each message is not
|
||||||
considered likely to cause problems. The random nonces are created by
|
considered likely to cause problems. The random nonces are created by
|
||||||
crypto library's rand module, which implements a cryptographically
|
the go `crypto/rand` package, which implements a cryptographically
|
||||||
secure pseudorandom number generator.
|
secure pseudorandom number generator.
|
||||||
|
|
||||||
#### UDP
|
#### UDP
|
||||||
|
|
||||||
UDP connection carry captured traffic between peers. For a UDP packet
|
UDP connections carry captured traffic between peers. For a UDP packet
|
||||||
sent between peers that are using crypto, the encapsulation looks as
|
sent between peers that are using crypto, the encapsulation looks as
|
||||||
follows:
|
follows:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user