Sie sind auf Seite 1von 27

THE SPARK

PRESENTING

PROXY
SERVER
1

TEAM MEMBERS
Ekta
Supriya
Malini
Manasa
Gowri

AGENDA
Introduction
What is a proxy server?
Purpose of proxy server
Types of proxy server
Mechanism of proxy server
Understanding briefly about http and ftp protocol
Understanding http and ftp proxy servers

PROTOCOL

A protocol is set of rules for data representation,


authentication, and error detection.

INTRODUCTION TO HTTP

Hypertext Transfer Protocol (HTTP) is an


application-level protocol for distributed,
collaborative, hypermedia information systems.

PROXY SERVER

A proxy server is a server that acts as an


intermediary for requests from
clients seeking resources from other

PURPOSE OF PROXY SERVER

Proxy servers have two main purposes:

To keep machines behind it anonymous (mainly


for security)
To speed up access to a resource (via caching). It
is commonly used to cache web pages from a web
server.

OPERATING PRINCIPLE OF PROXY


SERVERS

TYPES OF PROXY SERVERS

Caching proxy server


Web proxy server
Content-filtering web proxy
Anonymizing proxy server

MECHANISM OF PROXY SERVER

client

www.abc.com
www.xyz.com

ISP

Proxy server

www.abc.com

www.abc.co
m

Block

www.xyz.com

10

MECHANISM OF PROXY SERVER


Proxy server accepts request from client.
It generates response based on two conditions.
If the document exits in the local cache, proxy
server itself provides the required retrieval to the
client.

11

MECHANISM OF PROXY SERVER


If there is a cache miss then the request is been
forwarded to the original server.
The proxy server transfers the replies to the
client and also being caches them.
The proxy server thus acts both as the client and
the server.

12

HYPER TEXT TRANSFER


PROTOCOL(HTTP)
Used to access data in WWW.
to transfer data in the form of hypertext,
plaintext, audio, video.
It functions like a combination of FTP and SMTP.

13

HYPER TEXT TRANSFER


PROTOCOL(HTTP)

It is similar to FTP because it transfers files and


uses the services of TCP.
It is simpler than FTP as it uses only one TCP
connection on a well known port 80.

14

HTTP (CONT)
It is similar to SMTP since data are transferred
from client and the server.
Http differs from SMTP in the way messages are
sent.
Http are not destined to be read by humans
They are read and interpreted by the http server
and http client.
Client sends a request which look like mail to the
server.
The server sends the response which looks like a
mail reply to the client.
Http itself is a stateless protocol.

15

HTTP (CONT..)
Client sends a request which look like mail to the
server.
The server sends the response which looks like a
mail reply to the client.
Http itself is a stateless protocol.

16

FILE TRANSFER PROTOCOL (FTP)


It is a standard mechanism provided by the
internet for copying a file from one host to
another.
There are many difficulties in file transfer.
It establishes two TCP connections between the
client and the server.

17

FILE TRANSFER PROTOCOL (FTP)


One connection for data transfer other for control
information(commands and response).
It is more efficient and the control connection is
simpler whereas the data connection is complex.

18

HTTP PROXY SERVERS


"Middlemen" between clients and servers
Proxies which process http and (not always)
ftp requests are known as http proxy servers

Looks like a server


sending responses

Proxy
Server

Looks like a client


making requests
19

KEY FEATURES OF HTTP PROXY


SERVERS
It may rewrite the clients requests
It Provides Anonymity and Security
It is a Caching Proxy server
Serves as content filter
Multithreading

20

ANONYMITY OF A HTTP PROXY


HTTP proxy servers have several anonymity
levels
Based on Anonymity degree, they are classified
as:
Transparent
Anonymous
Distorting
Highly Anonymous

21

CACHING MECHANISM

22

FUNCTIONS OF HTTP PROXY


SERVER
Caching
Reduces Latency
Reduces Traffic on the web
Bandwidth Conservation
Increases accessibility
firewalling and filtering
connection sharing

23

ADVANTAGES
OF HTTP PROXY SERVERS
Better Performance
Less trafficking
Reduces latency
Conserves bandwidth
Good at logging

24

DISADVANTAGES
OF HTTP PROXY SERVERS
Proxy services lag behind nonproxied services
Proxy services may require different servers for
each service
Proxy services usually require modifications to
clients, procedures, or both
Proxy services don't protect you from all protocol
weaknesses
Proxy services are not workable for some services

25

FTP PROXY SERVERS


An ftp proxy server support file sharing on
networks using the file transfer protocol (ftp)
Concurrency control
Master mechanism

Opens port
Waits for client
Choose port
Starts slave
Continue

26

FTP PROXY SERVER(CONT..)


Slave Mechanism
Keep control processes and the control
connection alive as long as the ftp session is alive
We can use ftp proxy server in two modes

Active
Passive

27

Das könnte Ihnen auch gefallen