Modify packet handling, checking if packets are sent from the right
place