yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
Security Support

Security support for net-snmp agent for SNMP support. More...

Collaboration diagram for Security Support:

Functions

void agt_ypsnmp_sec_init (void)
 Initialize the agt_ypsnmp_sec module. More...
 
void agt_ypsnmp_sec_cleanup (void)
 Cleanup the agt_ypsnmp_sec module. More...
 
int agt_ypsnmp_sec_check (netsnmp_pdu *pdu)
 Checks if the specified pdu meets the access requirements. More...
 

Detailed Description

Security support for net-snmp agent for SNMP support.

Specifically contains the implementation of USM (User-based Security Model) support routines needed by libnetsnmp. For SNMP v3, VACM is not supported as authorization would be handled by NACM within restconf.

Requires WITH_SNMP=1 in build and –with-snmp=true CLI parameter at runtime.

Function Documentation

◆ agt_ypsnmp_sec_check()

int agt_ypsnmp_sec_check ( netsnmp_pdu *  pdu)

Checks if the specified pdu meets the access requirements.

Only present if WITH_SNMP=1.

Parameters
pdusnmp pdu to check
Returns
1 on success, 0 on error
Here is the caller graph for this function:

◆ agt_ypsnmp_sec_cleanup()

void agt_ypsnmp_sec_cleanup ( void  )

Cleanup the agt_ypsnmp_sec module.

Only present if WITH_SNMP=1.

Here is the caller graph for this function:

◆ agt_ypsnmp_sec_init()

void agt_ypsnmp_sec_init ( void  )

Initialize the agt_ypsnmp_sec module.

Only present if WITH_SNMP=1.

Here is the caller graph for this function: