Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

Milter-greylist with p0f ver 3

Milter-greylist with p0f ver 3

2012-02-15 by Gary Faith

I downloaded and compiled p0f ( p0f-3.03b.tgz) on SLES 10 SP4 64-bit.  I have p0f running in daemon mode and I used milter-greylist (4.2.7) to talk to the p0f socket but p0f is terminating.  I changed the command to send the output to p0f.error. 
 
Current Command Line
./p0f -i eth0 -o /var/log/p0f.log -s /var/run/p0frun.sock -u p0f-user 2>>/var/log/p0f.error
 
milter-greylist config:
 
p0fsock "/var/run/p0frun.sock"

# safe Windows hosts
racl whitelist p0f "Windows 2003"       addheader "X-Greylist-OS: %Fx"
racl whitelist p0f "Windows 2008"       addheader "X-Greylist-OS: %Fx"
racl whitelist p0f "Windows 2000 SP4"   addheader "X-Greylist-OS: %Fx"
 
# unsafe Windows hosts -- put this line below ALL racl whitelist lines
racl greylist  p0f "Windows" \
               delay 20m autowhite 4d   addheader "X-Greylist-OS: %Fx"

 

p0f.error log file:
 
[!] WARNING: Query with bad magic (0xdefaced).
[-] SYSTEM ERROR : read() on API socket fails despite POLLIN.
        Location : live_event_loop(), p0f.c:905
      OS message : Connection reset by peer

I e-mailed the developer of p0f and he sent me this.
 
>>> Michal Zalewski <lcamtuf@...> 2/14/2012 11:33 AM >>>
Hey,

You should talk to the maintainers of milter-greylist (milter-greylist@yahoogroups.com?). P0f 3 doesn't support old-style output and this is unlikely to change, so they should probably update their code.

/mz

As a result, I joined the list to ask if this is a know issue and if it will be fixed.
 
Thanks,
 
Gary Faith

Re: [milter-greylist] Milter-greylist with p0f ver 3

2012-02-16 by manu@netbsd.org

Gary Faith <gafaith@...> wrote:

> As a result, I joined the list to ask if this is a know issue and if it
> will be fixed.

It was not known yet but it can be fixed. Do you know where is the
documentation for the new protocol?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] Milter-greylist with p0f ver 3

2012-02-16 by shuttlebox

On Thu, Feb 16, 2012 at 3:39 AM,  <manu@...> wrote:
> Gary Faith <gafaith@...> wrote:
>
>> As a result, I joined the list to ask if this is a know issue and if it
>> will be fixed.
>
> It was not known yet but it can be fixed. Do you know where is the
> documentation for the new protocol?

Here's the web site, http://lcamtuf.coredump.cx/p0f3/, and this
document, http://lcamtuf.coredump.cx/p0f3/README, is probably what
you're looking for.

/peter

Re: [milter-greylist] Milter-greylist with p0f ver 3

2012-02-21 by manu@netbsd.org

shuttlebox <shuttlebox@...> wrote:

> Here's the web site, http://lcamtuf.coredump.cx/p0f3/, and this
> document, http://lcamtuf.coredump.cx/p0f3/README, is probably what
> you're looking for.

You have it in milter-greylist 4.4alpha1

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.