Tuesday, November 9, 2010

Update to BlackSheep

First of all, thank you very much for all your e-mails and comments! I've tried to answer all. I will give the answer to the most common questions in this blog post.

Install BlackSheep add-on for Firefox 3.x

BlackSheep 1.1 is available. It fixes one issue: with HTTP requests spread over several packets, BlackSheep could detect itself as Firesheep. This is now fixed. To get the new version, go to Tools - Add-ons - Extensions and click on Find Updates. A new version of BlackSheep should be found. if the regular update dopes not work, install it by clicking on this link.

Some users reported the same issues or comments. I'll try to answer them in this post.


Cannot install

BlackSheep cannot be installed in this environment


If you get an error message similar to this one ("BlackSheep" could not be installed because it is not compatible with your Firefox build type (Linux_x86-gcc3). Please contact the author of this item about the problem.) when installing the add-on , this is because your version or Operating System is not compatible with BlackSheep. BlackSheep works on Windows (XP or higher) and MacOSX (10.5 or higher, Intel processor only), and Firefox 3.5 to 3.6.12.

The main reason for these restrictions is that BlackSheep, like Firesheep, contains executables to listen for HTTP traffic. These executables must be compiled for each platform they run on. BlackSheep's executables come straight from the Firesheep code.

However, I am working on extending the platform that can run our plugin. Here are the 2 platforms which should be supported soon:

Firefox 4.0 Beta

In theory, BlackSheep should work on Firefox 4.0. However, I don't have the latest beta installed for testing. If Firefox beta users are ready to test the plugin, I can send them a special package. if enough readers test the plugin successfully on Firefox 4.0 Beta, I will make the official version available for 4.0 Please e-mail me to jsobrier@zscaler.com if you have some time for testing.

Linux

Support for Linux is quite a challenge. As mentioned before, the main problem is that there should be a different version for each Linux distribution out there because of the dependencies on multiple libraries.

But support for Linux was number one request I got in the mail today, so I have spend some time on it. Support for Linux should be available on Wednesday. I'll announce it on this blog. Be aware that this will involve some work form the Linux users to get BlackSheep running in their environment.


Javascript error in the preferences menu

JavaScript error in the Preferences menu

"ReferenceError: Cc is not defined". This problem happens mainly for Windows users. Make sure you have Winpcap installed. If not, install it and restart your browser.

Apparently, this also happen for a few Mac users. The main reason is that the back-end is not able to retrieve the list of network interfaces. However, the plugin would most likely work if the interface were to be hard-coded in case of failure. I'm working on a fix for this.


MacOSX and FileVault

If you use FileVault on MacOSX, you might be prompted for a password to run firesheep-backend. See this thread for more information.


Install BlackSheep add-on for Firefox 3.x


Enjoy BlackSheep, and keep reporting any issues or comments.

-- Julien

38 comments:

horus006 said...

I am on Mac OSX 10.6.4. Running FireFox 3.6.12 I tried to update from the addon but it would error out. I uninstalled and installed the new add-on but now I get a error.....
[JavaScript Application] ReferenceError: Firesheep is not defined......Anybody know how to fix this or do I have to wait for an update.

J.Wong said...

I have the same issue is horus006.

caco said...

Same issue...but I am on a Win7 Starter

Mike Kvintus said...

I have the same issue as horus006 on Windows XP and Mac OS X 10.6.4.

Tobias Bray said...

Mac OSX 10.6.4 Firefox 3.6.12 and I get the same error. I suspect it is an issue with Java or with the 64-bit implementation of FF. I don't know how to compile a 32-bit version to rule this possibility out.

Anonymous said...

I also ran into this error "Firesheep is not defined"
I tried uninstalling blacksheep installing firesheep then reinstalling blacksheep still get the error. but
I found this in the error console

"Error: missing ; before statement
Source File: file:///C:/Documents%20and%20Settings/replacedmyname/Application%20Data/Mozilla/Firefox/Profiles/bkjqcxnx.default/extensions/jsobrier@zscaler.com/modules/Firesheep.js
Line: 80, Column: 88
Source Code:
this.backend_error = "Back-end could not run. Try to run it manually:\n" + Firesheep.backendPath); // + "\n" + e + "\n--"; "
Maybe someone who knows java can use this to track down this error
I'm going to look for the "backend"
now. I think i saw an .exe file named backend but where

Anonymous said...

I also ran into this error "Firesheep is not defined"
I tried uninstalling blacksheep installing firesheep then reinstalling blacksheep still get the error. but
I found this in the error console

"Error: missing ; before statement
Source File: file:///C:/Documents%20and%20Settings/replacedmyname/Application%20Data/Mozilla/Firefox/Profiles/bkjqcxnx.default/extensions/jsobrier@zscaler.com/modules/Firesheep.js
Line: 80, Column: 88
Source Code:
this.backend_error = "Back-end could not run. Try to run it manually:\n" + Firesheep.backendPath); // + "\n" + e + "\n--"; "
Maybe someone who knows java can use this to track down this error

Anonymous said...

also ran into this error "Firesheep is not defined"
I tried uninstalling blacksheep installing firesheep then reinstalling blacksheep still get the error. but
I found this in the error console

"Error: missing ; before statement
Source File: file:///C:/Documents%20and%20Settings/replacedmyname/Application%20Data/Mozilla/Firefox/Profiles/bkjqcxnx.default/extensions/jsobrier@zscaler.com/modules/Firesheep.js
Line: 80, Column: 88
Source Code:
this.backend_error = "Back-end could not run. Try to run it manually:\n" + Firesheep.backendPath); // + "\n" + e + "\n--"; "
Maybe someone who knows java can use this to track down this error

Anonymous said...

also ran into this error "Firesheep is not defined"
I tried uninstalling blacksheep installing firesheep then reinstalling blacksheep still get the error. but
I found this in the error console

"Error: missing ; before statement
Source File: file:///C:/Documents%20and%20Settings/replacedmyname/Application%20Data/Mozilla/Firefox/Profiles/bkjqcxnx.default/extensions/jsobrier@zscaler.com/modules/Firesheep.js
Line: 80, Column: 88
Source Code:
this.backend_error = "Back-end could not run. Try to run it manually:\n" + Firesheep.backendPath); // + "\n" + e + "\n--"; "
Maybe someone who knows java can use this to track down this error

Julien Sobrier said...

This is likely because the back-end cannot get the list of network interfaces. This error is caught in the version 1.2 released last night. Please try to update the plugin: http://www.zscaler.com/research/plugins/firefox/blacksheep/blacksheep-latest.xpi

Julien Sobrier said...

"Firesheep is not defined" There was indeed a typo in Firesheep.js. I've uploaded a new version: http://www.zscaler.com/research/plugins/firefox/blacksheep/blacksheep-latest.xpi

Anonymous said...

I had the issue where it came up and said Firesheep is not defined and I installed the update plugin mentioned but I still have the error. I am a Win7 user using Firefox version 3.6.12

Mike Kvintus said...

I just uninstalled, restarted FF, then re-installed using the link and I have the same issue on Windows.

Ken Saunders said...

Thanks for developing BlackSheep, and for offering it free of charge.

You should consider making it available on https://addons.mozilla.org.

It would be easier for Firefox users to find, and there would more than likely be a lot more users (including beta testers).

You could continue to use your blog here for support questions, or, the mozillaZine forums (http://xrl.in/6n7n) which is what a lot of developers use, but of course sticking with your blog keeps the traffic flowing here.
:)

Julien Sobrier said...

@Ken It takes several weeks for an add-on to be approved, and several weeks for each update as well. I was waiting to get more feedback, and few releases out before I submit it to Mozilla's site. There are still a few issues, but I think it is usable for most people now. I've just submitted it to the official Mozilla add-on site.

Ken Saunders said...

It's cool to see it on AMO now.
It doesn't yet show up through search, but it did under Newest add-ons.

Perhaps the review gods will shine upon you. :)

Mikey said...

Can't install v. 1.2 - Error message on install is:

"Not a valid install package -207"

XP Pro v 5.1.2600
Firefox v 3.6.12

Julien Sobrier said...

@Mikey Can you try the latest version (1.3)?

Jesse said...

I have FireFox 3.6.10 installed on a Windows XP Pro computer and when BlackSheep is enabled I cannot bookmark any websites (the dialog window won't even open). If I disable and restart, I am able to bookmark websites. Also, if I go into options I can set the interval, but I don't have a choice of operating systems. No drop down box shows up when I click the drop-down arrow.

Anonymous said...

Thanks for your work. FYI Windows 7 Home Premium 64, FireFox 3.6.1.2. The bookmarking issue. No window to select folder, bookmark shows up in recently bookmarked folder. GOV50

Anna said...

I've never been able to get this plugin to work. After I install it and restart my browser, I get an error message stating that firesheep-backend.exe has stopped working. Then when I go in to set the preferences, I have an option for the interval but nothing in the interface dropdown.

I'm running Firefox 3.6.12 on Windows Vista, and I'm using the latest version of BlackSheep. I have screenshots I can send you if that will help.

Julien Sobrier said...

@Anna A few people reported the same issue. I have not yet found the root cause.

Ken Saunders said...

I saw the same message as Anna before I realized that I had not yet installed Winpcap.

I don't believe that you mention on this page (could be wrong) that Winpcap is a required (for Windows users) for BlackSheep to function properly.

I hope this helps.

Julien Sobrier said...

@Ken WInpcap is mentionned under the section "Javascript error in the preferences menu" on this post, and under Requirements on he first post about BlackSheep

David said...

Interesting. I don't use FileVault and I *do* get asked for my admin password to install BlackSheep on all three Macs I own. I'm using Firefox 3.6.12 on Mac OS X 10.6.4, as well as the just released 10.6.5.

jospoortvliet said...

Julien,

I was wondering if you've seen the Build Service (build.opensuse.org). It can help you to create packages for all major distributions (all current versions of RHEL, SLED, CentOS, Fedora, openSUSE, Mandriva, Ubuntu, Debian and more).

Check more documentation out here:
http://en.opensuse.org//Portal:Build_Service

Anonymous said...

Blacksheep is terrific, and as the tech guy at a public library, I'm leaving it running on a PC so that we can detect if any of our visitors are running FireSheep.

What would be even more helpful would be options for a more active notification when FireSheep is detected -- ideally performing an action that can be detected remotely. There's a good chance that our non-technical staff will fail to see the pop-up alert.

Julien Sobrier said...

@jospoortvliet The problem is that a plugin can only tell if the user is using Linux 32bits or 64bits. Even if I can create executables for different distributions, BlackSheep would not know which one to use.

Anonymous said...

Julien, in Blacksheet options, I get three choices for "Interface":

Microsoft
Microsoft
Marvell Yukon Ethernet Controller

I left it unchanged at the first "Microsoft". Is that as it should be?

Thanks in advance.

Julien Sobrier said...

The wireless car is often shown as "Microsoft" (probably because it uses a standard Microsoft driver). The first "Microsoft" interface should be the right one.

Anonymous said...

Hello, I run FF Beta 4 v12 on OS X; would like to see 64-bit support...

Thanks much...

Elusis said...

I just updated to 1.7. Why is my OS (Mac Snow Leopard) suddenly telling me that "firesheep-backend" wants me to type in my master password every few minutes? I keep dismissing the box without entering my password. Uncool.

Julien Sobrier said...

@Elusis BlackSheep uses firesheep-backend.exe to listen to HTTP connection in order to detect network activity from Firesheep. Some OS or some security tools require authorization from the user to let Firefox run an external executable.

Anonymous said...

Any idea if or when you'll make BlackSheep available for FF 4.0?

Julien Sobrier said...

The latest version (1.7) works with Firefox 4.0

Anonymous said...

I'm using Firefox 4.0.1 on WinXP and Blacksheep 1.7 doesn't seem to work. When I install it and restart Firefox, I simply see a blank white screen (it doesn't load my homepage as normal) and all of my bookmarks are missing from my toolbar. When I go into the Blacksheep options, I cannot select an Interface, as the drop-down menu is empty. Basically, this add-on has zero functionality for me...

Digital Fruit said...

Has anyone found problems with the installing in Linux with FF 4?

Anonymous said...

Firefox prevented this site from installing the software. This is on June 15, 2012 and I'm running 12.0 version of Firefox