{"push_id":1078714204,"size":2,"distinct_size":2,"ref":"refs/heads/snabbddos","head":"bac2c9661994478eb00fcd6897341cc746f7b929","before":"f95467669125276c0812724f2103c21f5afb904b","commits":[{"sha":"1cc34ac3956b31379fb3373b7fca71df7ddec7c3","author":{"email":"ec7bf92637e134663c52416998a70b7ad4c68f04@spritelink.net","name":"Kristian Larsson"},"message":"Add basic packet validity checks\n\nWe check that the IP version, as read from the IP header, is 4. Since we\nonly support IPv4 right now, we simply throw away packets with other\nvalues since that means they are invalid. Note that before this we\nalready check the ethertype and forward packets that have an ethertype\nindicating something else than IPv4, so this check really only makes\nsure that the IP version as read from IP header is same as advertised in\nthe ethertype.\n\nThe second check looks at the packet length and makes sure it is what\nit's supposed to be. It only does the comparison for packets longer than\n60 bytes since shorter packets are padded and we have no real way of\nvalidity checking that.","distinct":true,"url":"https://api.github.com/repos/SnabbDDoS/snabb/commits/1cc34ac3956b31379fb3373b7fca71df7ddec7c3"},{"sha":"bac2c9661994478eb00fcd6897341cc746f7b929","author":{"email":"ec7bf92637e134663c52416998a70b7ad4c68f04@spritelink.net","name":"Kristian Larsson"},"message":"Merge pull request #11 from plajjan/invalid-packet-checks\n\nAdd basic packet validity checks","distinct":true,"url":"https://api.github.com/repos/SnabbDDoS/snabb/commits/bac2c9661994478eb00fcd6897341cc746f7b929"}]}