http-tunneling

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

和自甴很熟 提交于 2020-01-01 04:25:05
问题 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 as a Http request. Can I use this to ping,say, www.google.com which otherwise is giving the following error because the firewall is rejecting the request: $ ping www.google.com ping: unknown host www.google.com If so how is it done...? I have

Ngrok errors '502 bad gateway'

半城伤御伤魂 提交于 2019-12-18 04:28:10
问题 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 returning this: ngrok by @inconshreveable Session Status online Version 2.1.18 Region United States (us) Web Interface http://127.0.0.1:4040 Forwarding http://ea986ca5.ngrok.io -> localhost:5000 Forwarding https://ea986ca5.ngrok.io -> localhost:5000

Is there an Java library for sending binary data over HTTP, HTTP Tunneling?

独自空忆成欢 提交于 2019-12-12 18:36:42
问题 I would like to send quite large chunks of data in a binary format over HTTP, also called HTTP Tunneling. I would like to use this technique using Java for a few Java Swing applications and maybe an Android application. Is there any good Java libraries for HTTP Tunneling? 回答1: JHttpTunnel 回答2: Here is another implementation in Jodd library. There is base implementation named HttpTunnel. Here is a simple example how to use it: https://github.com/oblac/tools/blob/master/src/jodd/tools/http

Http tunneling to pass firewall in C# (TCP)

丶灬走出姿态 提交于 2019-12-11 12:10:03
问题 My need is to communicate between 2 client behind NAT using http tunneling. Is it possible? What all setup is needed to achieve this (like http proxy server etc.)? Is there any library or sample code available for implementing http tunneling over TCP in C#? 回答1: It might be possible for you to use this library: http://granados.sourceforge.net/ It supports port forwarding (tunneling in this case), but I haven't tried it myself. It's an SSH library... so if you can set up an SSH server on

getting started with http tunneling

萝らか妹 提交于 2019-12-10 23:16:01
问题 I will soon start work on software which runs on different machines and communicates over the network. I'd like the communication to happen using HTTP tunneling, so no firewall ports need to be opened by the user. This software will be written in C++. My problem is I don't really know where to start looking for resources regarding implementing HTTP tunneling. I believe I could use WCF for this - does that sound like a good idea? Any pros/cons of going that route? 回答1: The advantage of using

How to ssh over http proxy in Python?

余生长醉 提交于 2019-12-06 13:28:00
问题 I am adapting a Python script to be OS independent and run on Windows. I have changed its ssh system calls to calls to paramiko functions. I am stuck with the issue of http proxy authentication. In Unix (actually Cygwin) environment I would use ~/.ssh/config Host * ProxyCommand corkscrew http-proxy.example.com 8080 %h %p Is there a way to obtain the same using paramiko (or the Python ssh module) either using or not using corkscrew? This post seems to suggest that, but I don't know how. Note:

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

懵懂的女人 提交于 2019-12-06 04:17:30
问题 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 authenticate with the server. Receiving java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Auth Required" at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1525) at sun.net.www.protocol

Can client JavaScript use its own HTTP proxy?

最后都变了- 提交于 2019-12-05 20:00:30
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 a proxy autoconfig file I supply, they can access the server (after authenticating with the proxy). I want to avoid making them go through this manual process. Is it possible to do this programmatically? The JavaScript will be served from an Internet-accessible www.example.com site, so there doesn't seem to be a security issue which would make this

RTSP tunneled HTTP, FFMPEG

天大地大妈咪最大 提交于 2019-12-04 14:37:26
问题 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 source code by setting the control_transport to RTSP_MODE_TUNNEL . My question is simple how do I do this with the following code? int ret = avformat_open_input(&pFormatCtx, [@"rtsp://ip/axis-media/media.amp" UTF8String], NULL, NULL); I tried the

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

我们两清 提交于 2019-12-04 07:08:45
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 authenticate with the server. Receiving java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Auth Required" at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1525) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect (AbstractDelegateHttpsURLConnection.java:164) at sun