Skip to content

Conversation

@TimoScheuer
Copy link
Contributor

Hi,
the recent version reads the client password from the command line options. Hence the password is visible in the process table. You can see it for example with "ps -ef". This is a security risk.

I tried to fix this: Therefore I added a configuration parameter "-c" that requires the redis server configuration path. Now, redis-snmp tries to read the client password from the redis server configuration. To make life a little bit easier a default redis server configuration path "/etc/redis/redis.conf" is used. This means for the default case that this is the path of the user's redis server configuration the user needs neither parameter "-c" nor parameter "-p".

Copy link
Owner

@masterzen masterzen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, but:

  1. check the refresh vs refres typo
  2. please rebase on top of master, since I've merged the other PR

Thanks!

redis-snmp Outdated
oid => '1.3.6.1.4.1.20267.400.1',
port => 6379,
refresh => 300,
refres => 300,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks suspicious :)

@TimoScheuer
Copy link
Contributor Author

I did the following changes:
(1) fixed the "refresh typo"
(2) I tried to do the rebase but I'm not quite sure if I did it correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants