Increased serialization buffer size as required for recent nDPI builds.

* added .gitignore to prevent SCM check-ins of unwanted files
 * fixed invalid include path for python examples

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2020-11-18 18:06:55 +01:00
parent dd5ff3b8ed
commit ba179cc724
5 changed files with 10 additions and 4 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
# python related
*.pyc
__pycache__
# go related
*.sum

View File

@@ -7,7 +7,7 @@
#define DISTRIBUTOR_HOST "127.0.0.1"
#define DISTRIBUTOR_PORT 7000
#define NETWORK_BUFFER_MAX_SIZE 9216 /* 8192 + 1024 */
#define NETWORK_BUFFER_MAX_SIZE 9728 /* 8192 + 1024 + 512 */
/* nDPId default config options */
#define nDPId_PIDFILE "/tmp/ndpid.pid"

View File

@@ -3,7 +3,7 @@
import os
import sys
sys.path.append(os.path.dirname(sys.argv[0]) + '/../../contrib')
sys.path.append(os.path.dirname(sys.argv[0]) + '/../../dependencies')
import nDPIsrvd
from nDPIsrvd import nDPIsrvdSocket, TermColor

View File

@@ -4,7 +4,7 @@ import base64
import os
import sys
sys.path.append(os.path.dirname(sys.argv[0]) + '/../../contrib')
sys.path.append(os.path.dirname(sys.argv[0]) + '/../../dependencies')
import nDPIsrvd
from nDPIsrvd import TermColor, nDPIsrvdSocket, PcapPacket

View File

@@ -4,7 +4,7 @@ import base64
import os
import sys
sys.path.append(os.path.dirname(sys.argv[0]) + '/../../contrib')
sys.path.append(os.path.dirname(sys.argv[0]) + '/../../dependencies')
import nDPIsrvd
from nDPIsrvd import TermColor, nDPIsrvdSocket, PcapPacket