Whitelist, Blacklist Filtering and a Firewall for Windows

Posted by Szymon Jeż Wed, 16 Sep 2009 09:50:00 GMT

This post is about making an whitelist website filter on MS Windows and WIPEF Firewall. It starts with the description how I tackled a related task that I had and how I solved the problems that appeared. This post was written because i was frustrated how hard it was to find an easy solution for this task on MS Windows. I hope You will find it useful.

Yesterday I had a task to implement blocking all possible websites except for a list of allowed sites (whitelist filtering), on some Windows workstations. I have done this many times on Linux using iptables, but had no experience with it on Windows and did not know any free firewall software for this system.

My first idea was to implement this filtering on a router, but it came out that the router has had limited capacity for filtering rules and not all sites would get covered. So my next step was to search the web and try to find what tools there where on MS Windows for my task. After 3 hours of reading, trying some solutions (hosts file – usable for a low secure blacklist; Windows Steady State – maybe it would work but I haven’t the patience for it) and trying to find free firewall software I finally found something that suited my needs. I found WIPEF a MS Windows operable version of IPFW packet filter and traffic accounting facility for FreeBSD OS.

Read more...

Posted in  | Tags , , , , ,  | no comments | no trackbacks

Convenient notifications from Autotest using test_notifier

Posted by Szymon Jeż Sat, 28 Mar 2009 23:02:00 GMT

Recently I wrote (in Polish1) about problems with NetBeans integration with ZenTest Autotest (en) and posted my solution how to setup on screen notifications from Autotest (en). Then, a few days ago, I found2 test_notifier written by Nando (fnando) Vieira. This lib, avaible as a RubyGem:

gem install fnando-test_notifier --source=http://gems.github.com

is in my opinion an ideal solution for getting notifications from not only tests ran by Autotest but Test::Unit and RSpec test in general. Using it we can get convenient notifications about the results of our tests. Combined with Autotest we get a combo: automated, ran in the background, continuous testing + convenient notifications.

3 hit combo picture from Mugen

Please go and try it for yourself – it’s easy to setup and use as described in the REDME on the project Github page.

1 Use the (en) links to read the original articles translated to English by Google. The translation is kind of funny but you can get the idea about what I wrote.

2 Actually I found it, forked it, hacked a bit (added osd_cat, and knotify support, improved help hints when there is no notification software installed) and pushed it back to fnando so he could merge my changes. Thanks to Git and GitHub all of the contribution was a pleasure.

Posted in , ,  | Tags , , , , , , , , , , , ,  | no comments | no trackbacks

Powiadomienia o wynikach testów z Autotest

Posted by Szymon Jeż Mon, 23 Mar 2009 08:47:00 GMT

Zamieściłem tu rozwiązanie problemu związanego ze współdziałaniem NetBeans z Autotest jaki opisałem w poprzednim artykule.

Według moich doświadczeń najwygodniej jest uruchamiać testy w tle używające Autotesta w konsoli oraz wspomagać się nieblokującymi zawsze widocznymi powiadomieniami na ekranie o wynikach tychże testów. Uruchomienie Autotesta w konsoli nie stanowi żadnego problemu wystarczy wydać polecenie autotest w katalogu głównym naszego projektu i jeśli mamy w nim odpowiednią strukturę katalogów to Autotest powinien uruchamiać testy w sposób automatyczny w tle prezentując nam na konsoli ich wyniki. Aby otrzymać powiadomienie o wynikach testów najlepiej skonfigurować Autotesta tak aby korzystał z rozwiązań jakie oferują nam programy specjalnie do tego stworzone dostępne na naszej platformie. Dla Linux może to być knotify, libnotify, osd_cat, dla MacOS będzie to Growl, a dla Widnows jest podobny doń Snarl.

Read more...

Posted in ,  | Tags , , , , , , , , , , , ,  | no comments | no trackbacks

Lokalna aewolucja oprogramowania na przykładzie Autotest w NetBeans (od 6.0 do 6.5)

Posted by Szymon Jeż Wed, 11 Feb 2009 22:40:00 GMT

ZenTest Autotest chyba zna każdy programista Ruby i nie trzeba go im przedstawiać. Jeśli go nie znasz lub o nim słyszałeś, a nie używasz, to polecam nadrobić zaległości (jeśli nie programujesz w Ruby spróbuj znaleźć podobne rozwiązanie w twoim języku). Jest to narzędzie, które sprawia, że napisane przez nas testy są jeszcze bardziej użyteczne (bo autotest jak anioł dzięki nim czuwa nad nami i daje nam znać, gdy któryś test nie przechodzi poprawnie), przez co mamy większą motywację do ich pisania (a o to często trudno). Ostatnio miałem spore przejścia z Autotestem i IDE NetBeans i właśnie o nich jest ten wpis.

Znany obrazek dotyczący ewolucji od tyłu; przerobiony samodzielnie

Read more...

Posted in , ,  | Tags , , , , , , , , , ,  | no comments | no trackbacks

Niebieskie niebo o północy

Posted by Szymon Jeż Wed, 04 Jun 2008 19:26:00 GMT

Mała bajeczka na dobranoc:

Midnight Commander wyszedł ze swego domu o północy na ulicę by pomóc w nawigacji zagubionym. Oczom nie wierzył widząc ciemno niebieskie niebo tu i ówdzie poprzecinane chmurami.

Niebo w dzień

Dziwował się tak przez wiele nocy. Aż pewnego razu pomyślał “Tak być nie powinno”, rzekł zaklęcie i wszystko stało się takie jak być powinno. Nastała ciemność rozświetlona jedynie blaskiem gwiazd.

Nocne niebo

Read more...

Posted in ,  | Tags ,  | 1 comment

jEdit - Black Hedgehog Edition

Posted by Szymon Jeż Wed, 16 Apr 2008 20:14:00 GMT

This post will be about my faworite editor and my configuration of it.

I have been using jEdit – Programmer’s Text Editor for 1,5 years now. It has been my main editor and IDE for Ruby development for 1 year (NetBeans 6.0 is now the best Ruby IDE for me). I still use jEdit for other non ruby related programing tasks. For example during my studies I use it for writing Prolog and CLIPS code.

Read more...

Posted in ,  | Tags , , , , , ,  | no comments