Skip to content
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

Enabling 0-RTT feature #9

Open
rezapoorzare opened this issue Mar 29, 2020 · 9 comments
Open

Enabling 0-RTT feature #9

rezapoorzare opened this issue Mar 29, 2020 · 9 comments

Comments

@rezapoorzare
Copy link

Hi there,

I am trying to enable 0-RTT feature of QUIC and I am using this command:

Config::SetDefault ("ns3::QuicL4Protocol::0RTT-Handshake", BooleanValue (true));
However, I get this error:
aborted. cond="!IsVersionSupported (m_vers)", msg="0RTT Handshake requested with wrong Initial Version", file=../src/quic/model/quic-socket-base.cc, line=2530
terminate called without an active exception

Could anyone please help me to solve this problem?

Thanks

@mychele
Copy link
Member

mychele commented Mar 30, 2020

Which QUIC version are you setting? Take a look at the IsVersionSupported, there is a list of the supported versions for 0RTT (to be used as attribute "InitialVersion" of QuicSocketBase).

@rezapoorzare
Copy link
Author

Dear mychele,

Thanks a million for your response. I think it is version 10.

if (version == QUIC_VERSION || version == QUIC_VERSION_DRAFT_10
|| version == QUIC_VERSION_NS3_IMPL)
{
return true;

@mychele
Copy link
Member

mychele commented Mar 31, 2020

Do you mean that you set the attribute "InitialVersion" of QuicSocketBase to QUIC_VERSION_DRAFT_10?
FYI, that is not the default value.

@rezapoorzare
Copy link
Author

No I did not change the version.
I am using the default one.

@rezapoorzare
Copy link
Author

Do I need to change InitialVersion in quic-socket-base?

@mychele
Copy link
Member

mychele commented Mar 31, 2020 via email

@rezapoorzare
Copy link
Author

As it was in the paper "A QUIC Implementation for ns-3":
"in this paper we present a native implementation of QUIC for ns-3, which is compliant with version 13 of the IETF QUIC draft"
I have changed it to 13 but it is not working again. I think my initial version is wrong, isn't it? 13 is not the correct one?

@mychele
Copy link
Member

mychele commented Mar 31, 2020 via email

@rezapoorzare
Copy link
Author

You mean 0xf1f1f1f1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants