Questions tagged [http-tunneling]

HTTP Tunneling is a technique by which communications performed using various network protocols are encapsulated using HTTP.

HTTP Tunneling is a technique by which communications performed using various network protocols are encapsulated using HTTP. HTTP therefore acts as a wrapper for a channel that the network protocol being tunneled uses to communicate.

75 questions
44
votes
17 answers

Ngrok errors '502 bad gateway'

Quite new to using any sort of Web App stuff, and I've been trying to slowly build a Facebook Messenger Bot. When I try to use ngrok I can't visit the address I'm given, i.e: ngrok http 5000 is what I'm putting in the command line, and it's…
Jordan Cagney
  • 527
  • 1
  • 4
  • 8
24
votes
3 answers

Tunnel any kind of TCP traffic through HTTP/s

I am looking for a software to tunnel RDP or other binary TCP traffic through a HTTPS tunnel. Because many clients only have HTTP/S permitted (only port 80 and 443 open in the firewall). But there's a need to forward RDP (and other protocols) from…
GreenRover
  • 1,462
  • 1
  • 10
  • 29
12
votes
2 answers

Can I use http tunnel to ping or traceroute through a proxy with firewall?

I don't know if there is a way to ping a target outside my LAN proxy which accepts only Http requests through a squid proxy... I read somewhere that one way to deal with such problem is to use a http tunnel so that the proxy still sees the request…
pflz
  • 1,811
  • 4
  • 25
  • 32
7
votes
2 answers

Using NGrok with POW

I've almost got NGrok working with POW, but it is resolving to the POW without drilling down to the application running on POW. I can access my local application running on POW at: myapp.dev However when I initialize Ngrok: /Applications/ngrok…
Undistraction
  • 38,727
  • 46
  • 165
  • 296
6
votes
2 answers

Is there any replacement for HTTP tunneling with RMI in Java 9?

So I see that HTTP tunneling over RMI has been removed in Java 9. We sell commercial Java software, which runs in Tomcat. Our customers install this on their Mac, Windows, and Linux servers. This software is then accessed by the public, with a Java…
Jesse Barnum
  • 5,619
  • 4
  • 34
  • 59
6
votes
2 answers

How to keep connection open when doing HTTP tunneling

I connect to a proxy and with the connect command I send some custom headers. This is a requirement. I get a 200 response. Then I try to use the same connection to do a get request (search attached code for "GET {0}") but I always get a error that…
Eminem
  • 6,366
  • 14
  • 45
  • 85
6
votes
2 answers

Reverse Tunnel over JSCH (SSH) and HTTPS

I have to implement a reverse tunnel from client to server. I have used JSCH with the following command session.setPortForwardingR(rport, lhost, lport); and it works (see also Reverse SSH tunnel with JSCH Java)! next I have to tunnel my ssh session…
venergiac
  • 6,053
  • 1
  • 38
  • 65
6
votes
1 answer

SocketServer rfile.read() very very slow

I am building an HTTPS proxy which can forward all SSL traffic. It is called a transparent tunneling. Anyway, I have a problem with Python's socketserver. When I called rfile.read(), it takes a very long time to return. Even I used select to make…
Kehan Wang
  • 153
  • 1
  • 8
6
votes
1 answer

HTTP Tunnel Servlet (Java)

I am trying to write an HTTP tunnel as we want to be able to connect to a remote machine through our web application. While I am aware of the security risks involved, it's something we would like to do. It's not hosted on the internet, but on…
mrswadge
  • 1,519
  • 1
  • 19
  • 38
5
votes
1 answer

HTTP tunneling (of RTP) for cameras

My company is developing a system that interfaces with several network cameras. The way we stream video from the cameras is over HTTP (mainly because of camera limitations combined with the fact that we want it to be able to supply plug-and-play…
TomM
  • 365
  • 3
  • 15
5
votes
1 answer

Set CA bundle for requests going through HTTPS tunnel

I'm trying to send an HTTPS request through an HTTPS tunnel. That is, my proxy expects HTTPS for the CONNECT. It also expects a client certificate. I'm using Requests' proxy features. import requests url = "https://some.external.com/endpoint" with…
Savior
  • 2,727
  • 2
  • 16
  • 41
5
votes
1 answer

Ngrok returns 405 error while tunneling my localhost

I have a web app bot that I would like to remote it so a few people can test it. I am using Bot Framework Emulator to test it locally and it works wonders, but I'm thoroughly failing to make ngrok host it. (I actually managed doing it using the…
5
votes
2 answers

Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407" via https

I try to connect to a server via https that requires authentication.Moreover, I have an http proxy in the middle that also requires authentication. I use ProxyAuthSecurityHandler to authenticate with the proxy and BasicAuthSecurityHandler to…
4
votes
1 answer

RTSP tunneled HTTP, FFMPEG

I'm trying to stream from an Axis ip camera which uses RTSP over HTTP. I can get the normal RTSP stream to work, but I can't find any information or documentation on how to actually set the tunneling mode for the stream. It is supported in the…
Jon Andersen
  • 476
  • 6
  • 20
3
votes
2 answers

Can client JavaScript use its own HTTP proxy?

My server, server.example.com, isn't accessible from the Internet. However, there's an accessible HTTP proxy, proxy.example.com, that can talk to the server. If users configure their browser to go through proxy.example.com for *.example.com, or use…
Adam Morrison
  • 206
  • 3
  • 8
1
2 3 4 5