Skip to content

Scripts for logging every terminal session and all traffic (with compression)

License

Notifications You must be signed in to change notification settings

svirepovden/log_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collection of scripts for logging your actions

Traffic log

Use traffic_log-setup.sh (with root permissions) to set up traffic logging. Traffic dumps are stored in /var/log/traffic.

Set up script adds traffic_log.sh to /bin/, adds traffic_log.service to /lib/systemd/system/, start and enable it.

Traffic_log is controlled by systemd unit traffic_log.service

systemctl start traffic_log.service
systemctl stop traffic_log.service
systemctl status traffic_log.service

Log.sh changes your .bashrc/.zshrc files to log all terminal sessions

Log.sh uses script for recoding terminal sessions.

./log.sh

If you need to stop recording just exit

Script saves files to cmd_logs (content and time)

You can reply terminal session using

scriptreply time.log cmd.log [N (replay speed)]

About

Scripts for logging every terminal session and all traffic (with compression)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages