• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1513
  • Last Modified:

how can i list interface using snort

how can i list interface using snort
when i try
snort -W
it gives error invalid option
0
ammadeyy2020
Asked:
ammadeyy2020
  • 3
  • 2
1 Solution
 
OnkeltCommented:
If you check the list of options possible to run here:
http://nsmwiki.org/Snort#Usage

You will se the "-w" (lowercase) is primarily to

-w         Dump 802.11 management and control frames

It could be possible that using Uppercase lettering prevents your command from running.
0
 
ammadeyy2020Author Commented:
snort -w
invalid input
i have upgraded the version to latest version, still same issue
0
 
OnkeltCommented:
Ahh, I forgot to ask, are you using Windows or Linux to run snort?

After some digging it seems the -w option only works in the Windows version.
0
 
ammadeyy2020Author Commented:
linux
0
 
OnkeltCommented:
Then you should type

ifconfig -a

to show all your available interfaces.

Then you run snort with

snort -i <interface>

or if you only have one interface available,
make snort listen on the first available interface:

snort -v

Hope this helps.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now