RE: trap sender ip

"Pamidipati Suresh-G20238" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi
 
Snmptrapd when started with "%b" as format specification, prints PDU
source address which is of form <protocol>: [<Ip Addr>]:<port no>.
So, as snmptrapd handles this "%b" option, snmptrapd code walk might
help you.
 
Regards,
Suresh.
 
 
 
 
 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mirko
Viviani
Sent: Wednesday, July 04, 2007 6:09 PM
To: [email protected]
Subject: trap sender ip


Hi to everybody.
I'm just writing my own trap receiver, having "snmptrapd" code as help.
How can I obtain the sender ip address of the incoming trap?

Thanks in advance.

-- 

-- Mirko Viviani --
GPG-PGP Public Key: 0xE4E8FAB1
Fingerprint: 14D3 A373 E926 7737 DF32 502B A4C4 1CE2 E4E8 FAB1

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
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.