This is definitely an ichneumon, although there are several genera which have lost their coloring becasue they hunt nocturnally. The other major genus is Netelia. They are very difficult to identify, invariably a microscope job. They don't sting, as such. The females have an ovipositor, whose main purpose is laying eggs, so unlike aculeate wasps, there are no venom glands. But if they feel threatened then they will use their ovipositor defensively.