checking for req.socket.servername on plain sockets #18

Closed
opened 2018-09-07 18:12:47 +00:00 by coolaj86 · 1 comment
Owner

Should first check for req.socket.encrypted

        } else if (safehost && !gl.middleware.sanitizeHost._skip_fronting_check) {
          // TODO how to handle wrapped sockets, as with telebit?
          console.warn(safehost, typeof req.socket.servername, req.servername, req.socket.servername, req.socket.encrypted);
          console.warn("\n\n\n[greenlock] WARN: no string for req.socket.servername,"
            + " skipping fronting check for '" + safehost + "'\n\n\n");
Should first check for req.socket.encrypted ``` } else if (safehost && !gl.middleware.sanitizeHost._skip_fronting_check) { // TODO how to handle wrapped sockets, as with telebit? console.warn(safehost, typeof req.socket.servername, req.servername, req.socket.servername, req.socket.encrypted); console.warn("\n\n\n[greenlock] WARN: no string for req.socket.servername," + " skipping fronting check for '" + safehost + "'\n\n\n"); ```
Author
Owner

Fixed in v2.4.8

Fixed in v2.4.8
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coolaj86/greenlock.js-ARCHIVED#18
No description provided.