Joshua Rogers
448f1a6440
Add emoji.
2024-01-12 13:15:41 +07:00
Joshua Rogers
04fb43000c
Change permission of Snake.nocomments.sh
2024-01-12 02:07:21 +07:00
Joshua Rogers
6afd55dcea
Don't require stdbuf.
2024-01-12 02:06:14 +07:00
Joshua Rogers
cc6b55d722
MacOS assumes a new version of Bash from Homebrew.
2024-01-12 01:49:06 +07:00
Joshua Rogers
6e54e542a9
Fix one-letter typo in -oKexAlgorithms=+diffie-hellman-group1-sha usage.
2024-01-12 01:27:55 +07:00
Joshua Rogers
1e965466e4
Empty resolved file is not allowed.
2024-01-12 01:21:14 +07:00
Joshua Rogers
940a0a9152
Empty key location is also not allowed.
2024-01-12 01:19:09 +07:00
Joshua Rogers
d803989131
An empty filename or directory is not allowed.
2024-01-12 01:17:56 +07:00
Joshua Rogers
b09bee2041
Use readlink -f instead of readlink -m for non-GNU-ism.
2024-01-12 01:11:28 +07:00
Joshua Rogers
92d612fb63
Fix sed which removes itself
2024-01-12 01:01:09 +07:00
Joshua Rogers
e0b4cf23a9
Fix old GNU-ism.
2024-01-12 00:43:11 +07:00
Joshua Rogers
ad16a539a8
Remove more GNU-ism.
2024-01-12 00:26:12 +07:00
Joshua Rogers
b5fa5be05c
Pick up optional SSH errors better.
2024-01-12 00:21:22 +07:00
Joshua Rogers
f2522a1abe
Use -oPubkeyAcceptedKeyTypes=+ssh-rsa only if supported.
2024-01-11 23:56:09 +07:00
Joshua Rogers
61acad40b4
Remove more GNU-ism, improve MacOS support, remove -readable, and use sort|uniq instead of sort -u
2024-01-11 22:45:27 +07:00
Joshua Rogers
b30ee12a27
Fix issue in generating DOT files with nodes containing colons.
...
Issue documented in https://github.com/pydot/pydot/issues/258#issuecomment-795798099
Fixes #5 .
2024-01-11 22:14:39 +07:00
Joshua Rogers
730963eb57
Use ssh_timeout for dns timeout, slightly less gnu-ism, and finish if no dests.
2024-01-11 22:02:25 +07:00
Joshua Rogers
f9a46b8c86
Resolve all IPv4 addresses for domain names (if possible).
...
Return false in is_ssh_host() if an invalid IP address ([0-9\.]* which is not ^[0-9]+(\.[0-9]+){3}$)
Force lowercase in is_ssh_dest() and add_ssh_dest()
2024-01-11 18:17:21 +07:00
Joshua Rogers
3ff1879d06
Add MacOS support, and various bug/qol fixes.
...
Also:
Simplify the check_commands()/check_startup() functions,
Provide a normal error message on missing programs,
Use '-oPubkeyAcceptedKeyTypes=+ssh-rsa' if possible,
Use the PubkeyAcceptedKeyTypes ssh option if possible,
Use /Users for MacOS /home/ replacement,
Direct stderr of more programs to /dev/null,
Use dscacheutil if possible,
Force 5-second DNS timeout for resolution,
Fix printing of the t_hostnames_chain in case of exceptional error (double_rs_chained_print()),
Pick up GitHub error message correctly (exec request failed on channel)
Simplify check_ssh_options
2024-01-10 11:00:10 +07:00
Joshua Rogers
92b2dc5236
Following symlinks when using find(1).
...
Reported by @dharrigan. Fixes #2 .
2024-01-06 15:53:52 +07:00
Joshua Rogers
617eb1e3d5
Update README.
2024-01-06 13:31:50 +07:00
Joshua Rogers
7ae7ef0afe
Fix Snake.nocomments.sh producing an invalid script during remove_functions().
...
Snake.nocomments.sh incorrectly removed all leading spaces from the script,
which resulted in remove_function() thinking that an awk function's } character
was the final character of a bash function.
Fixes #1 .
2024-01-06 01:49:55 +07:00
Joshua Rogers
a40e8f82be
Fix issue of reverse-lookup-host.py and forward-lookup-host.py not obeying ignore_dest_user.
2024-01-05 20:30:58 +07:00
Joshua Rogers
ff698f308d
Fix search patterns in Python scripts.
2024-01-05 20:13:17 +07:00
Joshua Rogers
7511505c40
Improve README, fix ascii art in (very important!) in Snake.nocomments.sh.
2024-01-05 18:54:04 +07:00
Joshua Rogers
0f8cbf8e45
Fix a typo.
2024-01-05 05:48:16 +07:00
Joshua Rogers
61bf00fd1e
Release. 1.0.
2024-01-05 04:28:05 +07:00
Joshua Rogers
2788c4d915
Initial commit
2023-12-03 05:52:39 +01:00