-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: usr: Fix nsupdate hang when processing a large update
To mitigate DNS flood attacks over a single TCP connection, we throttle the connection when the other side does not read the data. Throttling should only occur on server-side sockets, but erroneously also happened for nsupdate, which acts as a client. When nsupdate started throttling the connection, it never attempts to read again. This has been fixed. Closes #4910 Merge branch '4910-nsupdate-hangs-when-processing-large-update' into 'main' See merge request isc-projects/bind9!9709
- Loading branch information
Showing
4 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
; Copyright (C) Internet Systems Consortium, Inc. ("ISC") | ||
; | ||
; SPDX-License-Identifier: MPL-2.0 | ||
; | ||
; This Source Code Form is subject to the terms of the Mozilla Public | ||
; License, v. 2.0. If a copy of the MPL was not distributed with this | ||
; file, you can obtain one at https://mozilla.org/MPL/2.0/. | ||
; | ||
; See the COPYRIGHT file distributed with this work for additional | ||
; information regarding copyright ownership. | ||
|
||
many-updates.test. 10 IN SOA many-updates.test. hostmaster.many-updates.test. 1 3600 900 2419200 3600 | ||
many-updates.test. 10 IN NS many-updates.test. | ||
many-updates.test. 10 IN A 10.53.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters