Syria given warning on terrorists