-
Notifications
You must be signed in to change notification settings - Fork 131
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
Testing masque server proxy and client #4
Comments
Hi Raj, yes currently the masque_client only speaks QUIC over MASQUE. |
Hi @DavidSchinazi, Thanks for the quick response. I tried this but it didn't work.
I am supplying the masque_server (proxy's) ip:port, i assume that's correct? i was planning to use the toy server in quiche. Would i have to configure the masque_server proxy? Thanks again! |
That should work. What exactly are you trying to do? |
Aim is to see MASQUE in action and also capture and look at the pcaps. To do that, wanted to use quiche's quic-server<->masque-server<->masque-client
But i get this error from the
|
As discussed in #4 (comment), you can't use |
Sorry about not stating all the steps, I will state them below:
and host it with the quic server below. I tried this (quiche's quic toy server<->client):
And that works. (file is transferred to the client)
c. start the masque client
the masque client is connected to the masque server (proxy) But get this error:
Do i have to configure the masque_server proxy? |
Oh I see.
so in your example I think you'll want:
|
Thanks @DavidSchinazi for the clarification and the solutions, that worked! The difference between legacy and open is:
and quiche/quic/masque/masque_epoll_client.cc Line 89 in 2682b51
|
Note that you need to specify the same |
I used the same I have been using this platform (it has minimal modules) to build quiche,
which files would i have to build along with the client and server to have the ORdo you have instructions about how to build it with chromium or other suggestions? |
I've never used that platform so I don't know if it works. I'd suggest building from Chromium source:
|
Hi David, It works (quic-server<->masque-server<->masque-client) fine with Chromium. Thanks, |
I'm happy to hear that! The modes are discussed here. |
*** Reason for rollback *** This causes test failures in Chromium. I would normally fix it, but currently QUICHE roll to Chromium is blocked on another CL and there are two other CLs that are complicated to roll. Please allow me to roll this one back for now, I'll be happy to help with debugging after I am able to roll the latest QUICHE into Chromium. Error is: [ RUN ] HeaderValidatorTest.NameHasInvalidChar ../../buildtools/third_party/libc++/trunk/include/array:205: _LIBCPP_ASSERT '__n < _Size' failed. out-of-bounds access in std::array<T, N> Received signal 6 #0 0x7fe693f3799f base::debug::CollectStackTrace() #1 0x7fe693c8fd3a base::debug::StackTrace::StackTrace() #2 0x7fe693c8fcf5 base::debug::StackTrace::StackTrace() #3 0x7fe693f3746c base::debug::(anonymous namespace)::StackDumpSignalHandler() #4 0x7fe6911f1200 (/lib/x86_64-linux-gnu/libpthread-2.33.so+0x131ff) #5 0x7fe690db3891 gsignal #6 0x7fe690d9d536 abort #7 0x7fe6912c941c std::__Cr::__libcpp_abort_debug_function() #8 0x7fe6953c9996 std::__Cr::array<>::operator[]() #9 0x7fe6953c95c9 http2::adapter::(anonymous namespace)::AllCharsInMap() #10 0x7fe6953c87ec http2::adapter::(anonymous namespace)::IsValidHeaderName() #11 0x7fe6953c7e15 http2::adapter::HeaderValidator::ValidateSingleHeader() #12 0x56309a95f81d http2::adapter::test::HeaderValidatorTest_NameHasInvalidChar_Test::TestBody() #13 0x56309bf0b83b testing::internal::HandleSehExceptionsInMethodIfSupported<>() #14 0x56309befc767 testing::internal::HandleExceptionsInMethodIfSupported<>() #15 0x56309beeaac1 testing::Test::Run() #16 0x56309beeb1d7 testing::TestInfo::Run() #17 0x56309beeb83d testing::TestSuite::Run() #18 0x56309bef5e7a testing::internal::UnitTestImpl::RunAllTests() #19 0x56309bf0fa3b testing::internal::HandleSehExceptionsInMethodIfSupported<>() #20 0x56309befe337 testing::internal::HandleExceptionsInMethodIfSupported<>() #21 0x56309bef5a11 testing::UnitTest::Run() #22 0x56309c167aa1 RUN_ALL_TESTS() *** Original change description *** Use static char maps in HeaderValidator::ValidateSingleHeader(). When validating header names/values against allowed characters, switching to static char maps may help with performance. This CL is otherwise not a functional change. *** PiperOrigin-RevId: 425943183
Hi @DavidSchinazi
Do you have instructions to test the masque server proxy and client?
I tried the below:
Before i did tested the masque client/server, i tested the simple_client(toy) and simple_server(toy)
and was able to connect and transfer data file.
Then i tested with masque
started the client
but the data file wasn't sent over from the masque server to the client and i saw dns requests to try to resolve the url.
Do i have to configure the masque server proxy to a quic server? How do i do that (don't see options/examples)?
Should the topology look like below? And how do i configure the proxy?
Thanks,
Raj
The text was updated successfully, but these errors were encountered: