GithubHelp home page GithubHelp logo

--syslog doesn't seem to work about ghostunnel HOT 4 CLOSED

rickw avatar rickw commented on May 13, 2024
--syslog doesn't seem to work

from ghostunnel.

Comments (4)

alokmenghrajani avatar alokmenghrajani commented on May 13, 2024

It's possible you are running into the condition commented here: https://github.com/square/ghostunnel/blob/master/main.go#L120

We should investigate and/or log a message when this condition happens.

from ghostunnel.

rickw avatar rickw commented on May 13, 2024

This is on an Ubuntu 17.04 cloud instance. The main issues I was having was starting ghostunnel from Python with dynamic parameters so I tried the —syslog option.

The log messages seemed the same when I was starting with —syslog by hand from the terminal.

from ghostunnel.

csstaub avatar csstaub commented on May 13, 2024

If ghostunnel fails to setup syslog (with --syslog set) it should print an error to stderr and exit.

@rickw I am unable to reproduce your problem on macOS (on latest master). Can you confirm which version/revision of ghostunnel you are using, post the exact invocation you started the binary with, and maybe also provide us with the log output? I will setup a Ubuntu box to see if I can reproduce the problem there.

from ghostunnel.

csstaub avatar csstaub commented on May 13, 2024

Here's how I started ghostunnel:

❯❯❯ ./ghostunnel server --listen localhost:8443 --target localhost:8080 --keystore test-keys/server.p12 --cacert test-keys/root.crt --allow-cn client --syslog

And the corresponding syslog output:

❯❯❯ grep ghostunnel /var/log/system.log                                                          ✘ 130
Jan  2 10:34:30 comet ./ghostunnel[3657]: [3657] 2018/01/02 10:34:30.604197 starting ghostunnel in server mode
Jan  2 10:34:30 comet ./ghostunnel[3657]: [3657] 2018/01/02 10:34:30.608360 loaded certificate with common name 'server'
Jan  2 10:34:30 comet ./ghostunnel[3657]: [3657] 2018/01/02 10:34:30.609017 using target address localhost:8080
Jan  2 10:34:30 comet ./ghostunnel[3657]: [3657] 2018/01/02 10:34:30.609266 listening for connections on 127.0.0.1:8443

from ghostunnel.

Related Issues (20)

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.