GithubHelp home page GithubHelp logo

Comments (7)

csstaub avatar csstaub commented on May 24, 2024 2

@kfox1111 Try this to see if it fixes your issue?

#418

from ghostunnel.

csstaub avatar csstaub commented on May 24, 2024 1

Released in v1.7.3

from ghostunnel.

csstaub avatar csstaub commented on May 24, 2024

Need more information to know what's happening. Did the client provide a certificate but Ghostunnel didn't see it? Or do you want clients w/o certs to be able to connect?

from ghostunnel.

kfox1111 avatar kfox1111 commented on May 24, 2024

Trying to get clients without certs to be able to successfully use the service but use spire to issue/refresh the server side certificate.

from ghostunnel.

kfox1111 avatar kfox1111 commented on May 24, 2024

Amongst other clients, I was doing testing mostly with curl against ghostunel in server mode.

from ghostunnel.

amartinezfayo avatar amartinezfayo commented on May 24, 2024

I've looked into this and if the Workload API is being used in the server, the disable-authentication flag is ignored. I've reproduced this running ./ghostunnel server --use-workload-api-addr unix:/tmp/spire-agent/public/api.sock --listen :9000 --target localhost:9001 --disable-authentication.

I think that the problem may be here: https://github.com/ghostunnel/ghostunnel/blob/master/main.go#L837.
The TLSConfigSourceFromWorkloadAPI function is being called using the *clientDisableAuth value, while this is being executed by a server command. Shouldn't it be called with *serverDisableAuth?

from ghostunnel.

csstaub avatar csstaub commented on May 24, 2024

Good catch! That function is used both in server and in client mode, so it should probably take a flag for disableAuth, and the client/server mode main function needs to pass either *clientDisableAuth or *serverDisableAuth.

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.