OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: Oxygen61 on February 18, 2018, 03:11:00 am

Title: Alias Expiration - 15 minutes?
Post by: Oxygen61 on February 18, 2018, 03:11:00 am
Hey guys,

first of all thank you all for the support and the great upgrade to 18.X. I upgraded through console/SSH and run into not a single problem. After what i've read the last days i expected my firewall to explode or something simliar.  ;D The new live view for firewall rules looks great!  ;)

Back to my "problem".. i saw a github ticket which i made back then about alias reloads for URL Table (IPs) and found this (i had no idea Ad worked on that): https://github.com/opnsense/core/issues/1971

Is it possible to change the time even further? For now i wrote "0" for days and "1" for hours as an expiration time. What if i would like to have a refresh time window of 15 minutes? Is that possbile or is 1 hour the minimum to choose? I use blocklists which would need 10-20 minutes sometimes.

Have a nice day and a happy weekend! :)

Best regards,
Oxy
Title: Re: Alias Expiration - 15 minutes?
Post by: elektroinside on February 18, 2018, 08:19:39 am
0.5 is excepted as a value, passes GUI validation (if any..)... similar values might work (didn't actually test if the tables are refreshed) :)
Title: Re: Alias Expiration - 15 minutes?
Post by: Oxygen61 on February 18, 2018, 05:13:37 pm
Hi Elektroinside :)

any idea how to check if the table "changed" in any way?
I looked at Firewall > Diagnostics > pfTables, but the list is way to huge and without any timestamp i have no idea when this table got updated the last time. :(
Is there some clever way to check the timestamp via Console/SSH?
Title: Re: Alias Expiration - 15 minutes?
Post by: elektroinside on February 18, 2018, 06:59:07 pm
Yes, you can WinSCP to /root/var/db/aliastables and check the corresponding alias file's timestamp there :)
Title: Re: Alias Expiration - 15 minutes?
Post by: Oxygen61 on February 21, 2018, 12:19:26 am
Thanks elektroinside :)

I ill write back to you and mark this thread as solved as soon as i found some time to check the alias timestamps (probably this weekend)
Title: Re: Alias Expiration - 15 minutes?
Post by: elektroinside on February 21, 2018, 12:47:58 am
Sure thing, you're welcome :)