开源ids snort (windows版)

Snort-IPS-on-Windows-main资源-CSDN文库

GitHub - eldoktor1/Snort-IPS-on-Windows: A comprehensive guide to installing and configuring Snort IPS on Windows, ensuring robust network security

解压后安装

npcap-1.75.exe

Snort_2_9_20_Installer.x64.exe

安装后cmd

C:\Snort\bin>snort.exe -W

查看哪个是正在使用的网卡

-i 后的数字改成正在使用的物理网卡号

C:\Snort\bin>snort.exe -dve -i7 -h 192.168.1.0/24 -l c:\Snort\log -K ascii

C:\Snort\bin>snort.exe -dve -i7 -h 192.168.1.0/24 > c:\Snort\log\192.168.1.024.log

C:\Snort\bin>snort.exe -W,,_     -*> Snort! <*-o"  )~   Version 2.9.20-WIN64 GRE (Build 82)''''    By Martin Roesch & The Snort Team: http://www.snort.org/contact#teamCopyright (C) 2014-2022 Cisco and/or its affiliates. All rights reserved.Copyright (C) 1998-2013 Sourcefire, Inc., et al.Using PCRE version: 8.10 2010-06-25Using ZLIB version: 1.2.11Index   Physical Address        IP Address      Device Name     Description
-----   ----------------        ----------      -----------     -----------

C:\Snort\bin>snort.exe -ev -i7
Running in packet dump mode--== Initializing Snort ==--
Initializing Output Plugins!
pcap DAQ configured to passive.
The DAQ version does not support reload.
Acquiring network traffic from "\Device\NPF_{AAD821DC-6F1F-4814-87A2-0D2EA49E304F}".
Decoding Ethernet--== Initialization Complete ==--,,_     -*> Snort! <*-o"  )~   Version 2.9.20-WIN64 GRE (Build 82)''''    By Martin Roesch & The Snort Team: http://www.snort.org/contact#teamCopyright (C) 2014-2022 Cisco and/or its affiliates. All rights reserved.Copyright (C) 1998-2013 Sourcefire, Inc., et al.Using PCRE version: 8.10 2010-06-25Using ZLIB version: 1.2.11Commencing packet processing (pid=960)
WARNING: No preprocessors configured for policy 0.
===============================================================================
Run time for packet processing was 3.69000 seconds
Snort processed 46 packets.
Snort ran for 0 days 0 hours 0 minutes 3 secondsPkts/sec:           15
===============================================================================
Packet I/O Totals:Received:           69Analyzed:           46 ( 66.667%)Dropped:            0 (  0.000%)Filtered:            0 (  0.000%)
Outstanding:           23 ( 33.333%)Injected:            0
===============================================================================
Breakdown by protocol (includes rebuilt packets):Eth:           46 (100.000%)VLAN:            0 (  0.000%)IP4:           45 ( 97.826%)Frag:            0 (  0.000%)ICMP:            0 (  0.000%)UDP:            1 (  2.174%)TCP:           44 ( 95.652%)IP6:            0 (  0.000%)IP6 Ext:            0 (  0.000%)IP6 Opts:            0 (  0.000%)Frag6:            0 (  0.000%)ICMP6:            0 (  0.000%)UDP6:            0 (  0.000%)TCP6:            0 (  0.000%)Teredo:            0 (  0.000%)ICMP-IP:            0 (  0.000%)EAPOL:            0 (  0.000%)IP4/IP4:            0 (  0.000%)IP4/IP6:            0 (  0.000%)IP6/IP4:            0 (  0.000%)IP6/IP6:            0 (  0.000%)GRE:            0 (  0.000%)GRE Eth:            0 (  0.000%)GRE VLAN:            0 (  0.000%)GRE IP4:            0 (  0.000%)GRE IP6:            0 (  0.000%)
GRE IP6 Ext:            0 (  0.000%)GRE PPTP:            0 (  0.000%)GRE ARP:            0 (  0.000%)GRE IPX:            0 (  0.000%)GRE Loop:            0 (  0.000%)MPLS:            0 (  0.000%)ARP:            1 (  2.174%)IPX:            0 (  0.000%)Eth Loop:            0 (  0.000%)Eth Disc:            0 (  0.000%)IP4 Disc:            0 (  0.000%)IP6 Disc:            0 (  0.000%)TCP Disc:            0 (  0.000%)UDP Disc:            0 (  0.000%)ICMP Disc:            0 (  0.000%)
All Discard:            0 (  0.000%)Other:            0 (  0.000%)
Bad Chk Sum:           23 ( 50.000%)Bad TTL:            0 (  0.000%)S5 G 1:            0 (  0.000%)S5 G 2:            0 (  0.000%)Total:           46
===============================================================================Memory Statistics for File at:Mon Sep 23 09:11:25 2024Total buffers allocated:           0
Total buffers freed:               0
Total buffers released:            0
Total file mempool:                0
Total allocated file mempool:      0
Total freed file mempool:          0
Total released file mempool:       0Heap Statistics of file:Total Statistics:Memory in use:              0 bytesNo of allocs:              0No of frees:              0
===============================================================================
Snort exiting
snort.exe -h
snort.exe: option requires an argument -- h,,_     -*> Snort! <*-o"  )~   Version 2.9.20-WIN64 GRE (Build 82)''''    By Martin Roesch & The Snort Team: http://www.snort.org/contact#teamCopyright (C) 2014-2022 Cisco and/or its affiliates. All rights reserved.Copyright (C) 1998-2013 Sourcefire, Inc., et al.Using PCRE version: 8.10 2010-06-25Using ZLIB version: 1.2.11USAGE: snort.exe [-options] <filter options>snort.exe /SERVICE /INSTALL [-options] <filter options>snort.exe /SERVICE /UNINSTALLsnort.exe /SERVICE /SHOW
Options:-A         Set alert mode: fast, full, console, test or none  (alert file alerts only)-b         Log packets in tcpdump format (much faster!)-B <mask>  Obfuscated IP addresses in alerts and packet dumps using CIDR mask-c <rules> Use Rules File <rules>-C         Print out payloads with character data only (no hex)-d         Dump the Application Layer-e         Display the second layer header info-E         Log alert messages to NT Eventlog. (Win32 only)-f         Turn off fflush() calls after binary log writes-F <bpf>   Read BPF filters from file <bpf>-G <0xid>  Log Identifier (to uniquely id events for multiple snorts)-h <hn>    Set home network = <hn>(for use with -l or -B, does NOT change $HOME_NET in IDS mode)-H         Make hash tables deterministic.-i <if>    Listen on interface <if>-I         Add Interface name to alert output-k <mode>  Checksum mode (all,noip,notcp,noudp,noicmp,none)-K <mode>  Logging mode (pcap[default],ascii,none)-l <ld>    Log to directory <ld>-L <file>  Log to this tcpdump file-n <cnt>   Exit after receiving <cnt> packets-N         Turn off logging (alerts still work)-O         Obfuscate the logged IP addresses-p         Disable promiscuous mode sniffing-P <snap>  Set explicit snaplen of packet (default: 1514)-q         Quiet. Don't show banner and status report-r <tf>    Read and process tcpdump file <tf>-R <id>    Include 'id' in snort_intf<id>.pid file name-s         Log alert messages to syslog-S <n=v>   Set rules file variable n equal to value v-T         Test and report on the current Snort configuration-U         Use UTC for timestamps-v         Be verbose-V         Show version number-W         Lists available interfaces. (Win32 only)-X         Dump the raw packet data starting at the link layer-x         Exit if Snort configuration problems occur-y         Include year in timestamp in the alert and log files-z <file>  Set the preproc_memstats file path and name-Z <file>  Set the performonitor preprocessor file path and name-?         Show this information
<Filter Options> are standard BPF options, as seen in TCPDump
Longname options and their corresponding single char version--logid <0xid>                  Same as -G--perfmon-file <file>           Same as -Z--pid-path <dir>                Specify the directory for the Snort PID file--snaplen <snap>                Same as -P--help                          Same as -?--version                       Same as -V--alert-before-pass             Process alert, drop, sdrop, or reject before pass, default is pass before alert, drop,...--treat-drop-as-alert           Converts drop, sdrop, and reject rules into alert rules during startup--treat-drop-as-ignore          Use drop, sdrop, and reject rules to ignore session traffic when not inline.--process-all-events            Process all queued events (drop, alert,...), default stops after 1st action group--enable-inline-test            Enable Inline-Test Mode Operation--dynamic-engine-lib <file>     Load a dynamic detection engine--dynamic-engine-lib-dir <path> Load all dynamic engines from directory--dynamic-detection-lib <file>  Load a dynamic rules library--dynamic-detection-lib-dir <path> Load all dynamic rules libraries from directory--dump-dynamic-rules <path>     Creates stub rule files of all loaded rules libraries--dynamic-preprocessor-lib <file>  Load a dynamic preprocessor library--dynamic-preprocessor-lib-dir <path> Load all dynamic preprocessor libraries from directory--dynamic-output-lib <file>  Load a dynamic output library--dynamic-output-lib-dir <path> Load all dynamic output libraries from directory--pcap-single <tf>              Same as -r.--pcap-file <file>              file that contains a list of pcaps to read - read mode is implied.--pcap-list "<list>"            a space separated list of pcaps to read - read mode is implied.--pcap-loop <count>             this option will read the pcaps specified on command line continuously.for <count> times.  A value of 0 will read until Snort is terminated.--pcap-reset                    if reading multiple pcaps, reset snort to post-configuration state before reading next pcap.--pcap-show                     print a line saying what pcap is currently being read.--exit-check <count>            Signal termination after <count> callbacks from DAQ_Acquire(), showing the time ittakes from signaling until DAQ_Stop() is called.--conf-error-out                Same as -x--enable-mpls-multicast         Allow multicast MPLS--enable-mpls-overlapping-ip    Handle overlapping IPs within MPLS clouds--max-mpls-labelchain-len       Specify the max MPLS label chain--mpls-payload-type             Specify the protocol (ipv4, ipv6, ethernet) that is encapsulated by MPLS--require-rule-sid              Require that all snort rules have SID specified.--daq <type>                    Select packet acquisition module (default is pcap).--daq-mode <mode>               Select the DAQ operating mode.--daq-var <name=value>          Specify extra DAQ configuration variable.--daq-dir <dir>                 Tell snort where to find desired DAQ.--daq-list[=<dir>]              List packet acquisition modules available in dir.  Default is static modules only.--dirty-pig                     Don't flush packets and release memory on shutdown.--cs-dir <dir>                  Directory to use for control socket.--ha-peer                       Activate live high-availability state sharing with peer.--ha-out <file>                 Write high-availability events to this file.--ha-in <file>                  Read high-availability events from this file on startup (warm-start).--suppress-config-log           Suppress configuration information output.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.xdnf.cn/news/148510.html

如若内容造成侵权/违法违规/事实不符,请联系一条长河网进行投诉反馈,一经查实,立即删除!

相关文章

MiniMind环境搭建训练推理测试

引子 写了那么多篇大模型环境搭建推理部署的blog&#xff0c;如果没记错有几篇就是因为GPU资源hold不住&#xff0c;没有无法得到最终结果的&#xff08;智谱AI GLM-4V-9B视觉大模型环境搭建&推理-CSDN博客&#xff09;。我个人一直觉得大模型发展最终还是要走向端侧&…

8591 计算next值

### 思路 1. **录入字符串**&#xff1a;读取用户输入的字符串个数 n&#xff0c;然后逐个读取每个字符串。 2. **计算NEXT值**&#xff1a;对于每个字符串&#xff0c;计算其NEXT数组。 3. **输出NEXT值**&#xff1a;输出每个字符串对应的NEXT数组。 ### 伪代码 function g…

DevExpress WPF中文教程:如何解决行焦点、选择的常见问题?

DevExpress WPF拥有120个控件和库&#xff0c;将帮助您交付满足甚至超出企业需求的高性能业务应用程序。通过DevExpress WPF能创建有着强大互动功能的XAML基础应用程序&#xff0c;这些应用程序专注于当代客户的需求和构建未来新一代支持触摸的解决方案。 无论是Office办公软件…

环境部署-环境变量

环境部署-环境变量 1、python设置查找环境变量2、linux设置设置查找环境变量 仅个人笔记使用&#xff0c;感谢点赞关注 1、python设置查找环境变量 python设置环境变量 import os os.environ["PYTHONPATH"] "/path/to/library"python获取环境变量 MYS…

AI时代最好的编程语言应该选择谁?

在AI的时代&#xff0c;编程语言的选择对就业机会和薪资水平有着至关重要的影响。C和Python被认为是两个极端的代表语言&#xff0c;分别适用于不同的技术需求和开发场景。然而&#xff0c;选择最有价值的编程语言&#xff0c;不仅要考虑其技术特性&#xff0c;还需要综合考虑行…

【数据结构】你真的了解哈希表吗?看完你会对数据结构——哈希表, 会有更深更全面的认识 (理论篇)

本篇会加入个人的所谓鱼式疯言 ❤️❤️❤️鱼式疯言:❤️❤️❤️此疯言非彼疯言 而是理解过并总结出来通俗易懂的大白话, 小编会尽可能的在每个概念后插入鱼式疯言,帮助大家理解的. &#x1f92d;&#x1f92d;&#x1f92d;可能说的不是那么严谨.但小编初心是能让更多人…

实例讲解电动汽车VCU故障分类、故障码发送策略及Simulink建模方法

汽车作为一个上万零部件组成的工业品&#xff0c;从设计研发到试制调试再到路试可靠性测试再到车辆批量生产&#xff0c;要经历一个相当长的周期。在设计研发阶段&#xff0c;从设计方案与原理上尽量减少故障出现的可能&#xff0c;在试制调试阶段&#xff0c;通过全面的调试测…

车间设备巡检的意义与设备巡检系统的选择之道

在现代工业生产中&#xff0c;车间设备是企业的核心资产&#xff0c;其稳定运行直接关系到企业的生产效率、产品质量以及经济效益。而车间设备巡检作为设备管理的重要环节&#xff0c;具有不可忽视的重要性。 一、车间设备巡检的重要性 车间设备在长时间、高强度的运行过程中&…

C++番外篇——对于继承中子类与父类对象同时定义其析构顺序的探究

思考这样一串代码的运行结果&#xff1a; #include <iostream> using namespace std; class Person { public:~Person() { cout << "~Person()" << endl; } }; class Student:public Person { public:~Student() { cout << "~Student(…

Linus Torvalds解释为什么Linux开发人员趋向老龄化反而是件好事

Linux 的关键人物莱纳斯-托瓦尔兹&#xff08;Linus Torvalds&#xff09;说&#xff0c;尽管长期以来一直有关于开源软件开发领域出现倦怠的报道&#xff0c;但 Linux 仍一如既往地强大–尽管他承认&#xff0c;由于其规模和范围&#xff0c;他的项目也许是一个例外。 本周一&…

HTML引用CSS

CSS 样式需要引用到 HTML 中才能真正有效&#xff0c;那么如何才能在 HTML 中引用 CSS 呢&#xff1f;下面就来介绍一下。 1. 内嵌样式表 您可以在 HTML 头部&#xff08;<head>标签内&#xff09;的<style>标签中定义 CSS 样式&#xff0c;使用内嵌样式表定义的…

深入解读MaaS技术架构:从模型服务到智能部署的全流程分析

随着人工智能&#xff08;AI&#xff09;的迅速发展&#xff0c;MaaS&#xff08;Model as a Service&#xff0c;模型即服务&#xff09;技术架构应运而生。它通过将复杂的AI模型封装为标准化服务&#xff0c;降低了模型的开发和部署门槛&#xff0c;帮助企业快速实现业务场景…

传统产品经理如何快速转行成为顶尖的AI产品经理?

前言 产品经理本身便是一个需要不断学习、不断实践的岗位&#xff0c;即使是AI产品经理&#xff0c;也不能脱离产品经理岗位的本质。 另外&#xff0c;要想知道具体如何转行成为顶尖的AI产品经理&#xff0c;我们首先要明确两个问题&#xff0c;即&#xff1a; 什么是AI产品…

RAG 涨点小技巧——RAG上下文召回

昨天Claude团队发了一个关于RAG的博客&#xff0c;介绍了上下文召回的思路&#xff0c;可以看看。先看看标准的RAG&#xff08;检索增强生成&#xff09;是怎么做的&#xff1f; 将用于检索的知识库&#xff08;文档&#xff09;拆为小&#xff08;几百个token&#xff09;的文…

商业银行应用安全架构设计实践

传统的信息安全工作通常偏向于事中或事后检测漏洞,随着敏捷开发工作的逐步推进,商业银行认识到安全架构设计在实现IT降本增效方面的独特优势。近几年,商业银行逐步构建了安全架构设计工作体系,在组织人员、安全技术与管控流程方面,与企业IT架构密切协同,着力建设安全公共…

GPU与国产芯片异构通信方案,异构万卡集群 初步调研

视频分享在这&#xff1a; 3.1异构万卡集群&#xff0c;GPU与国产计算卡芯片异构通信_哔哩哔哩_bilibili 国内已经有三家&#xff0c;实现了异构集群&#xff0c;GPU与国产芯片异构通信方案&#xff0c;初步调用结果如下。 异构集群的挑战 异构芯片间的混训主要面临两大挑战…

《概率论与数理统计》学渣笔记

文章目录 1 随机事件和概率1.1 古典概型求概率随机分配问题简单随机抽样问题 1.2 几何概型求概率1.3 重要公式求概率 2 一维随机变量及其分布2.1 随机变量及其分布函数的定义离散型随机变量及其概率分布&#xff08;概率分布&#xff09;连续型随机变量及其概率分布&#xff08…

Java之线程篇六

目录 CAS CAS伪代码 CAS的应用 实现原子类 实现自旋锁 CAS的ABA问题 ABA问题导致BUG的例子 相关面试题 synchronized原理 synchronized特性 加锁过程 相关面试题 Callable 相关面试题 JUC的常见类 ReentrantLock ReentrantLock 和 synchronized 的区别: 原…

《大学操作系统课程:开启计算机世界的关键之门》

在大学的计算机科学与技术专业中&#xff0c;操作系统课程犹如一把钥匙&#xff0c;为学子们打开了深入了解计算机系统运行机制的大门。 操作系统课程首先会带领你探索操作系统的基本概念。你会明白操作系统是一种系统软件&#xff0c;它管理着计算机的硬件资源和软件资源&…

win系统接入google_auth实现动态密码,加强保护

开源代码地址&#xff1a;windows动态密码: 针对win服务器进行的动态密码管控&#xff0c;需要配合谷歌的身份认证APP使用 (gitee.com) 为什么要搞个动态密码呢&#xff1f; 首先云服务器启用了远程访问&#xff0c;虽然更换了端口以及初始用户名&#xff0c;不过还是是不是被…