Ja jūs bloķējat visus ienākošos savienojumus, kā jūs joprojām varat izmantot internetu?

Satura rādītājs:

Ja jūs bloķējat visus ienākošos savienojumus, kā jūs joprojām varat izmantot internetu?
Ja jūs bloķējat visus ienākošos savienojumus, kā jūs joprojām varat izmantot internetu?
Anonim
Ja visi ienākošie savienojumi ar jūsu datoru tiek bloķēti, tad kā jūs joprojām varat saņemt datus un / vai būt aktīvam savienojumam? Šodienas SuperUser Q & A ziņai ir atbilde uz sajaukt lasītāja jautājumu.
Ja visi ienākošie savienojumi ar jūsu datoru tiek bloķēti, tad kā jūs joprojām varat saņemt datus un / vai būt aktīvam savienojumam? Šodienas SuperUser Q & A ziņai ir atbilde uz sajaukt lasītāja jautājumu.

Šodienas jautājumu un atbilžu sesija mums priecājas par SuperUser - Stack Exchange dalību, kas ir kopienas vadīta Q & A tīmekļa vietņu grupa.

Ekrānuzņēmums pieklājīgi no Linux ekrānuzņēmumiem (Flickr).

Jautājums

SuperUser lasītājs Kunal Chopra vēlas uzzināt, kā viņa dators joprojām var saņemt datus, ja visi ienākošie savienojumi ir bloķēti:

If your ISP or firewall is blocking all incoming connections, how can web servers still send data to your browser? You send the request (outgoing) and the server sends data (incoming). If you block all incoming connections, how can the web server respond?

What about video streaming and multi-player games where UDP comes into use? UDP is connectionless, so there is no connection to be established, so how does the firewall or ISP handle that?

Kā dati joprojām ir pieejami Kunal datorā, ja visi ienākošie savienojumi ir bloķēti?

Atbilde

SuperUser atbalstītājs gowenfawr ir atbilde mums:

“Incoming block” means that incoming new connections are blocked, but established traffic is allowed. So if outbound new connections are allowed, then the incoming half of that exchange is okay.

The firewall manages this by tracking the state of connections (such a firewall is often called a Stateful Firewall). It sees the outgoing TCP/SYN and allows it. It sees an incoming SYN/ACK, verifies that it matches the outbound SYN it saw, lets that through, and so on. If it permits a three-way handshake (i.e. it is allowed by the firewall rules), it will allow that exchange. And when it sees the end of that exchange (FINs or RST), it will take that connection off the list of allowed packets.

UDP is done similarly, although it involves the firewall remembering enough to pretend that UDP has a connection or session (which UDP does not).

Vai kaut ko pievienot paskaidrojumam? Skatieties komentāros. Vēlaties lasīt citas atbildes no citiem tehnoloģiju savvy Stack Exchange lietotājiem? Šeit skatiet pilnu diskusiju pavedienu.

Ieteicams: