Message109336
| Author |
alfmel |
| Recipients |
alfmel, barry |
| Date |
2010年07月05日.16:20:38 |
| SpamBayes Score |
0.21408726 |
| Marked as misclassified |
No |
| Message-id |
<1278346841.06.0.147409219565.issue9168@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The SMTP proxy server in Python (smtpd.py) allows you to shed privileges and run as user nobody. However, if you are trying to use port 25, the server will shed privileges before binding the port, causing a bind failure. By moving the setuid code between the creation of the proxy server and the aysncore loop, we can bind a port below 1024 and run as nobody. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年07月05日 16:20:42 | alfmel | set | recipients:
+ alfmel, barry |
| 2010年07月05日 16:20:41 | alfmel | set | messageid: <1278346841.06.0.147409219565.issue9168@psf.upfronthosting.co.za> |
| 2010年07月05日 16:20:39 | alfmel | link | issue9168 messages |
| 2010年07月05日 16:20:39 | alfmel | create |
|