tcpdump, add SNMPv3 support

2018-12-25 Thread Martijn van Duren
Here's a diff to add SNMPv3 support to tcpdump. To get more information I decided to put to asn1_parse hex output under -vv and add additional information under -v, while keeping the plain output the same. OK? martijn@ Index: print-s

Re: SNMPv3 Support

2012-07-19 Thread Gerhard Roth
Hi Reyk, On Wed, 18 Jul 2012 21:42:34 +0200, Reyk Floeter wrote: How about: noAuthNoPriv-> none authNoPriv -> auth authPriv-> encr Is there a better alternative for "encr"? Maybe just "enc" (I know it would complicate the grammar because it's a reserv

Re: SNMPv3 Support

2012-07-18 Thread Stuart Henderson
On 2012/07/18 21:42, Reyk Floeter wrote: > > > > In fact we thought about this. But then, are there any SNMP management > > stations in the field that support this transport module? > > I have no idea. Well, the question is if there are any stations with > TSM support yet. AFAIK, TSM was defined w

Re: SNMPv3 Support

2012-07-18 Thread Reyk Floeter
Hi, On Wed, Jul 18, 2012 at 4:16 PM, Gerhard Roth wrote: > thanks for your thorough inspection of my code. I really appreciate this. > Please find my answers inline below. Hope I didn't miss one. > Your latest diff looks good! I will test and have another look at the diff and implementation deta

Re: SNMPv3 Support

2012-07-18 Thread Reyk Floeter
yes, I agree. It makes sense to keep the RFC terminology in the implementation but to use the "common language" in the configuration grammar. developers need to understand the code related to the RFCs, users shouldn't have to learn new terminology for crypto thats is configured in n other places in

Re: SNMPv3 Support

2012-07-18 Thread Gerhard Roth
On Wed, 18 Jul 2012 16:51:27 +0200, Mike Belopuhov wrote: On Wed, Jul 18, 2012 at 4:16 PM, Gerhard Roth wrote: same here, wouldn't it be possible to match the ipsec.conf grammar and ignore the SNMPv3 naming a bit? auth hmac-sha1 authkey "fooobar" enc aes enckey "dkjdkj" - instead of - hmac sha

Re: SNMPv3 Support

2012-07-18 Thread Mike Belopuhov
On Wed, Jul 18, 2012 at 4:16 PM, Gerhard Roth wrote: >> same here, wouldn't it be possible to match the ipsec.conf grammar and >> ignore the SNMPv3 naming a bit? >> >> auth hmac-sha1 authkey "fooobar" enc aes enckey "dkjdkj" >> - instead of - >> hmac sha authpass "foobar" cipher aes privpass "dkjdk

Re: SNMPv3 Support

2012-07-17 Thread Gerhard Roth
On Tue, 17 Jul 2012 11:21:04 +0200, Gerhard Roth wrote: Hi all, below you'll find a patch that adds basic SNMPv3 support to OpenBSD's snmpd(8). When I say "basic" that's because of some limitations: - Traps are still sent via SNMPv2 protocol. They can neither be

SNMPv3 Support

2012-07-17 Thread Gerhard Roth
Hi all, below you'll find a patch that adds basic SNMPv3 support to OpenBSD's snmpd(8). When I say "basic" that's because of some limitations: - Traps are still sent via SNMPv2 protocol. They can neither be authenticated nor encrypted. - Transport mode is