Hi all,
I found the following issue with the libcli. Entering a mode and issuing the same command by mistake, causes the main loop to hang forever. This can be simply reproduced with the test program, as shown below:
$ telnet 127.0.0.1 8000
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
libcli test environment
Username: fred
Password:
router> enable
Password:
router# configure terminal
router(config)# interface test0/0
router(config-test)# interface
At this point, the CLI hangs and won't return a prompt.
I did some research by myself and think there's something wrong here:
As a workaround, I removed this check and it works for me so far.
Best regards,
Stefan Mächler
Hi all,
I found the following issue with the
libcli. Entering a mode and issuing the same command by mistake, causes the main loop to hang forever. This can be simply reproduced with the test program, as shown below:At this point, the CLI hangs and won't return a prompt.
I did some research by myself and think there's something wrong here:
libcli/libcli.c
Line 2913 in b6ff35c
As a workaround, I removed this check and it works for me so far.
Best regards,
Stefan Mächler