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

易陆发现论坛

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

tcpdump 抓包

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

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

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

x
sudo tcpdump -i bond1.104 -v -vv -t   
. ~; `5 L. ?7 z6 X7 L1 [1 `* G2 H. S4 H" @- b+ b; r) W
0 E$ |& ^8 d& n* L
sudo tcpdump -i ens1f0 -vv -w /tmp/ens1f0.cap     抓包写如文件中
  H' Y# e! b! }7 d
 楼主| 发表于 2018-12-13 15:01:49 | 显示全部楼层
sudo tcpdump -i bond1.104 -vvv -t
- H3 C7 X4 q- Dtcpdump: WARNING: bond1.104: no IPv4 address assigned1 F# l, r7 q) A" C+ c
tcpdump: listening on bond1.104, link-type EN10MB (Ethernet), capture size 65535 bytes+ m, k0 m! L) K$ e1 k) K- B
IP (tos 0x0, ttl 64, id 18437, offset 0, flags [DF], proto ICMP (1), length 84)+ j4 [9 p4 S' r
    CD--6 > 10.64.35.100: ICMP echo request, id 7024, seq 437, length 64
+ T3 i/ T; \) a: S5 T2 zIP (tos 0x0, ttl 64, id 18437, offset 0, flags [DF], proto ICMP (1), length 84)
* c) {6 Z( l# ^  I    10.4.5.100 > CD--6: ICMP echo reply, id 7024, seq 437, length 64
7 Q, L. f; V2 A+ e( o( v- M) hIP (tos 0x0, ttl 64, id 18696, offset 0, flags [DF], proto ICMP (1), length 84)# l# H+ L0 V4 o/ p: F& [
    CD--6 > 10.4.5.100: ICMP echo request, id 7024, seq 438, length 64
3 ^: F( c# @# |6 t: sIP (tos 0x0, ttl 64, id 18696, offset 0, flags [DF], proto ICMP (1), length 84)
" @; c; F! P1 `. C- u8 W* n) F. v    10.4.5.100 > CD--6: ICMP echo reply, id 7024, seq 438, length 64# g  @; X  Q# `& I
IP (tos 0x0, ttl 64, id 18958, offset 0, flags [DF], proto ICMP (1), length 84): c* ?6 H2 N& y/ j! \2 \' c$ G
    CD--6 > 10.4.5.100: ICMP echo request, id 7024, seq 439, length 640 k1 W0 \- x/ e8 D
IP (tos 0x0, ttl 64, id 18958, offset 0, flags [DF], proto ICMP (1), length 84), [+ @1 _/ a6 q- b' T; ?" }0 y
    10.4.5.100 > CD--6: ICMP echo reply, id 7024, seq 439, length 64$ l' V$ _0 A: K; e% Q& ]
IP (tos 0x0, ttl 64, id 19338, offset 0, flags [DF], proto ICMP (1), length 84)  O. l3 L, @+ B" E/ H1 y
    CD--6 > 10.64.35.100: ICMP echo request, id 7024, seq 440, length 648 d' l& U$ I: |' N% \/ Q# O; V  ]3 I
IP (tos 0x0, ttl 64, id 19338, offset 0, flags [DF], proto ICMP (1), length 84): g+ ]/ E4 W0 O( ?
    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  
; Q) Y" X7 R' E# z9 e% Y! htcpdump: WARNING: bond1: no IPv4 address assigned" p$ D- q. m( T* H# D
tcpdump: listening on bond1, link-type EN10MB (Ethernet), capture size 65535 bytes
8 x! V2 c9 I# k7 j16:16:57.141135 IP (tos 0x0, ttl 62, id 52282, offset 0, flags [DF], proto ICMP (1), length 84)9 v3 H1 }# N4 q; {4 Z
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1157, length 64
; V) C/ O; ?4 k! N" ?) c16:16:58.141200 IP (tos 0x0, ttl 62, id 52414, offset 0, flags [DF], proto ICMP (1), length 84)
" A0 B0 [6 s+ H& ^4 o6 {9 M# u    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1158, length 648 o/ V' s# w% O0 ^
16:16:59.141214 IP (tos 0x0, ttl 62, id 53243, offset 0, flags [DF], proto ICMP (1), length 84)
" q9 \+ {1 V- ^& P1 F' S    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1159, length 64; k* P* @2 w: Q8 p0 @8 _4 V
16:17:00.141085 IP (tos 0x0, ttl 62, id 53622, offset 0, flags [DF], proto ICMP (1), length 84): T' ^8 M/ \4 o5 a' G+ o
    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  
: }% {0 Z7 a: O, z" h$ utcpdump: WARNING: bond1: no IPv4 address assigned
- ]" S3 R6 }6 K/ F4 Atcpdump: listening on bond1, link-type EN10MB (Ethernet), capture size 65535 bytes3 N3 m8 }4 c9 g: S' k* ?8 A
16: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)8 r: a, I+ t6 A9 i: f4 Z4 n1 Q
* S9 q2 s2 F( [) S

2 r7 d5 h/ F' `* ]1 a# p7 z% g# W' |+ l& O. d9 J  R: y4 \/ S
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1423, length 64
* j7 _$ t& Z1 V6 K( X, i% p  |/ z16: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)
! v4 I9 w! d" o4 G    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1424, length 646 p# `6 S* Q% w& N$ E
16: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)0 @: m5 [. c; ?# \( ?
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1425, length 64
: S0 D! F' ]/ T; L9 O3 A16: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)9 z# s' U4 x( M/ N5 F( ]
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1426, length 64# N  X6 K) M* p. m6 n
16: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)5 q9 K3 X+ w$ p. c" _. h
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1427, length 64
' U# H) x# L# X; P3 h16: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)
6 B% b. v% ^" I    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1428, length 64
* w/ E4 X' _1 S0 N( h! [) T: w7 W% S16: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)' c- g- R/ Q; N5 q8 |' L2 q- O
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1429, length 641 u! i3 l( G+ m0 D: z1 l" e$ x8 |
16: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  
$ s& y" A" q; X% M- O! \+ Otcpdump: WARNING: bond1: no IPv4 address assigned
" e, e1 E# ]7 Q7 Y: D. h( M) etcpdump: listening on bond1, link-type EN10MB (Ethernet), capture size 65535 bytes9 Y+ I4 ~9 a5 Q
16: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)
3 j1 k- m; G. h+ |    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1461, length 64
( W$ X0 ?" r$ Q: X2 g16: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)
" w) X, G  F* l$ d5 E; O$ s    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1462, length 643 t6 p7 h8 t2 L* U5 L6 F
16: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)
# O( O) i) z3 x  F7 E    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1463, length 64
6 Q5 ?" n5 O6 _" @% J7 F  n1 Q16: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)0 [/ I/ U, P, g8 [6 N8 n
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1464, length 64
9 ?+ ?( r. N. `3 O7 \" h$ C! F& g16: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)5 H* B1 D. t4 P# f
    10.32.69.236 > 43.240.248.70: ICMP echo request, id 16362, seq 1465, length 64
4 v' R/ s5 S, @: D, R16: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, 2020-10-22 10:45 , Processed in 0.055020 second(s), 22 queries .

Powered by 龙睿 bbs168x X3.2

© 2001-2020 Comsenz Inc.

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