Apr 14
Last weekend, at an event in Portugal, OpenBSD .PT showed a redundant OpenBSD firewall working with two soekrises and two laptops. We had one laptop playing an mp3 that was physically on the second laptop, being shared via NFS, and then simulated a failure on the firewall. A second machine claimed automatically the firewall identity on the network and the music playing just choked a bit and recovered nicely. Kind of what Ryan McBride did at EuroBSDCon but without the axe part! Anyway, it definitely was fun to watch and it is also a good reminder of an OpenBSD based solution that companies can implement under a low budget. Some photos are also available.
Update: I submitted this story to the OpenBSD Journal and it got published.
OpenBSD .PT is running a collective donation effort for OpenBSD. We have gathered around 170€ till now (if you’re interested read here).
Btw, have you seen Theo De Raadt's blog?
OMG! My very first Wikipedia page is up. It’s about PM2, a software for distributed computing I’m using on work. I’ve deleted the local page I had, not that anyone should care.
Apr 06
Firefox gets a big bite out of your memory doesn’t it? So why not run it remotely?
That’s what I thought when I began my search on how to run firefox remotely. I also thought I was going in search of trouble and scary stuff but guess what, it’s easier than I could ever imagine.
Just do an ssh to the remote machine giving the options -Y and -C. The Y stands for X11 forwarding while the C requests compression of all data (including stdin, stdout, etc..).
ssh -YC <ip>
And then on the remote shell issue:
firefox -width 100
And you’re done! How easy was that? The “-width” parameter is necessary to trick the “firefox” shell script wrapper, but it won’t influence the width of the firefox window. Don’t forget to copy your .mozilla directory so you can run firefox with your profile and keep your bookmarks, etc.
For me, with my old 320 RAM laptop from 2001, this is great news
And as you might guess this isn’t limited to firefox, you can run any application you’d like.
Be sure to have this options on /etc/ssh/ssh_config:
Host *
ForwardAgent yes
ForwardX11 yes
And these ones on /etc/ssh/sshd_config:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
TCPKeepAlive yes
Compression yes
And that’s it. I’m using firefox remotely now to write on this blog and it’s fast and smooth
Apr 05
Via Ignium's blog I saw this google video that shows Multitouch, a new computer interface, in action. Earlier last month, Jeff Han, from NYU’s Computer Science department gave a demo on ETech of Multitouch and as you can see it’s a truly amazing piece of technology.
If you’ve seen the movie Minority Report this sure must ring a bell. According to Phil Windley in this post, where he describes briefly Jeff Han’s talk, Jeff himself pointed out that tactile feedback is more intuitive than gestural interfaces (think Minority Report’s gestural interface) for casual users.
Recent Comments