Jorge - 2014-05-03

I'm running the code as follows: sudo python eth1 "tcp port 5000". This should filter in both ways (src and dst) but I only get 1 way. When I uncomment the line "p.loop(1, print_packet)" and "apply(print_packet," the output on the console shows both ways but the dumpfile is empty ( I opened it in p.dump_open('dumpfile')).

Why is this happening?