Created
May 31, 2018 23:08
-
-
Save tehnerd/8ae46903f18b817e599c7d7da85394d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input: | |
tehnerd@nuke:~/projects/katran$ tcpdump -vnnr /tmp/kat_test | |
reading from file /tmp/kat_test, link-type EN10MB (Ethernet) | |
22:59:54.219198 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 43) | |
192.168.1.1.31337 > 10.211.1.1.80: UDP, length 15 | |
23:00:13.319816 IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto TCP (6), length 55) | |
192.168.1.1.31337 > 10.211.2.2.80: Flags [S], cksum 0x26e6 (correct), seq 0:15, win 8192, length 15: HTTP | |
23:01:06.842729 IP6 (hlim 64, next-header TCP (6) payload length: 35) fc00:2::1.31337 > fc00:2::11.80: Flags [.], cksum 0xfd3e (correct), seq 0:15, ack 0, win 8192, length 15: HTTP | |
23:01:37.319211 IP6 (hlim 64, next-header UDP (17) payload length: 23) fc00:2::1.31337 > fc00:2::33:11.80: [udp sum ok] UDP, length 15 | |
tehnerd@nuke:~/projects/katran$ | |
test_run: | |
tehnerd@nuke:~/projects/katran$ sudo ./build/katran/lib/testing/katran_tester -balancer_prog $(pwd)/deps/linux/bpfprog/bpf/balancer_kern.o -pcap_input=/tmp/kat_test -pcap_output=/tmp/kat_test_out | |
E0531 23:07:37.925628 16090 BpfLoader.cpp:160] Can't read section size for index: 2 | |
I0531 23:07:37.925664 16090 BpfLoader.cpp:434] Skipping section: 2 of file: /home/tehnerd/projects/katran/deps/linux/bpfprog/bpf/balancer_kern.o | |
I0531 23:07:37.945653 16090 BpfLoader.cpp:353] relocation for non existing prog w/ idx 10 | |
I0531 23:07:37.945672 16090 BpfLoader.cpp:353] relocation for non existing prog w/ idx 14 | |
I0531 23:07:37.945674 16090 BpfLoader.cpp:353] relocation for non existing prog w/ idx 16 | |
I0531 23:07:37.945677 16090 BpfLoader.cpp:353] relocation for non existing prog w/ idx 18 | |
I0531 23:07:37.945678 16090 BpfLoader.cpp:353] relocation for non existing prog w/ idx 20 | |
I0531 23:07:37.953653 16090 KatranLb.cpp:423] adding new vip: 10.200.1.1:80:17 | |
I0531 23:07:37.992781 16090 KatranLb.cpp:423] adding new vip: 10.200.1.1:80:6 | |
I0531 23:07:38.029507 16090 KatranLb.cpp:423] adding new vip: 10.200.1.2:0:6 | |
I0531 23:07:38.066071 16090 KatranLb.cpp:423] adding new vip: 10.200.1.4:0:6 | |
I0531 23:07:38.102279 16090 KatranLb.cpp:488] modyfing vip: 10.200.1.4:0:6 | |
I0531 23:07:38.102288 16090 KatranLb.cpp:423] adding new vip: 10.200.1.3:80:6 | |
I0531 23:07:38.138172 16090 KatranLb.cpp:423] adding new vip: fc00:1::1:80:6 | |
I0531 23:07:38.173913 16090 KatranLb.cpp:423] adding new vip: 10.200.1.5:443:17 | |
I0531 23:07:38.173979 16090 KatranLb.cpp:488] modyfing vip: 10.200.1.5:443:17 | |
I0531 23:07:38.209874 16090 KatranLb.cpp:423] adding new vip: fc00:1::2:443:17 | |
I0531 23:07:38.209924 16090 KatranLb.cpp:488] modyfing vip: fc00:1::2:443:17 | |
I0531 23:07:38.246578 16090 KatranLb.cpp:423] adding new vip: 10.211.0.0/16:0:0 | |
I0531 23:07:38.283370 16090 KatranLb.cpp:423] adding new vip: fc00:2::/64:0:0 | |
I0531 23:07:38.319196 16090 XdpTester.cpp:94] xdp run's result from pckt #1 is XDP_TX | |
I0531 23:07:38.319247 16090 XdpTester.cpp:94] xdp run's result from pckt #2 is XDP_TX | |
I0531 23:07:38.319257 16090 XdpTester.cpp:94] xdp run's result from pckt #3 is XDP_TX | |
I0531 23:07:38.319264 16090 XdpTester.cpp:94] xdp run's result from pckt #4 is XDP_TX | |
E0531 23:07:38.319270 16090 PcapParser.cpp:114] cant read pcaprec_hdr_s from input file | |
tehnerd@nuke:~/projects/katran$ | |
output: | |
tehnerd@nuke:~/projects/katran$ sudo tcpdump -vnnr /tmp/kat_test_out | |
reading from file /tmp/kat_test_out, link-type EN10MB (Ethernet) | |
23:07:38.319240 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto IPIP (4), length 63) | |
172.16.104.123 > 10.0.0.3: IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto UDP (17), length 43) | |
192.168.1.1.31337 > 10.211.1.1.80: UDP, length 15 | |
23:07:38.319252 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto IPIP (4), length 75) | |
172.16.104.123 > 10.0.0.3: IP (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto TCP (6), length 55) | |
192.168.1.1.31337 > 10.211.2.2.80: Flags [S], cksum 0x26e6 (correct), seq 0:15, win 8192, length 15: HTTP | |
23:07:38.319260 IP6 (hlim 64, next-header IPv6 (41) payload length: 75) 100::7a69:1 > fc00::3: IP6 (hlim 64, next-header TCP (6) payload length: 35) fc00:2::1.31337 > fc00:2::11.80: Flags [.], cksum 0xfd3e (correct), seq 0:15, ack 0, win 8192, length 15: HTTP | |
23:07:38.319268 IP6 (hlim 64, next-header IPv6 (41) payload length: 63) 100::7a69:1 > fc00::3: IP6 (hlim 64, next-header UDP (17) payload length: 23) fc00:2::1.31337 > fc00:2::33:11.80: [udp sum ok] UDP, length 15 | |
tehnerd@nuke:~/projects/katran$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment