trailofbits / differ

Detecting Inconsistencies in Feature or Function Evaluations of Requirements
GNU Affero General Public License v3.0
67 stars 4 forks source link

Memcached sample #72

Closed ameily closed 1 year ago

ameily commented 1 year ago

Add support for the medium complexity sample memcached that provides an in-memory cache accessible over TCP. This PR adds the new pcap comparator, #10, and the corresponding method of capturing network traffic during sample execution, #73.

Capturing the pcap is done by tcpdump which has to be configured to allow normal users run it without sudo. This is documented in the README and is required because DIFFER would be unable to terminate tcpdump if it was started via sudo.