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

Anonymize IPs with Netconan #169

Merged
merged 5 commits into from
Oct 24, 2022
Merged

Anonymize IPs with Netconan #169

merged 5 commits into from
Oct 24, 2022

Conversation

chadell
Copy link
Collaborator

@chadell chadell commented Sep 24, 2022

This PR uses a different approach than #165 , using the netconan library. It makes it easier as less code is needed to maintain, but because it's randomly assigning IPs, it can't be used as a CI check to verify nothing is changing.
Because this is simply a helper script, I think it is still a valid approach, for when anonymization is needed.

Copy link
Contributor

@scetron scetron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that at least one of the randomized IPs was still an actual IP address, I think that it would be good to limit it to the documentation IP addresses.

A second thought on anonymization would be that there are a bunch of email headers that appear to contain some information that is not necessary to the function of the library. Not sure if any of it might be sensitive however.

X-SM-DEDUPING-ID: 7cc8bab7-00bb-44e0-a3ec-bdd1a5560b80-EMAIL--1012261942-036424c1a19ca69ca7ea459ebd6823e1
Date: Thu, 6 May 2021 21:52:56 +0000
Feedback-ID: 1.us-east-1.xvKJ2gIiw98/SnInpbS9SQT1XBoAzwrySbDsqgMkBQI=:AmazonSES
X-SES-Outgoing: 2021.05.06-62.46.238.146
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a randomized IP? This is an actual IP according to WHOIS: https://apps.db.ripe.net/db-web-ui/query?searchtext=62.46.238.146

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The randomisation from netconan has no option to define the "usable" IPs to anonymise (or I haven't found it), so it randomly pick "valid" IPs.

@chadell chadell requested a review from scetron October 4, 2022 15:13
@chadell chadell merged commit 6a917ff into develop Oct 24, 2022
@chadell chadell deleted the netconan branch October 24, 2022 03:56
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.

3 participants