Giter Site home page Giter Site logo

razorpay / concierge Goto Github PK

View Code? Open in Web Editor NEW
69.0 69.0 7.0 2.44 MB

Web Management & Secure Access Control of AWS Security Groups. Allows you to create IP leases for incoming connections to AWS instances. Also, allows creating invites to allow guest access by URL/Email Invites.Uses two factor authentication for additional security.

License: MIT License

Shell 1.88% Dockerfile 1.81% CSS 0.84% JavaScript 0.46% Go 94.52% HTML 0.50%

concierge's People

Contributors

aarvee11 avatar ace03uec avatar ankitjain28may avatar aravee avatar captn3m0 avatar ccrims0n avatar dependabot-preview[bot] avatar gaurav1308 avatar harshilmathur avatar rajeevrai avatar sahutd avatar shashankkumar avatar shashankmehta avatar tasdikrahman avatar technopahadi avatar telnet-harsha avatar tuxmithun12 avatar utk-spartan 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

Watchers

 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

concierge's Issues

Make Duo Security configurable

Since we are migrating to google auth for login (#3), we stripped out Duo.

We need a way for the end user to configure which one gets picked up.

Dependabot couldn't find a composer.json for this project

Dependabot couldn't find a composer.json for this project.

Dependabot requires a composer.json to evaluate your project's current PHP dependencies. It had expected to find one at the path: /composer.json.

If this isn't a PHP project, or if it is a library, you may wish to disable updates for it from within Dependabot.

You can mention @dependabot in the comments below to contact the Dependabot team.

Error thrown for EC2 Security Group

The current code is only compatible with VPC Security Groups and not EC2 Security Groups. Because of this, I am getting the below error upon logging in:

ErrorException
Undefined index: VpcId (View: /home/bitnami/concierge/app/views/getGroups.blade.php)

Integrate Google Auth

We are currently using Duo-Security for second factor and are planning to move to Google Apps Auth.

Configuration would be the domain name and google app console credentials.

Just the second factor would change from duo -> google.

If possible, we should still allow duo as a backup.

[Ingress concierge] IPs in the CIDR are still added

We are not processing the CIDR, we are just checking for the exact match in the whitelisting IPs so, if we pass CIDR with /29, /16. The IPs under these CIDRs will still be added in the ingress with ip.x.x.x/32.

Kubernetes/Traefik Support

Right now, concierge supports getting a lease on a security group for AWS. As a future extension, this is a proposal to add Traefik support for services running within a kubernetes cluster.

Changes required:

  • Support Kubernetes Authentication on the backend (/manage/kubernetes) to list all ingresses with label concierge=true
  • Support patching an ingress to add/edit the traefik.ingress.kubernetes.io/whitelist-source-range annotation. Only the new IP should get added, or an old IP from an expiring lease should get removed.
  • Lock on an ingress resource while making changes to prevent conflicting updates.

The auth should allow concierge to:

  1. List all ingresses in the namespaces it controls
  2. Ability to patch ingresses.

Client Roaming Support

Problem statement

Concierge grants leases to end users by adding their apparent public IP to the inbound allowlist of relevant security group.
This approach assumes client traffic will always originate from a single public IP, which can then be easily filtered.
• I use Airtel 4G dongle, it provides me with a public IPv6 address. 6to4 proxies that sit between AWS & Airtel networks almost always use an egress pool of IPv4 IPs. i.e. my apparent IPv4 keeps on changing.
• I took a direct fiber-to-home broadband connection, my ISP owns a public IPv4 /24 range and use mutiple IPs for egress. Problem remains the same.

Solution

Add JS to concierge that makes periodic calls to a beacon.gif ep., for all the auth'd users.
Once a lease is taken for a security group, concierge opens it up for a single IPv4 address.
Subsequent beacons will help concierge magically add never-seen-before IPs to all the existing leases for that user.
As long as concierge user keeps it open in a tab in their browser.


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.