Cawifre

joined 5 months ago
[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago)

I found a Wikipedia article that expands on motivations for the design: Titulus_(fortification)

The description in the wiki article and the orientation of the diagrams on page 63 of the Keeley document convince me that the ~~more common arrangement was to place the detatched screening wall segment on the exterior of the curtain with an~~ interior version sometimes used either instead of or in addition to the exterior screen.

Edit: I think I read the pg63 diagram orientations wrong, so I think my point is mostly that it can be either inside or outside, and that this whole PDF is really cool.

[–] [email protected] 6 points 1 month ago

ip:port <-> ip:port


From any particular host (be it on the WAN or LAN) every TCP/UDP transmission is sent from some specific address-port pair destined for some other specific address-port pair. From the WAN (i.e. the Internet), every destination address must be in a public range, and we ran out of those a while ago, which is why NAT became a thing at all.

Your router is the only machine on your LAN that also has a WAN address, so every transmission destined for inside your LAN must be (from the perspective of the Internet) addressed to some port on your router. Port numbers under 1024 are special, but most of the 60-thousand other ports are without special meaning, and these unremarkable ports are the ones used to send outgoing transmissions even if the destination is some well-known, meaningful port like 80 (HTTP) or 22 (SSH). When the server responds (such as with an HTTP GET result) they send the response to the address-port pair that sent the originating request.

The magic ingredient in NAT is that your router remembers that it just proxied a request from some LAN station, and it holds in reserve whichever port it used to send that request (since it knows that any responses from the WAN will be aimed at that port of the router).

When your router receives a transmission from the WAN, it consults the records it has kept to decide which LAN station is supposed to received that transmission. Here we get to the concept of Port Forwarding, which just short circuits that NAT lookup and assigns some arbitrary port on the router as a persistant pathway to some specific LAN station.

In short, yes, only the destination port is required for your router to decide.

[–] [email protected] 3 points 5 months ago (1 children)

My favorite part is that the switch is still in the OFF position.

[–] [email protected] 1 points 5 months ago

This would make a fantastic profile picture!

[–] [email protected] 1 points 5 months ago

Testerererer