将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 3203|回复: 7
收起左侧

tcpdump 抓包

[复制链接]
发表于 2018-12-12 20:02:59 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
sudo tcpdump -i bond1.104 -v -vv -t   
4 N) H! m) k' P# ~
9 ~) `& F+ k' |1 v- E
1 H6 v4 F5 ]# I! a- ?sudo tcpdump -i ens1f0 -vv -w /tmp/ens1f0.cap     抓包写如文件中) d- p$ Y% a* H( K( W+ V
 楼主| 发表于 2018-12-13 15:01:49 | 显示全部楼层
sudo tcpdump -i bond1.104 -vvv -t
3 q0 n4 s$ {5 z$ H% utcpdump: WARNING: bond1.104: no IPv4 address assigned
! A; v8 ~, w" e0 D/ ?0 `/ ^8 t2 `/ ]tcpdump: listening on bond1.104, link-type EN10MB (Ethernet), capture size 65535 bytes
& @- B0 a: u; U' O( n  @( VIP (tos 0x0, ttl 64, id 18437, offset 0, flags [DF], proto ICMP (1), length 84)
% I, d8 ^, l1 s" R    CD--6 > 10.64.35.100: ICMP echo request, id 7024, seq 437, length 64
$ z& O; X$ W- U" U  wIP (tos 0x0, ttl 64, id 18437, offset 0, flags [DF], proto ICMP (1), length 84)1 B3 c* V! O0 s2 {& V; c, M( ~
    10.4.5.100 > CD--6: ICMP echo reply, id 7024, seq 437, length 64
# H; r" O, x0 i$ D0 d$ e# N( V9 AIP (tos 0x0, ttl 64, id 18696, offset 0, flags [DF], proto ICMP (1), length 84)3 C$ E( x' I" S* f1 m( ]+ B. B
    CD--6 > 10.4.5.100: ICMP echo request, id 7024, seq 438, length 64
" E& ]( d0 T" h% y- C' t3 G& t: K/ |IP (tos 0x0, ttl 64, id 18696, offset 0, flags [DF], proto ICMP (1), length 84)
, l, n: {9 M5 Y- f3 {    10.4.5.100 > CD--6: ICMP echo reply, id 7024, seq 438, length 64
; t- J5 k. N+ F9 R) q8 O' LIP (tos 0x0, ttl 64, id 18958, offset 0, flags [DF], proto ICMP (1), length 84)
+ y& S' k8 _0 H% x% r, K    CD--6 > 10.4.5.100: ICMP echo request, id 7024, seq 439, length 64) S8 F+ Y. ^9 w/ r( K0 ], L/ g
IP (tos 0x0, ttl 64, id 18958, offset 0, flags [DF], proto ICMP (1), length 84)
* i0 y2 ?7 W  R* r( a8 u    10.4.5.100 > CD--6: ICMP echo reply, id 7024, seq 439, length 64' R/ M% L3 B. K- Y( _- D
IP (tos 0x0, ttl 64, id 19338, offset 0, flags [DF], proto ICMP (1), length 84)& s0 b* r6 o5 z/ G, k: `( e% Y
    CD--6 > 10.64.35.100: ICMP echo request, id 7024, seq 440, length 64/ n. Y. g% f" E" m- x/ ~; T, [$ g
IP (tos 0x0, ttl 64, id 19338, offset 0, flags [DF], proto ICMP (1), length 84)
3 j& y" E% g  R9 ~    10.4.5.100 > CD--6: ICMP echo reply, id 7024, seq 440, length 64
发表于 2018-12-14 18:13:01 | 显示全部楼层
sudo tcpdump -i bond1 -vv -e icmp  抓取ICMP包。
发表于 2018-12-14 18:15:28 | 显示全部楼层
sudo  tcpdump -i vnet7 -vv -e icmp   抓取vnet7子接口地址
 楼主| 发表于 2018-12-24 16:20:40 | 显示全部楼层
sudo tcpdump -i bond1 -vv icmp  2 K: f4 j8 C# g' g" [, s
tcpdump: WARNING: bond1: no IPv4 address assigned6 X# G; z4 h2 G; L4 [; h# d
tcpdump: listening on bond1, link-type EN10MB (Ethernet), capture size 65535 bytes) S5 S3 N+ q/ |2 n
16:16:57.141135 IP (tos 0x0, ttl 62, id 52282, offset 0, flags [DF], proto ICMP (1), length 84)0 y7 r  L# {& u+ t& }' a6 S% F
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1157, length 64- p' u6 i3 q' _
16:16:58.141200 IP (tos 0x0, ttl 62, id 52414, offset 0, flags [DF], proto ICMP (1), length 84); O5 y+ Q+ o5 A( N
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1158, length 64+ I& L4 @. l# b& ^: V
16:16:59.141214 IP (tos 0x0, ttl 62, id 53243, offset 0, flags [DF], proto ICMP (1), length 84)
4 h/ y6 O1 B- t  t% F    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1159, length 647 x) O2 m+ N, h7 F
16:17:00.141085 IP (tos 0x0, ttl 62, id 53622, offset 0, flags [DF], proto ICMP (1), length 84)
% g, u# h* {8 W7 G    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1160, length 64
 楼主| 发表于 2018-12-24 16:22:16 | 显示全部楼层
sudo tcpdump -i bond1 -vv -e icmp  
3 q' l" d- c7 Q! e) q# Etcpdump: WARNING: bond1: no IPv4 address assigned
8 n# l9 q5 v: N+ ?tcpdump: listening on bond1, link-type EN10MB (Ethernet), capture size 65535 bytes
# r% B3 V* `  Z' s( G- m* h16:21:23.140673 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 47732, offset 0, flags [DF], proto ICMP (1), length 84)* B& [" B, }) ^% w
( F  z! H) R# u% j) H
+ L  S6 B% B7 C, o1 e5 K, B% [
: V$ ?9 ^, ~4 X$ ]
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1423, length 640 T3 \5 a) p/ T& k7 @
16:21:24.140663 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 47779, offset 0, flags [DF], proto ICMP (1), length 84)
. g) K' P. h6 o7 R$ Q  Y    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1424, length 64
) e% C) [% u: ^& @  R* F! D16:21:25.140651 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 48122, offset 0, flags [DF], proto ICMP (1), length 84)
/ r" [& X2 }4 m7 `2 U$ Z    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1425, length 64
. y* }% X+ \4 Q) @# V4 o5 P16:21:26.140629 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 48938, offset 0, flags [DF], proto ICMP (1), length 84)4 I8 v9 n' P8 y- _, W+ C" k% {
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1426, length 64
& M$ Q, E. r0 ?: m16:21:27.140613 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 49679, offset 0, flags [DF], proto ICMP (1), length 84)4 ]9 h8 `! o* X, _. X
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1427, length 64/ U; ^2 g% Z' l9 N
16:21:28.140616 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 50377, offset 0, flags [DF], proto ICMP (1), length 84)7 B# ?# ~0 D0 O# O" W4 Z
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1428, length 644 B7 j  n7 Z) V  t, j3 D
16:21:29.140633 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 50603, offset 0, flags [DF], proto ICMP (1), length 84)& ^% {: x5 v% T% j0 ]
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1429, length 64
9 Z& d# K! E/ n8 Q; R16:21:30.140614 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 51285, offset 0, flags [DF], proto ICMP (1), length 84)
 楼主| 发表于 2018-12-24 16:22:34 | 显示全部楼层
sudo tcpdump -i bond1 -vvv -e icmp  ( b$ @/ `2 m* d. X) I$ }8 k' M
tcpdump: WARNING: bond1: no IPv4 address assigned
# I; h) J0 K. v4 s4 `# @tcpdump: listening on bond1, link-type EN10MB (Ethernet), capture size 65535 bytes
% x9 A" e+ M  r16:22:01.140593 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 1576, offset 0, flags [DF], proto ICMP (1), length 84)
5 V% q# |. G0 Z5 t( @    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1461, length 64
; q4 A8 O, D* ?$ n5 k16:22:02.140601 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 1841, offset 0, flags [DF], proto ICMP (1), length 84)0 y5 R" s4 y# s
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1462, length 64
" _3 n6 }, t' s+ U6 J5 J* T16:22:03.140606 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 2688, offset 0, flags [DF], proto ICMP (1), length 84)
  z( k$ O- y1 R/ k9 u1 C    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1463, length 64
2 e" v7 q# Z' J, V16:22:04.140584 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 3273, offset 0, flags [DF], proto ICMP (1), length 84)
! F( a3 L& Y( c+ ~    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1464, length 64
% |* b, z2 w% U6 o1 S+ e2 m, x16:22:05.140544 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 3297, offset 0, flags [DF], proto ICMP (1), length 84)
. m2 C( R( `  Q" R, d    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1465, length 64
2 z  C1 Z/ k' b$ v# C16:22:06.140605 00:0e:1e:b3:98:20 (oui Unknown) > 00:00:5e:00:01:65 (oui Unknown), ethertype 802.1Q (0x8100), length 102: vlan 205, p 0, ethertype IPv4, (tos 0x0, ttl 62, id 3547, offset 0, flags [DF], proto ICMP (1), length 84)
 楼主| 发表于 2018-12-24 18:49:19 | 显示全部楼层
sudo tcpdump  -i  tapa72cc152-ce -w 43.240.248.70.cap
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2021-3-8 17:25 , Processed in 0.066359 second(s), 22 queries .

Powered by 龙睿 bbs168x X3.2

© 2001-2020 Comsenz Inc.

快速回复 返回顶部 返回列表