Now works on only loopback interface
possible segfault solution