Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Dnsmasq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Dnsmasq
Commits
7fa836e1
Commit
7fa836e1
authored
Feb 10, 2014
by
Simon Kelley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle validation when more one key is needed.
parent
1633e308
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
142 additions
and
119 deletions
+142
-119
src/config.h
src/config.h
+1
-0
src/dnsmasq.h
src/dnsmasq.h
+1
-1
src/forward.c
src/forward.c
+140
-118
No files found.
src/config.h
View file @
7fa836e1
...
...
@@ -19,6 +19,7 @@
#define CHILD_LIFETIME 150
/* secs 'till terminated (RFC1035 suggests > 120s) */
#define EDNS_PKTSZ 4096
/* default max EDNS.0 UDP packet from RFC5625 */
#define KEYBLOCK_LEN 35
/* choose to mininise fragmentation when storing DNSSEC keys */
#define DNSSEC_WORK 50
/* Max number of queries to validate one question */
#define TIMEOUT 10
/* drop UDP queries after TIMEOUT seconds */
#define FORWARD_TEST 50
/* try all servers every 50 queries */
#define FORWARD_TIME 20
/* or 20 seconds */
...
...
src/dnsmasq.h
View file @
7fa836e1
...
...
@@ -560,7 +560,7 @@ struct frec {
time_t
time
;
unsigned
char
*
hash
[
HASH_SIZE
];
#ifdef HAVE_DNSSEC
int
class
;
int
class
,
work_counter
;
struct
blockdata
*
stash
;
/* Saved reply, whilst we validate */
size_t
stash_len
;
struct
frec
*
dependent
;
/* Query awaiting internally-generated DNSKEY or DS query */
...
...
src/forward.c
View file @
7fa836e1
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment