Socket Sentry

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

9
6.8
Description:

Socket Sentry is a KDE Plasma widget that displays real-time network traffic on your Linux computer. It shows you which processes are communicating with which hosts, current data transfer rates, protocols, and more. Socket Sentry combines the best parts of tools like iftop and netstat in a modern desktop interface that's approachable and easy-to-use.

Features:

* Monitor one or all network devices in each widget
* See over 10 different stats and other characteristics of each connection
* View all connections individually or group by host and process/program
* Sort by any column with secondary sorting by transfer rate
* Quick search box helps you find specific connections
* Optional hostname lookup with configurable subdomain depth
* Customizable filter rules using the pcap expression language
* IPv6 support
* Efficient data sharing across widgets to minimize resource use
* Configurable security for multiuser PCs

It's the right tool to answer all kinds of questions about the software running on your computer. For example:

* How many connections is my download manager using? What's the throughput of each?
* What programs on my computer are phoning home? How often?
* How much bandwidth does my streaming radio service consume if I leave it open?
* What programs are the biggest bandwidth hogs?
* Which video site delivers the best throughput?
* Does my browser keep talking to the web server after the page is loaded?
* My program seems frozen. Is it communicating on the network?
* Is someone connected to my SSH/Samba/FTP/CUPS/Web/Other server right now?
* The network printer won't print. Is the job being sent to it?

Visit the http://code.google.com/p/socket-sentry for more details and screenshots.
Last changelog:

10 years ago

For a full rundown of changes including issues fixed, see the CHANGELOG.

Release 0.9.3
=============
* Added package support for Kubuntu 10.04 and openSUSE 11.3.
* Added an option to hide the quick search and freeze sort controls for a more compact display.
* Added the ability to add the widget to the system tray.

Release 0.9.2
=============
* Changed process owner username lookups to be asynchronous with cached results. This reduces network chatter on systems with remote user databases (e.g. LDAP).
* Improved popup handling so the popup window stays open until explicitly dismissed.
* The applet now prompts for a device when the default ("any") pseudo-device is not found.
* Fixed a bug that caused the applet to display an error when IPv6 is disabled.
* Minor improvements to the build process.

Release 0.9.1
=============
First public release.

C

rhasselbaum

11 years ago

Hi Krog. Sorry, you ran into this. This is a known bug in v0.9.1 and is already fixed in the latest code. You can grab a copy from http://code.google.com/p/socket-sentry/source/checkout or wait until v0.9.2 comes out, which should happen this week. The bug occurs when IPv6 is disabled on the host.

Report

Krog

11 years ago

very thanks, now it works!
beautiful plasmoid, thanks

Report

Phobeus

11 years ago

Hi,
it should be easy to implement and makes this plasmoid even more useful: The user should be able to add filter on programs that should not be enlisted in the view. For example, if one process is having lots of connections, but you are not interested in its connecton, you have an unreadable long list. Adding several filters would be a great benefit, I think :)

Report

C

rhasselbaum

11 years ago

Hi Phobeus. One or two others have also asked for the ability to filter by program. I've added an enhancement request that you can track here: http://code.google.com/p/socket-sentry/issues/detail?id=8

Note that you already have the ability in the current release to "collapse" multiple connections into one row in the Local Settings dialog. You can show just one row per program and host, for example. Also, if you want to exclude connections to certain ports or hosts, you can do that by adding a custom filter in the Global Settings dialog. But yes, filtering by program would be nice, too.

Report

Phobeus

11 years ago

You mean the option "Host pair and program"? This option is already activated, but does not solve the problem here. Fedora is currently in pre-beta phase and ktorrent is running to share its images. So I have lots of ktorrent entried listed there, I guess this is because the other host is always different. However glad to see its in the bug tracker.

Its already a great tool... finally I know how much traffic amarok is actually causing when listing to internet radio ;D

Report

gzu

11 years ago

Hi,

It compiles OK but when I try to add it to the Desktop I get

"The Object counld not be created for the following reason:
Could not find requested component: socketsentry"

socksent-client on the commandline appears to work OK.
This is for Fedora 12 KDE 4.4.1.

Any suggestions?

Thanks,

Report

Phobeus

11 years ago

Sorry, to interfer. I am maintaining a fedora repository and also packages this plasmoid. Maybe you want to check: http://www.floriansievert.de/linux/fedora/12/phobos/repoview/kde-plasma-socketsentry.html

Please note that these packages are only tested briefly. i686 is completly untested. However on my machine this plasmoid is working quite fine. (KDE 4.4.1).

Report

gzu

11 years ago

Hi Phobeus,

Thanks for those RPMs, the i686 version appears to work perfectly. Hope this gets into the main repositories soon.

Thanks again,

Report

C

rhasselbaum

11 years ago

Nice, thank you! Could you please post this on the forum so more people might see it? Forum is located at: http://groups.google.com/group/socket-sentry

Report

gzu

11 years ago

Here is some more information

plasma-desktop(5704)/plasma TaskManager::AbstractSortingStrategy::check: No parent group
plasma-desktop(5704) Plasma::WidgetExplorer::addApplet: "socketsentry" ()
plasma-desktop(5704)/libplasma Plasma::isPluginVersionCompatible: plugin is compiled against incompatible Plasma version 4294967295 This build is compatible with 3 .0.0 ( 196608 ) to 3.2.0 ( 197180 )
plasma-desktop(5704)/libplasma Plasma::ContainmentPrivate::addApplet: Applet "socketsentry" could not be loaded.
plasma-desktop(5704)/libplasma Plasma::AppletPrivate::init: Check your constructor! You probably want to be passing in a Service::Ptr or a QVariantList with a valid storageid as arg[0].
plasma-desktop(5704)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasma-desktop(5704)/plasma DesktopLayout::positionNewItem: Positioned item to QRectF(20,68 300x250)

Report

C

rhasselbaum

11 years ago

Judging by the error, there seems to be an incompatibility between the version of KDE/Plasma you built against and the version you're trying to run it under. (Maybe the build version is newer?) It's been tested successfully on KDE 4.4.1 under Kubuntu. You might try posting on the forum (link at top) to see if other Fedora users share this problem. (I have not heard anyone else say so.)

Report

raindogx

11 years ago

Excellent plasmoid. Keep up the good work.

Report

google01103

11 years ago

Would you consider adding a filter so that proxy programs would not be shown? Ex. would be the use of Privoxy, not only does the browser show but also Privoxy, which appears redundant, at least to me.

thanks,

Report

C

rhasselbaum

11 years ago

You might be able to achieve this using the "custom filter" setting on the "global settings" dialog. For example, if the Privoxy server is at address 12.34.56.78, you can type "not host 12.34.56.78" into the filter and it will filter it. You can also filter by port. Or, if the Privoxy server is on localhost (127.x.x.x), you can omit all localhost traffic by picking a specific network interface device (not "any") in the "local settings" dialog.

No support for filtering by program yet, but that is something I'm thinking of adding.

Report

google01103

11 years ago

I don't think what I'd like to see (which is the generated broswer to host trafic) is possible because the Host traffic is thru the proxy (Privoxy) not to the browser.

This is only a problem when multiple apps (and browsers) are generating traffic simultaneously and all use the proxy (which does happen). But I will be able to see which site generates the traffic.

Report

google01103

11 years ago

way kool but it's shows too much & takes too much space if left on the desktop. It would be less intrusive if it could be contracted to show just total traffic in/out and then when needed expanded (or hovered on) to show details - of course then it would be a program, not a plasmoid

Truly something missing from kde

Report

C

rhasselbaum

11 years ago

You can drop it onto a panel so it only shows up when clicked. As an added bonus, its resource utilization goes down to almost nothing when it's iconified.

Report

google01103

11 years ago

could you make a sticky option show that it stays maximized if I click somewhere else on the desktop?

Report

Znurre

11 years ago

This must be the most useful plasmoid I've ever seen.
Great work! :)

Report

koko2k

11 years ago

I can't see any row in the plasmoid.

Report

koko2k

11 years ago

Ok, got it.
Interface was set to "any" and i saw nothing.
setting it to eth0 works,
"any" voice is gone now, can't select it anymore.

Report

hash87

11 years ago

I can confirm this. After i've added plasmoid "any" was selected as default interface and resulted in nothing to be displayed. After i've changed to eth0 connections were shown, and "any" disappeared from dropdown menu.

This happens on Archlinux + KDE 4.4.1 + Kernel 2.6.32.10.

Report

C

rhasselbaum

11 years ago

Hmm... I am surprised "any" is not available on your machine. What distro/kernel are you using?

Report

koko2k

11 years ago

I'm using 2.6.32 kernel on archlinux.
I've several interfaces:
eth0,eth1,tun0,tun1,sit0.

Report

C

rhasselbaum

11 years ago

OK, sorry, I thought "any" would be present on all modern kernels and versions of libpcap, but I guess not. I will make it default to something else if it can't find the "any" pseudo-device. Glad there is a workaround.

Report

10 years ago

For a full rundown of changes including issues fixed, see the CHANGELOG.

Release 0.9.3
=============
* Added package support for Kubuntu 10.04 and openSUSE 11.3.
* Added an option to hide the quick search and freeze sort controls for a more compact display.
* Added the ability to add the widget to the system tray.

Release 0.9.2
=============
* Changed process owner username lookups to be asynchronous with cached results. This reduces network chatter on systems with remote user databases (e.g. LDAP).
* Improved popup handling so the popup window stays open until explicitly dismissed.
* The applet now prompts for a device when the default ("any") pseudo-device is not found.
* Fixed a bug that caused the applet to display an error when IPv6 is disabled.
* Minor improvements to the build process.

Release 0.9.1
=============
First public release.

12345678910
4
product-maker laloch Jun 19 2012 9 excellent
product-maker e1nste1n Jul 11 2011 9 excellent
product-maker pohybel Nov 24 2010 9 excellent
product-maker deabru Sep 25 2010 9 excellent
Be the first to comment
laloch
Jun 19 2012
opaflamme
Oct 16 2010
hellblade
Jun 19 2010
roignac
May 03 2010
ShadowBelmolve
Apr 06 2010
floorek
Mar 31 2010
hteles
Mar 30 2010
hash87
Mar 30 2010
Znurre
Mar 29 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.9.3
updated Aug 01 2010
added Mar 29 2010
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3