filter testing

2022-04-16 Thread Edgar Pettijohn
I've written a perl script to help test filters. It can be found at: http://www.pettijohn-web.com/filter-test.pl Its not 100% complete but it should be helpful enough in finding common problems. Such as forgetting fflush() in awk filters or swapping the session id and opaque tokens. If you r

Re: filter testing

2022-04-17 Thread Tassilo Philipp
This is very cool, thank you! One question about the fflush() you mention: I use awk filters a lot and never had any need to explicitly flush, but you probably did. Mind sharing some details on your use case? Thank you! On Sat, Apr 16, 2022 at 01:04:21PM -0500, Edgar Pettijohn wrote: I've wri

Re: filter testing

2022-04-17 Thread Edgar Pettijohn
On 4/17/22 02:46, Tassilo Philipp wrote: This is very cool, thank you! One question about the fflush() you mention: I use awk filters a lot and never had any need to explicitly flush, but you probably did. Mind sharing some details on your use case? Thank you! I think some versions of awk

filter testing perl script

2023-01-13 Thread Edgar Pettijohn
list, It looks like I finished this little helper script for testing smtpd filters, but forgot about it... Anyway it can be found at http://www.pettijohn-web.com/new-filter-test.pl. Theres even a SHA512 file so you can make sure you got all the right bits in all the right spots. I belie