nicocha30 / ligolo-ng

An advanced, yet simple, tunneling/pivoting tool that uses a TUN interface.
GNU General Public License v3.0
2.61k stars 260 forks source link

listener_stop bug #56

Closed optechadam closed 2 months ago

optechadam commented 7 months ago

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.

lap012 commented 6 months ago

same for me. image

dutz1e commented 5 months ago

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

scr4sh commented 5 months ago

Same Problem!

deadloot commented 3 months ago

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?

h3retic commented 3 months ago

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

partyh4t commented 3 months ago

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.

jdholtz commented 2 months ago

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