remove optimization which accepts unrelated traffic

Removing this alsmo make ips filter easier.
switch back to gnu99 std

So that we can compile with gcc 4.4