472,373 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,373 software developers and data experts.

Proxy server?

I've seen examples for HTTP and FTP use, but not for simply any TCP data on
any port, which is what I require. Can anyone please point me in the right
direction?

TIA
Jul 28 '08 #1
5 2027
Gary wrote:
I've seen examples for HTTP and FTP use, but not for simply any TCP data
on any port, which is what I require. Can anyone please point me in the
right direction?
For what? How to use such a thing, a transparent proxy? There is nothing to
it, just plug it between your router and the internet, that's all.

Or do you want to know how to capture all traffic using some other process,
for analysis? Use wireshark.

Diez
Jul 28 '08 #2

"Diez B. Roggisch" <de***@nospam.web.dewrote in message
news:6f************@mid.uni-berlin.de...
Gary wrote:
For what?
A non-transparent proxy, for anonymity purposes only.
Jul 28 '08 #3
Gary schrieb:
"Diez B. Roggisch" <de***@nospam.web.dewrote in message
news:6f************@mid.uni-berlin.de...
>Gary wrote:
>For what?

A non-transparent proxy, for anonymity purposes only.

You can't make any TCP/IP communication run through a proxy, unless it's
transparent.

HTTP (and maybe FTP, I personally don't know) have that built-in, and of
course anything that builds upon them (SOAP, XMLRPC).
But e.g. CORBA or bittorrent or .... don't support that.

You can try and install TOR or use it. It is a transparent proxy:

http://wiki.noreply.org/noreply/TheO...ansparentProxy

Diez
Jul 28 '08 #4

"Diez B. Roggisch" <de***@nospam.web.dewrote in message
news:6f************@mid.uni-berlin.de...
Gary schrieb:
"Diez B. Roggisch" <de***@nospam.web.dewrote in message
news:6f************@mid.uni-berlin.de...
You can't make any TCP/IP communication run through a proxy, unless it's
transparent.
Thanks for all the info.

I'm puzzled though that a such a transaction isn't possible by rewriting the
headers. So client X connects to my PS, which passes on the data to the
target but with the header changed to indicate the PS as the original
source. The intended target responds to the PS, this is then resent to
client X with the header modified so that the transaction appears
transparent. So it's *effectively* transparent target>client but
non-transparent client>target, if you see what I mean.

Can you please explain why this wouldn't work?

Thanks,
Gary
Jul 30 '08 #5
Am Mittwoch, 30. Juli 2008 13:48:08 schrieb Gary:
"Diez B. Roggisch" <de***@nospam.web.dewrote in message
news:6f************@mid.uni-berlin.de...
Gary schrieb:
"Diez B. Roggisch" <de***@nospam.web.dewrote in message
news:6f************@mid.uni-berlin.de...
You can't make any TCP/IP communication run through a proxy, unless it's
transparent.

Thanks for all the info.
This is not entirely true. There are libc-plugins (i.e. LD_PRELOAD hacks)
which use SOCKS (which is a generic proxying protocol for [TCP/]IP) to
redirect all locally originating TCP/IP traffic _which is managed through the
socket interface of the libc_ in the application that you applied the
LD_PRELOAD hack to through a specified SOCKS-proxy (this should capture
pretty much everything, except for communication originating in the
*nix-kernel itself). I seem to recall that something similar exists for
WinSock, but I wouldn't know for sure.

Check the web for documentation on setting up a SOCKS proxy, and for the
respective libc-plugins or WinSock SOCKS "hack".

If you cannot make the user use SOCKS through a means like this (in which case
there has to be no application support) or by instructing a specific
application to use a SOCKS proxy directly (which all browsers can out of the
box AFAIK), and you don't have the possibility to put yourself somewhere in
the middle by means of a transparent proxy (i.e., a firewall applicance which
does this; I seem to recall that there was some FreeBSD-based software which
basically did just this kind of transparent proxying for a network), you're
out of luck, just like Diez said.

--
Heiko Wundram
Jul 30 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Fuzzyman | last post by:
In a nutshell - the question I'm asking is, how do I make a socket conenction go via a proxy server ? All our internet traffic has to go through a proxy-server at location 'dav-serv:8080' and I...
6
by: harry | last post by:
Hi, I have a program that runs on multiple client pc's. Occasionally one or more of those pc's use VPN to connect to another corporate network. When using VPN they need to set proxy server in...
3
by: Codex Twin | last post by:
Hello apologies if this is the wrong newsgroup to be sending this to. Basically, I have an ASP.NET application that I am trying to force to use a proxy server settings. This can be done by...
9
by: Codex Twin | last post by:
I am re-sending this in the hope that it might illicit a response. I have a corporate client who forces their workstations to get the proxy server details using an automatic proxy discovery script....
6
by: sameer | last post by:
..NET Framework 1.1 VS2003 Application is making webservice calls from behind a proxy server and then freezes and dies. Questoin is can i use webservice over proxy server( i guess another name...
0
by: deepak | last post by:
Hi All, i m develpoing a .net Window application which has 4 texboxes(tbxURLmfor URL in URL Frame,tbxAddress for address in Proxy server frame,tbxPort for port in proxy server...
4
by: Peter | last post by:
Hi I rewrite an old C Programm to C# (Framework 1.1) - it is an easy FTP- Client. I create a "Command-Channel" using TcpClient, a "Command-Reader" and a "Command-Writer" to speak with the FTP...
7
by: chandru1782 | last post by:
Dear friends, I am trying to use CPAN for installing some perl modules. i am using a ubuntu system, which has internet connection through lan and authenticated proxy. when trying to install...
2
by: =?Utf-8?B?TGFycnlLdXBlcm1hbg==?= | last post by:
Our WebDev team seems to have found a problem that exposes a bug in .NET 2.0. This problem can be shown when trying to access a WebService using SSL and through a proxy server after using the...
2
by: | last post by:
Hi all, I have an asp.net 2.0 website that accesses a locally hosted web service. This works fine on servers that are connected to our network. However, I am having a problem with a laptop...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.