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
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.
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.
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
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