Page 1 of 1

ipset flush dynamiclist

PostPosted: Thu Apr 16, 2020 1:19 pm
by Fares MEHENI
Hellow Team,

I would like to delete the contents of the dynamiclist with the command :

Code: Select all
ipset flush dynamiclist


but the addresses are regenerated each time, you have an idea how to empty a list (dynamiclist) or delete only an ip address from this list?
I also can't find the configuration file to manually delete this.

Vicibox 9.0.1

Re: ipset flush dynamiclist

PostPosted: Thu Apr 16, 2020 5:24 pm
by Kumba
It's generated from login and vicibox entries in the vicidial_user_log table. It's a dynamic list, it's generated dynamically. If you want to manually control access you want a white list. If you need to block an IP add it to the blacklist. Otherwise you'd have to delete any entries in the vicidial_user_log table within the last 14 days to prevent it.

Here's the SQL query that generates the dynamiclist: SELECT computer_ip FROM vicidial_user_log WHERE event IN ('LOGIN', 'VICIBOX') and event_date >= DATE_SUB(NOW(), INTERVAL $DYNAMICAGE DAY) group by computer_ip;

Re: ipset flush dynamiclist

PostPosted: Fri Apr 17, 2020 10:11 am
by Fares MEHENI
okay thank you for the answer detail.