Sponsored Content
Top Forums Web Development Apache2 reverse proxies implementation Post 302711151 by DGPickett on Friday 5th of October 2012 12:29:07 PM
Old 10-05-2012
There is not so much magic in proxy, reverse for forward. The tool lsof can show you who is listening on any port of the local server. A tcp socket connects to host X port Y says "GET /Z HTTP/9.9" to some proxying service, and it is piped to host A port B after that service is fed with a "GET /C HTTP/?.?", where X Y Z are translated to A B C. Ditto for POST. Rules vary for the forwarding and translation of other HTTP lines coming from the original client that may be fed to the final service. If your config is not working, turn on debugging for the proxying service, and read the logs.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unix program that can port scan a c block of ips for proxies

can anyone tell me a unix program that can port scan a c block of ips for proxies? a fast one, with reliable results, that can load an ip list, or set an ip range, and specify ports thanks! (1 Reply)
Discussion started by: user
1 Replies

2. Cybersecurity

Proxies (Best?)

I hope this is the right place to post this. If not, would an administrator please move it? Thanks. I've got a situation where we are using iPlanet proxy server to allow some of our web browsers to ONLY go to certain sites on an "approved" list. If they try to go to sites that aren't on the... (1 Reply)
Discussion started by: deckard
1 Replies

3. UNIX for Advanced & Expert Users

Implementation of ls - i command

It is possible for me to obtain the Inode of the path name using ls -i <pathname> command Can anyone tell me how its implemented... (3 Replies)
Discussion started by: ganapathy.psgit
3 Replies

4. Programming

Malloc implementation in C

Hey Guys I am trying to implement the malloc function for my OS class and I am having a little trouble with it. I would be really grateful if I could get some hints on this problem. So I am using a doubly-linked list as my data structure and I have to allocate memory for it (duh...). The... (1 Reply)
Discussion started by: Gambit_b
1 Replies

5. UNIX for Advanced & Expert Users

Malloc Implementation in C

Hey Guys Some of my friends have got together and we are trying to write a basic kernel similar to Linux. I am trying to implement the malloc function in C and I am using a doubly linked list as the primary data structure. I need to allocate memory for this link list (duh...) and I don't feel... (2 Replies)
Discussion started by: rbansal2
2 Replies

6. UNIX for Dummies Questions & Answers

Lseek implementation

Hi everybody, i've been googling for ages now and gotten kinda desperate... The question, however, might be rather trivial for the experts: What is it exactly, i.e. physically, the POSIX function (for a file) "lseek" does? Does it trigger some kind of synchronization on disk? Is it just for the... (4 Replies)
Discussion started by: Humudituu
4 Replies

7. UNIX for Advanced & Expert Users

Ipsec implementation

How can i implement Ipsec between two machines in linux_ ubuntu? any link?? suggestion?? (0 Replies)
Discussion started by: elinaz
0 Replies

8. Shell Programming and Scripting

Back up implementation

Is there any command to take create back up of a file as soon as when it is created?If not is it possible to create something like that? (3 Replies)
Discussion started by: Sindhu R
3 Replies
SIMPLEPROXY(1)						      General Commands Manual						    SIMPLEPROXY(1)

NAME
simpleproxy - Simple tcp socket proxy SYNOPSIS
simpleproxy [-7] [-v] [-V] [-d] [-i] -P <POP3 users file> -L [<local host>:]<local port> -R <remote host>:<remote port> -S <proxy host>:<proxy port> DESCRIPTION
The simpleproxy program acts as a simple tcp proxy. It opens listening socket on local machine and forwards any connection to the remote host. OPTIONS
simpleproxy accepts following options: -V Version information. -v Makes simpleproxy to write activity information to syslog or stderr. -7 Makes simpleproxy to strip 8th bit. -i Use this flag when starting simpleproxy from INETD. -d By default simpleproxy does not detach itself from control terminal and writes all messages to stderr. This option will detach it from terminal and make it write messages to syslog. -L [<local host>:]<local port> Local host and port name or number to bind for listening. Host name is optional. -R <remote host>:<remote port> Remote host and port name or number -P <POP3 users list> If specified, simpleproxy will load list of users from the <filename> (one per line). After this it will be forwarding POP3 ses- sions only if client trying to authenificate as this user. -S <proxy host>:<proxy port> HTTPS proxy server host and port name or number. -a <HTTP Auth User>:<HTTP Auth Password> Authenticate to the HTTPS proxy server with the given userid and password. This option performs BASIC HTTP authentication as spec- ified in RFC 2617. Used only in conjunction with -S. -t <trace file> If specified, simpleproxy will dump all data that passes through connection to the specified file. BUGS
Only tcp ports are supported. SEE ALSO
inetd(1M), services(4), http://www.crocodile.org/software.html AUTHOR
Vadim Zaliva <lord@crocodile.org>, Vladimir Karpinsky <vlad@noir.crocodile.org> Vadim Tymchenko <verylong@noir.crocodile.org> CONTRIBUTORS
Pavel Roskin <pavel_roskin@geocities.com>, Cedric Tefft <cedric@earthling.net> Christophe Bothamy <cbothamy@sourceforge.net> Ulf Harnhammar <metaur@telia.com> Version 3.3 SIMPLEPROXY(1)
All times are GMT -4. The time now is 06:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy