erik / holepunch Goto Github PK
View Code? Open in Web Editor NEWPunch holes in your AWS security groups.
License: MIT License
Punch holes in your AWS security groups.
License: MIT License
Due to the way the AWS Security Group API works, we're only able to revoke security group rules which match exactly all the keys we pass in.
In the case of existing rules that conflict with what we add, the only thing differing may be the description
field, still resulting in the groups failing to be removed.
Given that the flag is --remove-existing
, this behavior is unexpected.
See: #22
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupIngress.html
Opening this issue to track a visibility-raising comment once Boto3 introduces support for the just-announced commenting for security groups.
Sorry for bothering again, but I upgraded to 0.7.1 for the botocore fix and now it only adds my external v6 address and I cannot connect to my servers via v4.
I see two solutions here:
Hi, I think that would be really valuable to have option such as: '--remove-only'.
I've noticed that sometimes network sessions / tokens (depends of configuration) - can expired and then holepunch is not able to remove configuration, becuase is returing only error:
Skipping existing permission: {"ToPort": 443, "IpProtocol": "tcp", "IpRanges": ...
No changes to make.
So this means that my rule still exists - and I can't remove it. And running something like:
holepunch .... --remove-only
Could remove rule if exists.
The latest awscli uses botocore-1.8.21
and then holepunch is not working anymore.
Would be nice to add functionallity to work with AWS profiles - like most of AWS commands are working: --profile XXX
Links:
Instead of waiting for Ctrl+c I would love an option to run a subcommand and to close the ingress when this subcommand exits.
Use case: Run SSH to a host and wrap it with holepunch to open access
Proposed syntax: holepunch -c "ssh myserver" <mySecGrpId> 22
Rather than identifying the SG by name (I inherited a mess), it would be easier to quote the group ID.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.