graylog-labs / graylog-plugin-snmp

Graylog plugin to receive SNMP traps
Other
27 stars 7 forks source link

Is there any way possible that one can run the plug-in using native UDP 162? #16

Closed bubba198 closed 7 years ago

bubba198 commented 7 years ago

Hi everyone,

Is there any way possible that one can run the plug-in using native UDP 162?

Trial and error reveals that the answer is NO but I am wondering whether someone has come up with a remedy to this issue?

Thanks

joschi commented 7 years ago

@bubba198 Ports below 1024 are so-called privileged ports which only the superuser (root) can bind to.

You'll need to either bind to a high port >1024 and use a packet filter such as Netfilter/IPTables to redirect traffic from 162/udp to that high port, or you can use a program like authbind to enable the Java process to bind to privileged ports.

See https://github.com/Graylog2/documentation/issues/213 for related information.

In general, we are using GitHub issues for tracking bugs in Graylog itself, but this doesn't look like one. Please post this issue to our public mailing list or join the #graylog channel on freenode IRC.

Thank you!