Yes.
Well, it isn't. In wartime, a country is allowed to stop, search and detain a ship on international waters if they suspect that the ship is trying to breach a blockade or deliver weapons to the enemy.
well, i highly doubt who is the anemy here...the civilians in Gaza throwing stones to soldiers or the heavily armorred army of Israel donated with modern weapons killing the Gaza's civilians. Not everyone in Gaza is Hamas.