5 ms·
Is it common for routers to create a new mapping for TCP packets that is NOT SYN (in figure 3 in this article)? Is there a legit use case for this behavior? Wou
by blahgeek 2y ago
Is it common for routers to create a new mapping for TCP packets that is NOT SYN (in figure 3 in this article)? Is there a legit use case for this behavior? Wouldn't it be simpler and more secure not to do that?
- ytch 2y agoT̶a̶i̶l̶s̶c̶a̶l̶e̶: https://tailscale.com/blog/how-nat-traversal-works https://tailscale.com/blog/how-nat-traversal-works Libp2p: https://docs.libp2p.io/concepts/nat/hole-punching/ https://docs.libp2p.io/concepts/nat/hole-punching/ B̶o̶t̶h̶ (update: Only Libp2p works with TCP) use similar method for hold-punching. Libp2p can use such method for establishing direct connection between hosts behind different NAT networks.
- damsalor 2y agoThe answer to this might be severely unsettling
- patrakov 2y agoThe legit use case is to pick up connections that were established before the router reboot.
- Wheaties466 2y agoim pretty sure any router that uses fast path does this. its meant to speed up connections and allow for more throughput through a router.
- xxpor 2y agoConnection tracking != fast path flow tracking in a lot of cases.
- Wheaties466 2y agowell yeah but one of the main reasons for a different path after a syn packet is fast path behavior. fast path changes the packet flow so it doesn't get processed by all firewall rules. just explaining the use case for OPs question.