OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Alias Expiration - 15 minutes?
« previous next »
  • Print
Pages: [1]

Author Topic: Alias Expiration - 15 minutes?  (Read 3339 times)

Oxygen61

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: 30
  • Der Weg zum Erfolg hat keine Abkürzung - (Tanaka)
    • View Profile
Alias Expiration - 15 minutes?
« 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
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Alias Expiration - 15 minutes?
« Reply #1 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) :)
« Last Edit: February 18, 2018, 08:28:39 am by elektroinside »
Logged
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

Oxygen61

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: 30
  • Der Weg zum Erfolg hat keine Abkürzung - (Tanaka)
    • View Profile
Re: Alias Expiration - 15 minutes?
« Reply #2 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?
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Alias Expiration - 15 minutes?
« Reply #3 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 :)
Logged
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

Oxygen61

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: 30
  • Der Weg zum Erfolg hat keine Abkürzung - (Tanaka)
    • View Profile
Re: Alias Expiration - 15 minutes?
« Reply #4 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)
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Alias Expiration - 15 minutes?
« Reply #5 on: February 21, 2018, 12:47:58 am »
Sure thing, you're welcome :)
Logged
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

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Alias Expiration - 15 minutes?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2