[AGENT++] 3.2.21 changes questions

Jochen Katz katz at agentpp.com
Wed Jul 26 20:29:17 CEST 2006


Hi Marek,

> - "Removed global mutex for v3MP and USM": does this mean that
> v3MP::I->get_from_engine_id_table() is now MT-safe?

yes.

> Does this also
> mean that V3MP and USM member functions are now MT-safe (e.g.,
> USM::add_usm_user())?

Yes, but some other functions require changes in your code (like stated
in the changes file).

All tables of v3MP and USM are protected through mutexes and if I didn't
miss anything, all reads and writes are now serialized.

> - "Changed: The functions to set/get the trap listen port of
> CNotifyEventQueue ar no longer static. Use the new functions
> Snmp::notify_set/get_listen_port() instead.": ok, but, the
> notification socket is a single per-process socket (in fact, this may
> be a per-machine socket as well), thus, this is rather a "static"
> thing. I think that setting the notification socket on an Snmp
> instance is misleading (but there is no problem with software
> upgrade).

The default setup surely is to listen on port 162 on all interfaces.
Listening only on 2 of 3 interfaces wasn't possible until this change.

Regards,
  Jochen



More information about the AGENTPP mailing list