Browse Source

If the bridge config line doesn't specify a port, assume 443.
This makes bridge lines a bit smaller and easier for users to
understand.

Also, remove a duplicate changelog entry from the past.


svn:r19260

Roger Dingledine 15 years ago
parent
commit
93c0a81491
3 changed files with 10 additions and 13 deletions
  1. 6 6
      ChangeLog
  2. 0 5
      ReleaseNotes
  3. 4 2
      src/or/config.c

+ 6 - 6
ChangeLog

@@ -1,8 +1,13 @@
-Changes in version 0.2.1.14-??? - 2009-04-??
+Changes in version 0.2.1.14-rc - 2009-04-??
   o Security fixes:
     - Avoid crashing in the presence of certain malformed descriptors.
       Found by lark, and by automated fuzzing.
 
+  o Minor features:
+    - If the bridge config line doesn't specify a port, assume 443.
+      This makes bridge lines a bit smaller and easier for users to
+      understand.
+
   o Minor bugfixes:
     - Avoid trying to print raw memory to the logs when we decide to
       give up on downloading a given relay descriptor. Bugfix on
@@ -936,11 +941,6 @@ Changes in version 0.2.0.31 - 2008-09-03
       option as an alias for the actually-working --with-openssl-dir
       option. Fix the help documentation to recommend --with-openssl-dir.
       Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
-    - Disallow session resumption attempts during the renegotiation
-      stage of the v2 handshake protocol. Clients should never be trying
-      session resumption at this point, but apparently some did, in
-      ways that caused the handshake to fail. Bug found by Geoff Goodell.
-      Bugfix on 0.2.0.20-rc.
     - When using the TransPort option on OpenBSD, and using the User
       option to change UID and drop privileges, make sure to open
       /dev/pf before dropping privileges. Fixes bug 782. Patch from

+ 0 - 5
ReleaseNotes

@@ -252,11 +252,6 @@ Changes in version 0.2.0.31 - 2008-09-03
       option as an alias for the actually-working --with-openssl-dir
       option. Fix the help documentation to recommend --with-openssl-dir.
       Based on a patch by "Dave". Bugfix on 0.2.0.1-alpha.
-    - Disallow session resumption attempts during the renegotiation
-      stage of the v2 handshake protocol. Clients should never be trying
-      session resumption at this point, but apparently some did, in
-      ways that caused the handshake to fail. Bug found by Geoff Goodell.
-      Bugfix on 0.2.0.20-rc.
     - When using the TransPort option on OpenBSD, and using the User
       option to change UID and drop privileges, make sure to open
       /dev/pf before dropping privileges. Fixes bug 782. Patch from

+ 4 - 2
src/or/config.c

@@ -4270,8 +4270,10 @@ parse_bridge_line(const char *line, int validate_only)
     goto err;
   }
   if (!port) {
-    log_warn(LD_CONFIG, "Missing port in Bridge address '%s'",addrport);
-    goto err;
+    log_info(LD_CONFIG,
+             "Bridge address '%s' has no port; using default port 443.",
+             addrport);
+    port = 443;
   }
 
   if (smartlist_len(items)) {