Re: C code example for SNMP v3 over TLS (using certificates)

Ajit Ambekar <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CA+p7E_1QwE9yMCfQ1jLPeSTRdySqBKSjbOEarmzgY1S+iKtSSQ@mail.gmail.com>
Why do you want a C code for that ? . You can always use "snmptrap"
command. Still if you need the C code then download snmptrap.c .. :D

On Fri, Oct 16, 2015 at 12:33 AM, pratyush parimal <
[email protected]> wrote:

> Hi,
>
> Apologies for broadcasting again. But does anyone have an idea about this?
>
> Thanks,
>
> On Mon, Oct 5, 2015 at 5:04 PM, pratyush parimal <
> [email protected]> wrote:
>
>> Hi everyone,
>>
>> I'm trying to write an application in C that runs on ubuntu and sends
>> SNMP v3 traps to an SNMP server.
>>
>> I just want to send the traps over TLS, no other operations are needed.
>> Unfortunately, so far the only secure SNMP coding example I've come across
>> (at http://www.net-snmp.org/wiki/index.php/TUT:Simple_Application) does
>> not describe how to send secure SNMP v3 traps using certificates from C
>> code. The example uses username-passwod method (USM I think).
>>
>> Does anyone have some sample code for my problem?
>>
>> Thanks in advance,
>> Pratyush.
>>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>


-- 
Ambekar Ajit Shivaji
Mumbai.

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.