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 dev's IP to ferm whitelist #381

Merged
merged 1 commit into from
Oct 15, 2015
Merged

Add dev's IP to ferm whitelist #381

merged 1 commit into from
Oct 15, 2015

Conversation

QWp6t
Copy link
Member

@QWp6t QWp6t commented Oct 13, 2015

@austinpray
Copy link
Contributor

If you have multiple people provisioning a box or you provision a box from two different locations, does it remove the old entries? I will test but if anyone can get to it faster than me go ahead.

@louim
Copy link
Contributor

louim commented Oct 14, 2015

Yeah one problem with this is that it will only use the most recent deployer's ip. (Each deployment would overwrite the ip). Not ideal for organization I think.

@austinpray
Copy link
Contributor

I'm okay with each deployment overwriting the IP addresses as long as it doesn't leak ips such that every single place you have ever provisioned from (or every person who has ever provisioned) is whitelisted.

@mAAdhaTTah
Copy link
Contributor

Wouldn't that be preferable, actually? Presumably, only developers or people associated with the project are deploying, so wouldn't you want all of their IPs whitelisted?

@louim
Copy link
Contributor

louim commented Oct 14, 2015

@mAAdhaTTah it's in the config files. There nothing preventing your to edit the file to make the rule like so:

  - type: dport_accept
    dport: [ssh]
    saddr: ["my.first.dev.ip", "my.second.dev.ip", "my.third.dev.ip"]

it wouldn't be easily feasible to generate this list dynamically, because of the way the role is made.

@mAAdhaTTah
Copy link
Contributor

@louim Right, that looks like the behavior @austinpray prefers. I was just suggesting the other way might preferable, though if it's not feasible, it doesn't really matter :).

@swalkinshaw
Copy link
Member

@QWp6t pls add changelog entry.

retlehs added a commit that referenced this pull request Oct 15, 2015
@retlehs retlehs merged commit 57ef37c into master Oct 15, 2015
@retlehs retlehs deleted the QWp6t-fermplsbnice2me branch October 15, 2015 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants