wouter
cf525b93e0
Fix more critical regions. Cleans tests.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4498 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 11:08:50 +00:00
wouter
6b49cdd1d8
- lock subnet new item before insertion to please checklocks,
...
no modification of critical regions outside of lock region.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4497 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-02-02 10:52:44 +00:00
ralph
c881f5fe5e
- Fix #1400 : allowing use of global cache on ECS-forwarding unless
...
always-forward.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4352 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-09-18 09:09:10 +00:00
wouter
39ba948040
- Spelling fixes, from Phil Porada.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4344 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-09-15 14:29:28 +00:00
wouter
89fcd3d300
- Free callback in edns-subnetmod on exit and restart.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4229 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-06-16 07:31:30 +00:00
ralph
449e49f035
- Added domain name based ECS whitelist.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4217 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-06-08 14:44:55 +00:00
ralph
ec8e746c14
- Fix #1249 : unbound doesn't return FORMERR to bogus ECS.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4110 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-12 13:12:21 +00:00
ralph
9c39f97933
- Fix #1247 : unbound does not shorten source prefix length when forwarding ECS.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4108 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-12 11:47:18 +00:00
ralph
630d010b05
- Display ECS module memory usage.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4106 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-11 13:10:30 +00:00
ralph
9b5ca3ffd8
- Remove ECS option after REFUSED answer
...
- Fix small memory leak in edns_opt_copy_alloc
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4100 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-10 09:12:04 +00:00
ralph
9d03b5781d
- remove malloc from inplace_cb_register
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4095 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-06 13:41:49 +00:00
wouter
b99b9a82e2
fixup unused parameters.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4093 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-06 13:23:52 +00:00
ralph
4113eb0a41
- Generalise inplace callback (de)registration
...
- (de)register inplace callbacks for module id
- No unbound-control set_option for ECS options
- Deprecated client-subnet-opcode config option
- Introduced client-subnet-always-forward config option
- Changed max-client-subnet-ipv6 default to 56 (as in RFC)
- Removed extern ECS config options
- module_restart_next now calls clear on all following modules
- Also create ECS module qstate on module_event_pass event
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4092 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-06 13:13:06 +00:00
ralph
5db6e95520
- Do not add current time twice to TTL before ECS cache store.
...
- Do not touch rrset cache after ECS cache message generation.
- Use LDNS_EDNS_CLIENT_SUBNET as default ECS opcode.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4086 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-04-03 09:36:18 +00:00
ralph
12728301d7
- Merge EDNS Client subnet implementation from feature branch into main branch,
...
using new EDNS processing framework.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4074 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-03-21 12:08:17 +00:00