-
Notifications
You must be signed in to change notification settings - Fork 40
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
Using host-endian in mode instead of network byte order #8
Comments
Hi @netrounds-alapaa . Can you provide the code you used to correct this? I am trying to run this in my network and router keeps rejecting the sessions because of the byte ordering. Thanks! |
Hi @zoidberg55 try something like this:
|
This is still a thing. Any TWAMP client using this reflector should always close the connection according to the RFC. The mode field in the greeting is currently From the RFC (https://tools.ietf.org/html/rfc4656#section-3.1):
and
|
Hi all,
I have the code with correction. But forgot to send you all.
I missed the thread.
Please check the attached client code which is useful for you all.
Just compile and check.
I added support for “Timeout” under “Request-TW-Session” as well.
Regards,
Venkata Krishna
From: zoidberg55 <[email protected]>
Reply-To: emirica/twamp-protocol <[email protected]>
Date: Wednesday, 23 November 2016 at 11:33
To: emirica/twamp-protocol <[email protected]>
Cc: Koka Krishna <[email protected]>, Manual <[email protected]>
Subject: Re: [emirica/twamp-protocol] Using host-endian in mode instead of network byte order (#8)
Hi @netrounds-alapaa<https://github.com/netrounds-alapaa> . Can you provide the code you used to correct this? I am trying to run this in my network and router keeps rejecting the sessions because of the byte ordering. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#8 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AToCdkaGd3jW6TnT6jEIXhVKxnMqNjEPks5rBBZggaJpZM4HmSix>.
|
Row 217 of client.c, the mode needs to be converted to network byte order before sending SetUpResponse to reflector. Verified by testing against Cisco TWAMP, a Cisco 890 router.
The text was updated successfully, but these errors were encountered: