CSRF issue

FreeNAS 9.3 CSRF Issue

I love FreeNAS and use it at home for my own NAS needs. Recently, FreeNAS released their newest stable release, 9.3. I felt adventurous one evening and decided to upgrade. Everything seemed to work OK until one day when I went to log into the Web UI. When I discovered I had run into a FreeNAS 9.3 CSRF Issue. No matter which username and apssword I entered in, I was getting CSRF errors from Django (which FreeNAS uses for the UI.)

This left me a bit stumped until I ran across this thread on the FreeNAS forums. I need to reconfigure my HTTPS/certs but I figured it would be helpful to pass along the (temporary) fix for anyone else having this issue. Credit for this fix goes to Ramboxman on the FreeNAS forums (thank you!)

To fix the CSRF login issue in FreeNAS, I did the following.

  1. SSH’d into FreeNAS server (I had to use the console since I disallow sudo or root access via SSH)
  2. Type vi /etc/local/rc.d/django
  3. Find the following line in the file – if [ ${webguiproto} = "https" ]; then
  4. Change that line (make sure to hit ‘i’ to enter edit mode in vi) to if [ ${webguiproto} = "https" -a ! -f /tmp/alert_invalid_ssl_nginx ]; then
  5. Exit vi (:w! and then :q)
  6. Type in the following and hit enter to restart Django /etc/local/rc.d/django restart

That is it – when you try to log in, the CSRF issue should be gone. Your issue is likely caused by the GUI sing HTTPS but the browser using HTTP. Change the FreeNAS settings, albeit if temporary, to use HTTP or HTTPS+HTTP so the problem does not reoccur.


Benchmarks for Celeron N2830

I recently started tinkering with an Acer Chromebook 11 as a cheap computer to beat up and throw in my bag when I explore new places. While I have benchmarked the performance of the Chromebook in Chrome OS, I was curious how the CPU itself performs. This is especially interesting to me, as I have also benchmarked the Celeron 2955U found in other Chromebooks. To do this, I relied on two quick tools – nbench and geekbench. To run these two, I relied on a CLI-only install of Debian 7.7.0 via crouton.

With all of this in mind, just how did the Celeron N2830 perform and how does it stack up against the Celeron 2955U?

Continue reading Benchmarks for Celeron N2830


Hardware details for Toshiba Chromebook 2

Often it’s hard to find out specifically what is inside of a computer. Spec sheets are handy but often only provide some of the picture. I wanted more hardware details for the toshiba chromebook 2. This is a quick post to provide more details on the Toshiba Chromebook 2 in the event anyone is interested in this unit. I will be providing a quick cpu info, USB dump, and dmesg. My hope this might be useful to someone.

Continue reading Hardware details for Toshiba Chromebook 2

Toshiba Chromebook 2

Toshiba Chromebook 2 Benchmarks

Earlier this week, I obtained an Acer Chromebook 11 and ran it through some benchmarks. Unfortunately, in my first day with the Acer I never played audio over the speakers; when I did, I noticed the speakers crackled – a lot. So, I returned the Acer and picked up a Toshiba Chromebook 2. Now that I have the Chromebook 2 setup, I decided to benchmark it to generate some Toshiba Chromebook 2 benchmarks and compare its performance to other Chromebooks.

How does this new Toshiba Chromebook perform? In one word – ok.
Continue reading Toshiba Chromebook 2 Benchmarks

CB3-111 logic board

Acer Chromebook 11 Benchmarks

Over the weekend I picked up a new Acer Chromebook 11 (CB3-111.) While thinking about purchasing the model (the price seems like steal) I was surprised there were no articles which had Acer Chromebook 11 benchmarks. I decided I’d quickly throw a few out in the event they are helpful for others thinking about buying this computer.

Overall, it looks like the performance of this Chromebook is mid-range and OK, which is what I expected based on the price and specs.

Continue reading Acer Chromebook 11 Benchmarks