Giter Site home page Giter Site logo

node-ssltunnel's Issues

NPN support

OpenSSL 1.0.1+ ships with Next Protocol Negotiation (NPN) support, which is required for SPDY protocol negotiation.

node-spdy supports this already, but it would be great to have this support baked right into node-ssltunnel and then deliver the frames over a regular TCP stream.

Error is not shown and have error level at log

Using client mode with log level. I am able to get it listening on a port and says it will forward request and most likely i have a cert issue but I can't tell because it reports this back:

Error communicating with the server. Error: {}
connection to server was closed

I need more info if possible

"node run_ssltunnel.js ..." encounter error

hi.

node run_ssltunnel.js --role client --proxy_port 54080 --server_port 64443 --server_host my-vps-ip --srv_pub_cert ~/node_modules/ssltunnel/gen-certs/server-public.pem --clt_pub_cert ~/node_modules/ssltunnel/gen-certs/client-public.pem --clt_prv_cert ~/node_modules/ssltunnel/gen-certs/client-private.pem
Running 'client' role. Listening on 54080, encrypting and forwarding to ssltunnel's server on my-vps-ip:64443
ssltunnel's client is listening on port: 54080

Connected to the real BE server
/Users/brite/node_modules/ssltunnel/lib/ssltunnel.js:141
log.info('Error communicating with the server. Error: ' + JSON.stringify(exception));
^

TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Object'
--- property 'issuerCertificate' closes the circle
at JSON.stringify ()
at TLSSocket. (/Users/brite/node_modules/ssltunnel/lib/ssltunnel.js:141:70)
at TLSSocket.emit (events.js:208:15)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at processTicksAndRejections (internal/process/task_queues.js:77:11)

how to fix it?

occasional crash on crypto stream

tls.js:96
throw new Error('CryptoStream is not writable');
^
Error: CryptoStream is not writable
at CleartextStream.write (tls.js:96:11)
at Socket. (C:\Users\dimast.MIDDLEEAST\node_modules\ssltunnel\lib\ssltunnel.js:82:27)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:347:14)

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.