Skip to content

Privacy aware DNS Cookies#471

Merged
wtoorop merged 4 commits intodevelopfrom
feature/privacy-aware-cookies
May 1, 2020
Merged

Privacy aware DNS Cookies#471
wtoorop merged 4 commits intodevelopfrom
feature/privacy-aware-cookies

Conversation

@wtoorop
Copy link
Copy Markdown
Contributor

@wtoorop wtoorop commented Apr 9, 2020

Privacy aware DNS Cookies following directions in: https://tools.ietf.org/html/draft-ietf-dnsop-server-cookies-02.

You can test against 185.49.141.38 and 2a04:b900:0:100::38 which has a resolver that will answer when a valid DNS Cookie was provided.
Still TODO before merge, a test package testing the feature.

wtoorop added 3 commits April 8, 2020 16:08
Track source IP address in an efficient manner to make sure the same cookie will not be sent from different source IP addresses.
@wtoorop wtoorop changed the title Privacy aware cookies Privacy aware DNS Cookies Apr 9, 2020
@wtoorop wtoorop merged commit 5c79e2c into develop May 1, 2020
joelpurra added a commit to joelpurra/getdns-node that referenced this pull request May 13, 2021
- Workaround for breaking change in upstream getdns versions after `getdns` v1.6.0; `GETDNS_RCODE_COOKIE` constant was renamed to `GETDNS_RCODE_BADCOOKIE`.
- The renamed constant has not yet been included in an upstream `getdns` released, so this is a preemptive measure.

Fixes getdnsapi#38.

See

- getdnsapi#38
- https://github.com/getdnsapi/getdns
- getdnsapi/getdns#471
- getdnsapi/getdns@5c79e2c

---

To test using latest `getdns` on Ubuntu 21.04.

```shell
sudo apt install libunbound-dev libidn2-dev libssl-dev libevent-dev libuv1-dev libev-dev check

git clone 'git@github.com:getdnsapi/getdns.git'

cd getdns

mkdir build

cd build

cmake ..

make
```

Rebuild `getdns-node` targeting the newly built version (without installing it).

```shell
LIBRARY_PATH="/the/path/to/your/getdns/build" CPLUS_INCLUDE_PATH="/the/path/to/your/getdns/build" npm run --silent rebuild
```

Current `getdns` commit on the `develop` branch is `291e0018817269b72c7cbd6c3e531acba95f563f`.

- https://github.com/getdnsapi/getdns/tree/develop
- getdnsapi/getdns@291e001
@wtoorop wtoorop deleted the feature/privacy-aware-cookies branch May 27, 2021 21:09
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.

1 participant