Hello,
I have troubles trying to make this application working.
I start my server with this command:
python dnscapy_server.py
test.dnscapy.com 10.10.10.1 -d 5
DEBUG: Starting control thread [tid=139947624429312]
DEBUG: Received command RUN
DEBUG: ## state=[START]
DEBUG: switching from [START] to [WAITING]
DEBUG: ## state=[WAITING]
DEBUG: Select on [<scapy.automaton.ObjectPipe instance at .......>, <scapy.arch.linux.L2ListenSocket object at ........>]
and the client with :
ssh -o ProxyCommand="python dnscapy_client.py
test.dnscapy.com <my-dns-server-interface-ip> -d 3"
ro...@127.0.0.1DEBUG: Starting control thread [tid=140481458468608]
DEBUG: ## state=[START]
DEBUG: switching from [START] to [SR1]
DEBUG: ## state=[SR1]
When I start the client, on the server I can see a bunch of messages like follows:
DEBUG: Selected [<scapy.arch.linux.L2ListenSocket object at ......>]
DEBUG: Looking at <scapy.arch.linux.L2ListenSocket object at ........>
DEBUG: FILTR: Ether / IP / TCP x.x.x.x:41410 > y.y.y.y:ssh A
DEBUG: Select on [<scapy.automaton.ObjectPipe instance at ........>, <scapy.arch.linux.L2ListenSocket object at .......>]
However, after a few seconds, on the client side I have this trace:
Error message: Timeout Error : No response after 3 requests
DEBUG: Transfering exception [Reached ERROR: [None]] from tid=140481458468608
DEBUG: Stopping control thread (tid=140481458468608)
Traceback (most recent call last):
File "dnscapy_client.py", line 241, in <module>
automaton.run()
File "/usr/lib/python2.7/dist-packages/scapy/automaton.py", line 544, in _do_control
state = iterator.next()
File "/usr/lib/python2.7/dist-packages/scapy/automaton.py", line 579, in _do_iter
result=state_output, state=self.state.state)
scapy.automaton.ErrorState: Reached ERROR: [None]
ssh_exchange_identification: Connection closed by remote host
I use all that is described in the requirements:
Python 2.6.9
Scapy (2.2.0)
OpenSSH_5.9p1
Ubuntu 12.04
The supersocket.py has been modified as requested.
Any idea why this is not working?
Thanks.
Del