White flags have had different meanings throughout history and depending on the locale.
Flag of temporary truce in order to parley (negotiate)
The white flag is an internationally recognized protective sign of truce or ceasefire, and request for negotiation. It is also used to symbolize surrender, since it is often the weaker military party which requests negotiation.
A white flag signifies to all that an approaching negotiator is unarmed, with an intent to surrender or a desire to communicate. Persons carrying or waving a white flag are not to be fired upon, nor are they allowed to open fire. The use of the flag to surrender is included in the Hague Convention.
The improper use of a white flag is forbidden by the rules of war and constitutes a war crime of perfidy. There have been numerous reported cases of such behaviour in conflicts, such as fighters using white flags as a ruse to approach and attack enemies, or killings of fighters attempting to surrender by carrying white flags. Many times since the weaker party is in a decrepit state, a white flag would be fashioned out of anything readily available, like a t-shirt or handkerchief. The most common way of making a white flag is to obtain a pole and tie two corners of a sheet of cloth to the top of the pole and somewhere in the middle.