• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

URL Table (IPs) - BUG.

Scheduled Pinned Locked Moved Firewalling
5 Posts 1 Posters 2.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    cyber7
    last edited by Nov 3, 2016, 11:23 AM Nov 3, 2016, 9:01 AM

    Trying to add my AS Facebook listing from my local URL I get:

    Unable to fetch usable data from URL http://<ip>/aliastables/facebook.txt</ip>
    

    This is with 2.3.2-p1

    I had a look on GIT and April 2016 this was reported, but closed as "duplicate", although pointing to 2.2.4…

    https://redmine.pfsense.org/issues/6564

    Please could someone tell me what I am doing wrong?  The file "facebook.txt" only contains 10.0.0.111 at the moment.

    I can do a "```
    curl http://<ip>/aliastables/facebook.txt</ip>

    When you pause to think, do you start again?

    2.2.4-RELEASE (amd64)
    built on Sat Jul 25 19:57:37 CDT 2015
    FreeBSD 10.1-RELEASE-p15
    and
    pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

    1 Reply Last reply Reply Quote 0
    • C
      cyber7
      last edited by Nov 3, 2016, 9:45 AM

      further on this:

      If I use an external source IP List, I get this to work.  So, it seems like it is a block on my local network…?

      When you pause to think, do you start again?

      2.2.4-RELEASE (amd64)
      built on Sat Jul 25 19:57:37 CDT 2015
      FreeBSD 10.1-RELEASE-p15
      and
      pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

      1 Reply Last reply Reply Quote 0
      • C
        cyber7
        last edited by Nov 4, 2016, 9:11 AM Nov 3, 2016, 10:49 AM

        :( >:( >:(

        If I edit the /cf/conf/config.xml file and add into the <aliases>section the following:

                        <alias><name>facebook</name>
                                <type>urltable</type>
                                <url>http://IPIPIPIP/aliastables/facebook.txt</url>
                                <updatefreq>128</updatefreq>
        
        <address>http://IPADDRESS/aliastables/facebook.txt</address>
        
                                <detail></detail></alias> 
        

        it does seem to work…

        I can then do a:

        pfctl -t facebook -T replace -f /usr/local/www/aliastables/facebook.txt
        

        once the full list of IP's have been collected with:

        whois -h whois.radb.net -- "-i origin AS32934" | awk "/^route:/ {print $2;}" | awk '{print $2}' | sort | uniq > facebook.txt
        

        without problems

        Can one of you please confirm the correct way of specifying an URL TABLE ALIAS without having to edit/break the config file?

        PS - This does not STICK if you reboot, you have to re-import your TXT file with the above PFCTL command…</aliases>

        When you pause to think, do you start again?

        2.2.4-RELEASE (amd64)
        built on Sat Jul 25 19:57:37 CDT 2015
        FreeBSD 10.1-RELEASE-p15
        and
        pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

        1 Reply Last reply Reply Quote 0
        • C
          cyber7
          last edited by Nov 3, 2016, 11:34 AM

          I can also confirm that I can create an URL TABLE ALIAS using this environment file from my production system…

          When you pause to think, do you start again?

          2.2.4-RELEASE (amd64)
          built on Sat Jul 25 19:57:37 CDT 2015
          FreeBSD 10.1-RELEASE-p15
          and
          pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

          1 Reply Last reply Reply Quote 0
          • C
            cyber7
            last edited by Nov 4, 2016, 11:18 AM

            To assist with the problem I wrote a workaround with scripting and startup files here:
            http://wp.me/p2jcLn-xr

            Please visit the site to get this working.

            As a last point, I hate having to edit configuration files of broken software, so please pfSense fix this for us?

            When you pause to think, do you start again?

            2.2.4-RELEASE (amd64)
            built on Sat Jul 25 19:57:37 CDT 2015
            FreeBSD 10.1-RELEASE-p15
            and
            pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received