Search squid archive

Re: Skype for Business behind a transparent squid (TProxy) HTTP/S

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,


Let me see if I understood that right.

I can change TPROXY to REDIRECT in my iptables.sh and in the ssl-bump replace proxy with intercept.
Then, I can run your bash script after creating domains-to-bypass.txt and putting skype domains in there.
Is that right? or am I missing something?

P.S: Skype for Business uses Lync servers, I do not think skype.com is its domain at all. 


Piensa en el medio ambiente antes de imprimir este email.

On Dec 5, 2016, at 6:54 PM, Eliezer Croitoru <eliezer@xxxxxxxxxxxx> wrote:

Hey,
 
Well it’s nice to have such a tutorial but I didn’t followed all of it.
You will want to use REDIRECT in the nat table rather then trroxy.
But if it works now and the only issue is skype then you can try my script at:
 
And maybe you will need to monitor your logs for incoming requests with new ip addresses.
I started working on an external_acl helper that can help in such scenarios which identifies if the destination server might be of skype but I think that most of the information exists at:
And also:
 
Try to see if when you add these ip addresses to bypass it works fine.
 
Eliezer
 
----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer@xxxxxxxxxxxx
<Untitled Attachment 1.jpg>
 
From: Sameh Onaissi [mailto:sameh.onaissi@xxxxxxxxx] 
Sent: Tuesday, December 6, 2016 1:28 AM
To: Eliezer Croitoru <eliezer@xxxxxxxxxxxx>
Cc: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [squid-users] Skype for Business behind a transparent squid (TProxy) HTTP/S
 
Hello Eliezer, thank you for the reply. 
 
Honestly, to get things working after several failed attempts to intercept HTTPS, I followed this guide: http://www.cyberscie.com/2015/08/installing-squid-357-as-transparent.html?showComment=1463513043421
 
My squid.conf is simple: http://pastebin.com/9uZ4kxW6
 
I have collected a few IPs that skype for business uses, I tried allowing them through IP-tables but it did not work. 
 
 

<Untitled Attachment 2.jpg> Piensa en el medio ambiente antes de imprimir este email.
 
On Dec 5, 2016, at 6:16 PM, Eliezer Croitoru <eliezer@xxxxxxxxxxxx> wrote:
 
Hey,
 
The first suggestion is to find out what servers needs to be in the exceptions from squid interception.
It should be a bunch of IP addresses.
The possibility of skype hosting services to hold unwanted sites or content is slight but not impossible.
You don’t need tproxy on this machine since it is masquerading in any case(just a pointer that will ease your life).
 
We can try to recognize together what IP addresses are required to be “bypassed” from squid interception.
And we are missing the squid.conf so we are limited to even know if your setup should work to begin with.
 
Eliezer
 
----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email:
 eliezer@xxxxxxxxxxxx
<Picture (Device Independent Bitmap) 1.jpg>
 
From: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxxOn Behalf Of Sameh Onaissi
Sent: Tuesday, December 6, 2016 12:47 AM
To: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [squid-users] Skype for Business behind a transparent squid (TProxy) HTTP/S
 
I have a Ubuntu 16.04 server with Squid 3.5.22 installed. It acts as a gateway in a LAN.
It is configured to intercept HTTP and HTTPS traffic (Transparent). So iptables redirects were used for ports 80 and 443.
The server runs two scripts: 
nat.sh to bridge the two network cards, allowing LAN computers access to the internet through the servers Internet interface card.
iptables.sh which defines the ip rules and port forwarding: http://pastebin.com/SqpbmYQQ
 
 
BEFORE RUNNING iptables.sh...
When I connect a LAN computer to it, everything works as expected. Complete Internet access with some HTTP and HTTPS domains blocked/redirected to another page. Skype for Business logs in successfully.
 
AFTER RUNNING iptables.sh
Skype for Business disconnects, and fails to re-connect, normal skype works just fine.
 
That got rid of the DNS error I was getting to another error saying service is temporarily unavailable.
Any suggestions to why this is happening? Any solutions?
Note: both router and Ubuntu's WAN interface use Google's 8.8.8.8 DNS
 
Any help is really appreciated as I have been trying to fix this for days!
 



<Picture (Device Independent Bitmap) 2.jpg> Piensa en el medio ambiente antes de imprimir este email.
 
 
 
 

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux