Re: Log ARP headers

Florian Westphal <[email protected]>
Newsgroups gmane.comp.security.firewalls.netfilter.general
Message-ID <[email protected]>
Slavko <[email protected]> wrote:
> >I think this is missing support in ulogd2.
> >
> >Untested, to give you some starting point:
> >(3 is NFPROTO_ARP).
> >
> >--- a/filter/raw2packet/ulogd_raw2packet_BASE.c
> >+++ b/filter/raw2packet/ulogd_raw2packet_BASE.c
> >@@ -959,6 +959,8 @@ static int _interp_pkt(struct ulogd_pluginstance *pi)
> >                return _interp_ipv6hdr(pi, len);
> >        case AF_BRIDGE:
> >                return _interp_bridge(pi, len);
> >+       case 3:
> >+               return _interp_arp(pi, len);
> >        }
> >        return ULOGD_IRET_OK;
> > }
> 
> Unfortunately, i don't speak C ;-) I understand this change,
> but i cannot see all consequence,
> 
> Any chance that it will go to ulogd itself? Or i have to maintain
> this patch locally only? (I mean for future versions)

Can you test and report back if this works?
I have no idea what I am doing as I don't use ulogd.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.