redis_ippool_tool is not supporting password authentication

Chinnapaiyan, Nagamani Nagamani.Chinnapaiyan at viasat.com
Fri Jul 19 14:22:29 CEST 2019


Hi,

I have a redis server on AWS with auth token enabled.
I am trying to add some ip pools in the db via rlm_redis_ippool_tool command.
However, this command does not work for this auth enabled redis db.

$ cat redis_ippool
redis {
  server = <server_ip>
  port = 6379
  password = <pass>
}

$ /usr/local/bin/rlm_redis_ippool_tool -a 10.88.112.3-10.88.112.62 -f redis_ippool TESTPOOL
Error : Need pool to operate on

$ /usr/local/bin/rlm_redis_ippool_tool -a 10.88.112.3-10.88.112.62 -f redis_ippool <server_ip>:6379 TESTPOOL
$ echo $?
1

$ redis-cli -c -h <server_ip> -p 6379 -a <pass>
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
localhost:6379> keys *
(empty list or set)
localhost:6379> exit

Regards,
Nagamani Chinnapaiyan



More information about the Freeradius-Users mailing list