views:

1438

answers:

3

I have looked all over the net for a tutorial on how to filter the info column but cant find any that makes sense.

I want to filter all logs where the info column contains the text "insitu-conf" but cant find out how. Help please.

A: 

Are you looking for capture filters or display filters? Is "insitu-conf" a hostname?

Edit:

Looks like insitu-conf is port 1490, so a simple filter like:

tcp.port == 1490 || udp.port == 1490

Should do the trick.

Lance Richardson
well in the info column it looks like this51811 > insitu-conf [ACK] Seq=5 and so on...
Ozzy
this helped me alot aswell but the first post explained in more detail. thats why i gave him the answer, thanks
Ozzy
+4  A: 

You actually can't do this directly. The info column is decoded based on the properties of the packet, though, and you can filter on these which will have exactly the same effect. The only difference is you have to figure out what info wireshark is using to create that info line, which may be non-intuitive.

In this example, 'insitu-conf' is a port alias for port 1490 (grep insitu-conf /etc/services) and so wireshark is telling you that this is a packet from remote port 51811 to local port 1490. Thus, the filter to caputre those packets would be 'dst port=1490'.

In other instances, there may be a more descriptive info line which is derived from several properties of the packet, including the port and some of the data -- for instance, http requests on port 80 will have an info line that actually includes the first line of the http request.

Brad B
This is what I would go for
ChrisAD
this explained it perfectly for me ty
Ozzy
A: 

http.request.uri matches "insitu-conf" should also work.

Steve