[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    Storing data more than 128 bytes
From:       yousuf <yousuf () scf-fs ! usc ! edu>
Date:       1997-08-12 22:17:55
[Download RAW message or body]

Hi,

Is it possible to store more than 128 bytes in the log file, i-e, can I
store the whole data in the log file? 

In file ip_fil.c, line 595 the line of code is:

mlen = (flags & FR_LOGBODY) ? MIN(ip->ip_len - hlen, 128) : 0;

If I change it to:

mlen = (flags & FR_LOGBODY) ? (ip->ip_len - hlen) : 0;

will it do the trick.


Thanks in advance,

Muhammad Khalid Yousuf



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic