Archive for the Category Software

 
 

hashr 0.2 for Firefox

hashr logo

I’ve released the second version of hashr extension for Firefox. This version is a major code fix, since the previous version, 0.1, had global variables and functions declared in a way that could cause conflict with other extensions or sites.

This problem in the code was detected by a sandbox reviewer at the addons mozilla site. Because of this problem, the extension is still retained in the sandbox. Now it’s fixed, the functions and variables are in their own namespace, avoiding conflict. So, probably soon it will be out of the sandbox :)

Users of hashr should update quickly. You can update from hashr homepage, or from the mozilla addons site (requires login while in sandbox).

I’ve also received by mail some suggestions to implement/change things in hashr. They aren’t forgotten, it’s just too soon to release them.

Chrome - The Google browser

Just when things were starting to get exciting in Mozilla Firefox, Google shows up with a internet browser that seems to be a great improvement over current browsers.

chrome

So here it is, Chrome running on my computer, I booted up Vista on purpose just to try Chrome out. And I don’t regret it. I just can’t wait for the Mac and Linux versions!

The best thing about this new browser it’s the interface, pure simplicity the Google way. And this is nothing compared to the way that the browser deals with tabs. Each tab, one process, with it’s own memory space address. Which theoretically leads to great stability and no memory leaks (Firefox biggest problem, now improved in version 3).

And to leave you drooling all over you keyboard, Google released a 39 page comic book, explaining every aspect behind Chrome. Check it here.

So this browser seems to be the better of two worlds. It’s based in Webkit, just like Safari, and I liked Safari because of it’s fast rendering. And it’s open-source, just like Firefox. The one thing that’s missing for now it’s support for extended functionality (extensions / plugins) and a Linux and Mac version (coming soon). Well… they could also change the icon, because it’s ugly in my opinion.

Enough talk. Try it here!

Gufw - The firewall that Ubuntu needs

gufw logo

One thing that is missing in Ubuntu is an easy way for a novice user to turn on and configure the firewall. It’s bad enough to not have the firewall turned off by default. Even if you argue that Ubuntu is secure by default because it has no services listening on the network on first boot, that’s not an excuse to leave the firewall turned off.

Ok, there is ufw (uncomplicated firewall) which I think it’s nice because saves me all the hassle of messing with iptables when I don’t have the time nor the mood to deal with it. But it’s command-line based! Novice users don’t really like or know how to use the terminal!

To end this problem, there’s Gufw:

Gufw is an easy, intuitive, way to manage your Linux firewall. It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual ports port(s), and many others! Gufw is powered by ufw, runs on Ubuntu, and anywhere else Python, GTK, and Ufw are available.

This project sounds nice to have in Ubuntu by default. In fact I liked it so much that I decided to contribute to it. So expect me to talk more about it in some future posts.

Link: gufw.tuxfamily.org

Ratproxy

A semi-automated, largely passive web application security audit tool, optimized for an accurate and sensitive detection, and automatic annotation, of potential problems and security-relevant design patterns based on the observation of existing, user-initiated traffic in complex web 2.0 environments.

Detects and prioritizes broad classes of security problems, such as dynamic cross-site trust model considerations, script inclusion issues, content serving problems, insufficient XSRF and XSS defenses, and much more.

Ratproxy is currently believed to support Linux, FreeBSD, MacOS X, and Windows (Cygwin) environments.

Boa iniciativa da Google em lançar como open-source esta ferramenta que poderá ajudar no debugging e prevenção de alguns problemas de segurança com as aplicações web 2.0.

Aqui fica o link para o post desta notícia no blog da Google.

Easter egg no Firefox 3

Se estiverem a usar Firefox 3 (a propósito, já saiu a RC3) experimentem inserir no url:

about:robots

Vão encontrar uma mensagem interessante e um botão “Try Again” estranho :)

As novidades do Firefox 3

Aqui vai um link para um screencast onde são demonstradas as novidades no browser Mozilla Firefox 3 que será lançado ainda este mês:

http://people.mozilla.com/~beltzner/overview-of-firefox3.swf

De todas as novidades, destacam-se as relacionadas com a segurança, onde é dificultada a vida ao utilizador se estiver prestes a entrar num site considerado perigoso ou que não tenha os certificados em dia /inválidos (este último acontece bastante infelizmente, causando uma despreocupação dos utilizadores ao depararem-se com os avisos do browser).

Wireshark e as permissões no OS X

wireshark

Para quem necessitar de correr Wireshark no Mac OS X, provavelmente vai encontrar o problema de o programa não conseguir encontrar nenhuma interface disponível para escuta. Pode não acontecer na primeira execução, pois este ainda vai beneficiar dos privilégios adquiridos no acto da instalação, mas depois a partir daí não é mais possível encontrar interfaces disponíveis precisamente devido à falta de privilégios. Dado que correr o wireshark com sudo não é recomendado por vários motivos, o problema pode-se contornar facilmente.

Em qualquer sistema baseado em BSD (OS X incluído) a libpcap do Wireshark cria um device BPF para efectuar a captura de pacotes. Logo basta dar permissão ao nosso user para poder aceder a esses devices. E para isso basta inserir na shell:

sudo chown username /dev/bpf*

Isto vai perder o efeito assim que for efectuado um reboot, pelo que terá de ser executado sempre que a máquina reiniciar. Existem soluções mais automatizadas, mas eu pelo menos prefiro e recomendo que seja efectuado manualmente para maior controlo.

Firefox RC2 is out!

Já saiu o Release Candidate 2 do browser Firefox, toca a experimentar :)

http://www.mozilla.com/en-US/firefox/all-rc.html

SCP quick tip

Este post é mais uma nota pessoal para me poder relembrar a utilização do comando scp, dado que quando mais preciso dele nunca me lembro da sintaxe :P

Para tranferir por scp (secure file copy) um ficheiro que está num servidor remoto para a nossa máquina, basta fazer o seguinte comando:

scp user@servidor:~/caminho_para_o_ficheiro .

Se o servidor usar um porto diferente para correr o servidor ssh, basta acrescentar o parâmetro -P seguido do número do porto.

Para efectuar o oposto, copiar um ficheiro da máquina local para uma máquina remota, basta usar o seguinte comando:

scp caminho_para_o_ficheiro user@servidor:~/

O ficheiro irá ser copiado para a home do user utilizado no comando :)

Firefox 3 Release Candidate 1

Já fiz o update do beta 5 para RC1 e só posso dizer que está cada vez mais perto da perfeição. Se ainda não fizeram o update, aqui fica o link: http://www.mozilla.com/en-US/firefox/all-rc.html.

Tenho também recentemente andado a utilizar a extensão No-Script.

“The NoScript Firefox extension provides extra protection for Firefox, Flock, Seamonkey and others mozilla-based browsers: this free, open source add-on allows JavaScript, Java, Flash and other plugins to be executed only by trusted web sites of your choice (e.g. your online bank), and provides the most powerful Anti-XSS protection available in a browser.”

Nos dias que correm, em que os sites encontram-se carregados de scripts, e nem todos legítimos, esta extensão começa cada vez mais a justificar-se. No entanto, inicialmente é complicado encontrar 90% dos sites não funcionais porque o No-Script bloqueou o javascript, mas depois de adicionar os principais sites de confiança, torna-se suportável :)