Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional protocols for ACL's and Security Groups #2278

Closed
mikeyhill opened this issue Jun 8, 2015 · 2 comments
Closed

Add additional protocols for ACL's and Security Groups #2278

mikeyhill opened this issue Jun 8, 2015 · 2 comments

Comments

@mikeyhill
Copy link

ESP and AH cause an error.

* Invalid Protocol ESP for rule map[string]interface {}{"icmp_type":0, "icmp_code":0, "from_port":0, "to_port":65535, "rule_no":810, "action":"allow", "protocol":"ESP", "cidr_block":"0.0.0.0/0"}

I checked out the code and am not sure where the protocol numbers (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) are coming from so couldn't update it.

@phinze
Copy link
Contributor

phinze commented Jun 9, 2015

Hi @mikeyhill - looks like we have a mapping here if you wanted to take a stab at adding the ones you need:

func protocolIntegers() map[string]int {
var protocolIntegers = make(map[string]int)
protocolIntegers = map[string]int{
"udp": 17,
"tcp": 6,
"icmp": 1,
"all": -1,
}
return protocolIntegers
}

@ghost
Copy link

ghost commented May 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants