This is part of the NetworkAnalyzer project but it something written in Java because it couldn't be done as easy in PHP.