Code Monkey home page Code Monkey logo

warp's Introduction

本项目转至:tcp-over-http!!!

本项目适用场景:利用netlify的http redirect功能,再加上家里宽带下一台ipv6服务器,实现零成本搭建tcp服务。
可执行文件使用graalvm native-image编译而成。由于不支持交叉编译,发布列表里没有的就安装java来使用吧
原理是将tcp连接包装为http短连接:
real tcp server port<---warp server--->http server port<-----http get/post------> http server port<---warp client--->tcp server port<----->real client
使用方法:
Http-Server 127.0.0.1 3389 8080
Http-Client "http://serverhost:8080/" 8081
同时也有websocket协议的类似的代码和使用方法,由于netlify只能http短连接,因此不适用,但适用于cloudflare的cdn代理(注意cf cdn仅支持部分端口)。有需要可以自行编译。\

TODO List:
添加客户端的代理支持
编译osx下的可执行文件

warp's People

Contributors

mikechenczy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.