Iptables: how to block bunch of countries to attack your server

This weekend a friend of mine, owner of  a web site dev-hosting company told me about cPanel regular emails alerts regarding recurrent SSH failed login attempts on one of his customers servers from few IPs located in 3 countries.

He asked me about a way to block certain countries via iptables.  I wrote something that did the trick Lire la suite

OpenSource Asterisk-JMSConnector Application 1.0-GA

Telephony and IT integration/coupling is surely something that can bring power or add values in some businesses (Customers Services, Hotlines, Contact Centers, Ordering lines, CRMs, Banks, Political Campaigns, Marketing, Leads Generations/Validations…)

Asterisk being the most open source IPBX used so far, is part of many architectures: small or big, single or clustered…

Here is how Asterisk-JMSConnector fits inside this picture….

Lire la suite

Reblog: 5 error-tracking tools for Java DevOps

I found this article very interesting in my readings. Plus i was not aware about those tools:

http://www.javacodegeeks.com/2014/09/5-error-tracking-tools-java-developers-should-know.html

These tools  are about getting aware of errors occurring inside your app at runtime.

Some good tools to consider at devtime (based on static code analysis) are:
-FindBugs http://findbugs.sourceforge.net/manual/eclipse.html
-PMD http://pmd.sourceforge.net/eclipse/
Both plugins for Eclipse

AWS ELB: Zero downtime or Blue Green or Canary deployments!

In this post (https://zoumana.wordpress.com/2014/06/16/zero-downtime-deploiement-sur-tomcat7/), i talked about the Zero Downtime deployment feature inside tomcat 7 and later.

To summary this was about deploying a newer version of the same app within the same tomcat container keeping the previous WAR serving the HTTP requests until the new version is successfully deployed to take over the next users’ requests.

Today the target is the same:  avoiding to take an application off-line during an upgrade for the happiness of end users 🙂 but through one of Amazon Web Services feature: Elastic Load Balancer! Lire la suite

#feedback I’m no more doing Agile: therefore i am… or not ;-)

It’s been 10 months since i am no more doing SCRUM after almost 5 years being immersed on Agile Products/Software Development including 2 years leading as Scrum Master a Cloud Management product development team.

At this step of my road, i will take few minutes to make a feedback of my feelings and remarks regarding my old and new conditions: Lire la suite

My Docker getting started : packaging my java standalone application inside docker

« Unless you spent the last months in a cave » 🙂 I always wanted to start a post with this sentence so now it is done –> You have probably heard about Docker !

Lire la suite

Why I like Spring bean aliasing

Vlad Mihalcea

Spring framework is widely used as a dependency injection container, and that’s for good reasons. First of all, it facilitates integration testing and it gives us the power of customizing bean creation and initialization (e.g. @Autowired for List types).

But there is also a very useful feature, that might get overlooked and therefore let’s discuss about bean aliasing.

Bean aliasing allows us to override already configured beans and to substitute them with a different object definition. This is most useful when the bean definitions are inherited from an external resource, which is out of our control.

In the following example I will show you how bean aliasing works. Let’s start with the following bean definition, coming from the src/main/resources/spring/applicationContext-tx.xml configuration file.

This context file contains many transaction/JPA related features we would like to use in our Integration Tests.

The dataSource bean definition expects a XA Datasource, but since…

Voir l’article original 158 mots de plus