Structure to hold a dos attack vector. More...
Data Fields | |
uint32_t | target_ip |
The IP address of the alleged target of the attack. More... | |
uint32_t | attacker_ip_cnt |
Number of IP addresses the alleged attack has originated from. More... | |
uint32_t | interval_attacker_ip_cnt |
Number of IP addresses the alleged attack has originated from in the current interval. More... | |
uint32_t | attack_port_cnt |
Number of ports that alleged attack packets have originated from. More... | |
uint32_t | target_port_cnt |
Number of ports that alleged attack packets were directed to. More... | |
uint64_t | packet_cnt |
The number of packets that comprise this vector. More... | |
uint32_t | interval_packet_cnt |
The number of packets added to this vector in the current interval. More... | |
uint64_t | byte_cnt |
The number of bytes that comprise this vector. More... | |
uint32_t | interval_byte_cnt |
The number of bytes added to this vector in the current interval. More... | |
uint64_t | max_ppm |
The maximum packet rate observed thus far. More... | |
uint32_t | start_time_sec |
The time of the initial packet (seconds) More... | |
uint32_t | start_time_usec |
The time of the initial packet (usec) More... | |
uint32_t | latest_time_sec |
The time of the last packet (seconds) More... | |
uint32_t | latest_time_usec |
The time of the last packet (usec) More... | |
uint32_t | initial_packet_len |
The length of the initial packet (bytes) More... | |
uint8_t * | initial_packet |
A copy of the packet that caused the vector to be created. More... | |
Structure to hold a dos attack vector.
This structure is only used when READING the dos record from a file The output vector structure (internal to the plugin) contains much more state
All values are in HOST byte order.
Definition at line 79 of file corsaro_dos.h.
uint32_t corsaro_dos_attack_vector_in::attack_port_cnt |
Number of ports that alleged attack packets have originated from.
Definition at line 92 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::attacker_ip_cnt |
Number of IP addresses the alleged attack has originated from.
Definition at line 85 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint64_t corsaro_dos_attack_vector_in::byte_cnt |
The number of bytes that comprise this vector.
Definition at line 104 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint8_t* corsaro_dos_attack_vector_in::initial_packet |
A copy of the packet that caused the vector to be created.
Can be reconstituted into a libtrace packet buffer using corsaro_dos_attack_vector_get_packet
We don't store an actual libtrace packet in here because the libtrace_packet_t structure is very inefficient (64k per packet).
Definition at line 135 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_get_packet(), read_attack_vector(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::initial_packet_len |
The length of the initial packet (bytes)
Definition at line 125 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_get_packet(), read_attack_vector(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::interval_attacker_ip_cnt |
Number of IP addresses the alleged attack has originated from in the current interval.
Definition at line 89 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::interval_byte_cnt |
The number of bytes added to this vector in the current interval.
Definition at line 107 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::interval_packet_cnt |
The number of packets added to this vector in the current interval.
Definition at line 101 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::latest_time_sec |
The time of the last packet (seconds)
Definition at line 119 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::latest_time_usec |
The time of the last packet (usec)
Definition at line 122 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint64_t corsaro_dos_attack_vector_in::max_ppm |
The maximum packet rate observed thus far.
Definition at line 110 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint64_t corsaro_dos_attack_vector_in::packet_cnt |
The number of packets that comprise this vector.
Definition at line 98 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::start_time_sec |
The time of the initial packet (seconds)
Definition at line 113 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::start_time_usec |
The time of the initial packet (usec)
Definition at line 116 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::target_ip |
The IP address of the alleged target of the attack.
Definition at line 82 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().
uint32_t corsaro_dos_attack_vector_in::target_port_cnt |
Number of ports that alleged attack packets were directed to.
Definition at line 95 of file corsaro_dos.h.
Referenced by corsaro_dos_attack_vector_fprint(), corsaro_dos_attack_vector_print(), and validate_attack_vector().