Add filter to restrict access

Walter Harms wharms at bfs.de
Sun Jun 6 21:17:26 AWST 2021


lately there was a discussion who to restrict access to a dropbear server. The result were some solutions outside dropbear. I have attached a patch to show how this could be done. It uses fnmatch() what means the patch is small and the pattern is simple. (Try -D 192.168.1.*)

re,
 wh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svr-runopts.diff
Type: text/x-patch
Size: 1034 bytes
Desc: svr-runopts.diff
URL: <https://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20210606/b08a36fc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svr-main.diff
Type: text/x-patch
Size: 739 bytes
Desc: svr-main.diff
URL: <https://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20210606/b08a36fc/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: runopts.diff
Type: text/x-patch
Size: 234 bytes
Desc: runopts.diff
URL: <https://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20210606/b08a36fc/attachment-0002.bin>


More information about the Dropbear mailing list