Em Andamento

C# local proxy server

I require a console app which will act as a local HTTP proxy server.

The local web browser will have its proxy settings pointed to localhost so that it uses this application for all HTTP requests. The console app should process each request and return data to the browser immediately with the following exception.

When the request is a GET and the response content type is TEXT/HTML the console app must hold onto the response as it comes in until the response is received in full. At which point the following changes must be made to the document before passing it on to the client socket of the requesting browser.

1. The opening <body> element should be located, if not present then return the document to the client socket unaltered.

2. After the opening <body> statement some javascript must be inserted which causes a "Hello world" alert to pop up.

3. The HTTP response headers must be altered appropriately (content length) to account for the inserted script - as if the additional text had originated from the server.

4. The result should then be passed onto the client socket of the browser.

Additional constraints

1. Must work with IE 7, Firefox, and Google Chrome on Windows running .NET 2.

2. Apart from the injected text the proxy should give the user the same experience as if they had gone to the server without going through the proxy - so streaming audio/video, ajax requests, etc should all still work normally.

3. The injected script must not break any javascript already in the page.

## Deliverables

1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No 3rd party components unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).

## Platform

Windows, .NET 2

Habilidades: Programação C#

Ver mais: local proxy server, local http server, local proxy, local http proxy, local account proxy, world programming, windows socket programming, socket programming in c, socket programming c#, programming statement, pop proxy server, pop proxy, net socket programming, local programming, local hire, html programming hire, hire local, hire act, hello world javascript, google proxy server, google chrome web browser, c# socket programming, c socket programming, c programming if statement, c programming hello world

Acerca do Empregador:
( 3 comentários ) United Kingdom

ID do Projeto: #3009926

Premiar a:

mariusbucurvw

See private message.

$197.21 USD em 30 dias
(8 Avaliações)
3.8

18 freelancers are bidding on average $295 for this job

DebasisB

See private message.

$425 USD in 30 dias
(37 Comentários)
6.0
frostrl

See private message.

$510 USD in 30 dias
(17 Comentários)
6.0
v5group

See private message.

$425 USD in 30 dias
(16 Comentários)
5.1
jamiedrapervw

See private message.

$425 USD in 30 dias
(8 Comentários)
4.0
avereshchak

See private message.

$340 USD in 30 dias
(3 Comentários)
3.8
ssynchron

See private message.

$255 USD in 30 dias
(2 Comentários)
3.6
aldayneko

See private message.

$425 USD in 30 dias
(2 Comentários)
3.0
hendryten

See private message.

$100.3 USD in 30 dias
(3 Comentários)
1.2
deumber

See private message.

$297.5 USD in 30 dias
(2 Comentários)
0.2
kseen

See private message.

$212.5 USD in 30 dias
(3 Comentários)
0.0
artus

See private message.

$170 USD in 30 dias
(0 Comentários)
0.0
zackmacomber

See private message.

$212.5 USD in 30 dias
(0 Comentários)
0.0
fbagim

See private message.

$297.5 USD in 30 dias
(0 Comentários)
0.0
sabinfloares

See private message.

$85 USD in 30 dias
(0 Comentários)
0.0
sargsyangugo

See private message.

$255 USD in 30 dias
(0 Comentários)
0.0
hkervn2001

See private message.

$212.5 USD in 30 dias
(0 Comentários)
0.0
vw6868760vw

See private message.

$467.5 USD in 30 dias
(0 Comentários)
1.6