lovetox, the idea is that you can have multiple identities that assign <stanza-id/>s. like e-mail messages get assigned an ID by every mail server hop
flow
so if you have a 1:1 message from foo@source.org to bar@target.org, the message could have <stanza-id by='foo@source.org' id='an-id'> and <stanza-id by='bar@target.org' id='another-id'>
flow
lovetox, note that I don't believe that there is anything in the spec that limits what can be an id-assigning entity. But I see how the current wording might be confusing
antranigvhas left
spectrumhas joined
atomicwatchhas left
jgarthas left
msavoritiashas joined
atomicwatchhas joined
rom1dephas joined
marchas joined
Alexhas joined
atomicwatchhas left
antranigvhas joined
thomaslewishas joined
atomicwatchhas joined
thomaslewishas left
flow
Martin, padding length is always a tradeoff between maximum original-length disguise and traffic reduction
Link Mauve
Martin, an Ethernet frame is about 1500 bytes, so it makes sense to optimise to stay under this limit (taking into account the Ethernet and IP and TCP headers) but not much further.
Link Mauve
200 bytes might make you cross this border, but you already have to have a hefty stanza.
Link Mauve
I don’t know about wifi or LTE though.
Link Mauve
These might have smaller frame sizes.
Millesimushas left
flow
I sure can't hurt to keep the MTU in mind, but I wonder how relevant it is for a stream-based XMPP connection. Ideally multiple XML elements share the same layer 2 packet
marc0shas left
marc0shas joined
Millesimushas joined
marchas left
EuAndrehhas left
marchas joined
amee2khas left
marc0shas left
marc0shas joined
marchas left
Ge0rG
Link Mauve: LTE and WiFi all have the same MTU, which goes back to the horse asses of the Roman Empire.
Link Mauve
:D
Ge0rG
the only notable exception is PPPoE as implemented by many DSL providers, which takes away 28 bytes and makes networks cursed that filter ICMP
lovetoxhas left
marchas joined
flow
clamp-mss-to-mtu or something
Maranda
And every kind of tunnel reduces MTU also
Millesimushas left
Ge0rG
Maranda: there are also tunnels that will just fragment the hell out of your packets
pasdesushihas left
Maranda
🤩
amee2khas joined
lovetoxhas joined
nephelehas joined
jonas’
openvpn?
marchas left
Millesimushas joined
Ge0rG
jonas’: how do you know? ;)
jonas’
pain and sorrow and why the fuck don't they just inject ICMP fragmentation needed like a sane person?
pasdesushihas joined
marc0shas left
marc0shas joined
nephelehas left
spectrumhas left
antranigvhas left
antranigvhas joined
spectrumhas joined
lovetoxhas left
nephelehas joined
marchas joined
nephelehas left
nephelehas joined
lovetoxhas joined
nephelehas left
nephelehas joined
nephelehas left
nephelehas joined
debaclehas joined
marmistrzhas left
lovetoxhas left
spectrumhas left
spectrumhas joined
lovetoxhas joined
pulkomandyhas left
spectrumhas left
antranigvhas left
antranigvhas joined
spectrumhas joined
antranigvhas left
spectrumhas left
antranigvhas joined
spectrumhas joined
adxhas joined
edhelashas left
edhelashas joined
Martinhas left
Martinhas joined
antranigvhas left
antranigvhas joined
antranigvhas left
spectrumhas left
antranigvhas joined
spectrumhas joined
lovetoxhas left
debaclehas left
debaclehas joined
pulkomandyhas joined
atomicwatchhas left
atomicwatchhas joined
debaclehas left
debaclehas joined
amee2khas left
marchas left
marchas joined
pulkomandy
vlan also uses up some MTU. And satellite internet uses a lot of VLAN internally, in addition to using IP-over-MPEG which probably results in strange MTU things
amee2khas joined
qwestionhas joined
xnamedhas joined
lovetoxhas joined
debaclehas left
Dele Olajidehas joined
larmahas joined
antranigvhas left
antranigvhas joined
debaclehas joined
antranigvhas left
antranigvhas joined
Laurahas left
atomicwatchhas left
antranigvhas left
Laurahas joined
larmahas left
larmahas joined
atomicwatchhas joined
Kevhas joined
Matrix Traveler (bot)has left
homebeachhas left
homebeachhas joined
Matrix Traveler (bot)has joined
amee2khas left
Kevhas left
Ge0rG
pulkomandy: in most deployments, VLANs grow on the outside and not on the inside of the Ethernet frame
Wojtekhas joined
Kevhas joined
Kevhas left
antranigvhas joined
larmahas left
amee2khas joined
rom1dephas left
rom1dephas joined
TheCoffeMakerhas left
xeckshas left
xeckshas joined
pulkomandy
The vlan tag is added between the src/dest addresses and the remaining part of the frame. So it's not really on the outside either.
And also, we actually used vxlan, which is basically ethernet-over-udp, to do things in the worst possible way
Ge0rG
yay for worst possible ways!
larmahas joined
lovetoxhas left
jonas’
well, vxlan is not the /worst/ possible way
jonas’
given that VLAN is restricted to 4094 networks, which is easily not enough in some settings.
Zashhas left
Zashhas joined
Ge0rG
what's with the other two?
TheCoffeMakerhas joined
qwestionhas left
qwestionhas joined
qwestionhas left
qwestionhas joined
qwestionhas left
thomaslewishas joined
pulkomandy
Before using vxlan, we had 3 nested levels of vlans to overcome the 4094 networks limitation
qwestionhas joined
jonas’
Ge0rG, I think 0 and 4096 are reserved.
lovetoxhas joined
adxhas left
adxhas joined
marc0shas left
marc0shas joined
mhhas left
mhhas joined
Ge0rG
oh, and default vlan == 1 and not 0
Ge0rG
> The reserved value 0x000 indicates that the frame does not carry a VLAN ID; in this case, the 802.1Q tag specifies only a priority (in PCP and DEI fields) and is referred to as a priority tag. On bridges, VID 0x001 (the default VLAN ID) is often reserved for a network management VLAN; this is vendor-specific. The VID value 0xFFF is reserved for implementation use; it must not be configured or transmitted. 0xFFF can be used to indicate a wildcard match in management operations or filtering database entries.
Ge0rG
TIL
Ge0rG
Now we need a VLAN XEP to make this on-topic
lovetoxhas left
qwestionhas left
lovetoxhas joined
antranigvhas left
qwestionhas joined
antranigvhas joined
antranigvhas left
pasdesushihas left
antranigvhas joined
adxhas left
jubalhhas joined
Matrix Traveler (bot)has left
homebeachhas left
homebeachhas joined
Matrix Traveler (bot)has joined
adxhas joined
qwestionhas left
Dele Olajidehas left
antranigvhas left
antranigvhas joined
atomicwatchhas left
antranigvhas left
pasdesushihas joined
nephelehas left
antranigvhas joined
atomicwatchhas joined
antranigvhas left
lovetoxhas left
antranigvhas joined
dezanthas joined
marc0shas left
marc0shas joined
jubalhhas left
amee2khas left
Dele Olajidehas joined
antranigvhas left
antranigvhas joined
amee2khas joined
Beherithas joined
Beherithas left
alhas joined
antranigvhas left
amee2khas left
atomicwatchhas left
lovetoxhas joined
marmistrzhas joined
amee2khas joined
atomicwatchhas joined
nephelehas joined
antranigvhas joined
nephelehas left
nephelehas joined
nephelehas left
nephelehas joined
Laurahas left
Alastair Hoggehas left
Alastair Hoggehas joined
nephelehas left
Laurahas joined
nephelehas joined
nephelehas left
Laurahas left
Alastair Hoggehas left
nephelehas joined
Laurahas joined
Alastair Hoggehas joined
nephelehas left
antranigvhas left
Laurahas left
Alastair Hoggehas left
nephelehas joined
Laurahas joined
xeckshas left
xeckshas joined
Alastair Hoggehas joined
xnamedhas left
xnamedhas joined
nephelehas left
nephelehas joined
nephelehas left
jeronathhas joined
nephelehas joined
nephelehas left
nephelehas joined
nephelehas left
thomaslewishas left
nephelehas joined
Matrix Traveler (bot)has left
homebeachhas left
homebeachhas joined
Matrix Traveler (bot)has joined
nephelehas left
Martin
Link Mauve:
> 200 bytes might make you cross this border, but you already have to have a hefty stanza.
I just wondered why 200 bytes and not 100.