Re: [PATCH 2/2] script: add input log feature

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

 



Hi Karel,

On 08/20/2018 08:46 AM, Karel Zak wrote:
> On Sun, Aug 19, 2018 at 05:16:58PM +0000, Asbjørn Sloth Tønnesen wrote:
>> When script is used to log usage of shell accounts, accessible by
>> random users (some of whom might be malicious).
>>
>> This patch adds a new --input-log option, which makes script save
>> the input data to a file, in an extended timing format also containing
>> the data, thereby allowing the input to be reconstructed.
> 
> I like the feature, but not sure if we really need to introduce a new
> log format specific to the input stream.
> 
> For long time I think about a new timing file format. Maybe we can add
> support for new timing file format where will be possible log
> information about more streams (stdin and stdout) and events (for
> example signals).

I am working on implementing this, expect patches soon.

I am implementing 2 new formats, so we will have:
- classic - like now, with 1-2 output files
- new - like you described, with 2-3 output files
- combined - with a single output file

I am also adding support for both new formats to scriptreplay.

-- 
Best regards
Asbjørn Sloth Tønnesen



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux