]> _ Git - remote-logging.git/log
remote-logging.git
11 months agoRename files for sorting; send processes separately
mivirl [Fri, 26 Jan 2024 15:23:35 +0000 (09:23 -0600)]
Rename files for sorting; send processes separately

- Rename files to start with underscore for sorting
- Send process list with name _processes.log

11 months agoAdd recursive file function
mivirl [Fri, 26 Jan 2024 01:16:14 +0000 (19:16 -0600)]
Add recursive file function

- Added function to get all files in directory recursively
- Add default monitoring to files in /var/log/
- Increase maximum number of concurrent connections to server

11 months agoAdd comments for simpler editing of monitored files
mivirl [Fri, 26 Jan 2024 01:15:54 +0000 (19:15 -0600)]
Add comments for simpler editing of monitored files

11 months agoUpdate README; add section on monitoring output
mivirl [Thu, 25 Jan 2024 19:16:41 +0000 (13:16 -0600)]
Update README; add section on monitoring output

11 months agoHandle SIGINT; Check read permissions
mivirl [Thu, 25 Jan 2024 18:44:22 +0000 (12:44 -0600)]
Handle SIGINT; Check read permissions

- Add signal handler for SIGINT that sends SIGINT to child processes
- Check for read permissions before attempting to send file

11 months agoUse client-specified hostname
mivirl [Thu, 25 Jan 2024 18:41:17 +0000 (12:41 -0600)]
Use client-specified hostname

Use client-specified hostname when the server gives a name to the
client. The name is stripped to only contain a-zA-Z and limited to
a length of 16 characters.

11 months agoSend filepaths to server
mivirl [Thu, 25 Jan 2024 05:19:35 +0000 (23:19 -0600)]
Send filepaths to server

Send a unicode character to replace the / when sending filepaths for logs and other files. Gives more descriptive filenames which can be displayed at the same directory level.

11 months agoAdd file existence checks; forking -> exit; fork for inotifywatch
mivirl [Thu, 25 Jan 2024 05:15:40 +0000 (23:15 -0600)]
Add file existence checks; forking -> exit; fork for inotifywatch

- Added checks for file existence before attempting to upload, which can in theory esult in race conditions, but in this case doesn't matter that much.
- Changed forking subroutines to exit instead of return, to prevent forked versions of the script from re-running the same commands
- Changed inotifywatch subroutine to fork

11 months agoChange system commands to run from current directory
mivirl [Thu, 25 Jan 2024 05:14:01 +0000 (23:14 -0600)]
Change system commands to run from current directory

11 months agoUpdate server port in client script; set argv[0] for exec'd commands
mivirl [Thu, 25 Jan 2024 05:09:44 +0000 (23:09 -0600)]
Update server port in client script; set argv[0] for exec'd commands

11 months agoUpdate README instructions
mivirl [Thu, 25 Jan 2024 05:08:44 +0000 (23:08 -0600)]
Update README instructions

11 months agoUpdate start-server script
mivirl [Thu, 25 Jan 2024 05:06:35 +0000 (23:06 -0600)]
Update start-server script

- Removed file server, since it's not currently used
- Fixed tcpsvd listen ip to accept connections from other machines
- Changed shebang to use busybox

11 months agoUse sh instead of bash
mivirl [Tue, 16 Jan 2024 23:02:05 +0000 (17:02 -0600)]
Use sh instead of bash

11 months agoUpdate license year
mivirl [Tue, 16 Jan 2024 22:59:26 +0000 (16:59 -0600)]
Update license year

11 months agoAdd lnav; fix build script
mivirl [Tue, 16 Jan 2024 22:57:12 +0000 (16:57 -0600)]
Add lnav; fix build script

Added lnav for viewing logs on the server side.
Fixed build script to place output files into _output/client and _output/server
directories for deploy

11 months agoAdd default monitoring locations
mivirl [Mon, 15 Jan 2024 22:49:51 +0000 (16:49 -0600)]
Add default monitoring locations

11 months agoAdd support for watching dirs, commands, packets
mivirl [Mon, 15 Jan 2024 22:48:20 +0000 (16:48 -0600)]
Add support for watching dirs, commands, packets

11 months agoChange output order, ensure server uses busybox sh
mivirl [Mon, 15 Jan 2024 22:47:31 +0000 (16:47 -0600)]
Change output order, ensure server uses busybox sh

11 months agoInstall/build inotifytools
mivirl [Mon, 15 Jan 2024 22:46:25 +0000 (16:46 -0600)]
Install/build inotifytools

11 months agoEnable inotifyd in busybox
mivirl [Mon, 15 Jan 2024 22:44:04 +0000 (16:44 -0600)]
Enable inotifyd in busybox

15 months agoUncomment wget
mivirl [Wed, 4 Oct 2023 02:41:18 +0000 (02:41 +0000)]
Uncomment wget

15 months agoAdd LICENSE
mivirl [Wed, 4 Oct 2023 01:24:14 +0000 (20:24 -0500)]
Add LICENSE

15 months agoAdd README
mivirl [Wed, 4 Oct 2023 01:15:51 +0000 (20:15 -0500)]
Add README

15 months agoCreate perl client; add static perl binary to build
mivirl [Sat, 23 Sep 2023 04:16:54 +0000 (23:16 -0500)]
Create perl client; add static perl binary to build

15 months agoAdd server command output; reduce wait time
mivirl [Sat, 23 Sep 2023 03:12:58 +0000 (22:12 -0500)]
Add server command output; reduce wait time

15 months agocleanup
mivirl [Thu, 21 Sep 2023 18:13:19 +0000 (13:13 -0500)]
cleanup

15 months agoInitial server version
mivirl [Wed, 20 Sep 2023 16:44:46 +0000 (11:44 -0500)]
Initial server version