system:myip_help
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
system:myip_help [2024-09-20T09:40:52+0000] – fix header levels michael_paoli_admin | system:myip_help [2024-09-25T12:45:18+0000] (current) – michael_paoli_admin | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== http/https ===== | ===== http/https ===== | ||
https/http URLs for the services:\\ | https/http URLs for the services:\\ | ||
- | http or https may be use with their respective default ports 80 and 443,\\ | + | http or https may be used with their respective default ports 80 and 443,\\ |
domain names that may be used:\\ | domain names that may be used:\\ | ||
* %%www.balug.org%% (dual stack: this service available via IPv4 and IPv6)\\ | * %%www.balug.org%% (dual stack: this service available via IPv4 and IPv6)\\ | ||
Line 9: | Line 9: | ||
* %%www.ipv6.balug.org%% (this service available only via IPv6)\\ | * %%www.ipv6.balug.org%% (this service available only via IPv6)\\ | ||
Note that in the above, if the www. prefix is omitted, will HTTP redirect to include the www. prefix.\\ | Note that in the above, if the www. prefix is omitted, will HTTP redirect to include the www. prefix.\\ | ||
- | Path portion of URL/URI:\\ | + | ^Path portion of URL^notes |
- | /myip\\ | + | |/myip |give IP address of client as seen from The Internet |
+ | |/ | ||
+ | |/ | ||
So, e.g:\\ | So, e.g:\\ | ||
[[https:// | [[https:// | ||
Line 25: | Line 27: | ||
user / login name, use myip, e.g. '' | user / login name, use myip, e.g. '' | ||
There is no password and password is neither needed nor requested.\\ | There is no password and password is neither needed nor requested.\\ | ||
- | pseudo-terminal allocation will not occur, so may want to use -T option or equivalent option/ | + | No pseudo-terminal allocation will not occur, so may want to use -T option or equivalent option/ |
- | ssh fingerprints, | + | For ssh fingerprints, |
'' | '' | ||
One may also want to put suitable configuration options in ~/ | One may also want to put suitable configuration options in ~/ | ||
< | < | ||
- | Host balug.org balug.org. | + | Host balug.org balug.org. |
User myip | User myip | ||
RequestTTY no | RequestTTY no | ||
VerifyHostKeyDNS yes | VerifyHostKeyDNS yes | ||
</ | </ | ||
- | so one can then conveniently do something like just: '' | + | One can then conveniently do something like just: '' |
- | The command is forced, so any command(s) specified to/via ssh are ignored. | + | In all output cases, the output is terminated by a single newline character. |
+ | ==== myconnection ==== | ||
+ | One may give a single | ||
+ | * myconnection | ||
+ | * SSH_CONNECTION | ||
+ | in which case the output | ||
+ | the full content of SSH_CONNECTION from the environment, | ||
+ | is described on [[https:// | ||
+ | < | ||
+ | SSH_CONNECTION | ||
+ | nection. | ||
+ | rated values: client IP address, client port num- | ||
+ | ber, server IP address, and server port number. | ||
+ | </file> | ||
+ | E.g.: | ||
+ | < | ||
+ | $ ssh -T -o VerifyHostKeyDNS=yes myip@balug.org myconnection | ||
+ | 96.86.170.226 53136 96.86.170.229 22 | ||
+ | $ ssh -T -o VerifyHostKeyDNS=yes myip@ipv6.balug.org SSH_CONNECTION | ||
+ | 2001: | ||
+ | $ | ||
+ | </ | ||
+ | ---- | ||
+ | ---- | ||
+ | ---- | ||
+ | ---- | ||
+ | ---- | ||
+ | |||
+ | ====== concept/ | ||
- | ====== concept/design/alpha/beta - not yet implemented in production ====== | + | Various URL query parameters that may be accepted.\\ |
+ | For [[# | ||
+ | with http or https, and one of those noted domains, and with path portion of /myip\\ | ||
+ | that path portion can be followed by query parameters.\\ | ||
+ | those start with an initial ? and then each subsequent parameter is separated from other by &\\ | ||
+ | E.g. one could use:\\ | ||
+ | / | ||
+ | to get a list, or\\ | ||
+ | / | ||
+ | to get help, or\\ | ||
+ | / | ||
+ | to submit an entry, etc. | ||
===== list ===== | ===== list ===== | ||
- | list is exclusive and takes no value(s) | + | ... |
===== help ===== | ===== help ===== | ||
Line 48: | Line 89: | ||
help is exclusive and takes no value(s) | help is exclusive and takes no value(s) | ||
+ | ===== submit ===== | ||
+ | Lots of documentation still to be done here:\\ | ||
+ | submit URL, domain, or IP address\\ | ||
+ | notes\\ | ||
+ | protocol https http dns ssh telnet\\ | ||
+ | httpsport 443, httpport 80, dnsport 53, sshport 22, telnetport 23\\ | ||
+ | class IN, type TXT\\ | ||
+ | user |
system/myip_help.1726825252.txt.bz2 · Last modified: 2024-09-20T09:40:52+0000 by michael_paoli_admin