资源简介
Wireshark(前称Ethereal)是一个网络封包分析软件。网络封包分析软件的功能是撷取网络封包,并尽可能显示出最为详细的网络封包资料
代码片段和文件信息
/* capinfos.c
* Reports capture file information including # of packets duration others
*
* Copyright 2004 Ian Schorr
*
* Wireshark - Network traffic analyzer
* By Gerald Combs
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/*
* 2009-09-19: jyoung
*
* New capinfos features
*
* Continue processing additional files after
* a wiretap open failure. The new -C option
* reverts to capinfos‘ original behavior which
* is to cancel any further file processing at
* first file open failure.
*
* Change the behavior of how the default display
* of all infos is initiated. This gets rid of a
* special post getopt() argument count test.
*
* Add new table output format (with related options)
* This feature allows outputting the various infos
* into a tab delimited text file or to a comma
* separated variables file (*.csv) instead of the
* original “long“ format.
*
* 2011-04-05: wmeier
* behaviour changed: Upon exit capinfos will return
* an error status if an error occurred at any
* point during “continuous“ file processing.
* (Previously a success status was always
* returned if the -C option was not used).
*
*/
#include
#include
#include
#include
#include
#include
#include
#ifdef HAVE_GETOPT_H
#include
#endif
#include
#include
#include
#include
#include
#include
#include
#include
#ifdef HAVE_PLUGINS
#include
#endif
#include
#include
#include
#include
#ifndef HAVE_GETOPT_LONG
#include “wsutil/wsgetopt.h“
#endif
#include “ui/failure_message.h“
#define INVALID_OPTION 1
#define BAD_FLAG 1
/*
* By default capinfos now continues processing
* the next filename if and when wiretap detects
* a problem opening or reading a file.
* Use the ‘-C‘ option to revert back to original
* capinfos behavior which is to abort any
* additional file processing at the first file
* open or read failure.
*/
static gboolean stop_after_failure = FALSE;
/*
* table report variables
*/
static gboolean long_report = TRUE; /* By default generate long report */
static gchar table_report_header = TRUE; /* Generate column header by default */
static gchar field_separator = ‘\t‘; /* Use TAB as field separator by default */
static gchar quote_char = ‘\0‘; /* Do NOT quote fields by default */
static gboolean machine_readable = FALSE; /* Display machine-readable numbers */
/*
* capinfos has the ability to report on a number of
* various characteristics (“infos“) for each input
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 10 2019-03-03 03:04 .bzrignore
文件 1494 2019-03-03 03:04 .editorconfig
文件 283 2019-03-03 03:04 .gitattributes
文件 3473 2019-03-03 03:04 .gitignore
文件 4209 2019-04-07 23:19 .gitlab-ci.yml
文件 114 2019-03-03 03:04 .gitreview
文件 15932 2019-04-07 23:19 .mailmap
文件 5024 2019-04-07 23:19 .travis.yml
目录 0 2019-03-03 03:04 .tx\
文件 616 2019-03-03 03:04 .tx\config
文件 397 2019-03-03 03:04 abi-desc
文件 2431 2019-03-03 03:04 appveyor.yml
文件 141329 2019-04-07 23:19 AUTHORS
文件 111633 2019-03-03 03:04 AUTHORS.src
目录 0 2019-04-07 23:19 capchild\
文件 12917 2019-03-03 03:04 capchild\capture_ifinfo.c
文件 2302 2019-04-07 23:19 capchild\capture_session.h
文件 76014 2019-04-07 23:19 capchild\capture_sync.c
文件 5299 2019-04-07 23:19 capchild\capture_sync.h
文件 860 2019-03-03 03:04 capchild\CMakeLists.txt
文件 56508 2019-04-07 23:19 capinfos.c
文件 2409 2019-04-07 23:19 capture_info.c
文件 1859 2019-04-07 23:19 capture_info.h
文件 54825 2019-03-03 03:04 capture_opts.c
文件 15102 2019-03-03 03:04 capture_opts.h
文件 4372 2019-03-03 03:04 captype.c
目录 0 2019-04-07 23:19 caputils\
文件 326 2019-03-03 03:04 caputils\.editorconfig
文件 45750 2019-03-03 03:04 caputils\airpcap.h
文件 40731 2019-03-03 03:04 caputils\airpcap_loader.c
文件 14703 2019-03-03 03:04 caputils\airpcap_loader.h
............此处省略6214个文件信息
相关资源
- Wireshark数据包分析实战第3版- - 超高清
- wireshark-2.0.2.tar.bz2
- Wireshark 数据包分析实战(第2版)[带
- 基于winpcap的网络嗅探器
- PCap01电容测试芯片中文技术手册.pdf
- wireshark老版本1.12
- Wireshark-win32-1.10.0 适用xp
- 计算机网络自顶向下方法原书第6版正
- Wireshark 数据包分析实战(第2版)
- S7comm协议模拟器与协议解析文档以及
- 两个基于winpcap开发的网络抓包分析工
- 基于WinPcap的抓包软件设计
- Wireshark-win64-2.2.6
- Wireshark网络数据截包软件
- VS2012 Qt5 winpcap win64 抓包工具 http协议
- [Wireshark]Practical Packet.Analysis.3rd.Editi
- wireshark-1.12.12
- Wireshark_win64_1.12.8.exe
- wireshark中文版
- Wireshark数据包分析实战第二版带随书
- Wireshark数据包分析实战第二版
- Wireshark数据包分析实战( 第二版_高清
- Wireshark网络分析实战.pdf Wireshark 数据
- wireshark使用教程
- PCAP02官方开发板配套软件PCAP01 PCAP04
- Wireshark
- Wireshark-win64-3.2.4.rar
- Wireshark-win64-3.2.5.exe
- wireshark网络分析实战高清pdf中文带目
- Wireshark-2.6.1.rar
评论
共有 条评论