1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
**TCPDUMP_MESA**
fork from tcpdump for MESA sapp platform
------
```
tcpdump version 4.8.1
libpcap version 1.8.1
OpenSSL 1.0.2k-fips 26 Jan 2017
Usage: tcpdump [-aAbdDefhHIJKlLnNOpqStuUvxX#] [ -B size ] [ -c count ]
[ -C file_size ] [ -E algo:secret ] [ -F file ] [ -G seconds ]
[ -i interface ] [ -j tstamptype ] [ -M secret ] [ --number ]
[ -Q in|out|inout ]
[ -r file ] [ -s snaplen ] [ --time-stamp-precision precision ]
[ --immediate-mode ] [ -T type ] [ --version ] [ -V file ]
[ -w file ] [ -W filecount ] [ -y datalinktype ] [ -z postrotate-command ]
[ -Z user ] [ expression ]
----------------------------------------------------------------------------------------------.
The follow args is customized for tcpdump_mesa:
[ -a ] enable perceptive mode, can detect loss packet number.
[ -g greedy-seek ] enable greedy seek to most inner IP layer, for tunnel, embed protocol.
[ -k thread-id ] to assign sapp recv thread id, support multi-range, for example: 1,3,5,7.
[ -o offset ] to assign offset from MAC, for skip some low layer data, for example: vxlan=50, mac_in_mac=14.
[ -P port ] to assign sapp recv command port.
[ --vlan-as-mac-in-mac ] force VLAN to be analysed as MAC-IN-MAC format.
```
------
**2016-11-29 lijia**
����FTP��ʽ, TCP���Ӵ�������, UDP���Ӵ���ʵ�ʲ���.
1. �������UDPδ�ö˿�, Ĭ��12345, �类ռ��, ˳�����
2. ��sapp����TCP����, ���ͱ���UDP�����˿�
3. ��sapp���Ͳ�����������, ����BPF-filter�����ַ���
4. ��UDP�˿ڶ�ȡsapp��������ݰ�
5. ����tcpdumpԭ������, ������ӡ��д�ļ�
------
**2017-08-08 lijia**
1. ����ָ���̺߳Ų�������
------
**2020-09-28** yangwei
1. �Ż�greedy_seekģʽ��Ϊ������DLT_RAW���͵�cbpf���ڴ�IPͷ����ʼƥ����˹���
|