All Projects → EtherDream → toh

EtherDream / toh

Licence: other
TCP over HTTP. 隐藏网站的管理服务

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to toh

initial-webserver-setup
Ansible playbook for initial ubuntu 16.04 webserver setup and Laravel zero time deployment
Stars: ✭ 50 (+38.89%)
Mutual labels:  webserver
ruby wolf
Tiny ruby web server for research and studying purpose
Stars: ✭ 19 (-47.22%)
Mutual labels:  webserver
rust-web-boilerplate
An implementation of a simple web server using Rust
Stars: ✭ 36 (+0%)
Mutual labels:  webserver
Anti-DDOS-Script
Anti DDOS Protection that will stop DDOS from taking down your Linux Server
Stars: ✭ 51 (+41.67%)
Mutual labels:  webserver
Teapot
Teapot micro web framework for Pharo Smalltalk
Stars: ✭ 86 (+138.89%)
Mutual labels:  webserver
internetarchivebot
iabot.toolforge.org
Stars: ✭ 67 (+86.11%)
Mutual labels:  webserver
wnmp-dev
Development environment: Windows + nginx + MySQL + PHP
Stars: ✭ 52 (+44.44%)
Mutual labels:  webserver
irc-tts
Broadcast your IRC channel via a text-to-speech webserver
Stars: ✭ 14 (-61.11%)
Mutual labels:  webserver
bookish spork
Erlang library for testing http requests
Stars: ✭ 82 (+127.78%)
Mutual labels:  webserver
natural
Fastest Framework for NodeJS. Written in pure ES6+
Stars: ✭ 30 (-16.67%)
Mutual labels:  webserver
heartbeat
A service to keep a live heartbeat (ping) on multiple devices
Stars: ✭ 27 (-25%)
Mutual labels:  webserver
rpi-nginx
[DEPRECATED] NGINX on Raspberry Pi / ARM
Stars: ✭ 20 (-44.44%)
Mutual labels:  webserver
Kitura-HelloWorld-iOS
A Hello World example of running Kitura on iOS
Stars: ✭ 55 (+52.78%)
Mutual labels:  webserver
embedio-extras
Additional Modules showing how to extend EmbedIO.
Stars: ✭ 43 (+19.44%)
Mutual labels:  webserver
MemoBoard
Flask and React based intranet app where you can create and share lists (e.g. shopping list, todo, ...)
Stars: ✭ 35 (-2.78%)
Mutual labels:  webserver
stirfry
StirFry is a self contained and lightweight web framework for nodejs
Stars: ✭ 24 (-33.33%)
Mutual labels:  webserver
go-echo-server-sandbox
A scaffold of golang web server using labstack/echo
Stars: ✭ 12 (-66.67%)
Mutual labels:  webserver
cordova-plugin-webserver
A webserver plugin for cordova
Stars: ✭ 101 (+180.56%)
Mutual labels:  webserver
django-boilerplate-3.6.1
Django served by Gunicorn running behind Nginx reverse proxy. Deploy to AWS Elastic Beanstalk with Fabric3!
Stars: ✭ 13 (-63.89%)
Mutual labels:  webserver
WebListener
A simple, lightweight, PowerShell-based web server, designed for small, temporary projects.
Stars: ✭ 29 (-19.44%)
Mutual labels:  webserver

ToH (TCP over HTTP)

简介

将 TCP 流量封装到 HTTP 中,从而隐藏网站管理服务,减少被攻击的风险。

用法

需要 nodejs。

服务端:

toh -s http-port

客户端:

toh -c local-port url remote-port

演示

服务端:

./toh -s 8080

客户端:

./toh -c 10022 http://server-ip:8080 22

客户端测试:

ssh 127.0.0.1 -p 10022

应用

本程序不提供认证、加密、日志等功能,所以最好不要运行在公网上,而是通过已有的 Web 服务进行转发,例如 nginx:

server {
  server_name                 mysite.com;
  listen                      443 ssl;

  ssl_certificate             mysite.com.cer;
  ssl_certificate_key         mysite.com.key;

  # ...

  location = /ssh-xxxx {
    proxy_pass                http://unix:/tmp/toh.sock;
    proxy_http_version        1.1;
    proxy_set_header          Upgrade $http_upgrade;
    proxy_set_header          Connection upgrade;
    proxy_buffering           off;
    proxy_request_buffering   off;
  }
}

服务端:

rm -f /tmp/toh.sock
./toh -s /tmp/toh.sock

客户端:

./toh -c 10022 https://mysite.com/ssh-xxxx 22

xxxx 替换成随机字符串 (例如 uuidgen) 以防路径爆破。

将本程序运行为后台服务模式,即可删除服务器防火墙中的 SSH、远程桌面等私有运维服务的端口,对外只公开 Web 端口,减少被攻击的风险。查看更多

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].