Monday 27 April 2015

Installing JVisualVM plugins manually

Today I had an annoying problem. We have some network restrictions at work, which mean that we cannot access a large number of sites nor download certain file types from the internet.

I had to run JVisualVM to fiddle a few MBeans in a running app. Nowadays, JVisualVM doesn't include the MBean browser, as it's included in the MBean tab plugin, which can be downloaded automatically... unless you don't have access to the internet (like all those guys working on super secret projects) or you have some other odd network restrictions.

To install the plugins manually, I had to try to download them from inside JVisualVM, as the error message shows the url from where it's trying to download it (I couldn't find anywhere a list of all the plugins and their download urls... it looks like they are distributed in the JVisualVM download area inside different releases).

After getting the files, I was able to ask someone to download them for me, and last I was able to import them in JVisualVM from Tools -> plugins (Downloaded tab). There had to "Add plugins" and once they were added, click on install.

Easy peasy... 1/2 hour gone in something that should have taken 1 minute :(.

Monday 23 February 2015

Kaspersky - is it the worst security suite?

I recently upgraded to windows 8 after a series of problems I had with windows 7, which started when I uninstalled Kaspersky Internet Secuirty 2012 to upgrade to KIS 2014.

After the upgrade, most of the USB devices I connected were not recognized (luckily the wired mouse and keyboard did keep working). Quite a few people experienced this and there's some registry voodoo to fix this. Unfortunately the fix didn't work, and since I had to reinstall windows to fix this, I decided to upgrade to win 8.1.

After I installed Win8 I had yet another 2 issues. The first one with VMWare Workstation. For some reason, VMWS wasn't able to create a bridged connection (most of my VMs use this rather than NAT)... going through the Kaspersky Forums, a few people recommended in this case to uninstall KIS, create the network bridge, reinstall KIS. What a PITA, but it did work.

So now I have everything ready to start coding? Not really. Some encrypted connections kept dying on me (something as simple as a git pull from a tiny github repo would take 10 minutes and end up in a connection failure). Pausing the protection didn't help, so I went through the pain of uninstalling KIS, trying, reinstalling KIS just to prove that the problem was KIS (rather than a dodgy router). Finally I found that KIS 2015 has a feature to snoop on all encrypted connections and that was affecting the connection. So I had to go to settings -> additional -> Network -> uncheck Scan encrypted connections.

I'm quite sure that companies providing security suites are having more and more trouble to provide working, compatible software, as malware becomes more advanced, the number of consumer applications multiply, and the incompatibility matrix becomes a 1000000000x1000000000 minesweeper game with half of the cells with bombs which move around.

I think at some point I'm going to install Sophos UTM and see how that goes...