Description: libsnmp: Increase the maximum SNMPv3 session receive size or the UDP transport this patch increases the maximum message size from 1472 to about 64 KB. This patch adjusts a limit that was introduced by commit 6e83b3c ("respect msgMaxSize in received v3 PDUs (in the weak sense that if the serialized response PDU is more than it, we don't send it)") # v5.7. --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: https://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: 2021-02-03 --- net-snmp-5.8+dfsg.orig/snmplib/snmp_api.c +++ net-snmp-5.8+dfsg/snmplib/snmp_api.c @@ -768,7 +768,7 @@ snmp_sess_init(netsnmp_session * session session->retries = SNMP_DEFAULT_RETRIES; session->version = SNMP_DEFAULT_VERSION; session->securityModel = SNMP_DEFAULT_SECMODEL; - session->rcvMsgMaxSize = SNMP_MAX_MSG_SIZE; + session->rcvMsgMaxSize = netsnmp_max_send_msg_size(); session->sndMsgMaxSize = netsnmp_max_send_msg_size(); session->flags |= SNMP_FLAGS_DONT_PROBE; }