You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also found that label compression code compares only full labels, not parts of it. For example the second domain name in response with a single answer:
a._tcp.local PTR b._tcp.local
can be compressed like this:
0000000: 01 62 c0 0e
It won't even handle this case:
a.b._tcp.local PTR b._tcp.local
I've seen several mdns implementations and I wonder: why doesn't anybody use dn_expand() and dn_comp()? Is there something wrong with them? I think, they should be available on OpenBSD...
The text was updated successfully, but these errors were encountered:
Indeed, compression was written poorly, it has been a long time, but I'm almost sure there was an issue with dn_expand/dn_comp, but can't be sure, we should fix it anyhow.
Hi!
I also found that label compression code compares only full labels, not parts of it. For example the second domain name in response with a single answer:
a._tcp.local PTR b._tcp.local
can be compressed like this:
0000000: 01 62 c0 0e
It won't even handle this case:
a.b._tcp.local PTR b._tcp.local
I've seen several mdns implementations and I wonder: why doesn't anybody use dn_expand() and dn_comp()? Is there something wrong with them? I think, they should be available on OpenBSD...
The text was updated successfully, but these errors were encountered: