Redmine https://redmine.openinfosecfoundation.org/issues/4810
--- /dev/null
+# Description
+
+Test if 8 bit protocol fields are correctly handled by pppoe decoder
+by identifying the http payload.
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ filetype: regular
+ filename: eve.json
+ types:
+ - http:
+ dump-all-headers: both
--- /dev/null
+requires:
+ min-version: 5.0.0
+
+checks:
+
+ # Correctly identify the http header in the pppoe payload with a
+ # 8 bit ppp protocol field
+ - filter:
+ count: 1
+ match:
+ event_type: http
+ http.status: 200
+ http.http_method: "GET"
+ http.url: "/"