63 | | |
64 | | #define SOCKET_BUFFER_SIZE 1500 |
65 | | |
66 | | #define RECEPTION_ADDRESS "" /* your collector address like 10.0.0.90 */ |
67 | | #define RECEPTION_PORT 9999 /* your collector port to recept netflow export */ |
68 | | |
69 | | #define TIME_OUT 300 /* MAJSCH */ |
70 | | |
71 | | #define ROUTER_INDEX_MAX 70 |
72 | | #define FIELD_TYPE_NUMBER 89 |
73 | | #define MAX_RULES_PER_FIELD 10 |
74 | | |
75 | | #ifdef CRIHAN |
76 | | #define OUTPUT_IP "/tmp/ipflow" |
77 | | #define EXTENSION ".txt" |
78 | | #define OUTPUT_MPLS "/tmp/mplsflow" |
79 | | #define MAX_IP_OUTPUT_FILES 3 |
80 | | #define MAX_MPLS_OUTPUT_FILES 3 |
81 | | #define IP_TIME_THRESHOLD 60 /* in sec */ |
82 | | #define MPLS_TIME_THRESHOLD 60 /* in sec */ |
83 | | #endif /* CRIHAN */ |
84 | | |
85 | | #define MAX_IP_FLOW 10000 |
86 | | #define MAX_MPLS_FLOW 200 |
87 | | |
88 | | #define SHMSIZE 33554432 |
89 | | |
90 | | #define STEP 5 /* in min */ |