From: Alan T. DeKok Date: Tue, 27 Oct 2020 15:11:28 +0000 (-0400) Subject: add more tests for ascend data filters X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5113ffadbe4b33e7ccdd29ca529a08ffba82789e;p=thirdparty%2Ffreeradius-server.git add more tests for ascend data filters --- diff --git a/src/tests/unit/protocols/radius/ascend.txt b/src/tests/unit/protocols/radius/ascend.txt new file mode 100644 index 00000000000..4acd2099528 --- /dev/null +++ b/src/tests/unit/protocols/radius/ascend.txt @@ -0,0 +1,11 @@ +proto radius +proto-dictionary radius + +encode-pair Ascend-Data-Filter = "ip in drop tcp dstport > 1023" +match 1a 28 00 00 02 11 f2 22 01 00 01 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 03 ff 00 03 00 00 00 00 00 00 00 00 00 00 + +decode-pair - +match Ascend-Data-Filter = "ip in drop tcp dstport > 1023" + +count +match 6