traceflow crash - MacBook
mpenning opened this issue · 0 comments
mpenning commented
I tried traceflow
on my MacBook and it crashed... looks like setsockopt(socket.SOL_SOCKET, SO_TIMESTAMPNS, 1)
is not supported on OSX...
ref -> https://stackoverflow.com/a/46330410/667301
Full OSX crash info:
% sudo traceflow 4.2.2.2
Resolved 4.2.2.2 to 4.2.2.2
Traceback (most recent call last):
File "/Users/mpenning/py39_default/bin/traceflow", line 8, in <module>
sys.exit(main())
File "/Users/mpenning/py39_default/lib/python3.9/site-packages/traceflow/__main__.py", line 164, in main
listener = traceflow.socket_listener(daddr)
File "/Users/mpenning/py39_default/lib/python3.9/site-packages/traceflow/socket_handler.py", line 82, in __init__
self.icmp_listener.setsockopt(socket.SOL_SOCKET, SO_TIMESTAMPNS, 1)
OSError: [Errno 42] Protocol not available