Israeli media say the navy is building an underwater barrier off the coast of northern Gaza to stop potential Palestinian infiltrators .