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

The best Linux web hosting services of 2018

Linux hosting is everywhere. Whether you're looking for a simple shared hosting account or a powerful dedicated server, the chances are that you'll be offered a Linux-based option first. In many cases, you might not care. If your hosting needs are simple, you'll probably choose an account based on the allocated web space, bandwidth and similar features – the operating system is so far down most people's priority list that often it's not even mentioned in comparison tables. Read more

Security Leftovers

today's howtos

KaOS 2017.11 review - Chaotic and unfriendly

KaOS 2017.11 feels like a very buggy product. While I do like the Nvidia setup right from the start, this little gem is offset by pretty much everything else. Most other recent distros rarely had any issues with the LG RD510 laptop - apart from the ATA link reset on wake after suspend, which affects all of them - but KaOS is an exception to that rule with a rather depressing hardware record - Bluetooth, Wireless no-reconnect, smartphone support. And let's not even talk about Samba. The responsiveness was quite bad, Kaptan did not work, and I wasn't enjoying the visual side of things one bit. In fact, I really do not understand the eye-killing choices that go with the default theme. All in all, there are very few redeeming factors to KaOS. If you're looking for something avant-garde, the Arch-based Antergos or Manjaro fit the bill rather well. If you want mainstream, Mint or Ubuntu or whatever. This falls somewhere in between, with nothing amazing in return. 2/10. Perhaps next time. Read more