GeezerVison is showing github.com — Add thriftmux (finagle) openssl trace bpf test and get it passing by using a locally built netty, netty-tcnative and finagle by ddelnano · Pull Request #463 · pixie-io/pixie
Conversation
ddelnano
commented
Jun 17, 2022
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
This PR is a proof of concept for the remaining functionality needed to support netty TLS tracing (#407). Since netty and netty-tcnative have been released with the functionality (netty/netty#12438 and netty-tcnative#731), I wanted to verify that using finagle with these new versions results in a passing thriftmux mtls test.
Since finagle is not using the latest netty yet, I decided to verify this by building an example twitter service with the updated netty libraries and current finagle and copied all the necessary jars to the src/stirling/source_connectors/socket_tracer/testing/containers/thriftmux/libs directory. This is slightly hacky but validates that once finagle upgrades its dependencies we will have fully working mux mtls tracing 🎉
Testing
- New test verifies that TLS tracing is successful (output below)
vagrant@vagrant:/vagrant$ ./scripts/sudo_bazel_run.sh -c dbg src/stirling/source_connectors/socket_tracer:thriftmux_openssl_trace_bpf_test
Bazel options: -c dbg
Bazel target: src/stirling/source_connectors/socket_tracer:thriftmux_openssl_trace_bpf_test
Run args:
Pass through env. vars:
WARNING: option '--remote_download_outputs' was expanded to from both option '--remote_download_minimal' (source /vagrant/.bazelrc) and option '--remote_download_toplevel' (source command line options)
INFO: Build options --action_env, --compilation_mode, --host_action_env, and 2 more have changed, discarding analysis cache.
INFO: Analyzed target //src/stirling/source_connectors/socket_tracer:thriftmux_openssl_trace_bpf_test (547 packages loaded, 54312 targets configured).
INFO: Found 1 target...
Target //src/stirling/source_connectors/socket_tracer:thriftmux_openssl_trace_bpf_test up-to-date:
bazel-bin/src/stirling/source_connectors/socket_tracer/thriftmux_openssl_trace_bpf_test
INFO: Elapsed time: 32.782s, Critical Path: 10.79s
INFO: 3 processes: 1 internal, 2 linux-sandbox.
INFO: Build completed successfully, 3 total actions
sudo: bazel-out/k8-fastbuild/bin/src/stirling/source_connectors/socket_tracer/thriftmux_openssl_trace_bpf_test: command not found
vagrant@vagrant:/vagrant$ sudo -E bazel-bin/src/stirling/source_connectors/socket_tracer/thriftmux_openssl_trace_bpf_test
I20220617 06:01:26.235352 257027 env.cc:47] Started: bazel-bin/src/stirling/source_connectors/socket_tracer/thriftmux_openssl_trace_bpf_test
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from OpenSSLTraceRawFptrsTest/0, where TypeParam = px::stirling::ThriftMuxServerContainerWrapper
[ RUN ] OpenSSLTraceRawFptrsTest/0.mtls_thriftmux_client
I20220617 06:01:27.769742 257027 container_runner.cc:43] Loaded image: bazel/src/stirling/source_connectors/socket_tracer/testing/containers/thriftmux:server_image
I20220617 06:01:27.769810 257027 container_runner.cc:121] docker run --rm --pid=host --name=thriftmux_server_81183764575614 bazel/src/stirling/source_connectors/socket_tracer/testing/containers/thriftmux:server_image --use-tls true
I20220617 06:01:28.086665 257027 container_runner.cc:160] Container thriftmux_server_81183764575614 status: running
I20220617 06:01:28.122049 257027 container_runner.cc:191] Container thriftmux_server_81183764575614 process PID: 257101
I20220617 06:01:28.122181 257027 container_runner.cc:193] Container thriftmux_server_81183764575614 waiting for log message: Finagle version
I20220617 06:01:28.163548 257027 container_runner.cc:205] Container thriftmux_server_81183764575614 status: running
I20220617 06:01:28.163583 257027 container_runner.cc:218] Container thriftmux_server_81183764575614 not in ready state, will try again (60 attempts remaining).
I20220617 06:01:29.224248 257027 container_runner.cc:205] Container thriftmux_server_81183764575614 status: running
I20220617 06:01:29.224375 257027 container_runner.cc:218] Container thriftmux_server_81183764575614 not in ready state, will try again (59 attempts remaining).
I20220617 06:01:30.260349 257027 container_runner.cc:205] Container thriftmux_server_81183764575614 status: running
I20220617 06:01:30.260419 257027 container_runner.cc:241] Container thriftmux_server_81183764575614 is ready.
Warning: use -cacerts option to access cacerts keystore
Certificate was added to keystore
I20220617 06:01:30.932763 257027 thriftmux_openssl_trace_bpf_test.cc:105] keytool -importcert command output: ''
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.twitter.jvm.Hotspot (file:/app/px/src/stirling/source_connectors/socket_tracer/testing/containers/thriftmux/libs/util_util-jvm_src_main_scala_com_twitter_jvm_jvm.jar) to field sun.management.ManagementFactoryHelper.jvm
WARNING: Please consider reporting this to the maintainers of com.twitter.jvm.Hotspot
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Jun 17, 2022 6:01:33 AM com.twitter.finagle.Init$ $anonfun$once$1
INFO: Finagle version ? (rev=?) built at ?
Jun 17, 2022 6:01:33 AM com.twitter.finagle.FixedInetResolver$ factory$lzycompute
INFO: Successfully loaded a fixed inet resolver: com.twitter.finagle.netty4.FixedNetty4InetResolver$Factory@2e09c51
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver inetResolver$lzycompute
INFO: Using default inet resolver
Jun 17, 2022 6:01:33 AM com.twitter.finagle.InetResolver$ factory$lzycompute
INFO: Successfully loaded an inet resolver: com.twitter.finagle.netty4.Netty4InetResolver$Factory@326e0b8e
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[inet] = com.twitter.finagle.InetResolver(com.twitter.finagle.InetResolver@5d5b9ecb)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[fixedinet] = com.twitter.finagle.FixedInetResolver(com.twitter.finagle.FixedInetResolver@1ee27d73)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[neg] = com.twitter.finagle.NegResolver$(com.twitter.finagle.NegResolver$@5e5aafc6)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[nil] = com.twitter.finagle.NilResolver$(com.twitter.finagle.NilResolver$@542f6803)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[fail] = com.twitter.finagle.FailResolver$(com.twitter.finagle.FailResolver$@5583098b)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[local] = com.twitter.finagle.mdns.LocalResolver(com.twitter.finagle.mdns.LocalResolver@5807efad)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[mdns] = com.twitter.finagle.mdns.MDNSResolver(com.twitter.finagle.mdns.MDNSResolver@53a84ff4)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[zk] = com.twitter.finagle.zookeeper.ZkResolver(com.twitter.finagle.zookeeper.ZkResolver@7ce85af2)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[zk2] = com.twitter.finagle.serverset2.Zk2Resolver(com.twitter.finagle.serverset2.Zk2Resolver@316acbb5)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[twitter] = com.twitter.server.TwitterResolver(com.twitter.server.TwitterResolver@56f730b2)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[serverset] = com.twitter.server.ServerSetResolver(com.twitter.server.ServerSetResolver@47311277)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[flag] = com.twitter.server.FlagResolver(com.twitter.server.FlagResolver@7930ffa9)
Jun 17, 2022 6:01:33 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[configbusdns] = com.twitter.wilyns.common.ConfigBusDnsSrvResolver(com.twitter.wilyns.common.ConfigBusDnsSrvResolver@1e60b459)
Jun 17, 2022 6:01:34 AM com.twitter.finagle.tracing.DefaultTracer$ $anonfun$new$1
INFO: Tracer: com.twitter.finagle.tracing.TwitterTracer
Jun 17, 2022 6:01:34 AM com.twitter.finagle.tracing.DefaultTracer$ $anonfun$new$1
INFO: Tracer: com.twitter.server.tracer.ServiceNamingTracer
Jun 17, 2022 6:01:34 AM com.twitter.finagle.tracing.DefaultTracer$ $anonfun$new$1
INFO: Tracer: com.twitter.server.tracer.PerfTracer
I20220617 06:01:36.604614 257027 thriftmux_openssl_trace_bpf_test.cc:112] thriftmux client command output: '257223
06:01:33.020 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework
06:01:33.023 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
06:01:33.023 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.targetRecords: 4
06:01:33.037 [main] DEBUG io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false
06:01:33.037 [main] DEBUG io.netty.util.internal.PlatformDependent0 - Java version: 11
06:01:33.038 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
06:01:33.038 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
06:01:33.039 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.storeFence: available
06:01:33.039 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
06:01:33.040 [main] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: unavailable: Reflective setAccessible(true) disabled
06:01:33.040 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true
06:01:33.041 [main] DEBUG io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable: class io.netty.util.internal.PlatformDependent0$7 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @1433046b
06:01:33.042 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.<init>(long, int): unavailable
06:01:33.042 [main] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available
06:01:33.043 [main] DEBUG io.netty.util.internal.PlatformDependent - maxDirectMemory: 2084569088 bytes (maybe)
06:01:33.043 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
06:01:33.044 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
06:01:33.045 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes
06:01:33.045 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1
06:01:33.046 [main] DEBUG io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available
06:01:33.046 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
06:01:33.048 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 8
06:01:33.048 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 8
06:01:33.048 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
06:01:33.048 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 7
06:01:33.048 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 1048576
06:01:33.048 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
06:01:33.048 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
06:01:33.049 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
06:01:33.049 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
06:01:33.049 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimIntervalMillis: 0
06:01:33.049 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.useCacheForAllThreads: false
06:01:33.049 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023
06:01:33.054 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
06:01:33.054 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
06:01:33.078 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.workdir: /tmp (io.netty.tmpdir)
06:01:33.078 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.deleteLibAfterLoading: true
06:01:33.078 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.tryPatchShadedId: true
06:01:33.078 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.detectNativeLibraryDuplicates: true
06:01:33.094 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - Successfully loaded the library /tmp/libnetty_transport_native_epoll_x86_644238070809447770059.so
06:01:33.097 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false
06:01:33.097 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false
06:01:33.099 [main] DEBUG io.netty.util.NetUtilInitializations - Loopback interface: lo (lo, 127.0.0.1)
06:01:33.100 [main] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 4096
06:01:33.807 [main] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@b34832b
06:01:33.817 [main] DEBUG io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available
06:01:34.680 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 4
06:01:34.781 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.processId: 257239 (auto-detected)
06:01:34.789 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.machineId: 02:42:ac:ff:fe:11:00:02 (auto-detected)
06:01:34.836 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: pooled
06:01:34.836 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 0
06:01:34.836 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384
06:01:34.986 [finagle/netty4-1-1] DEBUG io.netty.util.internal.NativeLibraryLoader - Successfully loaded the library /tmp/libnetty_tcnative_linux_x86_6413765898396419730782.so
06:01:34.993 [finagle/netty4-1-1] DEBUG io.netty.util.internal.NativeLibraryLoader - Loaded library with name 'netty_tcnative_linux_x86_64'
06:01:34.993 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.OpenSsl - Initialize netty-tcnative using engine: 'default'
06:01:34.993 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.OpenSsl - netty-tcnative using native library: BoringSSL
06:01:35.122 [finagle/netty4-1-1] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkAccessible: true
06:01:35.122 [finagle/netty4-1-1] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkBounds: true
06:01:35.123 [finagle/netty4-1-1] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@9903d85
06:01:35.143 [finagle/netty4-1-1] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@2c16282d
06:01:35.147 [finagle/netty4-1-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacityPerThread: disabled
06:01:35.147 [finagle/netty4-1-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.ratio: disabled
06:01:35.147 [finagle/netty4-1-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.chunkSize: disabled
06:01:35.147 [finagle/netty4-1-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.blocking: disabled
06:01:35.158 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 => ECDHE-ECDSA-AES128-GCM-SHA256
06:01:35.158 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 => ECDHE-ECDSA-AES128-GCM-SHA256
06:01:35.159 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 => ECDHE-RSA-AES128-GCM-SHA256
06:01:35.159 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_AES_128_GCM_SHA256 => ECDHE-RSA-AES128-GCM-SHA256
06:01:35.159 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 => ECDHE-ECDSA-AES256-GCM-SHA384
06:01:35.159 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 => ECDHE-ECDSA-AES256-GCM-SHA384
06:01:35.159 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 => ECDHE-RSA-AES256-GCM-SHA384
06:01:35.159 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_AES_256_GCM_SHA384 => ECDHE-RSA-AES256-GCM-SHA384
06:01:35.160 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-ECDSA-CHACHA20-POLY1305
06:01:35.160 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-ECDSA-CHACHA20-POLY1305
06:01:35.160 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-RSA-CHACHA20-POLY1305
06:01:35.160 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-RSA-CHACHA20-POLY1305
06:01:35.160 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-PSK-CHACHA20-POLY1305
06:01:35.161 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-PSK-CHACHA20-POLY1305
06:01:35.161 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA => ECDHE-ECDSA-AES128-SHA
06:01:35.161 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_AES_128_CBC_SHA => ECDHE-ECDSA-AES128-SHA
06:01:35.161 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA => ECDHE-RSA-AES128-SHA
06:01:35.161 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_AES_128_CBC_SHA => ECDHE-RSA-AES128-SHA
06:01:35.161 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA => ECDHE-PSK-AES128-CBC-SHA
06:01:35.162 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_PSK_WITH_AES_128_CBC_SHA => ECDHE-PSK-AES128-CBC-SHA
06:01:35.162 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA => ECDHE-ECDSA-AES256-SHA
06:01:35.162 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_AES_256_CBC_SHA => ECDHE-ECDSA-AES256-SHA
06:01:35.162 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA => ECDHE-RSA-AES256-SHA
06:01:35.162 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_AES_256_CBC_SHA => ECDHE-RSA-AES256-SHA
06:01:35.163 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA => ECDHE-PSK-AES256-CBC-SHA
06:01:35.163 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_PSK_WITH_AES_256_CBC_SHA => ECDHE-PSK-AES256-CBC-SHA
06:01:35.163 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_AES_128_GCM_SHA256 => AES128-GCM-SHA256
06:01:35.163 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_AES_128_GCM_SHA256 => AES128-GCM-SHA256
06:01:35.163 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_AES_256_GCM_SHA384 => AES256-GCM-SHA384
06:01:35.163 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_AES_256_GCM_SHA384 => AES256-GCM-SHA384
06:01:35.163 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_AES_128_CBC_SHA => AES128-SHA
06:01:35.164 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_AES_128_CBC_SHA => AES128-SHA
06:01:35.164 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_PSK_WITH_AES_128_CBC_SHA => PSK-AES128-CBC-SHA
06:01:35.164 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_PSK_WITH_AES_128_CBC_SHA => PSK-AES128-CBC-SHA
06:01:35.164 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_AES_256_CBC_SHA => AES256-SHA
06:01:35.164 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_AES_256_CBC_SHA => AES256-SHA
06:01:35.164 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_PSK_WITH_AES_256_CBC_SHA => PSK-AES256-CBC-SHA
06:01:35.164 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_PSK_WITH_AES_256_CBC_SHA => PSK-AES256-CBC-SHA
06:01:35.164 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_3DES_EDE_CBC_SHA => DES-CBC3-SHA
06:01:35.164 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_3DES_EDE_CBC_SHA => DES-CBC3-SHA
06:01:35.165 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.OpenSsl - Supported protocols (OpenSSL): [SSLv2Hello, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3]
06:01:35.165 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.OpenSsl - Default cipher suites (OpenSSL): [TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256]
06:01:35.283 [finagle/netty4-1-1] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@7792c1dc
06:01:35.363 [finagle/netty4-1-1] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@77c158bc
06:01:36.007 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.SslHandler - [id: 0x7fde820f, L:/127.0.0.1:36806 - R:localhost/127.0.0.1:8080] HANDSHAKEN: protocol:TLSv1.3 cipher suite:TLS_AES_128_GCM_SHA256
StringString
'
I20220617 06:01:36.607581 257027 thriftmux_openssl_trace_bpf_test.cc:121] Client PID: 257223
I20220617 06:01:37.609087 257027 source_connector.cc:36] Initializing source connector: socket_trace_connector
I20220617 06:01:37.609162 257027 linux_headers.cc:209] Found Linux kernel version using .note section.
I20220617 06:01:37.609176 257027 linux_headers.cc:90] Obtained Linux version string from `uname`: 5.15.0-30-generic
I20220617 06:01:37.609185 257027 linux_headers.cc:615] Detected kernel release (uname -r): 5.15.0-30-generic
I20220617 06:01:37.609218 257027 bcc_wrapper.cc:120] Using linux headers found at /lib/modules/5.15.0-30-generic/build for BCC runtime.
prog tag mismatch e91652313e6ab948 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 2887c6ef23e553c6 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch ee2da2c350e72e9a 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch a4e7e27b97ff94b5 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch ee2da2c350e72e9a 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch a4e7e27b97ff94b5 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch cf3d1d11587abb60 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 3441acd7b1a21bec 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch c118b7b91747c558 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 3d2b8ea46c3385b6 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 4da5dbaf076df4c5 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 12852d91cbb10f65 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch ee8480525c956783 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 62d6101fb5258d1f 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 8dc25966a4821580 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 9111f910d2db6506 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 4bc57be3c99e8626 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 5d19c44243e75e39 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch f5223247cdd87783 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch b0648cdc47f4be7b 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 14c7005d68f38075 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch bebc625985750281 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 5bda89e43466f4e5 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch a9ff8648b5c97d06 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch df7b9a81b75e34d9 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch f7cf68a783364cb0 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 3e3da39bde6b67d 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 46f06d74a4d7cb2a 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch b521cb51a1f8971d 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch bb099a101fe1b28f 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 2612a1664ad7bf74 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch c1a0835c8ad42386 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 5ea984cbc76e0c12 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 7c448da0541e65ce 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 720b7acebd90e415 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch d39e07fecd0a5a32 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 81a265485761afc8 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 81a265485761afc8 1
WARNING: cannot get prog tag, ignore saving source with program tag
I20220617 06:01:46.777340 257027 socket_trace_connector.cc:386] Number of kprobes deployed = 40
I20220617 06:01:46.777384 257027 socket_trace_connector.cc:387] Probes successfully deployed.
I20220617 06:01:46.777415 257027 socket_trace_connector.cc:329] Initializing perf buffers with ncpus=2 and scaling_factor=0.9
I20220617 06:01:46.777447 257027 socket_trace_connector.cc:318] Total perf buffer usage for kData buffers across all cpus: 75497472
I20220617 06:01:46.777462 257027 socket_trace_connector.cc:318] Total perf buffer usage for kControl buffers across all cpus: 3963614
I20220617 06:01:46.777473 257027 bcc_wrapper.cc:345] Opening perf buffer: socket_data_events [requested_size=18874368 num_pages=8192 size=33554432] (per cpu)
I20220617 06:01:46.783172 257027 bcc_wrapper.cc:345] Opening perf buffer: socket_control_events [requested_size=943718 num_pages=256 size=1048576] (per cpu)
I20220617 06:01:46.783730 257027 bcc_wrapper.cc:345] Opening perf buffer: conn_stats_events [requested_size=943718 num_pages=256 size=1048576] (per cpu)
I20220617 06:01:46.784673 257027 bcc_wrapper.cc:345] Opening perf buffer: mmap_events [requested_size=94371 num_pages=32 size=131072] (per cpu)
I20220617 06:01:46.785048 257027 bcc_wrapper.cc:345] Opening perf buffer: go_grpc_events [requested_size=18874368 num_pages=8192 size=33554432] (per cpu)
I20220617 06:01:46.791344 257027 socket_trace_connector.cc:391] Number of perf buffers opened = 5
prog tag mismatch 63a2a8f2f5eb9582 1
WARNING: cannot get prog tag, ignore saving source with program tag
W20220617 06:01:46.833567 257277 uprobe_symaddrs.cc:669] Unable to find openssl symbol 'OpenSSL_version_num' using dlopen/dlsym. Attempting to find address manually for pid 257101
W20220617 06:01:46.835098 257277 uprobe_symaddrs.cc:676] Unable to find openssl symbol 'OpenSSL_version_num' with raw function pointer: Not Found : Failed to find map entry for pid: 257027 and path: /var/lib/docker/overlay2/73d6213fd5e6aceb3ddc5118b65fbf0938f985013d27267281d3398d67cf8d81/merged/tmp/libnetty_tcnative_linux_x86.so vmem start: 7f8765c00000 and segment offset: 0
prog tag mismatch 65c30a2ea61365f9 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 3048781613de46ad 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 887bce9e073038ea 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 73d5785c6881bdd2 1
WARNING: cannot get prog tag, ignore saving source with program tag
prog tag mismatch 16fce0d10c30c45a 1
WARNING: cannot get prog tag, ignore saving source with program tag
I20220617 06:01:47.614797 257277 uprobe_manager.cc:743] Number of uprobes deployed = 5
Warning: use -cacerts option to access cacerts keystore
I20220617 06:01:48.128255 257027 thriftmux_openssl_trace_bpf_test.cc:105] keytool -importcert command output: 'keytool error: java.lang.Exception: Certificate not imported, alias <mykey> already exists
'
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.twitter.jvm.Hotspot (file:/app/px/src/stirling/source_connectors/socket_tracer/testing/containers/thriftmux/libs/util_util-jvm_src_main_scala_com_twitter_jvm_jvm.jar) to field sun.management.ManagementFactoryHelper.jvm
WARNING: Please consider reporting this to the maintainers of com.twitter.jvm.Hotspot
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Jun 17, 2022 6:01:49 AM com.twitter.finagle.Init$ $anonfun$once$1
INFO: Finagle version ? (rev=?) built at ?
Jun 17, 2022 6:01:50 AM com.twitter.finagle.FixedInetResolver$ factory$lzycompute
INFO: Successfully loaded a fixed inet resolver: com.twitter.finagle.netty4.FixedNetty4InetResolver$Factory@593a6726
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver inetResolver$lzycompute
INFO: Using default inet resolver
Jun 17, 2022 6:01:50 AM com.twitter.finagle.InetResolver$ factory$lzycompute
INFO: Successfully loaded an inet resolver: com.twitter.finagle.netty4.Netty4InetResolver$Factory@5afbd567
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[inet] = com.twitter.finagle.InetResolver(com.twitter.finagle.InetResolver@17aa8a11)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[fixedinet] = com.twitter.finagle.FixedInetResolver(com.twitter.finagle.FixedInetResolver@71b639d0)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[neg] = com.twitter.finagle.NegResolver$(com.twitter.finagle.NegResolver$@18a25bbd)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[nil] = com.twitter.finagle.NilResolver$(com.twitter.finagle.NilResolver$@5d5b9ecb)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[fail] = com.twitter.finagle.FailResolver$(com.twitter.finagle.FailResolver$@1ee27d73)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[local] = com.twitter.finagle.mdns.LocalResolver(com.twitter.finagle.mdns.LocalResolver@5e5aafc6)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[mdns] = com.twitter.finagle.mdns.MDNSResolver(com.twitter.finagle.mdns.MDNSResolver@542f6803)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[zk] = com.twitter.finagle.zookeeper.ZkResolver(com.twitter.finagle.zookeeper.ZkResolver@5583098b)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[zk2] = com.twitter.finagle.serverset2.Zk2Resolver(com.twitter.finagle.serverset2.Zk2Resolver@5807efad)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[twitter] = com.twitter.server.TwitterResolver(com.twitter.server.TwitterResolver@53a84ff4)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[serverset] = com.twitter.server.ServerSetResolver(com.twitter.server.ServerSetResolver@7ce85af2)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[flag] = com.twitter.server.FlagResolver(com.twitter.server.FlagResolver@316acbb5)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.BaseResolver $anonfun$resolvers$3
INFO: Resolver[configbusdns] = com.twitter.wilyns.common.ConfigBusDnsSrvResolver(com.twitter.wilyns.common.ConfigBusDnsSrvResolver@56f730b2)
Jun 17, 2022 6:01:50 AM com.twitter.finagle.tracing.DefaultTracer$ $anonfun$new$1
INFO: Tracer: com.twitter.finagle.tracing.TwitterTracer
Jun 17, 2022 6:01:50 AM com.twitter.finagle.tracing.DefaultTracer$ $anonfun$new$1
INFO: Tracer: com.twitter.server.tracer.ServiceNamingTracer
Jun 17, 2022 6:01:50 AM com.twitter.finagle.tracing.DefaultTracer$ $anonfun$new$1
INFO: Tracer: com.twitter.server.tracer.PerfTracer
I20220617 06:01:51.475641 257278 conn_tracker.cc:466] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=-:-1 role=kRoleUnknown protocol=kProtocolUnknown New connection tracker
I20220617 06:01:51.475921 257278 conn_tracker.cc:476] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleUnknown protocol=kProtocolUnknown RemoteAddr updated 127.0.0.1, reason=[Inferred from conn_open.]
I20220617 06:01:51.476263 257278 conn_tracker.cc:496] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleUnknown protocol=kProtocolUnknown Role updated kRoleUnknown -> kRoleServer, reason=[Inferred from conn_open.]]
I20220617 06:01:51.476702 257278 conn_tracker.cc:110] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolUnknown conn_open: [type=kConnOpen ts=81207401091378 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] source_fn=kSyscallAccept [addr=[family=2 addr=127.0.0.1 port=51343]]]
I20220617 06:01:51.701884 257278 conn_tracker.cc:524] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Protocol changed: kProtocolUnknown->kProtocolMux, reason=[inferred from data_event]
I20220617 06:01:51.702504 257278 conn_tracker.cc:548] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux SSL state changed: false->true, reason=[inferred from data_event]
I20220617 06:01:51.702757 257278 conn_tracker.cc:153] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Data event: attr:[[ts=81207594508977 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] protocol=kProtocolMux role=kRoleServer dir=kIngress ssl=true source_fn=kSSLRead pos=220 size=19 buf_size=19]] msg_size:19 msg:[\x00\x00\x00\x0F\x7F\x00\x00\x01tinit check]
I20220617 06:01:51.703022 257278 conn_tracker.cc:153] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Data event: attr:[[ts=81207595287012 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] protocol=kProtocolMux role=kRoleServer dir=kEgress ssl=true source_fn=kSSLWrite pos=0 size=19 buf_size=19]] msg_size:19 msg:[\x00\x00\x00\x0F\x7F\x00\x00\x01tinit check]
I20220617 06:01:51.703238 257278 conn_tracker.cc:153] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Data event: attr:[[ts=81207606242826 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] protocol=kProtocolMux role=kRoleServer dir=kIngress ssl=true source_fn=kSSLRead pos=239 size=46 buf_size=46]] msg_size:46 msg:[\x00\x00\x00*D\x00\x00\x01\x00\x01\x00\x00\x00\x0Amux-framer\x00\x00\x00\x04\x7F\xFF\xFF\xFF\x00\x00\x00\x03tls\x00\x00\x00\x03off]
I20220617 06:01:51.703460 257278 conn_tracker.cc:153] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Data event: attr:[[ts=81207606631398 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] protocol=kProtocolMux role=kRoleServer dir=kEgress ssl=true source_fn=kSSLWrite pos=19 size=46 buf_size=46]] msg_size:46 msg:[\x00\x00\x00*\xBC\x00\x00\x01\x00\x01\x00\x00\x00\x0Amux-framer\x00\x00\x00\x04\x7F\xFF\xFF\xFF\x00\x00\x00\x03tls\x00\x00\x00\x03off]
I20220617 06:01:51.703668 257278 conn_tracker.cc:153] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Data event: attr:[[ts=81207668299521 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] protocol=kProtocolMux role=kRoleServer dir=kIngress ssl=true source_fn=kSSLRead pos=285 size=8 buf_size=8]] msg_size:8 msg:[\x00\x00\x00\x04A\x00\x00\x01]
I20220617 06:01:51.703876 257278 conn_tracker.cc:153] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Data event: attr:[[ts=81207668669626 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] protocol=kProtocolMux role=kRoleServer dir=kEgress ssl=true source_fn=kSSLWrite pos=65 size=8 buf_size=8]] msg_size:8 msg:[\x00\x00\x00\x04\xBF\x00\x00\x01]
I20220617 06:01:51.704073 257278 conn_tracker.cc:153] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Data event: attr:[[ts=81207673593545 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] protocol=kProtocolMux role=kRoleServer dir=kIngress ssl=true source_fn=kSSLRead pos=293 size=204 buf_size=204]] msg_size:204 msg:[\x00\x00\x00\xC8\x02\x00\x00\x02\x00\x03\x00(com.twitter.finagle.tracing.TraceContext\x00 \x1A\xFDf1.\xFE\xFC\x0A\x1A\xFDf1.\xFE\xFC\x0A\x1A\xFDf1.\xFE\xFC\x0A\x00\x00\x00\x00\x00\x00\x00\x02\x00\x1Bcom.twitter.finagle.Retries\x00\x04\x00\x00\x00\x00\x00\x1Ccom.twitter.finagle.Deadline\x00\x10\x16\xF9S\x1A\x94\xEA5\x00\x7F\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00\x00\x00\x00\x80\x01\x00\x01\x00\x00\x00\x05query\x00\x00\x00\x00\x0B\x00\x01\x00\x00\x00\x06String\x00]
I20220617 06:01:51.704331 257278 conn_tracker.cc:153] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kCollecting remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Data event: attr:[[ts=81207675198780 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] protocol=kProtocolMux role=kRoleServer dir=kEgress ssl=true source_fn=kSSLWrite pos=73 size=48 buf_size=48]] msg_size:48 msg:[\x00\x00\x00,\xFE\x00\x00\x02\x00\x00\x00\x80\x01\x00\x02\x00\x00\x00\x05query\x00\x00\x00\x00\x0B\x00\x00\x00\x00\x00\x0CStringString\x00]
I20220617 06:01:51.704960 257278 conn_tracker.h:270] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux req_frames=4 resp_frames=4
I20220617 06:01:51.705171 257278 conn_tracker.h:277] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux records=4
I20220617 06:01:51.820039 257278 conn_tracker.h:270] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux req_frames=0 resp_frames=0
I20220617 06:01:51.820343 257278 conn_tracker.h:277] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux records=0
I20220617 06:01:51.939800 257278 conn_tracker.h:270] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux req_frames=0 resp_frames=0
I20220617 06:01:51.940104 257278 conn_tracker.h:277] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux records=0
I20220617 06:01:52.054641 257278 conn_tracker.h:270] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux req_frames=0 resp_frames=0
I20220617 06:01:52.054699 257278 conn_tracker.h:277] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux records=0
I20220617 06:01:52.091889 257027 thriftmux_openssl_trace_bpf_test.cc:112] thriftmux client command output: '257328
06:01:49.573 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework
06:01:49.576 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
06:01:49.576 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.targetRecords: 4
06:01:49.592 [main] DEBUG io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false
06:01:49.593 [main] DEBUG io.netty.util.internal.PlatformDependent0 - Java version: 11
06:01:49.594 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
06:01:49.594 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
06:01:49.595 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.storeFence: available
06:01:49.595 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
06:01:49.596 [main] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: unavailable: Reflective setAccessible(true) disabled
06:01:49.596 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true
06:01:49.597 [main] DEBUG io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable: class io.netty.util.internal.PlatformDependent0$7 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @2611b9a3
06:01:49.598 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.<init>(long, int): unavailable
06:01:49.598 [main] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available
06:01:49.599 [main] DEBUG io.netty.util.internal.PlatformDependent - maxDirectMemory: 2084569088 bytes (maybe)
06:01:49.599 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
06:01:49.599 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
06:01:49.601 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes
06:01:49.601 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1
06:01:49.602 [main] DEBUG io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available
06:01:49.602 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
06:01:49.604 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 8
06:01:49.604 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 8
06:01:49.605 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
06:01:49.605 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 7
06:01:49.605 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 1048576
06:01:49.605 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
06:01:49.605 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
06:01:49.606 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
06:01:49.606 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
06:01:49.606 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimIntervalMillis: 0
06:01:49.606 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.useCacheForAllThreads: false
06:01:49.607 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023
06:01:49.611 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
06:01:49.611 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
06:01:49.630 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.workdir: /tmp (io.netty.tmpdir)
06:01:49.630 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.deleteLibAfterLoading: true
06:01:49.631 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.tryPatchShadedId: true
06:01:49.631 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.detectNativeLibraryDuplicates: true
06:01:49.643 [main] DEBUG io.netty.util.internal.NativeLibraryLoader - Successfully loaded the library /tmp/libnetty_transport_native_epoll_x86_649787055381890454168.so
06:01:49.646 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false
06:01:49.647 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false
06:01:49.648 [main] DEBUG io.netty.util.NetUtilInitializations - Loopback interface: lo (lo, 127.0.0.1)
06:01:49.649 [main] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 4096
06:01:50.322 [main] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@58437801
06:01:50.330 [main] DEBUG io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available
06:01:50.877 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 4
06:01:50.931 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.processId: 257344 (auto-detected)
06:01:50.933 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.machineId: 02:42:ac:ff:fe:11:00:02 (auto-detected)
06:01:50.956 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: pooled
06:01:50.956 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 0
06:01:50.956 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384
06:01:51.043 [finagle/netty4-1-1] DEBUG io.netty.util.internal.NativeLibraryLoader - Successfully loaded the library /tmp/libnetty_tcnative_linux_x86_6418059860008190110923.so
06:01:51.044 [finagle/netty4-1-1] DEBUG io.netty.util.internal.NativeLibraryLoader - Loaded library with name 'netty_tcnative_linux_x86_64'
06:01:51.044 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.OpenSsl - Initialize netty-tcnative using engine: 'default'
06:01:51.044 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.OpenSsl - netty-tcnative using native library: BoringSSL
06:01:51.148 [finagle/netty4-1-1] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkAccessible: true
06:01:51.148 [finagle/netty4-1-1] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkBounds: true
06:01:51.149 [finagle/netty4-1-1] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@63cb5b05
06:01:51.166 [finagle/netty4-1-1] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@514adf57
06:01:51.170 [finagle/netty4-1-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacityPerThread: disabled
06:01:51.170 [finagle/netty4-1-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.ratio: disabled
06:01:51.170 [finagle/netty4-1-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.chunkSize: disabled
06:01:51.171 [finagle/netty4-1-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.blocking: disabled
06:01:51.182 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 => ECDHE-ECDSA-AES128-GCM-SHA256
06:01:51.183 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 => ECDHE-ECDSA-AES128-GCM-SHA256
06:01:51.183 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 => ECDHE-RSA-AES128-GCM-SHA256
06:01:51.183 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_AES_128_GCM_SHA256 => ECDHE-RSA-AES128-GCM-SHA256
06:01:51.184 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 => ECDHE-ECDSA-AES256-GCM-SHA384
06:01:51.184 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 => ECDHE-ECDSA-AES256-GCM-SHA384
06:01:51.185 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 => ECDHE-RSA-AES256-GCM-SHA384
06:01:51.185 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_AES_256_GCM_SHA384 => ECDHE-RSA-AES256-GCM-SHA384
06:01:51.185 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-ECDSA-CHACHA20-POLY1305
06:01:51.185 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-ECDSA-CHACHA20-POLY1305
06:01:51.186 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-RSA-CHACHA20-POLY1305
06:01:51.186 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-RSA-CHACHA20-POLY1305
06:01:51.186 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-PSK-CHACHA20-POLY1305
06:01:51.186 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 => ECDHE-PSK-CHACHA20-POLY1305
06:01:51.187 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA => ECDHE-ECDSA-AES128-SHA
06:01:51.187 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_AES_128_CBC_SHA => ECDHE-ECDSA-AES128-SHA
06:01:51.188 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA => ECDHE-RSA-AES128-SHA
06:01:51.188 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_AES_128_CBC_SHA => ECDHE-RSA-AES128-SHA
06:01:51.188 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA => ECDHE-PSK-AES128-CBC-SHA
06:01:51.188 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_PSK_WITH_AES_128_CBC_SHA => ECDHE-PSK-AES128-CBC-SHA
06:01:51.189 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA => ECDHE-ECDSA-AES256-SHA
06:01:51.189 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_ECDSA_WITH_AES_256_CBC_SHA => ECDHE-ECDSA-AES256-SHA
06:01:51.190 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA => ECDHE-RSA-AES256-SHA
06:01:51.190 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_RSA_WITH_AES_256_CBC_SHA => ECDHE-RSA-AES256-SHA
06:01:51.190 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA => ECDHE-PSK-AES256-CBC-SHA
06:01:51.190 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_ECDHE_PSK_WITH_AES_256_CBC_SHA => ECDHE-PSK-AES256-CBC-SHA
06:01:51.191 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_AES_128_GCM_SHA256 => AES128-GCM-SHA256
06:01:51.191 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_AES_128_GCM_SHA256 => AES128-GCM-SHA256
06:01:51.191 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_AES_256_GCM_SHA384 => AES256-GCM-SHA384
06:01:51.191 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_AES_256_GCM_SHA384 => AES256-GCM-SHA384
06:01:51.192 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_AES_128_CBC_SHA => AES128-SHA
06:01:51.192 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_AES_128_CBC_SHA => AES128-SHA
06:01:51.192 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_PSK_WITH_AES_128_CBC_SHA => PSK-AES128-CBC-SHA
06:01:51.192 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_PSK_WITH_AES_128_CBC_SHA => PSK-AES128-CBC-SHA
06:01:51.193 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_AES_256_CBC_SHA => AES256-SHA
06:01:51.193 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_AES_256_CBC_SHA => AES256-SHA
06:01:51.193 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_PSK_WITH_AES_256_CBC_SHA => PSK-AES256-CBC-SHA
06:01:51.193 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_PSK_WITH_AES_256_CBC_SHA => PSK-AES256-CBC-SHA
06:01:51.194 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: TLS_RSA_WITH_3DES_EDE_CBC_SHA => DES-CBC3-SHA
06:01:51.194 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.CipherSuiteConverter - Cipher suite mapping: SSL_RSA_WITH_3DES_EDE_CBC_SHA => DES-CBC3-SHA
06:01:51.195 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.OpenSsl - Supported protocols (OpenSSL): [SSLv2Hello, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3]
06:01:51.195 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.OpenSsl - Default cipher suites (OpenSSL): [TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256]
06:01:51.313 [finagle/netty4-1-1] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@298843a9
06:01:51.383 [finagle/netty4-1-1] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@3a9d83d9
06:01:51.580 [finagle/netty4-1-1] DEBUG io.netty.handler.ssl.SslHandler - [id: 0x0a592861, L:/127.0.0.1:36808 - R:localhost/127.0.0.1:8080] HANDSHAKEN: protocol:TLSv1.3 cipher suite:TLS_AES_128_GCM_SHA256
StringString
'
I20220617 06:01:52.092134 257027 thriftmux_openssl_trace_bpf_test.cc:121] Client PID: 257328
I20220617 06:01:52.169785 257278 conn_tracker.cc:139] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux conn_close: [type=kConnClose ts=81208079159863 conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] source_fn=kSyscallClose [wr_bytes=121 rd_bytes=497]]
I20220617 06:01:52.169863 257278 conn_tracker.cc:598] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Marked for death, countdown=3
I20220617 06:01:52.169898 257278 conn_tracker.cc:198] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux ConnStats timestamp=81208079254680 wr=121 rd=497 close=2
I20220617 06:01:52.170377 257278 conn_tracker.h:270] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux req_frames=0 resp_frames=0
I20220617 06:01:52.170421 257278 conn_tracker.h:277] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux records=0
I20220617 06:01:52.170449 257278 conn_tracker.cc:796] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Death countdown=2
I20220617 06:01:52.282838 257278 conn_tracker.h:270] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux req_frames=0 resp_frames=0
I20220617 06:01:52.282907 257278 conn_tracker.h:277] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux records=0
I20220617 06:01:52.282935 257278 conn_tracker.cc:796] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Death countdown=1
I20220617 06:01:54.176921 257027 container_runner.cc:59] docker rm -f thriftmux_server_81183764575614
I20220617 06:01:54.383963 257027 conn_tracker.cc:78] conn_id=[upid=257101:8118390 fd=510 gen=81207401090146] state=kTransferring remote_addr=127.0.0.1:36808 role=kRoleServer protocol=kProtocolMux Being destroyed
[ OK ] OpenSSLTraceRawFptrsTest/0.mtls_thriftmux_client (28184 ms)
[----------] 1 test from OpenSSLTraceRawFptrsTest/0 (28184 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (28185 ms total)
[ PASSED ] 1 test.
I20220617 06:01:54.420465 257027 env.cc:51] Shutting down
Todo
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Can one of the admins verify this patch?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…cally built netty and netty-tcnative
Signed-off-by: Dom Del Nano <[email protected]>
Summary:
This ensures that cquery finds the correct binary instead of just
the fastbuild binary
Test Plan:
Removed the fastbuild binary, ran sudo bazel run with `-c dbg`. Fails
before this change, works after.
Reviewers: zasgar, oazizi
Reviewed By: zasgar
Signed-off-by: Vihang Mehta <[email protected]>
Differential Revision: https://phab.corp.pixielabs.ai/D11626
GitOrigin-RevId: f25f778
(cherry picked from commit 8f87b07)
Signed-off-by: Dom Del Nano <[email protected]>
… and finagle dependencies to truly test the mtls tracing end to end
Signed-off-by: Dom Del Nano <[email protected]>
Comment on lines
-737
to
+747
|
|
PL_ASSIGN_OR_RETURN(uint32_t openssl_fix_sub_version,
|
|
|
OpenSSLFixSubversionNum(fptrManager, openssl_lib, pid));
|
|
|
|
|
|
switch (openssl_fix_sub_version) {
|
|
|
case 0:
|
|
|
symaddrs.RBIO_num_offset = kOpenSSL_1_1_0_RBIO_num_offset;
|
|
|
break;
|
|
|
case 1:
|
|
|
symaddrs.RBIO_num_offset = kOpenSSL_1_1_1_RBIO_num_offset;
|
|
|
break;
|
|
|
default:
|
|
|
// Supported versions are checked in function OpenSSLFixSubversionNum(),
|
|
|
// should not fall through to here, ever.
|
|
|
DCHECK(false);
|
|
|
return error::Internal("Unsupported openssl_fix_sub_version: $0", openssl_fix_sub_version);
|
|
|
}
|
|
|
// TODO: Rebasing #446 onto main broke the fptr symbol detection code.
|
|
|
// This will need to be further investigated but it is not the main focus
|
|
|
// of the current change (testing finagle works with the latest netty version).
|
|
|
OpenSSLFixSubversionNum(fptrManager, openssl_lib, pid);
|
|
|
|
|
|
symaddrs.RBIO_num_offset = kOpenSSL_1_1_0_RBIO_num_offset;
|
|
|
symaddrs.RBIO_num_offset = kOpenSSL_1_1_1_RBIO_num_offset;
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hack was put in place because rebasing #446 on main caused the RawFptrManager code to start failing. I wasn't able to track down the cause yet, but I didn't want this to prevent me from testing if finagle works with the new netty releases.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. We do have to figure out some of your TODOs before we can merge this in.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
"If true, stirling will trace and process Kafka messages.");
|
|
|
DEFINE_bool(stirling_enable_mux_tracing,
|
|
|
gflags::BoolFromEnv("PL_STIRLING_TRACER_ENABLE_MUX", false),
|
|
|
gflags::BoolFromEnv("PL_STIRLING_TRACER_ENABLE_MUX", true),
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll want to leave this as false until we can solve the BPF instruction count limit.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
+260
to
+265
|
|
// TODO(ddelnano): Update this to support the existing libssl.so.1.1 and libcrypto.so.1.1 libraries.
|
|
|
// In addition to that we should allow pixie to match on netty's auto generated filepath name
|
|
|
// (i.e. libnetty_tcnative_linux_x86_648014508084024950371.so) so we can remove the need to
|
|
|
// monkey patch netty with Byteman.
|
|
|
constexpr std::string_view kLibSSL = "libnetty_tcnative_linux_x86.so";
|
|
|
constexpr std::string_view kLibCrypto = "libnetty_tcnative_linux_x86.so";
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As your TODO mentions, this will break existing SSL tracing. So we'll have to figure something out before merging.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
+52
to
+55
|
|
class ThriftMuxServerContainerWrapper : public ::px::stirling::testing::ThriftMuxServerContainer {
|
|
|
public:
|
|
|
int32_t PID() const { return process_pid(); }
|
|
|
};
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't look like you're using the PID() function, so you may be able to remove this wrapper.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
}
|
|
|
|
|
|
void SetUp() override {
|
|
|
FLAGS_openssl_force_raw_fptrs = force_fptr_;
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just assign
FLAGS_openssl_force_raw_fptrs = TForceFptrs;
and avoid the extra variable?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
copybaranaut
pushed a commit
that referenced
this pull request
Aug 24, 2022
…-tcnative
Summary: This PR upgrades finagle to install a version that includes the netty changes I upstreamed (netty/netty#12438, netty/netty-tcnative#731) to support #407. Once this is upgraded, the next step is to refresh #463.
Test Plan: Ran the thriftmux container and verified that the logs of the client show that netty tcnative is used (improperly installed netty tcnative will silently succeed)
Reviewers: #stirling, jps
Reviewed By: #stirling, jps
Signed-off-by: Dom Del Nano <[email protected]>
Differential Revision: https://phab.corp.pixielabs.ai/D12111
GitOrigin-RevId: d3da5e233e5aa38b1b29865fd4cc8c58128966c2
|
Closing this since #569 is much closer to a production ready change.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
copybaranaut
pushed a commit
that referenced
this pull request
Oct 4, 2022
Summary:
This PR will complete the initial support of #407 and is a refresh of an earlier proof of concept change (#463).
The goal is to provide an extensible way for supporting other boringssl based tracing targets if the target binary supports the following:
- Ability to determine the target binary's openssl version through the RawFptrManager or through dlsym
The boringssl implementation populate's openssl's bio_st data structure with the fd of the socket file descriptor (like I did with netty -
- Add SSL.bioSetFd method to JNI code to support Pixie integration netty/netty-tcnative#731).
This won't work for envoy's case, but the hope is that this is more similar to Pixie's dynamic openssl tracing while envoy is more similar to nodejs (requiring additional application specific integration).
Closes #569.
Test Plan:
New test verifies that TLS tracing is successful (output below)
Verified the changes to socket_trace_connector allow `TraceMode::OnNewerKernel` to work
Reviewers: #stirling, zasgar
Reviewed By: zasgar
Signed-off-by: Dom Del Nano <[email protected]>
Differential Revision: https://phab.corp.pixielabs.ai/D12324
GitOrigin-RevId: 5ce5cd67c32ae9d6e4b11e04ab854d65371a3a16
entlein
pushed a commit
to k8sstormcenter/pixie
that referenced
this pull request
Jun 2, 2026
…-tcnative
Summary: This PR upgrades finagle to install a version that includes the netty changes I upstreamed (netty/netty#12438, netty/netty-tcnative#731) to support pixie-io#407. Once this is upgraded, the next step is to refresh pixie-io#463.
Test Plan: Ran the thriftmux container and verified that the logs of the client show that netty tcnative is used (improperly installed netty tcnative will silently succeed)
Reviewers: #stirling, jps
Reviewed By: #stirling, jps
Signed-off-by: Dom Del Nano <[email protected]>
Differential Revision: https://phab.corp.pixielabs.ai/D12111
GitOrigin-RevId: d3da5e233e5aa38b1b29865fd4cc8c58128966c2
entlein
pushed a commit
to k8sstormcenter/pixie
that referenced
this pull request
Jun 2, 2026
Summary:
This PR will complete the initial support of pixie-io#407 and is a refresh of an earlier proof of concept change (pixie-io#463).
The goal is to provide an extensible way for supporting other boringssl based tracing targets if the target binary supports the following:
- Ability to determine the target binary's openssl version through the RawFptrManager or through dlsym
The boringssl implementation populate's openssl's bio_st data structure with the fd of the socket file descriptor (like I did with netty -
- Add SSL.bioSetFd method to JNI code to support Pixie integration netty/netty-tcnative#731).
This won't work for envoy's case, but the hope is that this is more similar to Pixie's dynamic openssl tracing while envoy is more similar to nodejs (requiring additional application specific integration).
Closes pixie-io#569.
Test Plan:
New test verifies that TLS tracing is successful (output below)
Verified the changes to socket_trace_connector allow `TraceMode::OnNewerKernel` to work
Reviewers: #stirling, zasgar
Reviewed By: zasgar
Signed-off-by: Dom Del Nano <[email protected]>
Differential Revision: https://phab.corp.pixielabs.ai/D12324
GitOrigin-RevId: 5ce5cd67c32ae9d6e4b11e04ab854d65371a3a16
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|