Trafdump is a project mainly written in PYTHON and SHELL, it's free.
Network traffic analyzer and profiler