First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Exclude public traffic

  • retag add tags

What filters could i use to remove all the internet chatter in the LAN. Am trying to get a look into all the LAN traffic without applying to broad of filters and accidentally obscuring something regarding multicasting, mDNS, and etc.

Tried basic attempts and inverses of examples but would end up missing things. For example: ip.src in {192.168.0.0/16 172.16.0.0/12 10.0.0.0/8} or ip.dst in {192.168.0.0/16 172.16.0.0/12 10.0.0.0/8} occasional public ip's scattered about. Also since public traffic requires more layers maybe it would be better and easier to specifically exclude it rather than try to pick everything in a lan?

gr4cchus's avatar
1
gr4cchus
asked 2021-12-30 07:10:11 +0000
edit flag offensive 0 remove flag close merge delete

Comments

I think it would be easier to exclude what you don't want. An example to exclude multicast traffic, you can use the filter eth.dst.ig==1.

BigFatCat's avatar BigFatCat (2021-12-30 19:33:36 +0000) edit
add a comment see more comments

1 Answer

1

Extending on your work this comes to the following expression:

ip.src in {192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8, 169.254.0.0/16, 0.0.0.0} and ip.dst in {192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8, 224.0.0.0/4, 169.254.0.0/16, 255.255.255.255}

  • Both source _and_ destination addresses need to be in specific ranges. Otherwise local generated traffic for external addressed would show up.
  • The source could also be an Automatic IPv4 address (169.254.0.0/8)
  • The source could also be an unconfigured IPv4 address (0.0.0.0)
  • The destination could also be a multicast address (224.0.0.0/4)
  • The destination could also be an Automatic IPv4 address (169.254.0.0/8)
  • The destination could also be the broadcast address (255.255.255.255)

btw: items in a list should be separated by ,

Jaap's avatar
13.7k
Jaap
answered 2021-12-30 20:01:35 +0000
edit flag offensive 0 remove flag delete link

Comments

1

Have the extra elements for IPv6 been left as an exercise for the reader :-)

grahamb's avatar grahamb (2021-12-30 20:24:34 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer