Research Article

A Multivariant Stream Analysis Approach to Detect and Mitigate DDoS Attacks in Vehicular Ad Hoc Networks

Algorithm 2

Input: Network Trace Nt.
Output: MVSW.
Step 1. Start
Step 2. Read network trace Nt.
Step 3. For each time window Ti
Step 4. Compute average payload Ap =
Step 5. Compute average hop count Ahc =
Step 6. Compute average ttl value Attl =
Step 7. Compute average packet frequency Apf =
Step 8. Compute multi-attribute stream factor masv.
Step 9. MASV =
Step 10. End
Step 11. Masw =
Step 12. Stop