This solves a problem with message "Error opening terminal: xterm-256color" when user tries to run nano on some platforms.
However, this terminal type is quite popular (for ex. Ubuntu uses this), so it should be added to support running nano
from SSH.
wsdd2 is a small daemon that can service WSD/LLMNR queries. It allows
the router to be visible in Windows's Network list without
requiring SMB1 support.
tested with RT-N15U, RT-N18U, all ok (VIFs, wifi bridge, ...)
Improve/clean-up the following commits:
89564f837e (arm branch)
7ff750cadb (arm-ng branch)
- pppd: Fix bounds check in EAP code
Given that we have just checked vallen < len, it can never be the case
that vallen >= len + sizeof(rhostname). This fixes the check so we
actually avoid overflowing the rhostname array.
Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
8d7970b8f3
- pppd: Ignore received EAP messages when not doing EAP
This adds some basic checks to the subroutines of eap_input to check
that we have requested or agreed to doing EAP authentication before
doing any processing on the received packet. The motivation is to
make it harder for a malicious peer to disrupt the operation of pppd
by sending unsolicited EAP packets. Note that eap_success() already
has a check that the EAP client state is reasonable, and does nothing
(apart from possibly printing a debug message) if not.
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
8d45443bb5