⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.dag

📁 Ubuntu packages of security software。 相当不错的源码
💻 DAG
字号:
The following instructions apply if you have a Linux or FreeBSD platform andwant libpcap to support the DAG range of passive network monitoring cards fromEndace (http://www.endace.com, see below for further contact details).1) Install and build the DAG software distribution by following theinstructions supplied with that package. Current Endace customers can downloadthe DAG software distibution from https://www.endace.com2) Configure libcap. To allow the 'configure' script to locate the DAGsoftware distribution use the '--with-dag' option:        ./configure --with-dag=DIRWhere DIR is the root of the DAG software distribution, for example/var/src/dag. If the DAG software is correctly detected 'configure' willreport:        checking whether we have DAG API... yesIf 'configure' reports that there is no DAG API, the directory may have beenincorrectly specified or the DAG software was not built before configuringlibpcap.See also the libpcap INSTALL.txt file for further libpcap configurationoptions.Building libpcap at this stage will include support for both the native packetcapture stream (linux or bpf) and for capturing from DAG cards. To buildlibpcap with only DAG support specify the capture type as 'dag' whenconfiguring libpcap:        ./configure --with-dag=DIR --with-pcap=dagApplications built with libpcap configured in this way will only detect DAGcards and will not capture from the native OS packet stream.----------------------------------------------------------------------Libpcap when built for DAG cards against dag-2.5.1 or later releases:Timeouts are supported. pcap_dispatch() will return after to_ms millisecondsregardless of how many packets are received. If to_ms is zero pcap_dispatch()will block waiting for data indefinitely.pcap_dispatch() will block on and process a minimum of 64kB of data (beforefiltering) for efficiency. This can introduce high latencies on quietinterfaces unless a timeout value is set. The timeout expiring will overridethe 64kB minimum causing pcap_dispatch() to process any available data andreturn.pcap_setnonblock is supported. When nonblock is set, pcap_dispatch() willcheck once for available data, process any data available up to count, thenreturn immediately.pcap_findalldevs() is supported, e.g. dag0, dag1...Some DAG cards can provide more than one 'stream' of received data.This can be data from different physical ports, or separated by filteringor load balancing mechanisms. Receive streams have even numbers, e.g.dag0:0, dag0:2 etc. Specifying transmit streams for capture is not supported.pcap_setfilter() is supported, BPF programs run in userspace.pcap_setdirection() is not supported. Only received traffic is captured.DAG cards normally do not have IP or link layer addresses assigned asthey are used to passively monitor links.pcap_breakloop() is supported.pcap_datalink() and pcap_list_datalinks() are supported. The DAG card doesnot attempt to set the correct datalink type automatically where more thanone type is possible.pcap_stats() is supported. ps_drop is the number of packets dropped due toRX stream buffer overflow, this count is before filters are applied (it willinclude packets that would have been dropped by the filter). The RX streambuffer size is user configurable outside libpcap, typically 16-512MB.pcap_get_selectable_fd() is not supported, DAG cards do not supportpoll/select methods.pcap_inject() and pcap_sendpacket() are not supported.----------------------------------------------------------------------Please submit bug reports via <support@endace.com>.Please also visit our Web site at:        http://www.endace.com/For more information about Endace DAG cards contact <sales@endace.com>.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -