-
Notifications
You must be signed in to change notification settings - Fork 252
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
Splitting with a long URL and a pipe #377
Comments
Thanks for the report! You should be able to work around this issue by using
This name is too long for DNS anyway. I am not convinced that That |
It has nothing to do with this bug, but I'd like to know about messages other than I counted 4 of them:
Can you tell me if there are others and what the difference is between these different states? |
I am working on a fix for the line-splitting bug and made some progress, but I am not yet sure it works as intended. At least I need more time for testing. @Bundy01, regarding your question: Items 1, 2, and 3 on your list are returned by Line 2686 in cb83286
Item 4 on your list means that the target name could be resolved to at least one IP address, at least one ICMP request was sent to to that IP address, but |
@auerswal: thanks 👍 |
This addresses GitHub isse schweikert#377. Before, input lines longer than the static buffer used to read data would be handled as if each buffer part were one line. This could result in splitting input target names into multiple different target names. Since the static buffer was significantly smaller then the maximum length of DNS names (just short of 255 one octet characters), valid long DNS names could not be read as targets via file. This commit fixes the splitting of long lines, and also increases the maximum length of target names to 255 one octet characters. The additional line parsing code is kept similar to the existing code and attempts to keep all intended and/or useful features to minimize the risk of regressions.
Hi,
I've seen this problem with long addresses.
With a pipe
Without a pipe, it's OK
I modified the valid URL by adding random letters at the beginning to display the message
Name or service not known
because I'm using it in a script.Because of this bug I can't test all the addresses I want (I limit to 132 max characters).
Regards.
The text was updated successfully, but these errors were encountered: