jb55 on Nostr: The connection is the holepunch. The phone opens and maintains a socket connection to ...
The connection is the holepunch. The phone opens and maintains a socket connection to apns. The socket just needs to do occasional pings to keep the connection alive across firewalls. This is just conntrack ESTABLISHED logic on ip tables.
This is the same how any connection works, including websockets.
Published at
2025-04-14 20:41:33Event JSON
{
"id": "e6075c5a4fc70655d03e6986c5931fb10754eb4e4f3cc8d2cefcca780849f6f5",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1744663293,
"kind": 1,
"tags": [
[
"e",
"fbb45bdcd77d31eee54e441acc9451586c75a462be466652300a8ed0a68c343a",
"wss://ditto.pub/relay",
"root"
],
[
"e",
"1e63111027fa22cfbd13fe4ad8bcd2c42be0b65ed4cabb12ba7e11a92b051058",
"",
"reply"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "The connection is the holepunch. The phone opens and maintains a socket connection to apns. The socket just needs to do occasional pings to keep the connection alive across firewalls. This is just conntrack ESTABLISHED logic on ip tables.\n\nThis is the same how any connection works, including websockets.",
"sig": "5aba9f4ccef48fbb19af8f95948374fae1e9b132a47debc4672478306c9617a4a8c7c7d936d58ff7ab16791e5bcbe26f197a6f6c4a7056268a62e123c84cf003"
}