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

Add a hook to catch invalid messages #1568

Merged
merged 2 commits into from
Jun 13, 2024
Merged

Commits on Jun 1, 2024

  1. Add a hook to catch invalid messages

    Currently there are hooks for reading messages off the wire (DecorateReader),
    checking if they comply with policy (MsgAcceptFunc), and generating responses
    (Handler).  However, there is no hook that notifies the server when a message is
    dropped or rejected due to a syntax error.  That makes it hard to monitor these
    packets without repeating the parsing process.
    
    This PR adds a hook for notifications about invalid packets.
    bemasc committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    d4e3566 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. s/InvalidMsg/MsgInvalid/g

    bemasc committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    caf25b3 View commit details
    Browse the repository at this point in the history