schutzwerk / CANalyzat0r

Security analysis toolkit for proprietary car protocols
https://www.schutzwerk.com/en/43/posts/canalyzat0r/
GNU General Public License v3.0
755 stars 147 forks source link

Clear socket buffer before sniffing #4

Closed ps1337 closed 4 years ago

ps1337 commented 6 years ago

Steps to reproduce:

  1. Enable sniffing
  2. Stop sniffing
  3. Send test data to CAN interface
  4. Enable sniffing and verify that test data has been added to the packet set. This data should be ignored by clearing the socket buffer before adding data in case sniffing is being resumed