OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Problems with Squid Proxy SSLi after reinstall - config from backup
« previous next »
  • Print
Pages: [1]

Author Topic: Problems with Squid Proxy SSLi after reinstall - config from backup  (Read 5709 times)

hv-tech

  • Newbie
  • *
  • Posts: 29
  • Karma: 1
    • View Profile
Problems with Squid Proxy SSLi after reinstall - config from backup
« on: March 07, 2023, 04:55:33 pm »
Hi Forum,

So I recently had to rebuild my Opnsense box, and redeployed the backed up config. Everything is find except the Squid proxy.. So proxy works unless I use SSLi. I did everything that anyone might think of, reinstall squid packages (from the GUI) redeploy the SSL Cert for SSLi, tried a different interface. Nothing works, anyone have any ideas?


Posted are the 'cache logs'.
2023-03-07T10:52:11       squid   kid1| ERROR: failure while accepting a TLS connection on conn163 local=172.16.10.1:3128 remote=172.16.10.6:1180 FD 17 flags=1: 0x81cd39680*1   
2023-03-07T10:52:11       squid   kid1| ERROR: failure while accepting a TLS connection on conn162 local=172.16.10.1:3128 remote=172.16.10.6:1179 FD 13 flags=1: 0x81cd39680*1   
2023-03-07T10:52:10       squid   kid1| ERROR: failure while accepting a TLS connection on conn156 local=172.16.10.1:3128 remote=172.16.10.6:1178 FD 13 flags=1: 0x81cd39680*1   
2023-03-07T10:52:10       squid   kid1| ERROR: failure while accepting a TLS connection on conn150 local=172.16.10.1:3128 remote=172.16.10.6:1177 FD 13 flags=1: 0x81cd39680*1   
2023-03-07T10:52:10       squid   kid1| ERROR: failure while accepting a TLS connection on conn144 local=172.16.10.1:3128 remote=172.16.10.6:1176 FD 13 flags=1: 0x81cd39680*1   
2023-03-07T10:52:09       squid   kid1| ERROR: failure while accepting a TLS connection on conn138 local=172.16.10.1:3128 remote=172.16.10.6:1175 FD 13 flags=1: 0x81cd39680*1   
2023-03-07T10:52:08       squid   kid1| ERROR: failure while accepting a TLS connection on conn132 local=172.16.10.1:3128 remote=172.16.10.6:1174 FD 13 flags=1: 0x81cd39680*1   
2023-03-07T10:52:08       squid   kid1| ERROR: failure while accepting a TLS connection on conn126 local=172.16.10.1:3128 remote=172.16.10.6:1173 FD 17 flags=1: 0x81cd39680*1   
2023-03-07T10:52:08       squid   kid1| ERROR: failure while accepting a TLS connection on conn79 local=172.16.10.1:3128 remote=172.16.10.6:1164 FD 19 flags=1: 0x81cd39680*1   
2023-03-07T10:52:08       squid   kid1| ERROR: failure while accepting a TLS connection on conn120 local=172.16.10.1:3128 remote=172.16.10.6:1172 FD 13 flags=1: 0x81cd39680*1   
            listening port: 172.16.10.1:3128   
2023-03-07T10:52:08       squid   kid1| ERROR: failure while accepting a TLS connection on conn90 local=172.16.10.1:3128 remote=172.16.10.6:1171 FD 36 flags=1: 0x81cd3a940*1   
2023-03-07T10:52:08       squid   kid1| ERROR: failure while accepting a TLS connection on conn81 local=172.16.10.1:3128 remote=172.16.10.6:1166 FD 22 flags=1: 0x81cd3a940*1   
2023-03-07T10:52:08       squid   kid1| ERROR: failure while accepting a TLS connection on conn78 local=172.16.10.1:3128 remote=172.16.10.6:1163 FD 17 flags=1: 0x81cd3a940*1   
2023-03-07T10:52:08       squid   kid1| ERROR: failure while accepting a TLS connection on conn75 local=172.16.10.1:3128 remote=172.16.10.6:1160 FD 13 flags=1: 0x81cd3a4c0*1
Logged

Fright

  • Hero Member
  • *****
  • Posts: 1777
  • Karma: 164
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #1 on: March 07, 2023, 05:48:31 pm »
Hi
3128 for tls? shouldn't it be 3129?
Logged

hv-tech

  • Newbie
  • *
  • Posts: 29
  • Karma: 1
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #2 on: March 07, 2023, 05:55:47 pm »
Your right it is, but it doesn't seem to want to hit that port.


Logged

hv-tech

  • Newbie
  • *
  • Posts: 29
  • Karma: 1
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #3 on: March 07, 2023, 05:56:40 pm »
Screenshot attached:
Logged

Fright

  • Hero Member
  • *****
  • Posts: 1777
  • Karma: 164
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #4 on: March 07, 2023, 06:09:07 pm »
since it's lan address in error message (not loopback) I would say that the issue is in the clients proxy settings
Logged

hv-tech

  • Newbie
  • *
  • Posts: 29
  • Karma: 1
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #5 on: March 07, 2023, 06:38:33 pm »
I have another machine that I can test with, I'll give it a try.
Logged

hv-tech

  • Newbie
  • *
  • Posts: 29
  • Karma: 1
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #6 on: March 07, 2023, 06:43:01 pm »
Same problem on a different PC. Nothing has been changed on the end points. Just the reinstall of Opnsense.
Logged

Fright

  • Hero Member
  • *****
  • Posts: 1777
  • Karma: 164
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #7 on: March 07, 2023, 06:47:38 pm »
so is it proxy set on clients or it worked in transparent mode?
How are the proxy settings set on the client?
Logged

hv-tech

  • Newbie
  • *
  • Posts: 29
  • Karma: 1
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #8 on: March 07, 2023, 06:51:30 pm »
Simple Windows manual proxy configuration.
Logged

Fright

  • Hero Member
  • *****
  • Posts: 1777
  • Karma: 164
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #9 on: March 07, 2023, 08:39:20 pm »
аh, sorry, haven't looked under the squid hood for a long time. the message format may have been changed on squid 5.* migration..
try to make sure the client trusts the root certificate used by squid (helped on test vm)
Logged

hv-tech

  • Newbie
  • *
  • Posts: 29
  • Karma: 1
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #10 on: March 07, 2023, 09:30:06 pm »
Okay silly me, I reapplied the cert to the trust area and it works now. Must have added the wrong cert originally. Thanks for the help Fright, another head helped for this.
Logged

Fright

  • Hero Member
  • *****
  • Posts: 1777
  • Karma: 164
    • View Profile
Re: Problems with Squid Proxy SSLi after reinstall - config from backup
« Reply #11 on: March 07, 2023, 09:40:47 pm »
glad it works, thanks for the feedback! )
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Problems with Squid Proxy SSLi after reinstall - config from backup
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2