Re: Integrating net-SNMP agent into my application

Vincent Bernat <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization One Piece
Message-ID <[email protected]>
OoO  En cette nuit  nuageuse du  dimanche 04  janvier 2009,  vers 01:32,
"Nikos Balkanas" <[email protected]> disait :

> It is a TCP/IP socket.  I am afraid i don't follow you. Sockets do not have 
> any rights. Anyone can read/write  to them. That's what makes Internet
> work.

By    default,   this    is    a   _Unix_    socket.   Something    like
/var/agentx/master.  You can  set the  permission you  want on  it using
agentXPerms in snmpd.conf.

> I didn't know you can restrict AgentX to accept connections from localhost 
> only. How do you configure this?

You need to use agentXSocket option with something like tcp:localhost:705.
-- 
 /*
  * We used to try various strange things. Let's not.
  */
	2.2.16 /usr/src/linux/fs/buffer.c

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