ipset flush dynamiclist

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

ipset flush dynamiclist

Postby Fares MEHENI » Thu Apr 16, 2020 1:19 pm

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
Fares MEHENI
 
Posts: 60
Joined: Thu Oct 17, 2019 2:43 am

Re: ipset flush dynamiclist

Postby Kumba » Thu Apr 16, 2020 5:24 pm

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;
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: ipset flush dynamiclist

Postby Fares MEHENI » Fri Apr 17, 2020 10:11 am

okay thank you for the answer detail.
Fares MEHENI
 
Posts: 60
Joined: Thu Oct 17, 2019 2:43 am


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 61 guests