Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement QU bit support in question encoder/decoder #94

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Oct 9, 2023

  1. Implement QU bit support in question encoder/decoder

    This commit fix current QU bit implementation that may be used in mDNS
    protocol. Indeed, until now, if a packet with QU bit set is received,
    it is decoded as:
    
    {
    
      ...
    
      questions: [
        {
          name: '...',
          type: 'PTR',
          class: 'UNKNOWN_32769'
        },
        {
          name: '...',
          type: 'PTR',
          class: 'UNKNOWN_32769'
        }
      ],
    
      ...
    
    }
    
    Instead of :
    
    {
    
      ...
    
      questions: [
        {
          name: '...',
          type: 'PTR',
          class: 'IN'
        },
        {
          name: '...',
          type: 'PTR',
          class: 'IN'
        }
      ],
    
      ...
    
    }
    
    This commit adds a proper QU bit support via the qu_bit field.
    It enables:
    
    - The encoder to parse properly both the class and the QU bit
    - THe decoder to encode a DNS packet with the QU bit set
    vulcainman committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    a7a0b78 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Fix several lint issues

    This commit includes several fixes that addess lint issues introduced by
    commit a7a0b78
    vulcainman committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    36c2096 View commit details
    Browse the repository at this point in the history
  2. Remove the unused NOT_QU_MASK constant

    The code using this constant was removed by the commit
    a7a0b78
    vulcainman committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    10307f9 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Configuration menu
    Copy the full SHA
    52a86ce View commit details
    Browse the repository at this point in the history