OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Firewall->Diagnostics->pfTables is empty
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Firewall->Diagnostics->pfTables is empty  (Read 12953 times)

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #15 on: February 13, 2018, 11:21:28 pm »
Running out of ideas for this evening :) ...
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

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #16 on: February 13, 2018, 11:27:13 pm »
Maybe just this one:

-If you WinSCP to this path: /root/var/db/aliastables
-Delete everything related to that alias
-Delete the alias from the GUI

.. and recreate... will this populate the table?
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

nqnguyen2

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #17 on: February 14, 2018, 06:42:31 am »
Strange results for me. I tried the URL in OP's first post and it didn't work.

Doesn't work: http://ip.jchost03.pl/ip_zablokowane_ataki.txt
Doesn't work: ip.jchost03.pl/ip_zablokowane_ataki.txt
WORKS: http://www.ip.jchost03.pl/ip_zablokowane_ataki.txt (screenshot1)

Notice the "www" that allowed the pfTables to populate (screenshot2). OP, try what I did, hopefully it works for you too.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17706
  • Karma: 1618
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #18 on: February 14, 2018, 08:09:34 am »
It could be forcing a redirect that is not followed properly by the fetch library?
Logged

gonzo

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #19 on: February 14, 2018, 10:20:01 am »

I removed the ralias and the firewall rule, I made a new alias and rule, but it is still empty.

I also see the names of removed alaises (IP_ataki, ip_ataki, ip_blocked_ataki) how to remove them ?
Logged

nqnguyen2

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #20 on: February 14, 2018, 02:20:53 pm »
Franco, good point I didn't think of but Fiddler doesn't show redirect.

gonzo, you might have to remove manually if a reboot doesn't work; /var/db/aliastables. Might as well reboot with all the work that you did anyway.
Logged

gonzo

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #21 on: February 14, 2018, 03:23:01 pm »

FireWall already works in a production environment. Deleting this file will affect the operation of FW ?
Logged

nqnguyen2

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #22 on: February 15, 2018, 02:32:05 am »
No, it shouldn't affect production. It merely removes the alias from showing in the pfTables selection. If everything is working fine. I'd say leave it alone.
Logged

gonzo

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #23 on: February 18, 2018, 07:57:03 pm »
I removed the contents of the catalog ( text files ) : /var/db/aliastables .
I have removed all aliases and all rules except one "Allow all" . This is the default rule that is installed with the system.

Before I start creating new aliases and new rules, I want to delete entries that I see : Firewall: Diagnostics: pfTables.

1) Why do I still see these entries? If all aliases and rules are removed ?
2) How can I delete these entries ?
« Last Edit: February 18, 2018, 08:01:42 pm by gonzo »
Logged

gonzo

  • Newbie
  • *
  • Posts: 38
  • Karma: 0
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #24 on: February 20, 2018, 08:07:30 am »

My question is too difficult or too simple ? . No one knows the answer ?
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #25 on: February 20, 2018, 08:55:31 am »
Firewall: Aliases: View -> you should not have any aliases here.
You should not have any files here: /var/db/aliastables

And maybe you should apply this patch from here (read the entire conversation):
https://github.com/opnsense/core/issues/2162

And then reboot, then recreate the aliases.

« Last Edit: February 20, 2018, 08:57:23 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

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: Firewall->Diagnostics->pfTables is empty
« Reply #26 on: February 21, 2018, 07:42:59 am »
Works?
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 [2]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Firewall->Diagnostics->pfTables is empty
 

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