[squid-users] There is the problems with instagram images and videos

ngtech1ltd at gmail.com ngtech1ltd at gmail.com
Thu Jun 16 06:50:23 UTC 2022


Hey,

Let sum things up:
Squid-Cache works all over the world and you are having a trouble in a specific environment.
The main thing to do now is find the difference between others and you in the setup level.

First you referenced to a danted sock5 proxy.
So the issue is that your setup is more complex then a simple forward proxy.
I do not remember how socks5 works and also do not remember anything about a danted sock5 proxy.
I will try to learn more about such setups later and will try to response later on.

It's not a squid issue but please give me some tutorial that you might have used or will be good for me to re-produce such a setup.
Once I will have more details about the setup I might be able to respond the right way and be a bit smarter.

Eliezer

-----Original Message-----
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of simwin
Sent: Wednesday, 15 June 2022 19:16
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] There is the problems with instagram images and videos


andre.bolinhas at articatech.com:

> TCP_TUNNEL/200 means that the proxy is able to establish a correct connection
> with the destination, do you have any firewall, antivirus, ad-blocker in
> between that could block the traffic?  

No antivirus, no firewall and no ad-blocker - I've checked it!. 

I've made ssh tunnel (ssh -D 0.0.0.0:8888) and make sock5 proxy to my server -
it works fine! But with danted sock5 proxy I have the same problem - no
instagram images, no videos.
 
Also it may be providers issue - all instagram's traffic blocked in our
country. 

That is why I need to know - does squid works with instagram (and twitter
videos) for anyone from another country with default squid config?

В Wed, 15 Jun 2022 19:01:30 +0300
simwin <simwin at mail.ru>:

> Plus squid -v:
> 
> configure options:  '--prefix=' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
> '--libexecdir=/usr/libexec/squid' '--libdir=/usr/lib/squid'
> '--mandir=/usr/share/man/man8' '--sysconfdir=/etc/squid'
> '--with-default-user=proxy' '--with-pidfile=/run/squid.pid'
> '--with-logdir=/var/log/squid'
> 
> В Wed, 15 Jun 2022 18:48:00 +0300
> simwin <simwin at mail.ru> пишет:
> 
> > With the latest stable squid-5.6-20220607-rfca8b79b5 the result is the same
> > - no instagram photos and videos :(
> > 
> > The squid configs is default, please see all info below:
> > 
> > $ grep -vE '^$|^#' /etc/squid/squid.conf
> > 
> > acl localnet src 0.0.0.1-0.255.255.255	
> > acl localnet src 10.0.0.0/8		
> > acl localnet src 100.64.0.0/10		
> > acl localnet src 169.254.0.0/16 	
> > acl localnet src 172.16.0.0/12		
> > acl localnet src 192.168.0.0/16		
> > acl localnet src fc00::/7       	
> > acl localnet src fe80::/10      	
> > acl SSL_ports port 443
> > acl Safe_ports port 80		# http
> > acl Safe_ports port 21		# ftp
> > acl Safe_ports port 443		# https
> > acl Safe_ports port 70		# gopher
> > acl Safe_ports port 210		# wais
> > acl Safe_ports port 1025-65535	# unregistered ports
> > acl Safe_ports port 280		# http-mgmt
> > acl Safe_ports port 488		# gss-http
> > acl Safe_ports port 591		# filemaker
> > acl Safe_ports port 777		# multiling http
> > 
> > auth_param basic program /usr/libexec/squid/basic_ncsa_auth
> > /etc/squid/internet_users
> > 
> > acl auth_users proxy_auth REQUIRED
> > http_access allow auth_users
> > auth_param basic casesensitive on
> > http_access deny !Safe_ports
> > http_access deny CONNECT !SSL_ports
> > http_access allow localhost manager
> > http_access deny manager
> > http_access allow localnet
> > http_access allow localhost
> > http_access deny all
> > http_port xxx.xxx.xxx.xxx:xxxx
> > coredump_dir /var/cache/squid
> > refresh_pattern ^ftp:		1440	20%	10080
> > refresh_pattern ^gopher:	1440	0%	1440
> > refresh_pattern -i (/cgi-bin/|\?) 0	0%	0
> > refresh_pattern .		0	20%	4320
> > 
> > Full squid.conf - https://pastebin.mozilla.org/JKSiBuvU/raw
> > Firefox 101 console errors - https://pastebin.mozilla.org/0Osvw45J/raw
> > Squid access.log - https://pastebin.mozilla.org/pOsXtMBW/raw
> > OS Debian 11
> > 
> > 2All: Please answer: does squid works with instagram (and twitter videos)
> > for anyone?!
> > 
> > В Wed, 15 Jun 2022 12:14:22 +0300
> > simwin <simwin at mail.ru> пишет:
> >   
> > > В Wed, 15 Jun 2022 02:59:29 +0300
> > > <ngtech1ltd at gmail.com>:
> > >     
> > > > I just compiled the newest version of Squid for Debian 11(bullseye) at:
> > > > https://www.ngtech.co.il/repo/debian/11/x86_64/ 
> > > > However you need to know how to install it and I cannot work on the
> > > > installer now. It's also doesn't include all of my patches yet.
> > > > From what I have seen at:
> > > > https://packages.debian.org/bullseye/squid
> > > > The current version at bullseye is 4.13 so you'd better try first 5.6
> > > > before any other things.      
> > > 
> > > That is the good idea! 
> > > 
> > > I'm already in trying to compile and install the latest 5.6 squid
> > > version.  
> > > 
> > > I am in GMT+3 time zone. 
> > > 
> > > Let you know about 5.6 results a bit latter. Thank you!    
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list