On Fri, Mar 19, 2010 at 8:24 AM, Thomas Anders
<[email protected]>wrote:
> Magnus Fromreide wrote:
> > This patch is something I think should be applied overall as it will
> affect
> > the default tcp host for master agents on unices as well and make it more
> > likely that it just works for subagents since they will try to connect to
> > localhost by default.
>
> Given the insecure nature of AgentX, this default makes perfect sense to
> me.
> How's the situation in 5.4 and earlier for Windows?
>
As far as I can see the default TCP AgentX target is currently ":705" for
the trunk, the V5.5 and the V5.4 branches, and the V5.3 AgentX
implementation does not define a default target. So the posted patch could
be applied to the trunk, the V5.5 and the V5.4 branches. However, I'm not
sure it's OK to change the V5.4 behavior now since the 5.4 branch is in RC
stage (see also http://net-snmp.sourceforge.net/dev/release-policy.html).
$ grep AGENTX_PORT */agent/mibgroup/agentx/agentx_config.c
V5-4-patches/agent/mibgroup/agentx/agentx_config.c:
netsnmp_register_default_target("agentx", "tcp", ":" val(AGENTX_PORT));
V5-5-patches/agent/mibgroup/agentx/agentx_config.c:
netsnmp_register_default_target("agentx", "tcp", ":" val(AGENTX_PORT));
trunk/agent/mibgroup/agentx/agentx_config.c:
netsnmp_register_default_target("agentx", "tcp", ":" val(AGENTX_PORT));
Bart.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders