dobin / ffw

A fuzzing framework for network servers
GNU General Public License v3.0
116 stars 24 forks source link

[Error] connect() exception: [Errno 111] Connection refused #29

Open y1026 opened 6 years ago

y1026 commented 6 years ago

Hi.

Long time no see.

If ffw use the intercept option and send a packet from the client, an error occurs.

How can we solve it?

Thanks

error log

y1026@y1026:~/ffw/test$ ../ffw.py --intercept --debug
Basedir: /home/y1026/ffw
Config file: /home/y1026/ffw/test/config.py
Interceptor listen on port: 10000
Target server port: 1234
INFO:root:Starting server with args: ['/home/y1026/ffw/test', 'listen']
INFO:root:  Pid: 10188
INFO:root:  Return code: None
INFO:root:Start server PID: 10188
INFO:root:Using: TCP
INFO:root:NET Check if we can connect to server localhost:1234
DEBUG:root:NET testServerConnectionTcp: connect to ('localhost', 1234)
INFO:root:Interceptor: Forwarding everything to localhost:1234
INFO:root:Interceptor: Waiting for new client on port: 10000
Interceptor: Got new client
INFO:root:Interceptor TCP Thread: Client Thread0 started
INFO:root:Interceptor TCP Thread: Logging into: localhost:1234
ERROR:root:Interceptor TCP Thread: connect() exception: [Errno 111] Connection refused
ERROR:root:Interceptor TCP Thread:   while connecting to: localhost:1234