This is a plugin allows you to ban peers
add plugin to command line or config file.
lightning-cli setban command(add|remove) [bantime]
bans peer for bantime
(seconds, default 86400 or 24 hrs.)
lightning-cli listbanned
shows list of who is banned