ligolo-ng icon indicating copy to clipboard operation
ligolo-ng copied to clipboard

listener_stop bug

Open optechadam opened this issue 1 year ago • 3 comments

After terminating a listener on the agent I get the following repeating error:

ERRO[0354] Listener relay failed with error: EOF         listener="#1 [tgt@DESKTOP-AQ78B2] (tcp) [Agent] 0.0.0.0:1234 => [Proxy] 127.0.0.1:4321"
WARN[0354] Listener failed. Restarting in 5 seconds...

The agent does not have a listening port anymore and no errors on the agent terminal output.

optechadam avatar Feb 10 '24 01:02 optechadam

same for me. image

lap012 avatar Feb 24 '24 20:02 lap012

I have the exact same issue when I try to stop the listener using agent and proxy 0.5/0.5.1/0.5.2 linux amd64 binaries. When I use 0.4.5 linux_amd64 the listener stops without issues.

Proxy (Linux kali 6.6.9-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.6.9-1 x86_64 GNU/Linux)

image

Agent (Linux DANTE-WEB-NIX01 5.4.0-29-generic #33-Ubuntu SMP x86_64 GNU/Linux)

image

dutz1e avatar Apr 02 '24 19:04 dutz1e

Same Problem!

scr4sh avatar Apr 06 '24 04:04 scr4sh

having the same problem. proxy is flooded with errors on closed connection.

are there ways or plans to suppress errors, kill the restart process, etc that could be useful but also temporarily resolve the error-spam?

deadloot avatar May 18 '24 19:05 deadloot

Same issue, hopefully it will be fixed because this tool is fantastic

h3retic avatar May 29 '24 21:05 h3retic

Same issue here! Not only does it spam the terminal, but its also causing any other listeners i have running to become dysfunctional and not work as intended. Have to restart the entire program.

partyh4t avatar May 31 '24 21:05 partyh4t

This should be fixed in #79. Can anyone test just to verify the fix works for them too?

jdholtz avatar Jun 20 '24 00:06 jdholtz