Sponsored Content
Full Discussion: Proxy
Top Forums UNIX for Advanced & Expert Users Proxy Post 22961 by rado on Thursday 13th of June 2002 12:59:22 PM
Old 06-13-2002
Thanks

Thanks RTM, I'll check both out.
 

8 More Discussions You Might Find Interesting

1. IP Networking

local proxy

Are there any free local proxy for Linux which cache data and gzip transmitted packages? (5 Replies)
Discussion started by: Hitori
5 Replies

2. BSD

proxy or NAT

how do i configure proxy in freeBSD or NAT so that when i set it up as a server can connect other to my new gateway (0 Replies)
Discussion started by: AkinOkin
0 Replies

3. Solaris

Sun 10 behind proxy

Hi guys i need your advice in setting up my solaris machine to work behind proxy. in our environment we have ISA proxy server requires authorization. Any one know how to configure the solaris to work with this proxy? im trying to access outside under console but thats not possible becuase i dont... (2 Replies)
Discussion started by: saveka
2 Replies

4. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

Hi, I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies

5. Red Hat

Linux Proxy

Hi, I am having windows proxy server and it is having proxy.pac file, so for accessing internet we are using automatic proxy url setting in the browser (http://windowsservername/file.pac). Now my requirement is if I want to set the proxy settings in linux server from the cmd line how can I... (1 Reply)
Discussion started by: ktrimu
1 Replies

6. Linux

Proxy... through proxy ;)

ok, in my company i have a proxy that filter some url (yea, i know ;)) It was more then 7 year that i made a ssh tunnel with my linux machine, at work i used putty and redirect the internal squid proxy... it work very well! Yesterday the sysadmin has made a "content port filtering" and block... (0 Replies)
Discussion started by: zanac
0 Replies

7. UNIX for Advanced & Expert Users

best prefetching proxy around?

Hi I am trying to make a survey of prefetching proxies and as of now everything that I can find is only age old proxies like the wwwcollector or squid prefetch that seems to be orphaned. Is there something out there that may be more interesting and recent? Your thoughts are greatly... (0 Replies)
Discussion started by: jamie_123
0 Replies

8. IP Networking

Connecting via proxy chain to Upstream proxy

I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies
HTTP::Proxy::HeaderFilter(3pm)				User Contributed Perl Documentation			    HTTP::Proxy::HeaderFilter(3pm)

NAME
HTTP::Proxy::HeaderFilter - A base class for HTTP message header filters SYNOPSIS
package MyFilter; use base qw( HTTP::Proxy::HeaderFilter ); # changes the User-Agent header in all requests # this filter must be pushed on the request stack sub filter { my ( $self, $headers, $message ) = @_; $message->headers->header( User_Agent => 'MyFilter/1.0' ); } 1; DESCRIPTION
The HTTP::Proxy::HeaderFilter class is used to create filters for HTTP request/response headers. Creating a HeaderFilter A HeaderFilter is just a derived class that implements some methods called by the proxy. Of all the methods presented below, only "filter()" must be defined in the derived class. filter() The signature of the filter() method is the following: sub filter { my ( $self, $headers, $message) = @_; ... } where $self is the filter object, $headers is a HTTP::Headers object, and $message is either a HTTP::Request or a HTTP::Response object. The $headers HTTP::Headers object is the one that will be sent to the client (if the filter is on the response stack) or origin server (if the filter is on the request stack). If $headers is modified by the filter, the modified headers will be sent to the client or server. The init() method (if it exists) is called by the new() constructeur to perform all initisalisation tasks. It's called once in the filter lifetime. A HTTP::Proxy::HeaderFilter object is a blessed hash, and the base class reserves only hash keys that start with "_hphf". new() The constructor is defined for all subclasses. Initialisation tasks (if any) for subclasses should be done in the "init()" method (see below). init() This method is called by the "new()" constructeur to perform all initisalisation tasks. It's called once in the filter lifetime. It receives all the parameters passed to "new()". Standard HeaderFilters Standard HTTP::Proxy::HeaderFilter classes are lowercase. The following HeaderFilters are included in the HTTP::Proxy distribution: simple This class lets you create a simple header filter from a code reference. standard This is the filter that provides standard headers handling for HTTP::Proxy. It is loaded automatically by HTTP::Proxy. Please read each filter's documentation for more details about their use. USEFUL METHODS FOR SUBCLASSES
Some methods are available to filters, so that they can eventually use the little knowledge they might have of HTTP::Proxy's internals. They mostly are accessors. proxy() Gets a reference to the HTTP::Proxy objects that owns the filter. This gives access to some of the proxy methods. AUTHOR
Philippe "BooK" Bruhat, <book@cpan.org>. SEE ALSO
HTTP::Proxy, HTTP::Proxy::BodyFilter. COPYRIGHT
Copyright 2003-2005, Philippe Bruhat. LICENSE
This module is free software; you can redistribute it or modify it under the same terms as Perl itself. perl v5.12.4 2011-07-03 HTTP::Proxy::HeaderFilter(3pm)
All times are GMT -4. The time now is 09:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy