filter out comments and other stuff, only ip addresses are allowed