@@ -537,10 +537,10 @@ containers, these are abbreviated in the sequence diagram below as follows:
537
537
``` mermaid
538
538
sequenceDiagram
539
539
Relay-->>Alice: m(NODES[Bob's ENR])
540
- Alice->> Bob: m(nonce,FINDNODE)
540
+ Alice->Bob: m(nonce,FINDNODE)
541
541
Note left of Alice:Hole punched in Alice's NAT for Bob
542
- Alice->> Relay: n(RELAYINIT[nonce])
543
- Relay->> Bob:n(RELAYMSG[nonce])
542
+ Alice->Relay: n(RELAYINIT[nonce])
543
+ Relay->Bob:n(RELAYMSG[nonce])
544
544
Bob-->>Alice: whoareyou(nonce)
545
545
Note right of Bob: Hole punched in Bob's NAT for Alice
546
546
```
@@ -549,9 +549,8 @@ Bob is behind a NAT. Bob is in Relay's kbuckets, they have a session together.
549
549
As part of a periodic recursive query to fill its kbuckets, Alice sends a FINDNODE
550
550
request to Bob, who's ENR it received from Relay. By making an outgoing request to
551
551
Bob, if Alice is behind a NAT, Alice's NAT adds the filtering rule
552
- ` (Alice's-LAN-ip, Alice's-LAN-port, Bob's-WAN-ip, Bob's-WAN-port) ` [ ^ 1 ] to it's UDP table.
553
- The request to Bob times out as Bob is behind a NAT.
554
-
552
+ ` (Alice's-LAN-ip, Alice's-LAN-port, Bob's-WAN-ip, Bob's-WAN-port, entry-lifetime) ` to
553
+ it's UDP session table [ ^ 1^2 ] . The request to Bob times out as Bob is behind a NAT.
555
554
556
555
557
556
[ EIP-778 ] : ../enr.md
@@ -565,3 +564,4 @@ The request to Bob times out as Bob is behind a NAT.
565
564
[ REGCONFIRMATION ] : ./discv5-wire.md#regconfirmation-response-0x09
566
565
[ TOPICQUERY ] : ./discv5-wire.md#topicquery-request-0x0a
567
566
[ ^ 1 ] : https://datatracker.ietf.org/doc/html/rfc4787
567
+ [ ^ 2 ] : https://www.ietf.org/rfc/rfc6146.txt
0 commit comments