Navigation

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

    Aliases edit problem (amd64, full install, 2.2.4)

    General pfSense Questions
    4
    5
    1090
    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.
    • _
      _igor_ last edited by

      Due to a mistake i made (entered cdirs as hosts, so the cdirs got expanded to all available hosts inside that cdir) i found an error:

      I can add 5000 entries (hosts) inside an alias - says my pfsense. With 4096 that works.
      Now inside an alias i had 4096 hosts, later inside another alias 765 hosts.
      So far so good.

      Now i wanted to rename the first alias to another name, and editing the second alias the same happened here when i tried to save my changes: I got the following error:

      Warning: Unknown: Input variables exceeded 1000\. To increase the limit change max_input_vars in php.ini. in Unknown on line 0 Warning: session_start(): Cannot send session cache limiter - headers already sent in /usr/local/www/csrf/csrf-magic.php on line 351 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 48 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 49 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 50 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 51 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 52 Warning: Cannot modify header information - headers already sent in /usr/local/www/guiconfig.inc on line 55 Warning: Cannot modify header information - headers already sent in /usr/local/www/firewall_aliases_edit.php on line 485
      

      On opening the aliases to check them i found out that both aliases only contained 750hosts, the rest disappeared. Any further editing results in the same error.

      I checked this 2 more times and always get the same result. Any hints??? Or should i open it on redmine?

      1 Reply Last reply Reply Quote 0
      • Ruddimaster
        Ruddimaster last edited by

        Hi all,

        I have the same problem. I want add 250 entries in BIND.

        Dirk

        1 Reply Last reply Reply Quote 0
        • P
          pomawu last edited by

          I'm trying to add an alias with all currently known ads hosts, it is a 13590 lines long file.
          I usually put it into /etc/hosts and works flawlessly but adding it as an alias in pfsense web admin gives problems.
          I can add it but as I edit it I get a blank page and then a crash report when I reload asking me to submit the following:

          Crash report begins.  Anonymous machine information:

          amd64
          10.1-RELEASE-p25
          FreeBSD 10.1-RELEASE-p25 #0 c39b63e(releng/10.1)-dirty: Mon Dec 21 15:20:13 CST 2015    root@pfs22-amd64-builder:/usr/obj.RELENG_2_2.amd64/usr/pfSensesrc/src.RELENG_2_2/sys/pfSense_SMP.10

          Crash report details:

          PHP Errors:
          [26-Feb-2016 13:30:48 Etc/UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 96652303 bytes) in /usr/local/www/csrf/csrf-magic.php on line 147

          1 Reply Last reply Reply Quote 0
          • P
            pomawu last edited by

            @pomawu:

            I'm trying to add an alias with all currently known ads hosts, it is a 13590 lines long file.
            I usually put it into /etc/hosts and works flawlessly but adding it as an alias in pfsense web admin gives problems.
            I can add it but as I edit it I get a blank page and then a crash report when I reload asking me to submit the following:

            Crash report begins.  Anonymous machine information:
            
            amd64
            10.1-RELEASE-p25
            FreeBSD 10.1-RELEASE-p25 #0 c39b63e(releng/10.1)-dirty: Mon Dec 21 15:20:13 CST 2015     root@pfs22-amd64-builder:/usr/obj.RELENG_2_2.amd64/usr/pfSensesrc/src.RELENG_2_2/sys/pfSense_SMP.10
            
            Crash report details:
            
            PHP Errors:
            [26-Feb-2016 13:30:48 Etc/UTC] PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 96652303 bytes) in /usr/local/www/csrf/csrf-magic.php on line 147
            
            

            tried editing php.ini and increasing memory to no avail, /usr/local/www/csrf/csrf-magic.php doesn't exist.
            Bump

            1 Reply Last reply Reply Quote 0
            • C
              cmb last edited by

              You don't want to use a network or host alias for that many entries. In 2.3, you can go up to 5000 members. Anything beyond that has to be a URL table alias, and likely anything beyond 1000 really should be as well.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense Plus
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy