View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001343 | libmicrohttpd | external API | public | 2008-05-25 22:29 | 2008-09-10 20:49 |
| Reporter | faye2040 | Assigned To | lv-426__ | ||
| Priority | high | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Summary | 0001343: Enhance MHD_start_daemon to support binding on specific interface or IP address | ||||
| Description | Since I want to use SSL feature with libmicrohttpd, I chose stunnel to be working as front-end of HTTPS. However, for security issue, I prefer libmicrohttpd to listen on localhost network device only. Here I manually modified daemon.c (within MHD_start_daemon) for IPv4 binding: if ((options & MHD_USE_IPv6) != 0) { /* ... */ } else { memset (&servaddr4, 0, sizeof (struct sockaddr_in)); servaddr4.sin_family = AF_INET; servaddr4.sin_port = htons (port); servaddr4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); /* Here */ servaddr = (struct sockaddr *) &servaddr4; addrlen = sizeof (struct sockaddr_in); } | ||||
| Additional Information | So, how about enhance MHD_start_daemon (for both IPv4 & IPv6) to bind specific network interface or address? | ||||
| Tags | No tags attached. | ||||
| Could be done. I'll put it on my list ;-) | |
| Option was added by LV-426, I added the docs, so this is now done. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2008-05-25 22:29 | faye2040 | New Issue | |
| 2008-05-26 16:07 | Christian Grothoff | Severity | minor => feature |
| 2008-05-26 16:09 | Christian Grothoff | Note Added: 0003439 | |
| 2008-06-15 07:31 | Christian Grothoff | Status | new => assigned |
| 2008-06-15 07:31 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2008-06-25 23:50 | Christian Grothoff | Priority | normal => high |
| 2008-08-10 14:25 | Christian Grothoff | Assigned To | Christian Grothoff => lv-426__ |
| 2008-08-24 13:23 | Christian Grothoff | Note Added: 0003663 | |
| 2008-08-24 13:23 | Christian Grothoff | Status | assigned => resolved |
| 2008-08-24 13:23 | Christian Grothoff | Resolution | open => fixed |
| 2008-09-10 20:49 | Christian Grothoff | Status | resolved => closed |
| 2013-05-06 10:52 | Christian Grothoff | Category | API => libmicrohttpd API |
| 2024-01-21 12:24 | Christian Grothoff | Category | libmicrohttpd API => external API |