SSL/TLS Termination, TLS Forward Proxy Pros and Cons

  Рет қаралды 32,711

Hussein Nasser

Hussein Nasser

Күн бұрын

Пікірлер: 37
@hnasr
@hnasr 4 жыл бұрын
TLS Termination is a critical feature of any layer 7 proxy. Here are some Pros & Cons 🖌 Offloads Crypto from backend 🖌 Caching (eg. Varnish) 🖌 Intrusion detection system 🖌 Load Balancing and Service Mesh 🖍 Limited by the Max Conn. of the Proxy 🖍 Dangerous when compromised
@geocmastr
@geocmastr 4 жыл бұрын
One con I can think of right now is that special services ( e.g. downloading patch/upgrade packages) for your servers do not work well if you have a proxy in the middle from a different vendor. Kudos for this excellent explanation!
@hnasr
@hnasr 4 жыл бұрын
Jorge Orozco exactly! that is a perfect example of a layer 7 proxy having to “know” the protocol being proxied. A layer 4 proxy will blindly work because it doesn’t terminate the connection it merely streams it back to the backend. Thanks Jorge!
@learnityourself
@learnityourself 4 жыл бұрын
Thanks, Hussein this is one of the best video on TLS termination on the web.
@Cdswjp
@Cdswjp 3 жыл бұрын
thanks for not having a boring introduction in your video & getting straight to the point
@hashcoeur
@hashcoeur Жыл бұрын
thanks Hussein, you have taught me a lot. I also did your courses.
@tharunrocky14
@tharunrocky14 4 жыл бұрын
Thank you. All of your videos are helpful. You're awesome! Please keep going!
@hnasr
@hnasr 4 жыл бұрын
I am glad it is my goal is to help with what i know 😊
@brette
@brette 4 жыл бұрын
The most clear explanation I have seen.
@FordExplorer-rm6ew
@FordExplorer-rm6ew 5 жыл бұрын
Thank you this is actually useful. Vs what alot of people do, which is usually just a money grift.
@duketekdeveloper
@duketekdeveloper 4 жыл бұрын
Really good stuff man. Very clear and straight forward
@n.w.aicecube5713
@n.w.aicecube5713 4 жыл бұрын
clear explain and points about the subject. Thanks Hussein
@MatiasSosa-h9m
@MatiasSosa-h9m 10 ай бұрын
What measures are in place to safeguard confidential data of the end user using a connection through a proxy, such as authentication and personal data?
@anas021991
@anas021991 2 жыл бұрын
Hello Hussein thank you for the content you have been posting. Would it be possible if you can make a video on HAR captures and Fiddler with some example along with core concept.
@dangaines405
@dangaines405 2 жыл бұрын
Week done!
@abdelrhmanahmed1378
@abdelrhmanahmed1378 2 жыл бұрын
for load Balancing do we really need tls termination , the header is not encrypted, only the content so i can look at the header and see what i want to see right ?
@sunny-14689
@sunny-14689 2 жыл бұрын
Does the SSL termination happen at API Gateway i.e is proxy same as API Gateway
@piratevv
@piratevv 4 жыл бұрын
Fantastic
@N1NJAKIDD
@N1NJAKIDD 4 жыл бұрын
Hi great vid. What if you use a proxy to do ssl termination on the actual webserver, so all the data is passed internally. I know HAProxy allows you to do this
@hnasr
@hnasr 4 жыл бұрын
That is also a good idea. Only problem I see with this scaling. You will have to scale both the web server and the tls termination which is something you won’t necessarily want to do... this also will force you to add another layer of load balancer on front probably a layer 4 or keepalived kind of configuration
@dearvivekkumar
@dearvivekkumar 4 жыл бұрын
Hi I am confused about the internal how reverse proxy, inbound request, and outbound request work. I have an appliance server sitting behind Nginx reverser proxy (http2 enabled). So all the API made to the appliance server will go through the nginx. Here Nginx will do the SSL/TLS termination etc. Till here I am able to understand and visualize what is going on for all the incoming requests to my server. Now when the application server will make a request (outbound), can we tunnel it through Nginx?
@chengdongliao9875
@chengdongliao9875 4 жыл бұрын
not a nginx user, but I guess you can tailor the nginx as a forward proxy for your application server with tunnel enabled for https traffic...
@chengdongliao9875
@chengdongliao9875 4 жыл бұрын
A little bit confusing, I previously thought TLS forward proxy is forward proxy + Tunnel for HTTPs, the client still TCP/TLS handshakes with targert server via tunnel. What is the name of this forward proxy, or call it HTTPs forward porxy?
@MrAlazawi
@MrAlazawi 2 жыл бұрын
with the presence of a forward proxy the client does not handshake with the target server unless you make an exception for that specific communication, the client will always talk only to the proxy, the proxy see the traffic from client in clear text then will start tls handshake with the targeted server and asks for data and then will get it sees it in clear text and retransmit it to client after encrypting it.
@adrian-g
@adrian-g 4 жыл бұрын
Good stuff!
@thannasip8001
@thannasip8001 4 жыл бұрын
Hi bro,is it possible to terminate ssl at zuul gateway? If not any suggestion?
@-haris
@-haris 4 жыл бұрын
TLS Forward Proxy is this what cloudflare does? as cloudflare cannot decrypt data so it adds its own SSL for use between the client and cloudflare , and then uses the previous ssl certificate between cloudflare and the origin server?
@hnasr
@hnasr 4 жыл бұрын
It depends. Are you physically specifying Cloudflare as an HTTPS proxy on your machine? If yes then yes they terminate TLS and make the request in your behalf and cache and do all those pretty stuff. But they can also in this case see the content which is something you might not want. If you are not using an HTTPS proxy, then you are governed by the rule of the destination server. “end to end encrypted “ cloudflare can’t see the content That being said, if you hosted your website on Cloudflare than they can cache your content on edge servers and yes edge servers that are closer to you must be TLS terminator s by design But if your website is hosted on godaddy then they can’t do much about it. They don’t see any content even if you used Cloudflare as DNS Hope that helps 😊
@raghuvallikkat3384
@raghuvallikkat3384 4 жыл бұрын
can you please cover DoS and how to handle that DoS attack?
@hnasr
@hnasr 4 жыл бұрын
kzbin.info/www/bejne/anqapYONbdSZaMk
@raghuvallikkat3384
@raghuvallikkat3384 4 жыл бұрын
@@hnasr Thanks. One piece is missing is how do we handle such attacks in server side?
@geomagazine_khalid
@geomagazine_khalid 5 жыл бұрын
Hi. Can you help me to create DLL file using Visual Studio? I have already a decompiled code from a DLL and has updated it in a txt file.
@bountyproofs
@bountyproofs 6 ай бұрын
The best name ever HUSSEIN i hope you understand
@cabletvandinternetworldser5409
@cabletvandinternetworldser5409 5 жыл бұрын
Do some new videos CGi
@funkzsnoopy
@funkzsnoopy 5 ай бұрын
You repeat or get stuck with the point alot. But thanks for the tutorial.
@husseintheprofortniteplaye4030
@husseintheprofortniteplaye4030 5 жыл бұрын
He hass the same name as me but he has 2 s in naser
VPN vs Proxy Explained Pros and Cons
36:18
Hussein Nasser
Рет қаралды 29 М.
TLS Handshake Deep Dive and decryption with Wireshark
1:05:40
David Bombal
Рет қаралды 284 М.
Mom had to stand up for the whole family!❤️😍😁
00:39
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 32 МЛН
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 25 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 5 МЛН
Proxy vs Reverse Proxy Server Explained
14:18
Hussein Nasser
Рет қаралды 133 М.
Load balancing in Layer 4 vs Layer 7 with HAPROXY Examples
37:33
Hussein Nasser
Рет қаралды 163 М.
Cloudflare Open sources Pingora (NGINX replacement)
29:33
Hussein Nasser
Рет қаралды 30 М.
Transport Layer Security, TLS 1.2 and 1.3 (Explained by Example)
24:20
Hussein Nasser
Рет қаралды 264 М.
TLS 1.3 Handshake - many CHANGES from prior versions!
17:39
Practical Networking
Рет қаралды 17 М.
SSL/TLS Explained in 7 Minutes
7:38
Sematext
Рет қаралды 43 М.
How Un-deletable Zombie Cookies work (with implementation example)
14:55
TCP Tunneling Applications Pros and Cons (Explained by Example)
29:58
Hussein Nasser
Рет қаралды 39 М.
Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
3:36:55
TechWorld with Nana
Рет қаралды 8 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39