mirror of https://github.com/OISF/suricata
cybersecurityidsintrusion-detection-systemintrusion-prevention-systemipsnetwork-monitornetwork-monitoringnsmsecuritysuricatathreat-hunting
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This patch modifies decode.c and decode.h to avoid the usage by default of a bigger than 65535 bytes array in Packet structure. The idea is that the packet are mainly under 1514 bytes size and a bigger size must be supported but should not be the default. If the packet length is bigger than DFLT_PACKET_SIZE then the data are stored in a dynamically allocated part of the memory. To ease the modification of the rest of the code, functions to access and set the payload/length in a Packet have been introduced. The default packet size can be set at runtime via the default-packet-size configuration variable. |
15 years ago | |
|---|---|---|
| benches | 17 years ago | |
| doc | 15 years ago | |
| libhtp | 15 years ago | |
| m4 | 16 years ago | |
| qa | 16 years ago | |
| src | 15 years ago | |
| .gitignore | 15 years ago | |
| COPYING | 17 years ago | |
| ChangeLog | 17 years ago | |
| LICENSE | 16 years ago | |
| Makefile.am | 15 years ago | |
| Makefile.cvs | 17 years ago | |
| acsite.m4 | 16 years ago | |
| autogen.sh | 16 years ago | |
| classification.config | 16 years ago | |
| config.h.in | 16 years ago | |
| configure.in | 15 years ago | |
| depcomp | 16 years ago | |
| doxygen.cfg | 16 years ago | |
| install-sh | 16 years ago | |
| missing | 16 years ago | |
| mkinstalldirs | 16 years ago | |
| reference.config | 15 years ago | |
| suricata.yaml | 15 years ago | |