F-Secure Internet Gatekeeper for Linux/Administrator’s Guide
134
11.2
HTTP Proxy Process
This section describes how common protocols are processed with the HTTP proxy.
Proxy mode, GET method
Client
Internet Gatekeeper (0.0.0.1)
HTTP Server (httpserver,0.0.0.2)
TCP connect(to: 0.0.0.1:9080)
----------------------------->
GET http://httpserver/index.html HTTP/1.0...
----------------------------->
TCP connect(to:
0.0.0.2:80)
----------------------------->
GET /index.html HTTP/1.0...
----------------------------->
HTTP/1.0 200 OK...
<-----------------------------
HTML file
<-----------------------------
(Virus scan)
HTTP/1.0 200 OK...
<-----------------------------
HTML file
<-----------------------------
Proxy mode, POST method (scans files when they are sent)
Client
Internet Gatekeeper (0.0.0.1)
HTTP Server (httpserver,0.0.0.2)
TCP connect(to:
0.0.0.1:9080)
----------------------------->
POST http://httpserver/post.cgi HTTP/1.0...
----------------------------->
File to be sent
----------------------------->
(Virus scan)
TCP connect(to:
0.0.0.2:80)
----------------------------->
POST /post.cgi HTTP/1.0...
----------------------------->
File to be sent
----------------------------->
HTTP/1.0 200 OK...
<-----------------------------
HTML file
<-----------------------------
(Virus scan)
HTTP/1.0 200 OK...
<-----------------------------
HTML file
<-----------------------------