View Issue Details

IDProjectCategoryView StatusLast Update
0004624GNUnetexit daemonpublic2018-06-06 22:24
ReporterlynX Assigned ToChristian Grothoff Due Date
PrioritylowSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0004624: multi-port exits are broken: daemon confuses port numbers
DescriptionWhen a multi-port exit configuration is given, all ports map to the first in the list.

When a single-port exit configuration is given before the multi-port configuration, then all ports map to the port specified in the first single-port statement.

In fact, *any* port number is accepted, so you can even execute telnet foo.gnu 26317 and it will still connect to the first port in the configuration.

Steps To ReproduceConfiguration one:

[secret.gnunet.]
TCP_REDIRECTS = 23:169.254.86.1:2323;80:169.254.86.1:80;6667:169.254.86.1:6667

-> telnet secret.gnu <anynumber> will connect to 169.254.86.1:2323.


Configuration two:

[http.gnunet.]
TCP_REDIRECTS = 80:169.254.86.1:80

[secret.gnunet.]
TCP_REDIRECTS = 23:169.254.86.1:2323;80:169.254.86.1:80;6667:169.254.86.1:6667

-> telnet secret.gnu <anynumber> will connect to 169.254.86.1:80.
TagsNo tags attached.

Activities

Christian Grothoff

2016-08-27 09:40

manager   ~0011064

Fixed in SVN 37786

Issue History

Date ModifiedUsernameFieldChange
2016-08-23 19:02lynXNew Issue
2016-08-23 19:04lynXDescription Updated
2016-08-23 19:04lynXSteps to Reproduce Updated
2016-08-27 09:40Christian GrothoffNote Added: 0011064
2016-08-27 09:40Christian GrothoffStatusnew => resolved
2016-08-27 09:40Christian GrothoffFixed in Version => 0.11.0pre66
2016-08-27 09:40Christian GrothoffResolutionopen => fixed
2016-08-27 09:40Christian GrothoffAssigned To => Christian Grothoff
2016-08-27 09:40Christian GrothoffProduct Version => Git master
2016-08-27 09:40Christian GrothoffTarget Version => 0.11.0pre66
2018-06-06 22:24Christian GrothoffStatusresolved => closed