I created a small init.d script to be included into Amavisd-new. The script queries data collected from p0f. The result is a X-header line inserted by Amavisd-new. For example: X-Amavis-OS-Fingerprint: Linux 2.4-2.6 (up: 5465 hrs), (distance 7, link: ethernet/modem), [xxx.xxx.xxx.xx] This can be enabled by running the attached init.d script and changing Amavis configuration to include: $os_fingerprint_method = 'p0f:127.0.0.1:2345'; # query p0f-analyzer.pl Reproducible: Always
Created attachment 115610 [details] init.d\p0f-analyzer
Created attachment 115611 [details] conf.d\p0f-analyzer
Exactly what I was looking for. Thank you.
Hmm I haven't used this in years .. I'll see if i can set up some kind of test environment to give it a spin. but no promises how long (i know this is an old bug)