hi Mr Ganga !!!

could you explain a little more your answer? want should i do:

(1) to open and close a SNMP session for each PDU i send or
(2) to open the session at the benining of the program, and close it at the end.


Thanks

----- Original Message ----- From: "Muralidhar Ganga" <[EMAIL PROTECTED]>
To: "Gemma S�nchez" <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 2004 1:15 AM
Subject: RE: What is a SNMP session?



SNMP agent (snmpd) always listens at the port 161.

If the SNMP manager sends a request packet (it has to
open a socket and bind to a local port) and agent responds
to the request (agent implicitly knows the manager's port
number from the UDP packet).

/Murali

-----Original Message-----
From: Gemma S�nchez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 9:19 AM
To: John, Jaiber J
Cc: Users
Subject: Re: What is a SNMP session?

thanks for your answer, jaiber john.

I have another cuestion I beg an answer to:

if i am implementing an agent and a manager what is better,
(1) to open and
close a SNMP session for each PDU or (2) to open the session at the
benining, and close it at the end.

thanks a lot.

Gemma

----- Original Message ----- From: "John, Jaiber J" <[EMAIL PROTECTED]>
To: "Gemma S�nchez" <[EMAIL PROTECTED]>
Cc: "Users" <[EMAIL PROTECTED]>
Sent: Wednesday, December 01, 2004 2:03 PM
Subject: RE: What is a SNMP session?



Hello,

This is the first time I'm answering a question ;-). Experts
please correct
me if I'm wrong. To my understanding, there is no concept of
"session"
(similar to telnet, ssh, etc) because:

1. SNMP is a UDP-based stateless (request <-> response) protocol, and
2. Each PDU is supposed to have authorization information, if any.
Essentially the Agent is not needed to keep track of
client-connections.

But there are confusing similarities. Some SNMP libraries and
SDKs provide
session APIs. Between NetSNMP Agent and an AgentX subagent there is a
session.

There's a memo draft
http://www.potaroo.net/ietf/idref/draft-hardaker-snmp-session-
sm/ that
attempts to address this.

  HTH,
 Jaiber John

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Gemma
S�nchez
Sent: Wednesday, December 01, 2004 6:06 PM
To: Users
Subject: What is a SNMP session?

Hello !!!!

I am finishing my tasks with NET-SNMP. These tasks are a part
of my thesis.
In this state, a doubt arises. It is almost a philosophical one.

Knowing SNMP is not oriented to conexion, what is exactly a
SNMP session?

Perhaps you could think it is a silly quiestion, and perhaps
it is, but I
can't find the answer and it is important for the documentation of my
project.

Could somebody clarify this concept (SNMP session) to me?
Could you tell me
what does the opening and closing of a SNMP session involve exactly?

Thanks a lot to all.

Gemma S. Anton



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from
real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from
real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
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

Reply via email to