The United Nations Interim Force in Lebanon (Unifil) has said an Israeli tank fired on its headquarters in southern Lebanon.