[31] Results

Golang : Convert IP version 6 address to integer or decimal number

golang ip-version-6 integer decimal-number

Problem :

You have IP address version 6 in string format and you want to convert it into integer. How….... read more

Golang : Check version

golang version

Sometimes, the most obvious thing can be the hardest to remember. This is just a quick note for future usage...in….... read more

Golang : Use TLS version 1.2 and enforce server security configuration over client

golang version-tls12 prefer-server-cipher-suites min-version max-version


You want to force your Golang program to use TLS(Transport Layer Security) protocol version 1.2 only and use server….... read more

Linux : Disable and enable IPv4 forwarding

linux ip-address ip-forwarding

A quick note on how to disable or enable IP (version 4) forwarding in Linux. IP forwarding is a routing….... read more

Golang : Get HTTP protocol version example

golang http-protocol-version http-2

Upgraded socketloop.com's NGINX web server to serve via HTTP/2 and wanted to find out if Golang can detect the HTTP/2.... read more

Javascript : Get operating system and browser information

javascript browser-version get-visitor-os whichbrowser

Problem :

You need to find out your visitor's browser and os version. How to do that with Javascript or….... read more

CloudFlare : Another way to get visitor's real IP address

cloudflare ip-address ip-tracker DDOS firewall


Your web server's log such as NGINX's access.log is showing unusually high and intense query from a couple of….... read more

Golang : Proper way to test CIDR membership of an IP 4 or 6 address example

golang CIDR ip-address contains parse-ip


You have generated a range of IP addresses from a given Classless Inter-Domain Routing address(CIDR) address and you want….... read more