Fixing logging/source ip
Fixing network detection