tunnel

Problem originating SSH tunnels from python

The object is to set up n number of ssh tunnels between satellite servers and a centralized registry database. I have already set up public key authentication between my servers so they just log right in without password prompts. Now what ? I've tried Paramiko. It seems decent but gets pretty complicated just to set up a basic tunnel, al...

Connecting to SVN server behind corporate firewall from home

How can I configure TortoiseSVN to connect to a SVN server behind a corporate firewall from home? This is the question I'm having a hard time finding an answer to. Here's what I DON'T have: Official VPN access to the corporate intranet. Control over the SVN server. Any control over the intranet. Cooperation from the IT department. H...

Using TAP-Win32

Hello. I need to port an application (well - library) which uses TAP-Win32 as network interface. Unfortunately library is suppose to be on BSD3 license so I cannot use 'examples' from qemu or openvpn due to licensing issues. PS. As library will not be in C I'm more interested in HL approach like 'get list of keys from registry' rather ...

using a "VPN proxy" from python on linux, possible to do entirely in userspace? (without root privileges)

It is easy to programmatically use http or socks proxies from python in combination with urllib2, without changing system settings, but having looked at both the standard libraries and having searched on google I cannot see a straight forward way to do something similar with a vpn. I cannot change system settings but I could use any exte...

Connection Multiplexing

Hi; Supposing we have opened a connection of type either TCP or UDP to another remote machine. Having this connection, can we allow multiple connections virtually over this connection like VPN(but not VPN)? I mean multiple applications run on remote machine and you try to access to these applications, is there any multiplexing mechanism ...

How to 'Bridge'/'Stream'/'Forward' an Incoming HTTP Connection (Advanced Proxy)

Not sure if this is possible..basically a server forwards/bridges an incoming connection Client -> Server -> Destination Now, rather than a normal proxy script on the server(or a simple redirect), 1) the Destination sees the incoming connection as from the CLIENT (not from the SERVER).. aka masking the server 2) the Server in the midd...

need to use git behind firewall: trying ssh tunneling

Hi, I am trying to use ssh port forwarding to defeat corporate firewall: ssh git@GIT_SERVER -L9418:GIT_SERVER:9418 and in another terminal I run git clone git://localhost:repositories/project.git But I get the following error: Initialized empty Git repository in /Users/aboxer/tmp/glucosia/.git/ fatal: Unable to look up lo...

Implementing SSL tunnel in C#

As a part of a larger application I need to implement an SSL tunnel in C#. I was wondering if there's a better way of doing that instead of writing each step of SSL negotiation myself which sounds like reinventing the wheel. Do you know if there are any libraries that I could use to minimize the code I need to write or any tutorials whi...

Shutting Down SSH Tunnel in Paramiko Programatically

We are attempting to use the paramiko module for creating SSH tunnels on demand to arbitrary servers for purposes of querying remote databases. We attempted to use the forward.py demo that ships with paramiko but the big limitation is there does not seem to be an easy way to close an SSH tunnel and the SSH connection once the socket ser...

How to redirect an application's connection through a Socks5/SSH/HTTPS tunnel? Any recomendations of SDK's to accomplish such task?

I need to tunnel the connections (mostly TCP) made by an application through Socks5, SSH or HTTPS. So far, I've found 3 ways to do this: api hooks, winsock lsp and a driver. I'm looking for advice on the best way to handle this, and any recommendations on SDK's that could abstract this task for me (free/open-source preferred, but com...

Is there any good universal PHP MySQL HTTP tunnel?

Many Windows MySQL tools like Navicat or EMS have this thing - You just put a PHP file on a shared hosting and can connect local running program to the remote MySQL server on the Web via the web service exposed by that php file. Are there any good popular free solutions to expose full MySQL as a web service using PHP? ...

A way to specify a different host in an SSH tunnel from the host in use

I am trying to setup an SSH tunnel to access Beanstalk (to bypass an annoying proxy server). I can get this to work, but with one caveat: I have to map my Beanstalk host URL (username.svn.beanstalkapp.com) in my hosts file to 127.0.0.1 (and use the ip in place of the domain when setting up the tunnel). The reason (I think) is that I am...

HTTPS requests over open proxy servers

I will keep this simple. It's possible, or there is a special type of proxy for this? ...

CodeIgniter: Encrypt communication between app and mysql db on different servers ?

Can anyone tell me the best way to encrypt data between a CI application and a MySQL db hosted on separate servers. SSH tunnel? If so, has anyone gotten this working using CI? Code examples and/or links are welcome. ...

Something compareable to 'localtunnel' for Windows

Hello, I found this here http://github.com/progrium/localtunnel , and it's exactly what I need, but I am working on Windows and localtunnel is Unix... Some backgorund: I am currently developing a Facebook app and the Single-Sign-On won't work on my local Tomcat. ...

possible to make tunneling using linux webhosting with cpanel

hi, I'm having a Linux Webhosting account with cpanel & whm.. i also see something ssh on cpanel.. i have heard about tunneling to make proxy. my friend is having VPS server and is able to make tunneling using ssh via 443port. i need to know if there is some possibility to make proxy browsing using my webhosting account.. i google...

Java Ganymed ssh tunnelling... How to check that a tunnel is still open?

I have an ssh tunnel created with Ganymed's LocalPortForwarder class. It's working fine. The question is how (programmatically in Java) do I check that the tunnel is still open and active? For reference, here's the code snippet that creates the tunnel (error checking removed for brevity's sake): Connection conn = new Connection(remoteH...

Python client for MSSQL, with encrypted connections?

I am looking for a Python client for MSSQL, but one that supports encrypted connections to a remote MSSQL server. Can someone recommend a technique for using Python to read from MSSQL, over an encrypted connection? ...

HttpClient: how do I obtain the underlying socket from an existing connection?

I am using HttpClient 4.02 to create a connection via proxy (using the CONNECT method) to tunnel a connection to a remote server. HttpClient is very convenient for this but I am new to the API and cannot see how to get at the underlying Socket of the tunneled connection. The following code taken from: http://svn.apache.org/repos/asf/htt...

PHP remote procedure calling

I have two servers on PHP that need to communicate, calling remote methods of each other. XML-RPC for PHP is not very good solution because it's very slow, and I can't call multiple methods in one request. ...