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

Post/Node #111111

This is the 111111th node. It's a special number and a milestone for us. Will we have reached the 222222nd by 2030? Time will tell. Maybe Drupal won't even be around by then.

Ubuntu: Didier Roche's Interviews Series and Resurgence of Ubuntu Touch

  • Welcome To The (Ubuntu) Bionic Age: Behind communitheme: interviewing Aaron
    I’m Aaron Papin and I’m from Trinidad and Tobago. I work at an IT consultancy that specializes in open-source solutions for SMBs. I’m a technician, but I also work in designing and deploying websites and even on ads from time to time. It’s pretty freeform and fun. I knew of Linux for years, but I only dove in after a hard drive failure a couple years ago. Because why not at that point? It didn’t take me long to start using it mostly full time (games). Even though I’ve worked on my own themes in the past, I’m still pretty new to the Linux community. Hobby-wise, I really like TV, cooking, video games and keeping fit when I’m not on an “extended break”.
  • Purism and UBports officially collaborate to offer Ubuntu Touch on Librem 5
    Purism and UBports are partnering to offer Ubuntu Touch as a supported operating system on Purism’s Librem 5 smartphone. Being able to work with Purism and focus on the Librem 5 hardware platform ensures that the Ubuntu Touch mobile operating system developed by UBports will be well supported, tightly integrated, and that future compatibility will remain. When the Librem 5 is delivered to pre-order customers, it will become one of just a few smartphones that support the free and open source operating system.
  • Open Source Smartphone Librem 5 Will Officially Support Ubuntu Touch
    When Canonical decided to halt the development of Ubuntu Touch mobile operating system, it came as a surprise to many. However, due to the lack of interest of smartphone manufacturers and community, this tough decision was taken. Later, UBPorts decided to take up the Ubuntu Touch development work.
  • Purism Partners with UBports to Offer Ubuntu Touch on the Librem 5, Red Hat Storage One Launches and More
    Purism has partnered with UBports to offer Ubuntu Touch on its Librem 5 smartphone. By default, the smartphone runs Purism's PureOS, which supports GNOME and KDE Plasma mobile interfaces. UBports is ensuring Ubuntu Touch will run on the phones as well, so the Librem 5 can "now offer users three fully free and open mobile operating system options".

BSD: DragonFlyBSD's Latest and NetBSD 8.0 Release Candidate 1

Games Leftovers