If you are interested in a Free, interactive, application firewall for Linux, do take a look at opensnitch:

github.com/evilsocket/opensnit

It pops up a dialogue window when it detects a connection, allowing you to control what to do with it (allow/drop traffic, do so permanently/temporarily etc.).