As you know, SSLv3, most popular TLS protocol, is announced as victim of this Poodle vulnerability. After this announcement, all the enterprise community rushed to disable SSLv3 & SSLv2 protocols as part of their security enforcements. This page explains theContinue reading… Poodle fix for all the users of libcurl
Author: vamsipavan
Subjects to discuss with your manager in one-on-one
I usually plan to talk about 3 things, in equal 10 minute proportions: Past Present Future Past Generally this is things that have been brought up before that have had resolutions. ie. We had discussed, asContinue reading… Subjects to discuss with your manager in one-on-one
Vim: Reverse all lines
One of rare occasion that we have to reverse the whole file or part of the file content in line order. Vim handles such cases effortlessly. This command given in below will reverse all lines in the current buffer: :g/^/m0Continue reading… Vim: Reverse all lines
Base64 Encoding and Decoding in C
Base64 is a method of encoding arbitrary data as plain ASCII text. It is one of the techniques employed by the MIME standard to send data other than plain text. Base64 encoding takes three bytes, each consisting of eight bits,Continue reading… Base64 Encoding and Decoding in C
SSL Authentication in HTTP : Using cURL – Part 3
Open source curl is one of best & stable http client tool as well as library. In this article, we’ll see how can we use libcurl library as well as curl command line utility for two way client authentication. UsingContinue reading… SSL Authentication in HTTP : Using cURL – Part 3
SSL Authentication in HTTP : Basics – Part 2
This article covers to setup both client and server for SSL authentication. Consider we have java server and keytool utility comes with java sdk. To create a server certificate follow these steps: 1. Create the keystore. 2. Export the certificateContinue reading… SSL Authentication in HTTP : Basics – Part 2
SSL Authentication in HTTP : Basics – Part 1
Before going into any details of SSL, best thing is to know the following terminology and file formats. HTTP(s) is basically used for secure transactions in HTTP like payments etc. HTTPS : HTTP protocol on Secure shell which is encryptedContinue reading… SSL Authentication in HTTP : Basics – Part 1
Bangalore – story behind the name
Legend goes that King Veeraballa of Vijayanagara once lost his way in forest. Hungry and tired, he came upon a lone hut in the thick forest where he met an old woman.When he asked for food, she gave him bakedContinue reading… Bangalore – story behind the name
xerces-c: C++ SAX2 Parser
Basics of validating xmls with a given schema in C++. 1. Create parser instance. SAX2XMLReader* parser = XMLReaderFactory::createXMLReader(); 2. Set required features to parser instance as follow. // Enable the parser’s schema support parser->setFeature(XMLUni::fgXercesSchema, true); // Schema validation requires namespaceContinue reading… xerces-c: C++ SAX2 Parser
Donkey Story 3
There was once a washer man who had a donkey and a dog. One night when the whole world was sleeping, a thief broke into the house, the washer man was fast asleep but the donkey and the dog wereContinue reading… Donkey Story 3