Language Selection

English French German Italian Portuguese Spanish

Monitoring network traffic with Ruby and Pcap

Filed under
HowTos

There are many situations where the ability to monitor network traffic can save a lot of time and effort. If you want to reverse engineer a network protocol, keep an eye on junior's browsing habits, or blackmail your evil boss, Ruby and libpcap can make it easy! Libpcap is a packet sniffing library originally designed by the Lawrence Berkeley National Laboratory for use with their tcpdump utility. With this excellent Ruby binding for libpcap, you can monitor traffic all over your network with only a few simple lines of code. Let's start with a simple script that will display the URLs of remote files accessed by local network users via web browser.

Full Article.

More in Tux Machines

Musique for Linux Review – A Minimalistic Player for You and Your Music

Musique is a minimalistic music player for the Linux platform that features a simple and clean interface. It's not like there is a lack of open source music players, so we've decided to see if this one is any good. Read more

CentOS 5.11 Officially Released, Probably the Last One in the Series

As you all know already, CentOS is an Enterprise-class Linux Distribution derived from sources provided by Red Hat. This is the eleventh update for the distribution and probably the last one. It features all the packages from all variants, including Server and Client, and the upstream repositories have been merged into a single one. Red Hat announced less than a month ago the release of their last update for Red Hat Enterprise Linux, 5.11. It stands to reason that CentOS 5.11 will also be the last update in the series. Read more

England's Healthwatch switches to open source CRM

England's Healthwatch organisations are now using CiviCRM, an open source solution for customer relationship management. "Open source affords access to a wide community of developers, which means that the software continues to develop and security updates and bug fixes are regularly rolled out", explains Tim Schofield, the organisation's interim systems manager. Read more

Opera for Linux to Get a Stable Version Soon

The Opera browser is now based on Chromium and this simple fact has delayed the release of a stable Linux version for more than a year. Now, the Linux platform will finally get a release and some final touches have been made to the client. The developers have improved a number of features that are already available in the browser. For example, users will not be able to drop a PDF file in browser tab that already has a similar file opened, deleting the entries in History now works as it should, the correct font is used all the time, and the new Bookmark feature that has been recently made available has been improved. Read more