From 442c64a67a7de3a1754dfb9b8f9007f79d7876bf Mon Sep 17 00:00:00 2001 From: Max Inden Date: Thu, 27 Jan 2022 15:08:26 +0100 Subject: [PATCH] src/_blog: Use markdown table --- src/_blog/libp2p-hole-punching.md | 57 +++---------------------------- 1 file changed, 5 insertions(+), 52 deletions(-) diff --git a/src/_blog/libp2p-hole-punching.md b/src/_blog/libp2p-hole-punching.md index 441fa988..9a79dac3 100644 --- a/src/_blog/libp2p-hole-punching.md +++ b/src/_blog/libp2p-hole-punching.md @@ -33,58 +33,11 @@ The sequence diagram below depicts the scenario where computer *A* emitts a pack Small detour on the matter of firewalls. Firewalls control the bytes flowing in and out of a network, e.g. in this case in and out of A's and *B*'s home network. They usually do so using a state table of 5-tuples. A 5-tuple is used to identify a connection between two endpoints. It consists of the IP source address, the IP destination address, the transport protocol e.g. TCP or UDP, the source port number and the destination port number of a connection. - - - --- -- -- -- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source IPDestination IPTransport ProtocolSource PortDestination Port
192.168.0.2198.51.100.0TCP12345443
192.168.0.2198.51.100.1UDP1234553
+| Source IP | Destination IP | Transport Protocol | Source Port | Destination Port | +|-------------|----------------|--------------------|-------------|------------------| +| 192.168.0.2 | 198.51.100.0 | TCP | 12345 | 443 | +| 192.168.0.2 | 198.51.100.1 | UDP | 12345 | 53 | +| ... | ... | ... | ... | ... | The simplest security measure all major consumer firewalls enforce to protect their network is the following: