Project Detail

Webproxy setup (apache/squid?)  

Webproxy setup (apache/squid?) is project number 431141
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status: Cancelled

Selected Providers: -

Budget: $30-250

Created: 05/07/2009 at 14:10 EDT

Bid Count: 7

Average Bid:
$ 133

05/21/2009 at 14:10 EDT

Project Creator: demigraff
Employer Rating: (No Feedback Yet)

Bid On This Project
 

Description

I am looking for someone to provide the configuration files and scripts for a web proxy.

I currently have apache 2.2.10 installed on a Fedora 10 server. I have the squid module installed but not configured. I am willing to install other software packages if necessary, but I would prefer to use what I already have installed.

I am currently working with prototypes of a simple perl script to handle the proxy data. You will probably be creating some kind of wrapper to interface between this script and apache. My code is thread-safe, and doesn't care how many instances exist.

My script provides the following functions:

$hpc = new Hetero::ProxyController();

$hpc->permit_proxy( $client_ip, $server_ip );

- should be called by your code when a client tries to connect to a new server. The result from this function may be cached (although it should be possible for an admin to clear the cache)

- The result will either be false (the connection should be refused), a numeric error code (the connection should be refused with an appropriate HTTP status) or a list containing one or more of the values "PROXY_ALLOWED" (allow the client to connect through the proxy to this server), "CACHE_ALLOWED" (the proxy may cache data from this server, as a normal webcache) and "MONITOR_TRAFFIC" (the following function should be called for each request between this client/server)

$hpc->page_request( $client_ip, $request );

- Should be called whenever a request is made through the proxy for a client/server combination which responded "MONITOR_TRAFFIC".

- $request should be a HTTP::Request object

- I don't care whether this method is called before, during or after getting the server's response.

- If this method returns false, the server's response should be passed on to the client and/or cached by the proxy.

- If the return value is true, the server's response should also be passed to the following function:

$hpc->page_response( $client_ip, $request_id, $response );

- $request_id should be the value returned by the corresponding call to page_request()

- $response should be a HTTP::Response object

- If the response was a success and the request_id is the path to a non-existing file in a directory the apache user can write to, the response body should be saved there. In this case, the content of the $response object will not be examined.



If any of this isn't clear, please send me a message about it. I'm not too good at explaining these things.

Messages Posted:1 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

100

5 days

05-09-2009 13:17 EDT

Please discuss the details in PM. Thanks.

help

 

100

5 days

05-07-2009 14:28 EDT

(No Feedback Yet)

i want to apply your project

help

 

80

2 days

05-07-2009 23:15 EDT

(No Feedback Yet)

hi, see my pm. Regards, Liju

help

 

200

2 days

05-08-2009 20:33 EDT

(No Feedback Yet)

I have years of experiencie working with Squid. I wrote several Squid helpers: authentication, external acls, url rewriters. I could write a the perl script that use your api for your needs.

help

 

250

1 day

05-10-2009 01:23 EDT

(No Feedback Yet)

I can do that with setup of another free proxy server in 1 day for you

help

 

100

7 days

05-12-2009 09:51 EDT

(No Feedback Yet)

Hi, We can do this job for you. Please contact

help

 

100

10 days

05-13-2009 08:44 EDT

(No Feedback Yet)

i think i can do it

help


    Bid on this Project