Alias Expiration - 15 minutes?

Started by Oxygen61, February 18, 2018, 03:11:00 AM

Previous topic - Next topic
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

February 18, 2018, 08:19:39 AM #1 Last Edit: February 18, 2018, 08:28:39 AM by elektroinside
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) :)
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

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?

Yes, you can WinSCP to /root/var/db/aliastables and check the corresponding alias file's timestamp there :)
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

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)

Sure thing, you're welcome :)
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member