OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • [SOLVED] Error Loading Rules: no IP address found for Street: The line in quest.
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Error Loading Rules: no IP address found for Street: The line in quest.  (Read 5386 times)

cirtes

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
    • View Profile
[SOLVED] Error Loading Rules: no IP address found for Street: The line in quest.
« on: April 05, 2016, 07:14:16 pm »
Hi folks,

I'm getting an error when loading firewall rules and cannot pin the cause.


There were error(s) loading the rules:no IP address found for street: The line in question reads
  • [/i][/font]

    Is there some pointer this message can lead to so I don't have to brute-force removal of all the rules one by one?
« Last Edit: April 06, 2016, 10:46:28 am by AdSchellevis »
Logged

cirtes

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
    • View Profile
Re: Error Loading Rules: no IP address found for Street: The line in question ...
« Reply #1 on: April 05, 2016, 08:05:48 pm »
This Alias may be the culprit.


<aliases>
   <alias>
      <name>WS</name>
      <detail><![CDATA[Entry added Tue, 05 Apr 2016 10:55:36 -0700||Entry added Tue, 05 Apr 2016 10:55:36 -0700||Entry added Tue, 05 Apr 2016 10:55:36 -0700]]></detail>
      <type>url</type>
      <descr><![CDATA[WeatherStreet Alias ]]></descr>
      <aliasurl>www.weatherstreet.com</aliasurl>
      <aliasurl>www.weather.gov</aliasurl>
      <aliasurl>weather.unisys.com</aliasurl>
      <address>Weather Street: ... <snip> ...
   </alias>
</aliases>



In the <address> tag which I truncated, the Alias gets stuffed with large amount of metadata that doesn't resolve to anything.

I have attached the saved Alias configuration.
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Error Loading Rules: no IP address found for Street: The line in question ...
« Reply #2 on: April 05, 2016, 10:00:56 pm »
Hi cirtes,

You probably selected the wrong type for your alias (I expect you needed host here), there is some documentation of the types available in our docs section.

https://docs.opnsense.org/manual/aliases.html?highlight=alias

I've created an issue for the corrupt download (https://github.com/opnsense/core/issues/877), it would be better to check the output before writing it to the config.

Regards,

Ad
Logged

cirtes

  • Newbie
  • *
  • Posts: 12
  • Karma: 2
    • View Profile
Re: Error Loading Rules: no IP address found for Street: The line in question ...
« Reply #3 on: April 05, 2016, 10:09:15 pm »
Hi Ad, yes, that fixed it.

I created the Alias as "URL(s)" and not "Host(s)".

Once I configured the Alias to use the "Host(s)" the problem was resolved and the rule actually triggers correctly.

The link to the documentation helped.

I'm not sure how to mark [Resolved} but we can close this one.
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Error Loading Rules: no IP address found for Street: The line in question ...
« Reply #4 on: April 06, 2016, 10:45:16 am »
Thanks for reporting back, I will mark this one solved and keep the validation issue on github.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • [SOLVED] Error Loading Rules: no IP address found for Street: The line in quest.
 

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