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

Google Fixed GHOST Exploit in Chrome OS in 2014 and Didn't Tell Anyone

Details about a GLIBC vulnerability were published a couple of days ago by a company called Qualys, and the distributions using it have already received patches. Now, it seems that Google knew about this problem, patched it in ChromeOS a year ago, and forgot to say anything to anyone. Read more

ESA implements open source based private cloud infrastructure

The European Space Agency (ESA) has implemented a private cloud infrastructure to offer IT services to its user communities. The datacentre in Frascati, Italy, is already operational, while a second datacentre in Darmstadt, Germany, has just been completed. Read more

Today in Techrights

A small note on window decorations

If you have updated to the recently released GNOME development version, you may have noticed that some window decorations look slightly different. Of course it is quite normal for the theme to evolve with the rest of GNOME, but in this case the visual changes are actually the result of some bigger changes under the hood which deserve some more explanation. It is well-known that GTK+ gained support for client-side decorations a while ago – after all, most GNOME applications were quick in adopting custom titlebars, which have become one of the most distinguished patterns of GNOME 3 applications. However it is less well-known that client-side decorations may also be used for windows with no custom decorations, namely when using GDK’s wayland backend. Read more