how can i list interface using snort

how can i list interface using snort
when i try
snort -W
it gives error invalid option
ammadeyy2020Asked:
Who is Participating?
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.