Below you will find pages that utilize the taxonomy term “internet”
Posts
Geo Routing (Craigslist Example)
Geo-Routing (Case Study on Craigslist) When you open craigslist.org it does a couple of redirection before finally landing on the subdomain closest to your city. Having separate sub-domain and listings for those particular cities is partly how it seems to handle the distribution of the content. (making it more scalable)
Give it a try: https://craigslist.org
Here is the journey of the request:
curl -I craigslist.org HTTP/1.1 301 Found Location: https://www.craigslist.org/ redirected to https://www.
read morePosts
Why Some ISPs block TCP 22?
Why Some ISPs block TCP 22?
Recently I got to know that some ISP indeed block any outbound traffic for port 22 (tcp) which is a standard port for ssh connections.
(I came to know about this as I was being unable to log into one of the compute instances from my terminal via gcloud in gcp. I prefer terminal logins instead of browser as it’s simply 100 times easier to work with.
read morePosts
On Domain And DNS
This github page
This blog is a github page based on jekyll now and the URL as per github convention is sudipbhandari126.github.io (It’s username.github.io) unless you set up a custom domain.
As of Jan 2020, I have a custom domain setup for this at www.sudipbhandari.wtf. I had some insights into internet domains, dns and domain resolution while doing this activity.
How are domains organized?
All the internet domains are organized in a hierarchical fashion.
read morePosts
Some notes on HTTP
Learning from the udacity course on client server communication
course link: https://classroom.udacity.com/courses/ud897
Using netcat:
nc google.com 80 <head/get/post/put> headers: OPTIONS: get a list of methods supported by the URL end point HEAD: just the header and not the body.. validate if the incoming data will fit the memory, cache validation xml-http-request: xhr, traditional way of doing ajax, new way is javascript promises which are chainable callbacks and are asynchronous
How head is used for cache checking.
read morePosts
Vimium, Browser for hackers!
How I came to know about it So, I am a regular reddit user and it’s one of my favorites online communities. While browsing through subreddit posts, there is a feature in the reddit web-app where you have keyboard shortcuts for browsing: N for next post, P for previous post and so on. I found it very convinient and easy to use especially because you don’t have to take your hands off the keyboard.
read morePosts
SSH tunnelling using ngrok!
So, what if you want to expose your locally running server to the bigger world wide web (WWW)? The answer: “port forwarding on your router and time setting up dynamic DNS solutions”. I am glad that there is a tool now which allows developers to expose their local server to the internet using a single command with a plethora of options: over secure channel, with authentication enabled and also live inspection of the requests coming to the server to name a few.
read more