[PATCH] LOG target - log GID

Jan Engelhardt jengelh at computergmbh.de
Fri Jul 13 11:59:21 CEST 2007


On Jul 12 2007 18:03, Yasuyuki KOZAKAI wrote:
>> Hi,
>> 
>> While I was browsing through the files in my home directory I stumbled 
>> upon my patch from
>> May 2003 that adds to the LOG target an option to log UID and GID.
>> 
>> I noticed that someone already has done that in the past 4 years ;-)
>> However currently LOG only logs UID. My patch used to log GID too, so
>> what do you say about applying the patches attached.
>
>We cannot change format of LOG target because that breaks programs parsing logs.

Hm, then it's time to write a specification on how to correctly parse things
(namely, splitting at whitespace and parsing the ^\S+= component of it rather
than assuming things were in a fixed order)

>But it might be possible by introducing new option like '--log-gid'.


	Jan
-- 



More information about the netfilter-devel mailing list