Projects STRLCPY dnstt Commits 58c01e74
🤬
  • requestor → requester

    RFC 1035 uses "requester" and RFC 6891 uses "requestor". I think I
    prefer "requester", and aspell agrees.
  • Loading...
  • David Fifield committed 4 years ago
    58c01e74
    1 parent 05b02063
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■
    dnstt-client/dns.go
    skipped 306 lines
    307 307   {
    308 308   Name: dns.Name{},
    309 309   Type: dns.RRTypeOPT,
    310  - Class: 4096, // requestor's UDP payload size
     310 + Class: 4096, // requester's UDP payload size
    311 311   TTL: 0, // extended RCODE and flags
    312 312   Data: []byte{},
    313 313   },
    skipped 74 lines
  • ■ ■ ■ ■ ■ ■
    dnstt-server/main.go
    skipped 22 lines
    23 23  // queries.
    24 24  //
    25 25  // The -mtu option controls the maximum size of response UDP payloads.
    26  -// Queries that do not advertise requestor support for responses of at least
     26 +// Queries that do not advertise requester support for responses of at least
    27 27  // this size at least this size will be responded to with a FORMERR. The default
    28 28  // value is maxUDPPayload.
    29 29  //
    skipped 323 lines
    353 353   }
    354 354   
    355 355   // Check for EDNS(0) support. Include our own OPT RR only if we receive
    356  - // one from the requestor.
     356 + // one from the requester.
    357 357   // https://tools.ietf.org/html/rfc6891#section-6.1.1
    358 358   // "Lack of presence of an OPT record in a request MUST be taken as an
    359  - // indication that the requestor does not implement any part of this
     359 + // indication that the requester does not implement any part of this
    360 360   // specification and that the responder MUST NOT include an OPT record
    361 361   // in its response."
    362 362   payloadSize := 0
    skipped 97 lines
    460 460   // FORMERR MUST be returned."
    461 461   if payloadSize < maxUDPPayload {
    462 462   resp.Flags |= dns.RcodeFormatError
    463  - log.Printf("FORMERR: requestor payload size %d is too small (minimum %d)", payloadSize, maxUDPPayload)
     463 + log.Printf("FORMERR: requester payload size %d is too small (minimum %d)", payloadSize, maxUDPPayload)
    464 464   return resp, nil
    465 465   }
    466 466   
    skipped 232 lines
    699 699   {
    700 700   Name: dns.Name{},
    701 701   Type: dns.RRTypeOPT,
    702  - Class: queryLimit, // requestor's UDP payload size
     702 + Class: queryLimit, // requester's UDP payload size
    703 703   TTL: 0, // extended RCODE and flags
    704 704   Data: []byte{},
    705 705   },
    skipped 197 lines
  • ■ ■ ■ ■ ■ ■
    man/dnstt-server.1
    skipped 143 lines
    144 144  You will know you need to use the
    145 145  .Fl mtu
    146 146  option when you see messages like this on standard error:
    147  -.Dl FORMERR: requestor payload size 512 is too small (minimum 1232)
     147 +.Dl FORMERR: requester payload size 512 is too small (minimum 1232)
    148 148   
    149 149  .El
    150 150   
    skipped 69 lines
    220 220  .Fl mtu
    221 221  option.
    222 222   
    223  -.Dl FORMERR: requestor payload size 512 is too small (minimum 1232)
     223 +.Dl FORMERR: requester payload size 512 is too small (minimum 1232)
    224 224   
    225 225   
    226 226  .Sh SEE ALSO
    skipped 10 lines
Please wait...
Page is in error, reload to recover