-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLMNR has issues in dev/IPv6_integration #842
Comments
About The endpoint parameter tells you what type of name is looked for:
My application hook
You are right that this method does not allow to reply multiple addresses. Often we, developers, are looking for a balance between a luxurious user interface that can do everything, and an implementation that is simple and has a small memory footprint. When designing Isn't it possible that you give different names to different endpoints? "mydevice.1" up to "mydevice.4"? Or can you give rotating answers on repeated LLMNR/mDNS requests?
It can be replaced with |
Thanks for the elaborate answer @htibosch Device-A: Device-B: Device-A wants to talk to Device-B and sends an LLMNR "A" query for "Device-B"
To summarize all the above, I believe the application hook should NOT be responsible for the IP in the answer, it should only provide a true/false result based on the hostname being queried and maybe the interface. As a side effect, the I'm painfully aware of the compromises that developers have to make all the time. I respect your decision greatly @htibosch , but I just don't agree with it in this instance. I believe it is of great importance that the stack include all of it's IPs ( per version ) in the response because this is the only true correct thing to do. I also believe the stack shouldn't tempt the application designed to overly complicate things and "claim" different hostnames per IP type and end-point. p.s. I am super excited about dev/IPv6_integration. Thanks for all the great work that everyone has put in. The above is my effort to improve the stack, not to criticize it. p.p.s Yes, I understand that assigning an end-point to an incoming frame is the responsibility of whoever is writing the network driver and they are not required to use the combination of FreeRTOS_MatchingEndpoint() and consequently pxEasyFit(). Those two functions however are only used by the network driver, so I think they were meant as a "primer" on how an end-point should be matched to an incoming frame. I understand that I have the freedom to define my own "better" ;-) version of those functions. |
I may be able to help with that someday once I'm done with the multicast PR. |
Description
LLMNR_SingleAnswer.zip
The text was updated successfully, but these errors were encountered: