In the mid-1980s , the CIA cut a deal with Lebanese military intelligence to fund a sophisticated listening post in the Lebanese mountains that could eavesdrop on conversations throughout the Middle East and was staffed by fluent Hebrew , French and Farsi speakers .