I really don't see this any differently from the recent Lebanon border clash, or the attack on settlers in the West Bank. Until Israel, Palestine, and Lebanon have a peace treaty and defined borders the whole region is a war zone. All is fair in peace and war.
Police arrest 18-year-old Palestinian suspected in Old City stabbing (Haaretz)
from the article: Reports: IDF shelling kills 3 Palestinians near Gaza border