Sponsored Content
Special Forums IP Networking Using Another Account as Internet Proxy Post 302963816 by gmark99 on Wednesday 6th of January 2016 07:50:23 PM
Old 01-06-2016
The machine I'm using to forward SSH/SFTP is a Linux box.
 

6 More Discussions You Might Find Interesting

1. 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

2. Cybersecurity

Setting up an Internet proxy

Setting up an Internet proxy - need help Hi guys In the past I had set a computer to act as an Internet proxy. This would be multihomed, and running dansguardian, tinyproxy and firehol. Then webmin would be used as interface. By time I realised that this system is far from effective.... Is... (0 Replies)
Discussion started by: ramon82
0 Replies

3. UNIX for Dummies Questions & Answers

need a stable proxy server or free ssh account to visit blocked sites, who can help?

In our country, blogspot.com, twitter.com facebook.com....and more excellent sites are blocked by the Goverment FireWall, who can help me ? thanks a lot for your kind. (2 Replies)
Discussion started by: shuke
2 Replies

4. Linux

SFTP an internet address from a system behind an internet proxy

I was wondering if it is possible to setup SFTP to go through the internet proxy while connecting to an internet location. Problem: Client system is behind internet proxy. SFTP to any internet location fails as there is no documented way to configure SFTP to connect to internet locations through... (4 Replies)
Discussion started by: toobrown1
4 Replies

5. UNIX and Linux Applications

SQUID proxy : How do I limit internet connectivity to X hrs/day

Hi Everyone! A friend of mine is looking for a way to limit time his kids spent on the internet. I told him he should try out Squid proxy server. He now tries to find a way to limit total time spend on the internet to "X" hours a day, at any time during the day. I remember there are built-in... (3 Replies)
Discussion started by: togr
3 Replies

6. 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::BodyFilter::complete(3pm)			User Contributed Perl Documentation		    HTTP::Proxy::BodyFilter::complete(3pm)

NAME
HTTP::Proxy::BodyFilter::complete - A filter that passes on a complete body or nothing SYNOPSIS
use HTTP::Proxy; use HTTP::Proxy::BodyFilter::simple; use HTTP::Proxy::BodyFilter::complete; my $proxy = HTTP::Proxy->new; # pass the complete response body to our filter (in one pass) $proxy->push_filter( mime => 'text/html', response => HTTP::Proxy::BodyFilter::complete->new, response => HTTP::Proxy::BodyFilter::simple->new( sub { my ( $self, $dataref, $message, $protocol, $buffer ) = @_; # some complex processing that needs # the whole response body } ); ); $proxy->start; DESCRIPTION
The HTTP::Proxy::BodyFilter::complete filter will ensure that the next filter in the filter chain will only receive complete message bodies (either request or response). It will store the chunks of data as they arrive, only to pass the entire message body after the whole message has been received by the proxy. Subsequent filters is the chain will receive the whole body as a big piece of data. CAVEAT EMPTOR
This consumes memory and time. Use with caution, otherwise your client will timeout, or your proxy will run out of memory. Also note that all filters after "complete" are still called when the proxy receives data: they just receive empty data. They will receive the complete data when the filter chain is called for the very last time (the $buffer parameter is "undef"). (See the documentation of HTTP::Proxy::BodyFilter for details about the $buffer parameter.) METHOD
This filter defines two methods, called automatically: filter() Stores the incoming data in memory until the last moment and passes empty data to the subsequent filters in the chain. They will receive the full body during the last round of filter calls. will_modify() This method returns a false value, thus indicating to the system that it will not modify data passing through. AUTHOR
Philippe "BooK" Bruhat, <book@cpan.org>. THANKS
Thanks to Simon Cozens and Merijn H. Brandt, who needed this almost at the same time. ";-)" COPYRIGHT
Copyright 2004-2008, 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::BodyFilter::complete(3pm)
All times are GMT -4. The time now is 11:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy