Ethereal-dev: [Ethereal-dev] [patch] Small patch for flow graph feature for SS7 nodes
Hello all,
here is a small patch for the flow graph feature. It allows to have SS7
nodes (network indicator/point codes) to be recognized as nodes in the
graphs.
The patch consists in using "pinfo->net_src" or "pinfo->net_dst" instead
of "pinfo->src" or "pinfo->dst".
I did some tests with other IP protocols and behavior was still the same
as before. But I do not guaranty that it doesn't have some bad side
effects for some protocols.
Here is a sample dialog between two SS7 point codes: 514 and 257
(network indicator: 2 (national):
|Time | 2:514 | 2:257 |
|0.000 | TCAP | |UDT QueryWithPerm
| |(2904) ------------------> (2904) |
|0.000 | ANSI MAP | |UDT
ConversationWithoutPerm
| |(2904) <------------------ (2904) |
|0.000 | ISUP (ITU)| |IAM (CIC 256)
| |(2904) ------------------> (2904) |
|0.000 | ISUP (ITU)| |ACM (CIC 256)
| |(2904) <------------------ (2904) |
|0.000 | ANSI MAP | |UDT
ConversationWithoutPerm
| |(2904) <------------------ (2904) |
|1.000 | ISUP (ITU)| |ANM (CIC 256)
| |(2904) <------------------ (2904) |
|1.000 | TCAP | |UDT
ConversationWithoutPerm
| |(2904) ------------------> (2904) |
|3.000 | ANSI MAP | |UDT
ConversationWithPerm
| |(2904) <------------------ (2904) |
|3.000 | TCAP | |UDT
ConversationWithoutPerm
| |(2904) ------------------> (2904) |
|5.000 | ANSI MAP | |UDT
ConversationWithPerm
| |(2904) <------------------ (2904) |
|5.000 | TCAP | |UDT Response
| |(2904) ------------------> (2904) |
|5.000 | ISUP (ITU)| |REL (CIC 256)
| |(2904) ------------------> (2904) |
|5.000 | ISUP (ITU)| |RLC (CIC 256)
[Malformed Packet]
| |(2904) <------------------ (2904) |
Olivier.
Attachment:
flowgraph.diff
Description: flowgraph.diff
|Time | 2:514 | 2:257 |
|0.000 | TCAP | |UDT QueryWithPerm
| |(2904) ------------------> (2904) |
|0.000 | ANSI MAP | |UDT ConversationWithoutPerm
| |(2904) <------------------ (2904) |
|0.000 | ISUP (ITU)| |IAM (CIC 256)
| |(2904) ------------------> (2904) |
|0.000 | ISUP (ITU)| |ACM (CIC 256)
| |(2904) <------------------ (2904) |
|0.000 | ANSI MAP | |UDT ConversationWithoutPerm
| |(2904) <------------------ (2904) |
|1.000 | ISUP (ITU)| |ANM (CIC 256)
| |(2904) <------------------ (2904) |
|1.000 | TCAP | |UDT ConversationWithoutPerm
| |(2904) ------------------> (2904) |
|3.000 | ANSI MAP | |UDT ConversationWithPerm
| |(2904) <------------------ (2904) |
|3.000 | TCAP | |UDT ConversationWithoutPerm
| |(2904) ------------------> (2904) |
|5.000 | ANSI MAP | |UDT ConversationWithPerm
| |(2904) <------------------ (2904) |
|5.000 | TCAP | |UDT Response
| |(2904) ------------------> (2904) |
|5.000 | ISUP (ITU)| |REL (CIC 256)
| |(2904) ------------------> (2904) |
|5.000 | ISUP (ITU)| |RLC (CIC 256) [Malformed Packet]
| |(2904) <------------------ (2904) |