Project

General

Profile

Actions

Feature #4854

open

Feature #4566: pgsql: add subprotocol-states

pgsql: Add COPY subprotocol-state

Added by Juliana Fajardini Reichow over 3 years ago. Updated 2 days ago.

Status:
In Progress
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

When the postgresql backend sends or receives the following commands:
- "COPY FROM STDIN"
- "COPY TO STDOUT"
It enters the COPY subprotocol-state, which comprises a different set of messages.

Currently, if Suri has the pgsql app-layer enabled and sees one of those messages, it doesn't know what to do and stops parsing pgsql messages from that flow altogether, afterwards.

PostgreSQL documentation: https://www.postgresql.org/docs/14/protocol-flow.html#PROTOCOL-COPY


Files

CopyInSubprotocol.png (36.2 KB) CopyInSubprotocol.png Juliana Fajardini Reichow, 04/01/2025 08:40 PM
CopyOutSubprotocol.png (42.1 KB) CopyOutSubprotocol.png Juliana Fajardini Reichow, 04/01/2025 08:40 PM

Subtasks 3 (2 open1 closed)

Feature #7644: pgsql: add CopyOut subprotocol/modeClosedJuliana Fajardini ReichowActions
Feature #7645: pgsql: add CopyIn subprotocol/modeNewJuliana Fajardini ReichowActions
Feature #7646: pgsql: add CopyBoth supprotocol/ modeNewJuliana Fajardini ReichowActions
Actions

Also available in: Atom PDF