You might be wondering how to audit your Ubuntu server / your Ubuntu local machine. Well, In this blog I will show you how easy it is do so. Auditing can be done by many ways of which few we shall discuss here. There are 3 following scenarios which we will be discussing :- 1.Finding […]
FAIL2BAN Port 80 is used to protect sites from DOS Attacks. Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs that show the malicious signs — too many password failures, seeking for exploits, etc. Generally Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time, although any arbitrary […]
Hello folks, If you are here on this blog, you might be searching for the ways to migrate your existing PHP website to Node.js. In this blog i will try to explain, how you can point your existing domain to nodejs hosting and keep using the cpanel hosting for managing emails for your domain. To […]
Following is an example of testing a method which returns an object of protect class: In the previous blog we talked about fetching the list of message codes from message.properties file. While writing the test case for CustomisedPluginAwareResourceBundleMessageSource, I was not able to test the message properties that are available when your application is actually […]
CloudWatch Logs Monitoring AWS has launched a new feature for monitoring cloud trail logs (CloudWatch Logs). CloudWatch Logs lets you monitor and troubleshoot your systems and applications using your existing system, application and custom log files. CloudWatch Logs can be used to monitor your logs for specific phrases, values or patterns. It has removed […]
Suppose, you have multiple servers running a simple web application on apache or Nginx and you want to put all the error/access logs on a centralized place so that you can troubleshoot your system in case of any error after getting alert notification configured on your logs . Here is an amazing feature of Amazon […]
HTTP Authentication using Apache Web Server is used to give password protected access to the files or folders present in your web server. Using it, you can also decide to whom you want to give the access. If you have information on your web site that is sensitive or intended for only a small group of people, […]
So what is AWS VPC Peering ? A VPC peering connection is basically a networking connection between two VPCs that enables you to route traffic between them using private IP addresses. Basics of VPC Peering So what does it take to make a VPC peering connection ? Firstly the owner of the requester VPC sends a […]
In the previous blog on Handlebars, we learnt the basic concept of handlebars and how to use them in your web applications. Now we will extend our knowledge, a bit more and see how we can use and create helper methods in handlebars to have more flexibility on data. Predefined/Built-in Helper methods: There are a […]
Google Cast is an emerging technology that enables a multi-screen experience to users. It is a screen-sharing technology that allows users to send and control content from their computing devices such as laptops, tablets and smartphones to their TVs screens. In this blog, we will take you through few steps to begin with the Cast […]
What is Migration ? Migration is a way of telling Xcode how to transition the data from the old model to the new model . Why migration required ? When the model does not match the store, a migration is required. In order to perform a migration, Core Data (technically, an instance of NSMigrationManager) requires […]
Sometimes we need to show data in forms of charts which i think is a better way of presenting results.Use aChartEngine. aChartEngine is a library to make charts in android apps. it gives you the same look and feel like googleCharts with an advantage as internet is not necessary. Kinds of charts you can prepare […]