资源简介
Linux下网络数据包抓取源码分析和包过滤,请大家下载学习,用C开发的
代码片段和文件信息
/* airpcap_loader.c
*
* $Id: airpcap_loader.c 30954 2009-11-13 20:20:40Z gerald $
*
* Giorgio Tino
* Copyright (c) CACE Technologies LLC 2006
*
* Wireshark - Network traffic analyzer
* By Gerald Combs
* Copyright 2000 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not write to the Free Software
* Foundation Inc. 59 Temple Place - Suite 330 Boston MA 02111-1307 USA.
*/
#ifdef HAVE_CONFIG_H
# include “config.h“
#endif
#ifdef HAVE_AIRPCAP
#ifdef HAVE_LIBPCAP
#include
#include
#include
#include
#endif
#include
#include
#include
#include
#include
#include
#include
#include “capture_ui_utils.h“
#include “simple_dialog.h“
#include
#include “airpcap_loader.h“
/*
* Set to TRUE if the DLL was successfully loaded AND all functions
* are present.
*/
static gboolean AirpcapLoaded = FALSE;
#ifdef _WIN32
/*
* We load dynamically the dag library in order link it only when
* it‘s present on the system
*/
static void * AirpcapLib = NULL;
static AirpcapGetLastErrorHandler g_PAirpcapGetLastError;
static AirpcapSetKernelBufferHandler g_PAirpcapSetKernelBuffer;
static AirpcapSetFilterHandler g_PAirpcapSetFilter;
static AirpcapGetMacAddressHandler g_PAirpcapGetMacAddress;
static AirpcapSetMinToCopyHandler g_PAirpcapSetMinToCopy;
static AirpcapGetReadEventHandler g_PAirpcapGetReadEvent;
static AirpcapReadHandler g_PAirpcapRead;
static AirpcapGetStatsHandler g_PAirpcapGetStats;
#endif
static int AirpcapVersion = 3;
static AirpcapGetDeviceListHandler g_PAirpcapGetDeviceList;
static AirpcapFreeDeviceListHandler g_PAirpcapFreeDeviceList;
static AirpcapOpenHandler g_PAirpcapOpen;
static AirpcapCloseHandler g_PAirpcapClose;
static AirpcapGetlinkTypeHandler g_PAirpcapGetlinkType;
static AirpcapSetlinkTypeHandler g_PAirpcapSetlinkType;
static AirpcapTurnLedOnHandler g_PAirpcapTurnLedOn;
static AirpcapTurnLedOffHandler g_PAirpcapTurnLedOff;
static AirpcapGetDeviceChannelHandler g_PAirpcapGetDeviceChannel;
static AirpcapSetDeviceChannelHandler g_PAirpcapSetDeviceChannel;
static AirpcapGetFcsPresenceHandler g_PAirpcapGetFcsPresence;
static AirpcapSetFcsPresenceHandler g_PAirpcapSetFcsPresence;
static AirpcapGetFcsValidationHandler g_PAir
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2010-09-25 18:56 wireshark-1[1].2.5
目录 0 2010-09-25 19:15 wireshark-1[1].2.5\wireshark-1.2.5
文件 49538 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\acinclude.m4
目录 0 2010-09-25 18:56 wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback
文件 8178 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback\glib-2.0.m4
文件 7530 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback\gtk-2.0.m4
文件 4174 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback\libgcrypt.m4
文件 3847 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback\libsmi.m4
文件 1963 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\aclocal-flags
文件 278642 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\aclocal.m4
文件 1652 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\adns_dll.dep
文件 2753 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\adns_dll.rc
文件 44692 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\airpcap.h
文件 71505 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\airpcap_loader.c
文件 17845 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\airpcap_loader.h
文件 3730 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\alert_box.c
文件 2208 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\alert_box.h
目录 0 2010-09-25 19:14 wireshark-1[1].2.5\wireshark-1.2.5\asn1
目录 0 2010-09-25 18:56 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133
文件 2807 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\acp133.asn
文件 11419 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\acp133.cnf
文件 951 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\Makefile.am
文件 1824 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\Makefile.common
文件 17850 2009-12-18 01:39 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\Makefile.in
文件 1043 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\Makefile.nmake
文件 15182 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\MHSDirectoryob
文件 5638 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\packet-acp133-template.c
文件 1137 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\packet-acp133-template.h
目录 0 2010-09-25 18:56 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acse
文件 17003 2009-12-18 01:37 wireshark-1[1].2.5\wireshark-1.2.5\asn1\acse\acse.asn
............此处省略2331个文件信息
相关资源
- 莫封包拦截1.1封包修改,封包搜索,
- 抓包工具Ethereal-0.10.10.rar
- 抓包工具FD 2018汉化版
- fiddler抓包工具使用说明pdf,解决抓包
- 抓包工具fiddler
- 基于VC的包过滤防火墙论文源码有效地
- 基于数据包过滤的防火墙设计与实现
- 包过滤主机防火墙技术的研究
- 抓包工具HttpWatch
- 包过滤防火墙
- 抓包工具qt 程序
- 一个IP抓包工具,很好用,界面又美
- SPI网络数据包拦截程序源码
- 网络抓包工具,可指定进程抓包
- SnifferPro网络抓包工具带注册码
- nordic蓝牙抓包工具以及教程
- 极好用的网络抓包工具
- SmartRF_Packet_Sniffer_2.17.1
- Ubiqua 1.4破解版zigbee协议抓包工具
- ubiqua-pa抓包工具
- 抓包工具源码 可以截获数据,监视端
- 网络抓包工具WildPackets EtherPeek NX
- VS2012 Qt5 winpcap win64 抓包工具 http协议
- CICflowmeter安装文件以及详细说明教程
- zigbee抓包工具-Ubiqua内含有详细的使用
- Wireshark-win64-3.2.5.exe
- 抓包工具SmartRF_Packet_Sniffer2_1.5.0
- Fiddler抓包工具,携带.net配合使用,安
- WSockExpert抓包工具
- 数据包过滤技术与防火墙的设计
评论
共有 条评论