Commit Graph

9 Commits

Author SHA1 Message Date
4868ff54e2 add --me 2025-04-19 16:42:49 +02:00
fb00a11bef Add --me flag to display local and public IPs with CGNAT detection
This commit introduces the --me flag, which allows users to quickly display
their current local IPv4 and public IPv4/IPv6 addresses.

The public IPs are retrieved using ifconfig.me via curl, ensuring accurate
detection even in CGNAT or split-DNS scenarios. Local IPv4 is determined
via the system's active route through the configured resolver.

The output also includes a CGNAT detection based on private IP ranges and
the reserved 100.64.0.0/10 block, providing a helpful warning if detected.

IPv6 privacy extensions are common, so local IPv6 detection has been removed
to avoid redundant or unstable information.
2025-04-19 16:39:54 +02:00
7058e26be3 Add one-liner installation command for easier setup
Added a compact one-liner installation command that installs all dependencies,
clones the Git repository, sets up a symbolic link to ~/.local/bin,
makes the script executable, and adds a Bash alias.

This makes it easy for users to set up the tool with a single copy-paste command,
especially useful for quick testing or sharing in forums and chats.

USE WITH CARE
2025-04-19 15:34:09 +02:00
552c170959 Replaced cp with symbolic link (ln -s) for better maintainability
Instead of copying the script file manually to ~/.local/bin using 'cp',
we now recommend creating a symbolic link with 'ln -s'.

This makes updates easier, as any changes pulled from the Git repository
are immediately reflected in the linked binary without needing to copy
the file again. It’s also safer in the long term, as users won’t
accidentally run outdated versions from ~/.local/bin.
2025-04-19 15:28:53 +02:00
ac24ecfe42 chkip.py aktualisiert
add IPv64 NS
2025-04-19 14:57:07 +02:00
31d7ceff3b README.md aktualisiert
add IP output
2025-04-19 14:52:03 +02:00
665fe41d89 add INSTALL.md 2025-04-19 14:50:40 +02:00
a518c4b067 add README.md 2025-04-19 14:31:12 +02:00
4e3b90e45d inital upload 2025-04-19 14:30:37 +02:00