Trincomalee , the major city in northeastern Sri Lanka , is under government control , but Tamil rebels based in nearby jungles have staged frequent operations in the area .