Category Archives: Networking

How to measure packets per second or throughput on high speed network interface – Xmodulo

There are many traffic monitoring tools available on Linux, which can monitor/classify network traffic, and report real-time traffic statistics in fancy user interfaces. Most of these tools (e.g., ntopng, iftop) are powered by libpcap, which is a packet capture library used to monitor network traffic in user space. Despite their versatility, however,libpcap-based network monitoring tools cannot scale to handle traffic on multi Gigabit rate network interfaces, due to the overhead associated with user-space packet capture.

In this tutorial, I will present simple shell scripts that can monitor network traffic on per-interface basis, without relying on slow libpcap library. These scripts are fast enough to support multi Gigabit rates, but only suitable if you are interested in “aggregate” network statistics on per interface basis.

The secret for the scripts lies in sysfs virtual filesystem which is used by the kernel to export device- or driver-related information to user space. Network interface related statistics are exported via /sys/class/net/<ethX>/statistics.

Read More

Plex: You do not have permission to access this server

I can give you a workaround for this that I’ve used. In the jail edit the file Plex Media Server Preferences.xml file (in my case) located at: /usr/local/plexdata/Plex Media Server/Preferences.xml and add the attribute disableRemoteSecurity=”1″ to the Preferences element. Then give your server a restart and check again /usr/local/etc/rc.d/plexmediaserver restart Not the best security but

Read More

Bad Behavior has blocked 164 access attempts in the last 7 days.