It is also legal for the defensive party maintaining occupation in the absence of a peace treaty to take necessary measures to maintain security. Thus Nahal settlements (for military reasons are legal according to international law. International law is also clear that populations that had been dispossessed from their ancestral homes by an offensive action have the right to re-settle their homes when a successful defensive action recaptures the land fromwhich they were driven out. Thus the return of Jews to Hebron, Gush Etzion, and the Jewish Quarter is also legal under international law. UN resolution 242 (November 22, 1967) makes it clear that the purpose of the resolution is to create a just and lasting peaqce, with guaranteesfor the territorial inviolability, mutually recognized borders, and political independence of every state in the area. So Israel administration of the West Bank and Gaza is completely legal until a just and lasting peace is achieved. Such administration, in the absence of a peace treaty, and in the face of continued hostility from Arab nations and terrorist groups, can include the development of unoccupied segments for housing a growing population. Such activity is not the same as transporting population to the territory for resettlement. Rogue settlements are palpably illegal. Israel government officials have referred to them as "rogue settlements". IDF forces have dismantled some, and Prime Minister Sharon has targeted some for a similar fate.
High school teacher's union threatens strike (Haaretz)
from the article: Preparing for the next war