tunneling

Reverse connection application?

As a side project I wish to modify an existing open source VNC application and modify it to attempt to initiate a reverse connection from the server (that the users have) to the single client that I will control. This will allow me to easily send out a single executable to friends and loved ones and when they run it, their vnc server wil...

How to make Teredo hosts within a subnet talk to each other

While I can successfully ping a global address from my teredo-enabled end-host, I'm unable to connect two end-host within the same ipv4 subnet. We are running windows XP. Any thoughts? ...

ssh -D <port> <[email protected]>; but in reverse?

Is it possible to set up an SSH tunnel with dynamic port forwarding like this: ssh -D [email protected] but do it the other way around? That's to say I want to initiate the connection on my local machine and have the dynamic port forwarding happen there, and have my friend connect his browser to the other end of the tunnel. The abo...

How to implement HTTP Tunneling

Hi all, I've written a Flash (Flex) client connecting to a back-end server to exchange data. I've also written my server from scratch, and it serves two purposes: (1) Web (HTTP) Server- By default listens on port 80 (2) Socket/Application- Server - By default listens on port 443 Just FYI, both servers run in the same process space,...

HTTP proxy connection sharing

I am attempting to implement an HTTP tunnel using similar techniques to those employed by web browsers to simulate a full-duplex connection, in Java using the Netty framework. I wish to implement this in such a way that it will work in the presence of real world HTTP proxies. I am attempting to do this without using a servlet container, ...

How do I accomplish HTTP Tunneling by making use of IIS Web Server?

How do I accomplish HTTP Tunneling in C#/ASP.Net by making use of IIS Web Server as the mediator? The client application can either be in C#(standalone), C++(activex), or even Flash and Javascript from a browser. Is it correct to approach HTTP Tunneling as described above? If so do I need to poll (long polling/short polling) the web ...

Tunneling A Protocol Through HTTP - Advice

What are the best examples of real life protocols that tunnel through HTTP? XMPP/Jabber? I'm looking for actual links to documentation? or specs for how they tunnel. I'm in working on project where I'm wondering if I should start with REST, XML-RPC, or SOAP and then have a fast TCP flavor of the protocol. Or start at the low level and t...

How can I set up SSH tunneling to access a webserver behind a firewall?

How would I access a webserver behind a firewall? I'm developing an application for this webserver which is not yet open to the public. Someone walked me through this before, so I know it can be done. However, it has been about four months and I haven't been able to do it again. I'm using Putty to connect to the remote machine. From ...

ssh: check if a tunnel is alive

Hi, I have written a small bash script which needs an ssh tunnel to draw data from a remote server, so it prompts the user: echo "Please open an ssh tunnel using 'ssh -L 6000:localhost:5432 example.com'" I would like to check whether the user had opened this tunnel, and exit with an error message if no tunnel exist. Is there any way ...

SSH Port forwarding causes local browser to lose port qualifier ?

We've set up port forwarding so that our users can access the web server on server foo through a SSH tunnel. The port forwarding causes requests to 999 on the local machine to be forwarded to port 80. On their own machine they open the SSH tunnell and then enter into their local browser ... http://localhost:999/d/a.html ... on their ...

ssh tunneling with visualsvn

I have been asked to setup visualsvn for visual studio 2008 Due to firewall restrictions and server configuration. I need to use ssh tunneling. My problem is this. The local machine needs to connect to a gateway machine via ssh then connect to the subversion server so Local machine ---{ssh}--- gateway ---{ssh}-- subversion server I ...

python and paramiko: how to check if end of ssh tunnel is still alive and reestablish if not?

Hello all, I'm trying to achieve the following: I have two hosts A and B. A establishes a remote port forwarding tunnel on B, i.e. B is the one a port is forwarded on to some where else and A is the one that sets up the tunnel. I tried the script rforward.py that ships with paramiko and it works very well so far. (I'm running rforward....

stylesheet_link_tag producing absolute links instead of relative

I set up facebooker to tunnel my Ruby on Rails application. The issue is that I would like to test locally. That is, I don't want to have to start a tunnel every time I want to see my changes. Right now, when I start the application using ruby script/server (not calling rake facebooker:tunnel:background_start beforehand), links create...

Connecting to an RMI object without registry

I think I need to connect to a remote RMI object without going through the registry, but I don't know how. My situation is this: I'm implementing a simple job distribution service which consists of one distributor and multiple workers. The distributor has a registered RMI object to which clients connect to send jobs, and workers connec...

SSH Dynamic Port Forwarding ('ssh -D') in Python

I'm looking for a way to implement SSH Dynamic Port Forwarding ('ssh -D') under Python. The problem is that it has to work under Windows, i.e., running SSH with popen/pexec/etc. won't work. Any ideas? cheers, Bruno Nery. ...

PHP connect via SSH tunnel to LDAP in other network

I'm developing website for my school. In that school we authenticate users via LDAP, so there was an idea to do the same via school-site. On that site everything is working perfectly, but during developing I need very often to test if such solution works, of not. In order not to commit my changes so often I want to test this site on my l...

Java RMI via Webservice?

Hi there, I'm searching for a possibility to run a java RMI application via webservice or an internet protocol. is there any framwork or solution that says "I can run RMI as WebService with WS-Security" or "I can run RMI via HTTPS" etc. or is tunneling RMI over HTTP or SSH the only way? thx, axel ...

Tunneling through HTTP

WRITTEN IN JAVA Im creating a program that connects to a proxy and then tunneling to another server to send TCP packets, this is my code: { Socket skt = new Socket(proxy_address, proxy_port); PrintStream myOutput = new PrintStream(skt.getOutputStream()); String Request = "CONNECT " + host + ":" + 443 + " HTTP/1.0"; String host3 = "Hos...

How do you programmatically get through a firewall to a SOAP server from a remote client?

I have been looking at posts discussing SSH tunneling which sounds analogous to what I want to accomplish. However, we are programming in Java and have a remote SOAP server behind a firewall. The server is running under Linux but the rest of the network might be either Linux or Windows, or anything else for that matter. ...

Library? C or Python - Socks5 proxy a non-socks aware application.

I need to write an application that will use an open socks5 proxy and tunnel data through it; eg. Photoshop does not support connections via a proxy, I want to create an app that will take all connections from photoshop and run them through the socks5 proxy. Any help would be great, thanks :) ...