View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001755 | GNUnet | transport service | public | 2011-08-12 10:25 | 2024-05-03 13:58 |
| Reporter | Christian Grothoff | Assigned To | Matthias Wachs | ||
| Priority | high | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Summary | 0001755: UDP plugin should broadcast HELLOs on LAN to discover peer | ||||
| Description | By listening for HELLOs and periodically broadcasting our own, we should be able to discover other peers in the same LAN. | ||||
| Additional Information | already implemented: configuration stuff creating and closing sockets setting socket in broadcast mode periodic sending task sending a beacon every INTERVAL seconds to do: get HELLO from transport to plugin offer received beacon to transport | ||||
| Tags | No tags attached. | ||||
|
|
Note: we need to set SO_BROADCAST option for the socket with 'setsockopt'. |
|
|
Note: we don't need to find out the local broadcast adddress; 255.255.255.255 means "limited broadcast" (to be sent on the local link only) these days (RFC 1122). |
|
|
However, 255.255.255.255 does NOT work nicely with multiple interfaces: http://stackoverflow.com/questions/683624/udp-broadcast-on-all-interfaces So even better would be to figure out the broadcast addrs of all interfaces and send a packet to each of them. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-08-12 10:25 | root | New Issue | |
| 2011-09-16 10:36 | Christian Grothoff | Status | new => confirmed |
| 2011-09-19 10:12 | Christian Grothoff | Target Version | => 0.9.0 |
| 2011-09-19 11:49 | Christian Grothoff | Priority | normal => high |
| 2011-09-19 11:56 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2011-09-19 11:56 | Christian Grothoff | Status | confirmed => assigned |
| 2011-09-19 11:56 | Christian Grothoff | Reporter | root => Christian Grothoff |
| 2011-09-19 22:10 | Christian Grothoff | Note Added: 0004619 | |
| 2011-09-19 22:11 | Christian Grothoff | Note Added: 0004620 | |
| 2011-10-04 23:16 | Christian Grothoff | Assigned To | Christian Grothoff => |
| 2011-10-04 23:16 | Christian Grothoff | Target Version | 0.9.0 => |
| 2011-10-04 23:16 | Christian Grothoff | Status | assigned => confirmed |
| 2011-10-29 16:04 | Matthias Wachs | Assigned To | => Matthias Wachs |
| 2011-10-29 16:04 | Matthias Wachs | Status | confirmed => assigned |
| 2011-10-29 16:04 | Matthias Wachs | Additional Information Updated | |
| 2011-10-29 16:05 | Matthias Wachs | Additional Information Updated | |
| 2011-10-29 17:51 | Christian Grothoff | Note Added: 0004796 | |
| 2011-10-30 15:49 | Matthias Wachs | Status | assigned => resolved |
| 2011-10-30 15:49 | Matthias Wachs | Resolution | open => fixed |
| 2011-10-30 20:55 | Christian Grothoff | Product Version | Git master => 0.9.0pre3 |
| 2011-10-30 20:55 | Christian Grothoff | Fixed in Version | => 0.9.0pre4 |
| 2011-10-30 20:55 | Christian Grothoff | Target Version | => 0.9.0pre4 |
| 2011-10-31 12:00 | Christian Grothoff | Status | resolved => closed |
| 2024-05-03 13:58 | Christian Grothoff | Category | UDP transport => transport service |