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

    Squid Startup Error with PPTP

    Scheduled Pinned Locked Moved pfSense Packages
    17 Posts 7 Posters 9.0k 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.
    • W Offline
      wonslung
      last edited by

      same here, please fix or let us downgrade to the last version

      1 Reply Last reply Reply Quote 0
      • T Offline
        trendchiller
        last edited by

        strange… do you have pptp as a wan interface or a vpn-dial-in-interface ?

        1 Reply Last reply Reply Quote 0
        • W Offline
          wonslung
          last edited by

          nope.

          this bug is happening for a lot of people

          1 Reply Last reply Reply Quote 0
          • T Offline
            tommyboy180
            last edited by

            I to am having the same exact issue.

            Edit: I had to comment out the pptpd rules in squid.inc to get it working.

            /* Handle PPTP case */
            /*		if($config['pptpd']['mode'] != "off") {
            			$rules .= "rdr on \$pptp proto tcp from any to !(\$pptp) port 80 -> 127.0.0.1 port 80\n";
            		}	
            */	
            		$rules .= "\n";
            		break;
            	case 'filter':
            		foreach ($ifaces as $iface){
            			$rules .= "# Setup squid pass rules for proxy\n";
            			$rules .= "pass in quick on $iface proto tcp from any to !($iface) port 80 flags S/SA keep state\n";
            			$rules .= "pass in quick on $iface proto tcp from any to !($iface) port $port flags S/SA keep state\n";
            			$rules .= "\n";
            		};
            		if($config['pppoe']['mode'] == "off") {
            			$rules .= "pass in quick on \$pppoe proto tcp from any to !(\$pppoe) port $port flags S/SA keep state\n";			
            		}			
            /*		if($config['pptpd']['mode'] != "off") {
            			$rules .= "pass in quick on \$pptp proto tcp from any to !(\$pptp) port $port flags S/SA keep state\n";
            		}	
            */		
            		break;
            	default:
            		break;
            	}
            
            	return $rules;
            }
            ?>
            
            

            -Tom Schaefer
            SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

            Please support pfBlocker | File Browser | Strikeback

            1 Reply Last reply Reply Quote 0
            • T Offline
              trendchiller
              last edited by

              well, yes !
              i'm just wondering about and found the error…
              perhaps you could test if it works if you put this as pptpd:

              		if($config['pptpd']['mode'] == "server") {
              			$rules .= "rdr on \$pptp proto tcp from any to !(\$pptp) port 80 -> 127.0.0.1 port 80\n";
              		}	
              

              would you please tell me after this ?

              1 Reply Last reply Reply Quote 0
              • W Offline
                wonslung
                last edited by

                this doesn't work for me, filter errors again
                There were error(s) loading the rules: /tmp/rules.debug:345: macro 'pptp' not defined/tmp/rules.debug:345: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [345]: pass in quick on $pptp proto tcp from any to !($pptp) port 3128 flags S/SA keep state…

                This page will automatically refresh every 3 seconds until the filter is done reloading.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  trendchiller
                  last edited by

                  could you please paste your pptpd portion without any private data of your config.xml ? or pm me ?

                  Diagnostics > Edit File > /conf/config.xml > Load > search for pptpd and then everything between <pptpd>and</pptpd> ?

                  thanks…

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cisco31
                    last edited by

                    <pptpd><mode><redir><localip></localip></redir></mode></pptpd>

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      trendchiller
                      last edited by

                      ok, same problem here… sometimes there seems to be some pptp-mode string missing...

                      which pfsense version are you using ?

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        cisco31
                        last edited by

                        1.2.2
                        built on Thu Jan 8 22:39:31 EST 2009

                        1 Reply Last reply Reply Quote 0
                        • W Offline
                          wonslung
                          last edited by

                          i don't even USE pptp and i'm getting this frustrating error

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            psychosematic
                            last edited by

                            I had pptp in use … not active at the moment of upgrade to squid. I am as well getting the same error.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              trendchiller
                              last edited by

                              very strange… same version here and no problem...

                              but please have a further try now... reinstall squid-gui components please

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                acidrop
                                last edited by

                                Hello

                                I have the same problem after installing the latest squid.
                                I'm using Pfsense 1.2 final dual WAN with squid+squidguard+lightsquid in transparent mode.
                                If i disable transparent mode i don't get the error message.
                                I removed all the packages and installed them again but the error appears again..

                                Any ideas?

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  trendchiller
                                  last edited by

                                  i temporarily disabled the pptp usage in squid, so update your xml-config and it should work… please let me know...

                                  1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    wonslung
                                    last edited by

                                    still get this error that i never got before

                                    Generating RRD graphs...
                                    ERROR: unknown DS name 'qPenaltyUp'
                                    done.
                                    
                                    

                                    and this one

                                    Warning: Invalid argument supplied for foreach() in /etc/inc/pkg-utils.inc(303) : eval()'d code on line 1
                                     squid
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.