root@bart:~ # /usr/local/bin/geoiplookup 193.91.40.197GeoIP Country Edition: LU, Luxembourg
root@fw01:~ # /usr/local/bin/geoipupdate.shFetching GeoIP.dat and GeoIPv6.dat.../usr/local/share/GeoIP/GeoIPupdate.NQMYd6/GeoI100% of 694 kB 4658 kBps 00m00s/usr/local/share/GeoIP/GeoIPupdate.DLAu70/GeoI100% of 1180 kB 5075 kBps 00m01sroot@fw01:~ # /usr/local/bin/geoiplookup 194.232.104.139GeoIP Country Edition: AT, Austria
Hi,I have a similar problem.I want to catch traffic to Austria, but it's not working. I added screenshots.Code: [Select]root@fw01:~ # /usr/local/bin/geoipupdate.shFetching GeoIP.dat and GeoIPv6.dat.../usr/local/share/GeoIP/GeoIPupdate.NQMYd6/GeoI100% of 694 kB 4658 kBps 00m00s/usr/local/share/GeoIP/GeoIPupdate.DLAu70/GeoI100% of 1180 kB 5075 kBps 00m01sroot@fw01:~ # /usr/local/bin/geoiplookup 194.232.104.139GeoIP Country Edition: AT, Austriacommand line is also working, so I don't know why I don't get a catch on the rule, I tried it in Floating, LAN and WANRegardsGregor
root@fw01:/var/db/aliastables # /usr/local/opnsense/scripts/filter/update_tables.pyTraceback (most recent call last): File "/usr/local/opnsense/scripts/filter/update_tables.py", line 122, in <module> alias_content = alias.resolve() File "/usr/local/opnsense/scripts/filter/lib/alias.py", line 236, in resolve for address in address_parser(item): File "/usr/local/opnsense/scripts/filter/lib/alias.py", line 171, in _fetch_geo for proto in self._proto.split(','):AttributeError: 'NoneType' object has no attribute 'split'
root@fw01:/var/db/aliastables # /usr/local/opnsense/scripts/filter/update_tables.pyroot@fw01:/var/db/aliastables # cat /var/db/aliastables/IPv4_at.*34fafd09432a71cc46e9fd6fc94b5ab3root@fw01:/var/db/aliastables #
cp /usr/local/share/GeoIP/alias/AT-IPv4 /var/db/aliastables/IPv4_at.self.txtcp /usr/local/share/GeoIP/alias/AT-IPv4 /var/db/aliastables/IPv4_at.txt/usr/local/opnsense/scripts/filter/update_tables.py
under Firewall: Diagnostics: pfTables the table is also empty - look like it gets not loaded