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

ERROR clientip is null, you must set 'icap_send_client_ip on' into squid.conf

General pfSense Questions
2
8
652
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.
  • J
    JonathanLee
    last edited by JonathanLee Dec 11, 2022, 2:34 AM Dec 11, 2022, 2:32 AM

    Hello fellow netgate community,

    Can you please help?

    ERROR clientip is null, you must set 'icap_send_client_ip on' into squid.conf

    Does anyone know how to fix this error?

    login-to-view

    I have posted a couple times in the proxy categories; however, no one has responded to the questions. I have this turned on in Squid proxy configuration, however it says client is null non stop.

    Does anyone have any hints?

    https://forum.netgate.com/topic/176340/error-clientip-is-null-you-must-set-icap_send_client_ip-on-into-squid-conf?_=1670725858461

    Make sure to upvote

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Dec 12, 2022, 4:03 PM

      Hmm, I've never seen that. But I very rarely enable clamav in squid.
      I assume if you disable clamav it stops showing those errors?

      Steve

      J 1 Reply Last reply Dec 12, 2022, 6:34 PM Reply Quote 1
      • J
        JonathanLee @stephenw10
        last edited by JonathanLee Dec 12, 2022, 6:49 PM Dec 12, 2022, 6:34 PM

        @stephenw10 happy holidays,

        Thanks for the reply,
        login-to-view

        It's the errors listed in i-cap server logs, I don't know if that helps or not. I have been running Clam AV it stops many viruses that my normal antivirus won't even catch. I have not disabled it to check I will test soon.

        login-to-view
        (image: virus caught last week)

        I have also worked with this possible solution. . .

        https://forum.netgate.com/topic/129331/adaptation_send_client_ip-vs-icap_send_client_ip/2?_=1670870168091

        I have also tested this solution it did not resolve my issue like it did for this post.

        login-to-view
        (image: send client is set to on in Squid proxy Config)

        login-to-view
        (image: adapted code for Clam-AV config did not resolve issue)

        Make sure to upvote

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Dec 12, 2022, 7:01 PM

          Ah, interesting. Not sure I've ever looked in that log!

          Other than showing those errors is it otherwise working as expected?

          J 1 Reply Last reply Dec 12, 2022, 7:04 PM Reply Quote 1
          • J
            JonathanLee @stephenw10
            last edited by Dec 12, 2022, 7:04 PM

            @stephenw10 Yes other than that error it works, the splash screen works and all, I do not know if that is related to if you have subnets set up on the proxy or something else. The error list is huge for these thousands of entries

            Make sure to upvote

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Dec 13, 2022, 1:42 PM

              Hmm, if it's not actually causing a problem (even in clamav) it's possible that's common but nobody reports it as it's not shown. As I said I'm not sure I've ever looked in that log file.
              Once 23.01 is released I'll try to dig into it. No spare testing time until then unfortunately.

              Steve

              J 2 Replies Last reply Dec 13, 2022, 1:56 PM Reply Quote 1
              • J
                JonathanLee @stephenw10
                last edited by Dec 13, 2022, 1:56 PM

                @stephenw10 thanks, can't wait to load it on my Netgate 2100 max

                Make sure to upvote

                1 Reply Last reply Reply Quote 0
                • J
                  JonathanLee @stephenw10
                  last edited by Dec 13, 2022, 9:55 PM

                  @stephenw10

                  I have noticed that a non loopback is loaded in the config and the ip is commented out for this. I attempted to turn on the ip and the port however it defaults back to commented out and deletes the lines I added in yellow. Orange highlighted is standard

                  login-to-view

                  Make sure to upvote

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