Project

General

Profile

Actions

Feature #14731

closed
MM MM

Unbound Advanced Settings entry for ``sock-queue-timeout``

Feature #14731: Unbound Advanced Settings entry for ``sock-queue-timeout``

Added by Marcos M about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DNS Resolver
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.09
Release Notes:
Default

Description

sock-queue-timeout was introduced in unbound 1.18.0.

https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html

UDP queries that have waited in the socket buffer for a long time can be dropped. The time is set in seconds, 3 could be a good value to ignore old queries that likely the client does not need a reply for any more. This could happen if the host has not been able to service the queries for a while, i.e. Unbound is not running, and then is enabled again. It uses timestamp socket options. Default: 0 (disabled)

Before the feature can be implemented, the port will need to be updated upstream then pulled.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273456


Related issues 1 (0 open1 closed)

Follows Todo #14732: Update Unbound to 1.18.0ResolvedChristian McDonald

Actions

MM Updated by Marcos M about 3 years ago Actions #1

  • Description updated (diff)

MM Updated by Marcos M about 3 years ago Actions #2

  • Status changed from New to Waiting on Merge

CM Updated by Christian McDonald about 3 years ago Actions #3

  • Parent task set to #14732

JT Updated by Jim Thompson about 3 years ago Actions #4

suggest changing the description on this to include "Unbound"

MM Updated by Marcos M about 3 years ago Actions #5

  • Subject changed from Add the option ``sock-queue-timeout`` to the Advanced Settings GUI to Add the option ``sock-queue-timeout`` to the Unbound Advanced Settings GUI

CM Updated by Christian McDonald about 3 years ago Actions #6

  • Status changed from Waiting on Merge to Pull Request Review
  • Target version set to CE-Next
  • Plus Target Version set to 23.09

CM Updated by Christian McDonald about 3 years ago Actions #7

Unbound has now been updated to 1.18.0, this is now ready to land

JP Updated by Jim Pingle about 3 years ago Actions #8

  • Parent task deleted (#14732)

JP Updated by Jim Pingle about 3 years ago Actions #9

JP Updated by Jim Pingle about 3 years ago Actions #10

Changed from a subtask to "follows" otherwise this would prevent us from closing the Unbound update task until this was also closed, and it isn't a hard requirement.

MM Updated by Marcos M about 3 years ago Actions #11

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:19f6d85f5c0401ebd849b50941fc81106e903d17.

JP Updated by Jim Pingle about 3 years ago Actions #12

  • Subject changed from Add the option ``sock-queue-timeout`` to the Unbound Advanced Settings GUI to Unbound Advanced Settings entry for ``sock-queue-timeout``
  • Target version changed from CE-Next to 2.8.0

Updating subject for release notes.

JP Updated by Jim Pingle almost 3 years ago Actions #13

  • Status changed from Feedback to New

If you remove the value from the field so it's blank, then save, the config it generates is not valid and unbound won't start.

The config.xml entry looks like:

<sock_queue_timeout></sock_queue_timeout>

The unbound.conf file ends up with the following line:

sock-queue-timeout: 

Manually entering a value of 0 allows it to start and run.

MM Updated by Marcos M almost 3 years ago Actions #14

  • Status changed from New to Feedback

Applied in changeset commit:e3fc86e10898518016016d17bba9e6ab36fc3eec.

MM Updated by Marcos M almost 3 years ago Actions #15

  • Status changed from Feedback to Resolved

An empty value now defaults to 0 as expected.

JP Updated by Jim Pingle almost 3 years ago Actions #16

  • Target version changed from 2.8.0 to 2.7.1
Actions

Also available in: Atom