350 | | $ sudo ./pingPlusListener 10111 |
351 | | }}} |
352 | | |
353 | | Started tcpdump on host1: |
354 | | {{{ |
355 | | $ sudo tcpdump ether host 52:54:00:0e:e5:a1 |
| 350 | root@debian:~/pingPlus-0.2# ./pingPlusListener 10111 |
| 351 | }}} |
| 352 | |
| 353 | After installing tcpdump package, started tcpdump on host1: |
| 354 | {{{ |
| 355 | root@debian:~# tcpdump ether host 52:54:00:0e:e5:a1 |
| 356 | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode |
| 357 | listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes |
360 | | $ sudo ./pingPlus 52:54:00:9c:3f:8a eth0 10111 12 |
| 362 | root@debian:~/pingPlus-0.2# ./pingPlus 52:54:00:9c:3f:8a eth0 10111 5 |
| 363 | RQ:'1844+6426' to 52:54:0:9c:3f:8a. |
| 364 | RL:1844+6426=8270 from 2:16:3e:3c:ee:1f. |
| 365 | RQ:'725+1578' to 52:54:0:9c:3f:8a. |
| 366 | RL:1844+6426=8270 from 2:16:3e:3c:ee:1f. |
| 367 | RQ:'6819+4568' to 52:54:0:9c:3f:8a. |
| 368 | RL:1844+6426=8270 from 2:16:3e:3c:ee:1f. |
| 369 | RQ:'2740+9308' to 52:54:0:9c:3f:8a. |
| 370 | RL:1844+6426=8270 from 2:16:3e:3c:ee:1f. |
| 371 | RQ:'340+8734' to 52:54:0:9c:3f:8a. |
| 372 | RL:1844+6426=8270 from 2:16:3e:3c:ee:1f. |
365 | | |
366 | | }}} |
367 | | |
368 | | TCPdump captured the content of the Ethernet packet: |
369 | | {{{ |
| 377 | root@debian:~/pingPlus-0.2# ./pingPlusListener 10111 |
| 378 | RQ:1844+6426 from 2:16:3e:78:b9:b2. |
| 379 | RL:1844+6426=8270. |
| 380 | RQ:725+1578 from 2:16:3e:78:b9:b2. |
| 381 | RL:725+1578=2303. |
| 382 | RQ:6819+4568 from 2:16:3e:78:b9:b2. |
| 383 | RL:6819+4568=11387. |
| 384 | RQ:2740+9308 from 2:16:3e:78:b9:b2. |
| 385 | RL:2740+9308=12048. |
| 386 | RQ:340+8734 from 2:16:3e:78:b9:b2. |
| 387 | RL:340+8734=9074. |
| 388 | |
| 389 | }}} |
| 390 | |
| 391 | Tcpdump captured the content of the Ethernet packet: |
| 392 | {{{ |
| 393 | root@debian:~# tcpdump ether host 02:16:3e:78:b9:b2 |
| 394 | .... |
| 395 | 16:31:49.363091 02:16:3e:78:b9:b2 (oui Unknown) > 52:54:00:9c:3f:8a (oui Unknown), ethertype Unknown (0x277f), length 56: |
| 396 | 0x0000: 5251 3a31 3633 302b 3733 3832 0000 0000 RQ:1630+7382.... |
| 397 | 0x0010: 0000 0000 0000 0000 0000 0000 0000 0000 ................ |
| 398 | 0x0020: 0000 0000 0000 0000 0000 .......... |
| 399 | .... |