Skip to content

Pgotsis refactor#32

Open
pgotsis wants to merge 2 commits intofire1ce:mainfrom
pgotsis:pgotsis-refactor
Open

Pgotsis refactor#32
pgotsis wants to merge 2 commits intofire1ce:mainfrom
pgotsis:pgotsis-refactor

Conversation

@pgotsis
Copy link
Copy Markdown

@pgotsis pgotsis commented Dec 23, 2024

Complete refactor of the code. Basic changes:

  1. Split logic into functions.
  2. Change location of conf and logs based on root Vs. non-root user.
  3. Support installation of script in a standard location (such as /usr/local/bin) and still run it with logs from a standard user. Currently this is not possible as the script searches for the conf file in the script directory.
  4. Support of telegram topics.
  5. Check command dependencies.
  6. Use dig before nslookup for lookups.
  7. Add one more service for external IP detection

Complete refactor of the code. Basic changes:

1) Split logic into functions
2) Change location of conf and logs based on root Vs. non-root user.
3) Support installation of script in a standard location and still run it with logs from a standard user
4) Support of telegram topics
5) Check command dependencies
6) Use dig before nslookup for lookups
Changes to conf to support script refactoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant