55 lines
3.3 KiB
Text
55 lines
3.3 KiB
Text
# 61 Headscale: Peer entziehen, Zeit bis der Tunnel tot ist (UTC)
|
|
# A (100.64.0.2) pingt B alle 0,2 s (ping -D -O); Policy vorher wieder auf Voreinstellung (allow all)
|
|
# Headscale hat keine Weboberfläche: Entziehen per CLI auf dem Kontrollserver
|
|
|
|
headscale nodes delete -i 2 (peer-a) 11:37:32.112
|
|
Node deleted
|
|
fertig 11:37:32.651
|
|
|
|
## Ergebnis aus dem Ping-Protokoll
|
|
letzte Antwort 11:37:32.764, ab 11:37:33.141 keine Antwort mehr
|
|
=> Befehl abgesetzt 11:37:32.112, Tunnel tot spätestens 11:37:33.141: 1,03 s
|
|
|
|
## Client-Log auf A (containerboot/tailscaled)
|
|
2026-10-24T11:37:33.214Z boot: tailscaled left running state (now in state "NeedsLogin"), exiting
|
|
|
|
## Rohprotokoll (Ausschnitt um den Löschzeitpunkt, Epoch-Zeitstempel)
|
|
[1792841848.948346] 64 bytes from 100.64.0.1: icmp_seq=39 ttl=64 time=25.3 ms
|
|
[1792841849.149336] 64 bytes from 100.64.0.1: icmp_seq=40 ttl=64 time=25.7 ms
|
|
[1792841849.350428] 64 bytes from 100.64.0.1: icmp_seq=41 ttl=64 time=25.8 ms
|
|
[1792841849.550952] 64 bytes from 100.64.0.1: icmp_seq=42 ttl=64 time=25.3 ms
|
|
[1792841849.751073] 64 bytes from 100.64.0.1: icmp_seq=43 ttl=64 time=24.9 ms
|
|
[1792841849.953259] 64 bytes from 100.64.0.1: icmp_seq=44 ttl=64 time=25.9 ms
|
|
[1792841850.153798] 64 bytes from 100.64.0.1: icmp_seq=45 ttl=64 time=25.3 ms
|
|
[1792841850.354819] 64 bytes from 100.64.0.1: icmp_seq=46 ttl=64 time=25.7 ms
|
|
[1792841850.555605] 64 bytes from 100.64.0.1: icmp_seq=47 ttl=64 time=25.5 ms
|
|
[1792841850.756930] 64 bytes from 100.64.0.1: icmp_seq=48 ttl=64 time=26.1 ms
|
|
[1792841850.957042] 64 bytes from 100.64.0.1: icmp_seq=49 ttl=64 time=25.9 ms
|
|
[1792841851.158632] 64 bytes from 100.64.0.1: icmp_seq=50 ttl=64 time=26.2 ms
|
|
[1792841851.358560] 64 bytes from 100.64.0.1: icmp_seq=51 ttl=64 time=25.6 ms
|
|
[1792841851.559641] 64 bytes from 100.64.0.1: icmp_seq=52 ttl=64 time=25.8 ms
|
|
[1792841851.760048] 64 bytes from 100.64.0.1: icmp_seq=53 ttl=64 time=25.1 ms
|
|
[1792841851.960971] 64 bytes from 100.64.0.1: icmp_seq=54 ttl=64 time=25.4 ms
|
|
[1792841852.162043] 64 bytes from 100.64.0.1: icmp_seq=55 ttl=64 time=25.7 ms
|
|
[1792841852.362911] 64 bytes from 100.64.0.1: icmp_seq=56 ttl=64 time=25.5 ms
|
|
[1792841852.563924] 64 bytes from 100.64.0.1: icmp_seq=57 ttl=64 time=25.7 ms
|
|
[1792841852.764596] 64 bytes from 100.64.0.1: icmp_seq=58 ttl=64 time=25.4 ms
|
|
[1792841853.141905] no answer yet for icmp_seq=59
|
|
[1792841853.345899] no answer yet for icmp_seq=60
|
|
[1792841853.549903] no answer yet for icmp_seq=61
|
|
[1792841853.753942] no answer yet for icmp_seq=62
|
|
[1792841853.957909] no answer yet for icmp_seq=63
|
|
[1792841854.161897] no answer yet for icmp_seq=64
|
|
[1792841854.365954] no answer yet for icmp_seq=65
|
|
[1792841854.569903] no answer yet for icmp_seq=66
|
|
[1792841854.773902] no answer yet for icmp_seq=67
|
|
[1792841854.977910] no answer yet for icmp_seq=68
|
|
[1792841855.181951] no answer yet for icmp_seq=69
|
|
|
|
## Endstand Headscale vor dem Löschen des Servers (12:18 UTC)
|
|
$ headscale nodes list
|
|
ID | Hostname | Name | MachineKey | NodeKey | User | Tags | IP addresses | Ephemeral | Last seen | Expiration | Connected | Expired
|
|
1 | peer-b | peer-b | [PKqeZ] | [x5lnF] | lab | | 100.64.0.1 | false | 2026-10-24 11:39:27 | N/A | offline | no
|
|
| | | | | | | fd7a:115c:a1e0::1 | | | | |
|
|
|
|
active
|