Giter Site home page Giter Site logo

ggrandes / bouncer Goto Github PK

View Code? Open in Web Editor NEW
132.0 132.0 43.0 443 KB

Bouncer is a network TCP port redirector/forward proxy (like rinetd) with extra features like Reverse tunneling (like ssh -R), SSL tunneling (like stunnel), connection Failover, LoadBalancing and Clustering. In pure Java (BIO)

License: Apache License 2.0

Java 98.59% Shell 1.41%
aes bouncer encryption java mux reverse-tunnels ssl tcp tunnel

bouncer's People

Contributors

ggrandes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bouncer's Issues

Too many open files

2013-07-03T11:13:13 [ERROR] [task166:th104:id00000094:MuxInListenRight[x.x.x.x:PPPPP|xxx.x.x.x:JJJJ]] MuxServerListenRemote java.net.SocketException: Too many open files
java.net.SocketException: Too many open files
        at java.net.PlainSocketImpl.socketAccept(Native Method) 

KeyGenerator broken in Java 1.8

Exception in thread "main" java.security.cert.CertificateException: Subject class type invalid.
	at sun.security.x509.X509CertInfo.setSubject(X509CertInfo.java:888)
	at sun.security.x509.X509CertInfo.set(X509CertInfo.java:415)
	at org.javastack.bouncer.KeyGenerator.generateCertificate(KeyGenerator.java:117)
	at org.javastack.bouncer.KeyGenerator.main(KeyGenerator.java:91)

Extend Bouncer to use already opened sockets

Is there a way to extend your library so that when using MUXes, I give it an already opened socket to use for forwarding the data rather than giving it a port to listen to for connections.

Bug in RoundRobin (Forward Connection)

java.lang.ArrayIndexOutOfBoundsException: 321836
at SimpleBouncer$OutboundAddress.connect(SimpleBouncer.java:591)
at SimpleBouncer$PlainServer$PlainConnector.run(SimpleBouncer.java:941)
at SimpleBouncer$1.run(SimpleBouncer.java:210)

Java 11 ClassNotFoundException on start

Hello,

I am using Debian 10.7 and Java 11. At first I received the following:

Unrecognized VM option 'PrintGCDateStamps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

So I added -XX:+IgnoreUnrecognizedVMOptions to the argument list.

Now I'm getting:

openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Debian-1deb10u2)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-post-Debian-1deb10u2, mixed mode, sharing)
Error: Could not find or load main class org.javastack.bouncer.Bouncer
Caused by: java.lang.ClassNotFoundException: org.javastack.bouncer.Bouncer

Any help would be appreciated!
Thanks

Sticky "sessions" in Load Balancing

Implement sticky feature (session affinity) which enables to bind a source IP to a specific backend destination. This ensures that all requests coming from one user will be sent to the same backend application instance.

How do I build and run this?

mvn compile package

Is that right?

but I run it and it says cannot find the class file.

I guess my question is how to get all the jars into the lib directory.

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.