The properties of the gas in the galactic halo