Presentation is loading. Please wait.

Presentation is loading. Please wait.

CLIENT (Browser) socket accept C1 C2 recv C2 recv send C2 send end_thread recv C3 send bind connect Web Server Proxy recv close C3 close C2 end_thread.

Similar presentations


Presentation on theme: "CLIENT (Browser) socket accept C1 C2 recv C2 recv send C2 send end_thread recv C3 send bind connect Web Server Proxy recv close C3 close C2 end_thread."— Presentation transcript:

1 CLIENT (Browser) socket accept C1 C2 recv C2 recv send C2 send end_thread recv C3 send bind connect Web Server Proxy recv close C3 close C2 end_thread accept socket spawn two threads C  S thread S  C thread listen C3 HTTP GET HTTP Response HTTP GET HTTP Response connect any port port 9080 any port port 80 socket disconnection signal end_thread close C2 socket disconnection signal end_thread

2 CLIENT (Browser) socket recv send close_socket bind Web Server Proxy accept listen connect any port port 9080 HTTP GET detects a prohibited IP address locally open “HTTP_403.html” file HTTP Response recv end_thread close_socket socket disconnection signal C  P thread spawn one thread If you are a prohibited user (using a prohibited IP) I (Fujinoki) will post this file

3 CLIENT (Browser) socket accept C1 C2 recv C2 recv send C2 send end_thread recv C3 send bind connect Web Server Proxy recv close C3 close C2 accept socketlisten C3 HTTP GET HTTP Response HTTP GET HTTP Response connect any port port 9080 any port port 80 spawn two threads

4 CLIENT (Browser) socket accept C1 C2 recv C2 recv send C2 send end_thread recv C3 send bind connect Web Server Proxy recv close C3 close C2 accept socketlisten C3 HTTP GET HTTP Response HTTP GET HTTP Response connect any port port 9080 any port port 80


Download ppt "CLIENT (Browser) socket accept C1 C2 recv C2 recv send C2 send end_thread recv C3 send bind connect Web Server Proxy recv close C3 close C2 end_thread."

Similar presentations


Ads by Google