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

Reverse Squid no longer working on latest development branch

2.5 Development Snapshots (Retired)
6
32
2.2k
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.
  • S
    stephenw10 Netgate Administrator
    last edited by Mar 22, 2020, 12:55 PM

    May be something else required to 'tickle' it. Like something in the array contents... or a lack of contents etc.

    1 Reply Last reply Reply Quote 0
    • K
      kiokoman LAYER 8
      last edited by kiokoman Mar 22, 2020, 2:14 PM Mar 22, 2020, 1:00 PM

      ah ok found it.. yeah it put Array in the config
      bug https://redmine.pfsense.org/issues/10367

          foreach (explode(",", $ifaces) as $i => $iface) {
                  $real_ifaces[] = squid_get_real_interface_address($iface);
                  if ($real_ifaces[$i][0]) {
      

      $real_ifaces[] contain only "Array"

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      1 Reply Last reply Reply Quote 3
      • N
        nafeasonto
        last edited by nafeasonto Mar 22, 2020, 5:05 PM Mar 22, 2020, 5:05 PM

        Good job finding it. I love when people listen to me. Thanks for taking the time to read the post.

        1 Reply Last reply Reply Quote 0
        • V
          viktor_g Netgate
          last edited by Mar 22, 2020, 6:41 PM

          Fix:
          https://github.com/pfsense/FreeBSD-ports/pull/805

          1 Reply Last reply Reply Quote 3
          • S
            stephenw10 Netgate Administrator
            last edited by Mar 22, 2020, 7:09 PM

            Rapido! 😁

            1 Reply Last reply Reply Quote 0
            • K
              kiokoman LAYER 8
              last edited by kiokoman Mar 22, 2020, 10:56 PM Mar 22, 2020, 10:56 PM

              nice work as always viktor 👏 👏 😀

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              Please do not use chat/PM to ask for help
              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

              N 1 Reply Last reply Mar 23, 2020, 12:53 AM Reply Quote 0
              • N
                nafeasonto @kiokoman
                last edited by Mar 23, 2020, 12:53 AM

                @kiokoman you updating the package on Pfsense?

                1 Reply Last reply Reply Quote 0
                • K
                  kiokoman LAYER 8
                  last edited by Mar 23, 2020, 9:40 AM

                  nope, i'm just a regular user like you, viktor have done the work, now Jim and Renato will do the update

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  Please do not use chat/PM to ask for help
                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                  1 Reply Last reply Reply Quote 1
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Mar 23, 2020, 12:24 PM

                    Pretty simple patch, you could just modify /usr/local/pkg/squid_reverse.inc yourself to test it.

                    https://github.com/pfsense/FreeBSD-ports/commit/7716b1cb15b3d5ad7985118bc4716565a1c7dbfc?diff=unified

                    Steve

                    1 Reply Last reply Reply Quote 1
                    • N
                      nafeasonto
                      last edited by nafeasonto Mar 23, 2020, 2:14 PM Mar 23, 2020, 2:13 PM

                      @stephenw10 The modifications in the link you told me worked. Thanks.

                      Will you be modifying the package for the future?

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Mar 23, 2020, 3:18 PM

                        Not me personally but it will almost certainly be pulled in, yes.

                        Steve

                        N 1 Reply Last reply Mar 23, 2020, 3:18 PM Reply Quote 1
                        • N
                          nafeasonto @stephenw10
                          last edited by Mar 23, 2020, 3:18 PM

                          @stephenw10 okay great, thank you.

                          1 Reply Last reply Reply Quote 0
                          • N
                            nafeasonto
                            last edited by Mar 24, 2020, 2:07 AM

                            @stephenw10 For some reason on reboot, it went back to the old settings.

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Mar 24, 2020, 11:23 AM

                              It reverted the file? Curious.

                              You could apply it using the system patches package. You can set that to auto-apply if required.

                              Steve

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Mar 26, 2020, 5:49 PM

                                That change is merged now. It's in the Squid package 0.4.44_15 which you should now see available.

                                Steve

                                1 Reply Last reply Reply Quote 0
                                • N
                                  nafeasonto
                                  last edited by Mar 27, 2020, 10:50 PM

                                  Awesome dude thank you.

                                  1 Reply Last reply Reply Quote 0
                                  26 out of 32
                                  • First post
                                    26/32
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.