
Socket Sentry
Source (link to git-repo or to original if based on someone elses unmodified work):
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.
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.
Ratings & Comments
39 Comments
please be alive!! will not make Linking CXX executable runPcapManagerTest /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/runPcapManagerTest.dir/test/PcapManagerTest.cpp.o: undefined reference to symbol 'pthread_setspecific@@GLIBC_2.2.5' /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'pthread_setspecific@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line /lib64/libpthread.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [socketsentry-service/runPcapManagerTest] Error 1 make[1]: *** [socketsentry-service/CMakeFiles/runPcapManagerTest.dir/all] Error 2 make: *** [all] Error 2 thanks,
Other projects have kept me busy so I haven't updated the build for newer distro versions. But I see you posted a message on the openSUSE forums and got an answer there, so that's good. http://forums.opensuse.org/forums/english/get-technical-help-here/applications/471816-socket-sentry-wont-make-12-1-a.html As I mentioned on that thread, I welcome any patches to update the build. Otherwise, I hope to update it myself when time permits.
built fine in openSuse 11.4 but not in 12.1 [ 57%] Building CXX object socketsentry-service/CMakeFiles/runPcapManagerTest.dir/test/moc_PcapManagerTest.cxx.o Linking CXX executable runPcapManagerTest /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/runPcapManagerTest.dir/test/PcapManagerTest.cpp.o: undefined reference to symbol 'pthread_setspecific@@GLIBC_2.2.5' /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'pthread_setspecific@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line /lib64/libpthread.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [socketsentry-service/runPcapManagerTest] Error 1 make[1]: *** [socketsentry-service/CMakeFiles/runPcapManagerTest.dir/all] Error 2 make: *** [all] Error 2
using the source in the tar in the Mageia src.rpm it compiled and installed
has this project died, I have not seen any updates or activities since September last year? Would be too bad as I really liked the plasmoid and now it does not work on Kubuntu 10.10 w KDE 4.6.x
I am planning to update binary packages for both Ubuntu and openSUSE once Natty is released next month. Are you getting an error when you build under KDE 4.6? If so, it will help me if you could log a bug with details at: https://code.google.com/p/socket-sentry/issues/list Thanks.
when I try to install packages to build I get "can not find package kde-devel" on trying to build I get: CMake Warning at CMakeLists.txt:31 (message): Google Mock or Google Test wasn't found. Unit tests won't be built. -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.7.0 (using /usr/bin/qmake) CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/sinclair/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps Call Stack (most recent call first): socketsentry-plasma-engine/CMakeLists.txt:18 (find_package) -- Configuring incomplete, errors occurred! make: *** No targets specified and no makefile found. Stop.
Instead of "kde-devel", try installing the "kdelibs5-dev" package. I think this will resolve your build issue. Unfortunately, I don't have KDE 4.6 installation on Kubuntu to test this. The GMock/GTest warning you see can be safely ignored. Those are only needed to run the unit tests.
Yep, that did it! Great - that should sort me out until Natty release. Thanks!
can not compile under Natty 11.04... output: [ 73%] Built target socksent-service-common Linking CXX executable socksent-service /usr/bin/ld: i386:x86-64 architecture of input file `CMakeFiles/socksent-service.dir/src/SsService.cpp.o' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(Watcher.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(WatcherDBusAdaptor.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(ConnectionProcessCorrelator.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(PcapManager.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(DateTimeUtils.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(HostNameResolver.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(TimeLimitedCache.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(UserNameResolver.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(moc_Watcher.cxx.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(moc_WatcherDBusAdaptor.cxx.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(moc_PcapManager.cxx.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(moc_HostNameResolver.cxx.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(moc_TimeLimitedCache.cxx.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(CommunicationFlow.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(CommunicationFlowData.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(IpEndpointPair.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(IpEndpointPairData.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(FlowMetrics.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(FlowMetricsData.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(FlowStatistics.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(FlowStatisticsData.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(OsProcess.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(OsProcessData.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(HostAddressUtils.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(PcapThread.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(NetworkHistory.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(DataLinkPacketDecoder.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(EthernetPacketDecoder.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(RawPacketDecoder.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(CookedPacketDecoder.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(InternetProtocolDecoder.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(Latch.cpp.o)' is incompatible with i386 output /usr/bin/ld: i386:x86-64 architecture of input file `libsocksent-service-common.a(moc_PcapThread.cxx.o)' is incompatible with i386 output CMakeFiles/socksent-service.dir/src/SsService.cpp.o: In function `main': SsService.cpp:(.text+0x52e): undefined reference to `operator new(unsigned long)' CMakeFiles/socksent-service.dir/src/SsService.cpp.o: In function `QDebug::QDebug(QtMsgType)': SsService.cpp:(.text._ZN6QDebugC2E9QtMsgType[_ZN6QDebugC5E9QtMsgType]+0x18): undefined reference to `operator new(unsigned long)' libsocksent-service-common.a(Watcher.cpp.o): In function `Watcher::Watcher()': Watcher.cpp:(.text+0x62): undefined reference to `operator new(unsigned long)' Watcher.cpp:(.text+0x88): undefined reference to `operator new(unsigned long)' libsocksent-service-common.a(Watcher.cpp.o): In function `Watcher::createFlows(QHash<IpEndpointPair, QPair<FlowMetrics, FlowStatistics> > const&, QList<CommunicationFlow>&)': Watcher.cpp:(.text+0x9bc): undefined reference to `operator new(unsigned long)' libsocksent-service-common.a(Watcher.cpp.o):Watcher.cpp:(.text+0xa06): more undefined references to `operator new(unsigned long)' follow /usr/bin/ld: final link failed: Invalid operation collect2: ld returned 1 exit status make[2]: *** [socketsentry-service/socksent-service] Error 1 make[1]: *** [socketsentry-service/CMakeFiles/socksent-service.dir/all] Error 2 make: *** [all] Error 2 An error occured during compilation! Read the INSTALL file for help.
It looks like you may be trying to mix a 32-bit and 64-bit build. Please delete the "build" directory and try again. If it still doesn't work, let me know. Or better yet, open a new issue at https://code.google.com/p/socket-sentry/issues/list. As soon as I get a free weekend, I will be putting out a new release with packaging for Natty and openSUSE 11.4.
Removing the BUILD directory and compiling solved the problem
hi, does the dbus service get started if you don't actively use the plasmoid? I mean, is the startup delayed until you first click the lighthouse? greets
The service does not start until you use the Plasmoid. And if you remove all instances of the Plasmoid, the service goes to sleep after 30 seconds or so.
excellent :)
hi, when trying to install with 1-click install on suse 11.3, I get the following error: http://imagebin.org/115431 help? :)
Not sure why openSUSE Build Service is failing all of a sudden. Might be a transient problem on their side, but I'll look into it. Thanks for the heads-up.
it seems persistent: tried today, still the same problem
There is discussion today on the OBS mailing list about this issue. Apparently, it is affecting multiple projects. I will keep monitoring the situation. In the meantime, installing from source is another option. There are build instructions for openSUSE included in the source tarball.
The problem appears to be fixed. Try again now.
cool, it works now! (apart from some trouble i had with the packman repo that was mia) nice plasmoid!
It is really nice application, but wouldn't it be better if it will be a stand-alone application, not a plasmoid?
I'm on fedora 12 x64 with kde 4.4.5. I compiled and installed socket-sentry with ./install.sh. First, i had a libpcap error at compilation(and I already had libpcap.x64 and libpcap-devel.x64). I installed libpcap/devel.i686 version and I was able to compile and install without errors. When I run socksent-client i got this: socksent-client: error while loading shared libraries: libsocketsent-client-common.so.0.9.3: cannot open shared object file: No such file or directory but libsocketsent-client-common.so.0.9.3 is already in /usr/lib
I'm on fedora 12 x64 with kde 4.4.5.I compiled and installed socket-sentry with ./install.sh without problems When I launch socksent-client i got this; socksent-client: error while loading shared libraries: libsocketsent-client-common.so.0.9.3: cannot open shared object file: No such file or directory but libsocketsent-client-common.so.0.9.3 is already in /usr/lib Maybe should be in /usr/lib64 ?
Strange because others have reported success with Fedora. The makefile places the libsocketsent-client-common library in the same location as libpcap. Where is libpcap located on your machine? Try rebooting, and if that doesn't work, try moving it to lib64.