kandi background
Explore Kits

lanproxy | lanproxy是一个将局域网个人电脑、服务器代理到公网的内网穿透工具,支持tcp流量转发,可支持任何tcp上层协议(访问内网网站、本地支付接口调试、ssh访问、远程桌面...)。目前市面上提供类似服务的有花生壳、TeamView、GoToMyCloud等等,但要使用第三方的公网服务器就必须为第三方 | Proxy library

 by   ffay Java Version: v0.1 License: No License

 by   ffay Java Version: v0.1 License: No License

Download this library from

kandi X-RAY | lanproxy Summary

lanproxy is a Java library typically used in Networking, Proxy applications. lanproxy has build file available and it has medium support. However lanproxy has 11 bugs and it has 2 vulnerabilities. You can download it from GitHub.
lanproxy是一个将局域网个人电脑、服务器代理到公网的内网穿透工具,支持tcp流量转发,可支持任何tcp上层协议(访问内网网站、本地支付接口调试、ssh访问、远程桌面...)。目前市面上提供类似服务的有花生壳、TeamView、GoToMyCloud等等,但要使用第三方的公网服务器就必须为第三方付费,并且这些服务都有各种各样的限制,此外,由于数据包会流经第三方,因此对数据安全也是一大隐患。技术交流QQ群 1067424330
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • lanproxy has a medium active ecosystem.
  • It has 4662 star(s) with 1274 fork(s). There are 204 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 120 open issues and 34 have been closed. On average issues are closed in 111 days. There are 7 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of lanproxy is v0.1
lanproxy Support
Best in #Proxy
Average in #Proxy
lanproxy Support
Best in #Proxy
Average in #Proxy

quality kandi Quality

  • lanproxy has 11 bugs (1 blocker, 0 critical, 7 major, 3 minor) and 102 code smells.
lanproxy Quality
Best in #Proxy
Average in #Proxy
lanproxy Quality
Best in #Proxy
Average in #Proxy

securitySecurity

  • lanproxy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • lanproxy code analysis shows 2 unresolved vulnerabilities (0 blocker, 0 critical, 2 major, 0 minor).
  • There are 0 security hotspots that need review.
lanproxy Security
Best in #Proxy
Average in #Proxy
lanproxy Security
Best in #Proxy
Average in #Proxy

license License

  • lanproxy does not have a standard license declared.
  • Check the repository for any license declaration and review the terms closely.
  • Without a license, all rights are reserved, and you cannot use the library in your applications.
lanproxy License
Best in #Proxy
Average in #Proxy
lanproxy License
Best in #Proxy
Average in #Proxy

buildReuse

  • lanproxy releases are available to install and integrate.
  • Build file is available. You can build the component from source.
  • Installation instructions are not available. Examples and code snippets are available.
  • lanproxy saves you 2205 person hours of effort in developing the same functionality from scratch.
  • It has 4826 lines of code, 220 functions and 57 files.
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
lanproxy Reuse
Best in #Proxy
Average in #Proxy
lanproxy Reuse
Best in #Proxy
Average in #Proxy
Top functions reviewed by kandi - BETA

kandi has reviewed lanproxy and discovered the below as its top functions. This is intended to give you an instant insight into lanproxy implemented functionality, and help decide if they suit your requirements.

  • Add the API route .
  • Update the proxy configuration with the given JSON file .
  • Outputs the pages .
  • Initializes the SSL context .
  • Remove command channel
  • Decodes the proxy message .
  • Handle connect message .
  • Encodes the proxy packet .
  • Initialize SSLTCP transport .
  • Run the given request .

lanproxy Key Features

lanproxy是一个将局域网个人电脑、服务器代理到公网的内网穿透工具,支持tcp流量转发,可支持任何tcp上层协议(访问内网网站、本地支付接口调试、ssh访问、远程桌面...)。目前市面上提供类似服务的有花生壳、TeamView、GoToMyCloud等等,但要使用第三方的公网服务器就必须为第三方付费,并且这些服务都有各种各样的限制,此外,由于数据包会流经第三方,因此对数据安全也是一大隐患。技术交流QQ群 1067424330

使用

copy iconCopydownload iconDownload
server.bind=0.0.0.0

#与代理客户端通信端口
server.port=4900

#ssl相关配置
server.ssl.enable=true
server.ssl.bind=0.0.0.0
server.ssl.port=4993
server.ssl.jksPath=test.jks
server.ssl.keyStorePassword=123456
server.ssl.keyManagerPassword=123456

#这个配置可以忽略
server.ssl.needsClientAuth=false

#WEB在线配置管理相关信息
config.server.bind=0.0.0.0
config.server.port=8090
config.admin.username=admin
config.admin.password=admin

Community Discussions

Trending Discussions on Proxy
  • Does a web request with proxy always require a new connection?
  • Setting proxies when crawling websites with Python
  • Trusting individual invalid certs in mitmproxy
  • Execute SSIS package with Proxy - Could not get proxy data for Proxy_id
  • How to configure nginx to serve an angular app on / and proxy /api to another api server?
  • Make reverse TCP connection accept any amount of connections (like a normal TCP server)
  • Should transparent HTTP proxy remove hop HTTP headers?
  • Constant Error Trying to Use Proxy to Request IP via httpbin.org
  • Is it possible to run a javascript proxy that proxy the video's media request on the client side?
  • Does WebRTC Leak Your Real IP without User Interaction?
Trending Discussions on Proxy

QUESTION

Does a web request with proxy always require a new connection?

Asked 2022-Mar-13 at 22:40

This is a question around how a proxy should behave with HTTPS requests. If there are 2 users behind a proxy and both go to https://example.com one after another, can the proxy reuse the existing TCP connection created with example.com earlier for user1.

Both TCP and HTTPS are different protocols, so it doesn't seem like it should affect anything, and in practice it doesn't as well.

Is there something in existing TLS implementations that might not like this kind of behavior of having two different sessions over the same connection? Would this be a bad idea from a security perspective to have the same TCP connection for different users?

ANSWER

Answered 2021-Aug-11 at 01:56

You mean if two HTTP clients make requests to a reverse HTTP proxy, could the proxy reuse TCP connections to the HTTP server?

scenario

Yes, absolutely. This is called connection pooling and it is common in practice. The proxy opens a pool of persistent connections with each backend endpoint. Then, the proxy queues requests and each request gets sent on an available TCP connection.

From a TLS perspective, if the proxy is an HTTP proxy (L7), clients perform TLS handshakes with the proxy, not the backend web servers and, hence, there's no problem. However, if the proxy operates at L4, TLS termination must occur downstream (TLS pass-through), which poses complication.

My current understanding is that L4 proxies maintain 1:1 connections with backends. Meaning, each incoming connection has a corresponding outgoing connection to a backend, which removes our ability to reuse connections and leverage connection pooling.

For example, NGINX does this:

nginx NGINX maintains a “cache” of keepalive connections – a set of idle keepalive connections to the upstream servers – and when it needs to forward a request to an upstream, it uses an already established keepalive connection from the cache rather than creating a new TCP connection.

Load Balancing with NGINX and NGINX Plus, Part 2


Helpful resources

Source https://stackoverflow.com/questions/68615189

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install lanproxy

You can download it from GitHub.
You can use lanproxy like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the lanproxy component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

Support

For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.