zhanghai / zhanghai/MaterialFiles
[功能请求] FTP服务器使用root权限监听21端口
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
安卓上1024以下的系统保留端口需要root权限才能监听,质感文件中如果把FTP服务器的端口设为系统保留端口会报错
W System.err: org.apache.ftpserver.FtpServerConfigurationException: Failed to bind to address ::/[::]:21, check configuration
能否实现使用root权限监听21端口?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure when MaterialFiles configures the FTP server for port 21, using the reported Apache FtpServerConfigurationException as the entry point. Investigate Android's root requirements for binding reserved ports and determine how root access could be used; done means the FTP server can listen on port 21 on supported rooted devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100