Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

IPv6 traffic in "redirect" mode causes connection startup errors #114

Closed
klyubin opened this issue Jul 18, 2017 · 0 comments
Closed

IPv6 traffic in "redirect" mode causes connection startup errors #114

klyubin opened this issue Jul 18, 2017 · 0 comments
Assignees

Comments

@klyubin
Copy link
Contributor

klyubin commented Jul 18, 2017

Client attempts to connect to http://ipv6.whatismyv6.com/. nogotofail MiTM, running in redirect (not tproxy!) mode spews:

[ERROR] Socket error in connection startup from fd12:3456:789a:bcde::1000
[ERROR] [Errno 2] No such file or directory
Traceback (most recent call last):
File "nogotofail/mitm/connection/server.py", line 176, in _on_server_socket_select
self.setup_connection(client_socket)
File "nogotofail/mitm/connection/server.py", line 100, in setup_connection
if connection.start():
File "nogotofail/mitm/connection/connection.py", line 698, in start
self._get_original_dest(self.client_socket))
File "nogotofail/mitm/connection/connection.py", line 723, in _get_original_dest
dst = sock.getsockopt(socket.SOL_IP, SO_ORIGINAL_DST, 28)
File "/usr/lib64/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
error: [Errno 2] No such file or directory

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants