View Issue Details

IDProjectCategoryView StatusLast Update
0001942GNUnetGNSpublic2012-11-05 17:34
ReporterChristian Grothoff Assigned Toschanzen Due Date
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4 
Summary0001942: VPN uses insecure DNS for '.gnunet'
DescriptionThe current implementation simply stores DNS records in the DHT. There are no considerations for how to secure records and establish some level of trust by the user in the DNS responses for the .gnunet TLD.

We have a (non-trivial) design in mind, this bug note just serves as a reminder that it needs to be documented, implemented and tested.
TagsNo tags attached.

Activities

schanzen

2012-06-18 21:27

administrator   ~0006096

Resolving VPN services using GNS is now possible using a GNUNET_GNS_RECORD_VPN

Data format:
addressfamily (uint32_t)|protocol (uint32_t)|peerid (hash) |servicedesc (hash)

String format:
addressfamily:protocol:peerid:servicedesc

string format is not really user readable. af and protocol could be made readable... the rest not. But the record should be added via GUI anyway.

The resolver will return the tmp IP(v6) address.

This functionality needs testing (and a test).

schanzen

2012-06-21 12:16

administrator   ~0006123

The Data format should not contain the addressfamily. The record type on lookup (A,AAAA) already determines this. Furthermore the serice descrition should be a string. We can hash this string in when we call the VPN API. This makes the record data more readable. The protocol field should be displayed as PROTO_{UDP,TCP} respectively.

The test for the VPN delegation should be in the src/vpn directory because the VPN gnunet plugin is compiled after the GNS plugin.
The test can use MHD to simulate a HTTP service and we can use curl to access this service via a .gnunet name. GNS will then map the name to the generated temporary VPN IP address.

schanzen

2012-06-26 17:44

administrator   ~0006158

Tests in SVN for examples.

Issue History

Date ModifiedUsernameFieldChange
2011-11-22 19:10Christian GrothoffNew Issue
2011-11-22 19:10Christian GrothoffStatusnew => assigned
2011-11-22 19:10Christian GrothoffAssigned To => toelke
2011-11-22 19:17Christian GrothoffAssigned Totoelke =>
2011-11-22 19:17Christian GrothoffStatusassigned => confirmed
2012-02-21 20:55Christian GrothoffTarget Version => 0.9.3
2012-02-21 21:33Christian GrothoffStatusconfirmed => assigned
2012-02-21 21:33Christian GrothoffCategoryVPN service => GNS
2012-02-21 21:33Christian GrothoffAssigned To => schanzen
2012-04-01 09:39Christian GrothoffTarget Version0.9.3 => 0.9.4
2012-06-18 21:27schanzenNote Added: 0006096
2012-06-21 12:16schanzenNote Added: 0006123
2012-06-26 17:44schanzenNote Added: 0006158
2012-06-26 17:44schanzenStatusassigned => resolved
2012-06-26 17:44schanzenResolutionopen => fixed
2012-11-05 17:34Christian GrothoffStatusresolved => closed