sr1 is a blocking function so if you want to wrap it in a deferred you must defer it to another thread otherwise it will be blocking the twisted event loop.

You mentioned here https://github.com/TheTorProject/ooni-probe/pull/30 some issues with the scapy test template and that being the reason for not using it, do you have more details on that?