[-]
[+]
|
Changed |
nrpe.spec
|
|
[-]
[+]
|
Added |
nrpe-3.2.1_packetbuffer.patch
^
|
@@ -0,0 +1,20 @@
+--- include/common.h.in.orig 2020-02-05 09:59:52.145290051 +0100
++++ include/common.h.in 2020-02-05 10:04:25.545290135 +0100
+@@ -55,7 +55,7 @@
+ #define DEFAULT_SOCKET_TIMEOUT 10 /* timeout after 10 seconds */
+ #define DEFAULT_CONNECTION_TIMEOUT 300 /* timeout if daemon is waiting for connection more than this time */
+
+-#define MAX_INPUT_BUFFER 2048 /* max size of most buffers we use */
++#define MAX_INPUT_BUFFER 8192 /* max size of most buffers we use */
+ #define MAX_FILENAME_LENGTH 256
+ #define MAX_HOST_ADDRESS_LENGTH 256 /* max size of a host address */
+ #define MAX_COMMAND_ARGUMENTS 16
+@@ -70,7 +70,7 @@
+ #define NRPE_PACKET_VERSION_2 2
+ #define NRPE_PACKET_VERSION_1 1 /* older packet version identifiers (no longer supported) */
+
+-#define MAX_PACKETBUFFER_LENGTH 1024 /* amount of data to send in one query/response vor version 2 */
++#define MAX_PACKETBUFFER_LENGTH 8192 /* amount of data to send in one query/response vor version 2 */
+
+ typedef struct _v2_packet {
+ int16_t packet_version;
|