Project

General

Profile

Actions

Optimization #7263

open

pgsql: limit tx.responses - configurable?

Added by Juliana Fajardini Reichow about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

The PostgreSQL protocol doesn't impose any clear limits to how many responses a backend could send.
Given that potentially the result of a SELECT * FROM table could return all the rows from a table,
and that PostgreSQL only limits a table's row count by the number of tuples that can fit onto 4,294,967,295 pages (cf [[https://www.postgresql.org/docs/current/limits.html]]),
we should have a cap on what the parser would accept (cf https://github.com/OISF/suricata/pull/11776#discussion_r1765577996).

No data to display

Actions

Also available in: Atom PDF