[SNMP4J] sending trap using snmp4j to port 162

Mark Stang mstang at pingidentity.com
Thu Jul 12 19:14:49 CEST 2007


Any port under 1024 requires root access.

hth,

Mark

Mark J. Stang
Software Engineer
office: +1 303.468.2900
Ping Identity



-----Original Message-----
From: snmp4j-bounces at agentpp.org on behalf of balaji.t.sampath at verizon.com
Sent: Thu 7/12/2007 10:48 AM
To: snmp4j at agentpp.org
Subject: [SNMP4J] sending trap using snmp4j to port 162
 


hello -
Even though this is not necessarily a snmp4j question, I'm posting here to
find out if anyone else has faced this issue.  I use the snmp4j java API to
created a V2 trap and send to a listener on a different server listening on
standard udp port 162.  When I deploy my app on a solaris 10 server, I'm
not seeing the trap on the listener.  The same application, when run on a
Redhat linux server sends the trap to the destination and the listener
receives it just fine.

I understand that additonal privilege is needed to listen on port 162 and
not to send UDP to 162 on a different server.  But from my test, it seems
this has something to do with some missing privilege on solaris for the
user/process.   I'd appreicate if anyone can tell me if something can be
changed in the application or if this is purely a solaris 10 sysadm issue.
I've also posted the question to solaris 10 forums.

thanks,_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j




More information about the SNMP4J mailing list