Logging an masqueraded header in Apache 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,


I am looking for a solution to masquerade/anonymize data I am writing to the acccess log on my proxy. For debugging purposes we need to trace data based on the x-auth header. As this header contains critical data I do not want to enable logging of the full header. Instead I am looking for a solution to only log the first X and the last y header. so instead of logging


  ycsfsfdawlkcfawncfewmlcsdfacs


I would like to see something like this   

  ycsfsfd###############csdfacs

 or this.

  ycsfsfd..csdfacs


I am using apache 2.4 on centos
Any suggestion?

Thanks

Chris





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux