Snort mailing list archives

Re: How to write rules for detecting out Network traffic on port 80


From: Patrick Willi via Snort-sigs <snort-sigs () lists snort org>
Date: Sat, 30 Nov 2019 14:33:19 +0000

1. How do you access the http service? cURL? Browser? What http service are you using?
Where do you access the http service (on the snort machine or on another machine)?

Gesendet von ProtonMail mobile

-------- Original-Nachricht --------
An 30. Nov. 2019, 15:11, 刘栋 via Snort-sigs schrieb:

1.I set up an http service and snort in my virtual machine ubuntu 16.04. I wrote a test rule:'alert tcp any 80 -> any 
any (msg: "test 80 port"; sid: 10000001)', when I access the http service  no alert output in snort,what's the 
problem?
I want to monitor what the local http server responds to the client,how to write rules. thanks!

2. snort -V:
root@ubuntu:/etc/snort/rules# snort -V

   ,,_     -*> Snort! <*-
  o"  )~   Version 2.9.15 GRE (Build 7)
   ''''    By Martin Roesch & The Snort Team: http://www.snort.org/contact#team
           Copyright (C) 2014-2019 Cisco and/or its affiliates. All rights reserved.
           Copyright (C) 1998-2013 Sourcefire, Inc., et al.
           Using libpcap version 1.7.4
           Using PCRE version: 8.38 2015-11-23
           Using ZLIB version: 1.2.8

3. start snort
snort -A console -q -c /etc/snort/snort.conf -i ens33
_______________________________________________
Snort-sigs mailing list
Snort-sigs () lists snort org
https://lists.snort.org/mailman/listinfo/snort-sigs

Please visit http://blog.snort.org for the latest news about Snort!

Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette

Visit the Snort.org to subscribe to the official Snort ruleset, make sure to stay up to date to catch the most <a 
href=" https://snort.org/downloads/#rule-downloads";>emerging threats</a>!

Current thread: