holepunch | Punch holes in your AWS security groups | AWS library

 by   erik Python Version: 1.0.0 License: MIT

kandi X-RAY | holepunch Summary

kandi X-RAY | holepunch Summary

holepunch is a Python library typically used in Cloud, AWS applications. holepunch has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install holepunch' or download it from GitHub, PyPI.

Punch holes in your AWS account security. holepunch is meant for times when you need to temporarily open ingress to an AWS security group, perhaps for development or testing remotely without a VPN set up. This is really bad practice, but holepunch will make sure that security group rules will be reverted when you are done. After running holepunch, just hit ^D to clear out the modified rules. You can also run holepunch only for the duration of a shell command with --command. By default, holepunch will refuse to remove rules that existed before it was run. This can be toggled with the --remove-existing flag.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              holepunch has a low active ecosystem.
              It has 68 star(s) with 6 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 7 have been closed. On average issues are closed in 1 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of holepunch is 1.0.0

            kandi-Quality Quality

              holepunch has no bugs reported.

            kandi-Security Security

              holepunch has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              holepunch is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              holepunch releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed holepunch and discovered the below as its top functions. This is intended to give you an instant insight into holepunch implemented functionality, and help decide if they suit your requirements.
            • Launch holepunch
            • Builds the ingress permissions for a security group
            • Parse port ranges
            • Given a list of security groups find the matching security group name
            • Returns a list of security groups matching the given criteria
            • Get external IP address
            • Applies the ingress rules to a security group
            • Parse a CIDR expression
            • Ask user for confirmation
            Get all kandi verified functions for this library.

            holepunch Key Features

            No Key Features are available at this moment for holepunch.

            holepunch Examples and Code Snippets

            holepunch,Examples
            Pythondot img1Lines of Code : 8dot img1License : Permissive (MIT)
            copy iconCopy
            holepunch foo_bar 22 --tcp
            
            holepunch sg-62153838 443 --tcp
            
            holepunch foo_bar 22 --command "ssh bastion"
            
            holepunch foo_bar 22 80 8080-8081 --tcp
            
            holepunch foo_bar --cidr=192.168.0.0/16 22 80
            
            # Also works with IPv6 ranges
            holepunch foo_bar --cidr=  
            holepunch,Installation
            Pythondot img2Lines of Code : 1dot img2License : Permissive (MIT)
            copy iconCopy
            pip install holepunch
              

            Community Discussions

            QUESTION

            Use an image as a mask for another image
            Asked 2020-Dec-06 at 15:48

            I'm making a website that I wanted to be a white page that you could stamp to make another image appear under. So when you click, you make a holepunch. Like this exemple :

            So I managed to have a randomized image in the background as I click which is fine for what I want, and to be able to .append() the holepunches. But I don't know how to do the mask thing I've been digging online for a few things and help, and managed to make it work in certain cases but not that one...

            It should be like that (I guess) :

            • image in the background
            • white shape in front
            • the star shape is making a holepunch in the white shape

            For now, the only thing I managed to do is to have the picture besides a bigger holepunch (which is my original img) but when I click it doesn't make any holepunch, it justs add the stamp.

            Here is the code :

            ...

            ANSWER

            Answered 2020-Dec-06 at 14:32

            I would try to use canvas with white background and add a mouseclick event listener, which cuts out the canvas. I found another question on stack overflow what may can help you:

            HTML5 Cut out circle from previous drawn strokes

            Source https://stackoverflow.com/questions/65168987

            QUESTION

            P2P connection over all NAT types
            Asked 2020-Oct-09 at 07:22

            Recently I am working on a p2p application and i found out how to program UDP holepunching with c# using ICE and STUN protocols.

            Its good but there is some limits for symmetric NATs and routers using symmetric NAT.\

            I am looking for a way to connect two system over any NAT type .

            Anyway I have tried UPNP and port forwarding too but due to firewall and router blacklist this option is out of my mind, if its your answer please describe how should I use this method correctly.

            Thanks in advance.

            ...

            ANSWER

            Answered 2020-Oct-09 at 07:22

            Upnp and NAT-PMP are quite useful for those routers which support these protocols, I haven't meet any problem like "firewall and router blacklist".

            In circumstances that router doesn't support those protocols, ICE is what I use. As you said, symmetric NAT is a type that keeps highest security, and if the port increases randomly it is hard to punch a hole. Using a server as a relay (ICE can do it) is much easier than overcome random algorithm.

            If you are interested in the source code of symmetric NAT, it is in some file like nf_nat_core.c, it's easy to trace and understand how it works.

            Source https://stackoverflow.com/questions/64194342

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install holepunch

            AWS credentials can be set up in any of the places that Boto3 knows to look.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install holepunch

          • CLONE
          • HTTPS

            https://github.com/erik/holepunch.git

          • CLI

            gh repo clone erik/holepunch

          • sshUrl

            git@github.com:erik/holepunch.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular AWS Libraries

            localstack

            by localstack

            og-aws

            by open-guides

            aws-cli

            by aws

            awesome-aws

            by donnemartin

            amplify-js

            by aws-amplify

            Try Top Libraries by erik

            derive

            by erikJavaScript

            alexacast

            by erikPython

            alexandra

            by erikPython

            lastcast

            by erikPython

            mixport

            by erikGo