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
22dee512
Commit
22dee512
authored
Oct 13, 2017
by
Simon Kelley
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log DNS server max packet size reduction.
parent
6fd5d79e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/forward.c
src/forward.c
+5
-1
No files found.
src/forward.c
View file @
22dee512
...
...
@@ -845,7 +845,11 @@ void reply_query(int fd, int family, time_t now)
only do this when we get a truncated answer, or one larger than the safe size. */
if
(
server
&&
(
forward
->
flags
&
FREC_TEST_PKTSZ
)
&&
((
header
->
hb3
&
HB3_TC
)
||
n
>=
SAFE_PKTSZ
))
server
->
edns_pktsz
=
SAFE_PKTSZ
;
{
server
->
edns_pktsz
=
SAFE_PKTSZ
;
prettyprint_addr
(
&
server
->
addr
,
daemon
->
addrbuff
);
my_syslog
(
LOG_WARNING
,
_
(
"reducing DNS packet size for nameserver %s to %n"
),
daemon
->
addrbuff
,
SAFE_PKTSZ
);
}
/* If the answer is an error, keep the forward record in place in case
we get a good reply from another server. Kill it when we've
...
...
神楽坂玲奈
@zh99998
mentioned in commit
ebedcbae
·
Dec 13, 2020
mentioned in commit
ebedcbae
mentioned in commit ebedcbaeb8c0e356077fba126f22a4049d52638b
Toggle commit list
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