ftpd: security tightened up:
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 16 Mar 2009 14:53:54 +0000 (14:53 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 16 Mar 2009 14:53:54 +0000 (14:53 -0000)
commitf2160b6a09f4e4879fb718526106c548d8f8ec23
treeff52e5b8dfb026571302023c39f925092a579f41
parent7a6766428e3306c3bdc98e0fff207e5015af8930
ftpd: security tightened up:
 PORT is not allowed on !IPv4
 PORT must have IP == peer's IP
 upload is allowed only into regular files

function                                             old     new   delta
ftpd_main                                           1815    2019    +204
handle_upload_common                                 260     306     +46
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 250/0)             Total: 250 bytes
networking/ftpd.c