2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Add EDNS ZONEVERSION option counter

This commit is contained in:
Mark Andrews
2024-06-13 08:13:28 +10:00
parent 2356b75e8c
commit 998b93acca
2 changed files with 34 additions and 31 deletions

View File

@@ -358,6 +358,8 @@ init_desc(void) {
SET_NSSTATDESC(expireopt, "Expire option received", "ExpireOpt");
SET_NSSTATDESC(keepaliveopt, "EDNS TCP keepalive option received",
"KeepAliveOpt");
SET_NSSTATDESC(zoneversionopt, "ZONEVERSION option received",
"ZoneVersionOpt");
SET_NSSTATDESC(padopt, "EDNS padding option received", "PadOpt");
SET_NSSTATDESC(otheropt, "Other EDNS option received", "OtherOpt");
SET_NSSTATDESC(cookiein, "COOKIE option received", "CookieIn");

View File

@@ -84,49 +84,50 @@ enum {
ns_statscounter_ecsopt = 46,
ns_statscounter_padopt = 47,
ns_statscounter_keepaliveopt = 48,
ns_statscounter_zoneversionopt = 49,
ns_statscounter_nxdomainredirect = 49,
ns_statscounter_nxdomainredirect_rlookup = 50,
ns_statscounter_nxdomainredirect = 50,
ns_statscounter_nxdomainredirect_rlookup = 51,
ns_statscounter_cookiein = 51,
ns_statscounter_cookiebadsize = 52,
ns_statscounter_cookiebadtime = 53,
ns_statscounter_cookienomatch = 54,
ns_statscounter_cookiematch = 55,
ns_statscounter_cookienew = 56,
ns_statscounter_badcookie = 57,
ns_statscounter_cookiein = 52,
ns_statscounter_cookiebadsize = 53,
ns_statscounter_cookiebadtime = 54,
ns_statscounter_cookienomatch = 55,
ns_statscounter_cookiematch = 56,
ns_statscounter_cookienew = 57,
ns_statscounter_badcookie = 58,
ns_statscounter_nxdomainsynth = 58,
ns_statscounter_nodatasynth = 59,
ns_statscounter_wildcardsynth = 60,
ns_statscounter_nxdomainsynth = 59,
ns_statscounter_nodatasynth = 60,
ns_statscounter_wildcardsynth = 61,
ns_statscounter_trystale = 61,
ns_statscounter_usedstale = 62,
ns_statscounter_trystale = 62,
ns_statscounter_usedstale = 63,
ns_statscounter_prefetch = 63,
ns_statscounter_keytagopt = 64,
ns_statscounter_prefetch = 64,
ns_statscounter_keytagopt = 65,
ns_statscounter_tcphighwater = 65,
ns_statscounter_tcphighwater = 66,
ns_statscounter_reclimitdropped = 66,
ns_statscounter_reclimitdropped = 67,
ns_statscounter_updatequota = 67,
ns_statscounter_updatequota = 68,
ns_statscounter_recurshighwater = 68,
ns_statscounter_recurshighwater = 69,
ns_statscounter_dot = 69,
ns_statscounter_doh = 70,
ns_statscounter_dohplain = 71,
ns_statscounter_dot = 70,
ns_statscounter_doh = 71,
ns_statscounter_dohplain = 72,
ns_statscounter_proxyudp = 72,
ns_statscounter_proxytcp = 73,
ns_statscounter_proxydot = 74,
ns_statscounter_proxydoh = 75,
ns_statscounter_proxydohplain = 76,
ns_statscounter_encryptedproxydot = 77,
ns_statscounter_encryptedproxydoh = 78,
ns_statscounter_proxyudp = 73,
ns_statscounter_proxytcp = 74,
ns_statscounter_proxydot = 75,
ns_statscounter_proxydoh = 76,
ns_statscounter_proxydohplain = 77,
ns_statscounter_encryptedproxydot = 78,
ns_statscounter_encryptedproxydoh = 79,
ns_statscounter_max = 79,
ns_statscounter_max = 80,
};
void