Hi everybody!
I made a patch to COPS dissector. See the attached diff which is relative to
packet-cops.c, 1.28
This patch will correct two defects in COPS-PR dissector printout for
OCTET STRING type data for two PRIDs. It will also remove some old
stuff that's not useful.
Now IPv4 addresses in ipFilterEntry PRID's EPD are correctly printed
and the bitmask in frwkPrcSupportEntry PRID's EPD are corrctly printed
as bitmask.
Here are samples of the fixed output :
frwkPrcSupportEntry:
Provisioning Instance Identifier (PRID)
Object Length: 16
S-Num: Provisioning Instance Identifier (PRID) (1)
S-Type: BER (1)
Contents:
Value: OBJECTID: 1.3.6.1.2.2.2.1.1.1.5 (FRAMEWORK-PIB::frwkPrcSupportEntry.5)
Encoded Provisioning Instance Data (EPD)
Object Length: 21
S-Num: Encoded Provisioning Instance Data (EPD) (3)
S-Type: BER (1)
Contents:
Value: UNSIGNED32: 5 (0x5)
Value: OBJECTID: 1.3.6.1.2.2.2.2.1.1 (FRAMEWORK-PIB-MIB::frwkIfCapSetEntry)
Value: OCTET STRING: 11100000
ipFilterEntry :
Provisioning Instance Identifier (PRID)
Object Length: 16
S-Num: Provisioning Instance Identifier (PRID) (1)
S-Type: BER (1)
Contents:
Value: OBJECTID: 1.3.6.1.2.2.2.3.2.1.1 (FRAMEWORK-PIB-MIB::frwkIpFilterAddrType)
Encoded Provisioning Instance Data (EPD)
Object Length: 48
S-Num: Encoded Provisioning Instance Data (EPD) (3)
S-Type: BER (1)
Contents:
Value: INTEGER: 1 (0x1)
Value: OCTET STRING: 010.101.067.034
Value: UNSIGNED32: 32 (0x20)
Value: INTEGER: 1 (0x1)
Value: OCTET STRING: 010.101.064.013
Value: UNSIGNED32: 32 (0x20)
Value: INTEGER: 255 (0xff)
Value: INTEGER: 6 (0x6)
Value: UNSIGNED32: 0 (0)
Value: UNSIGNED32: 65535 (0xffff)
Value: UNSIGNED32: 80 (0x50)
Value: UNSIGNED32: 80 (0x50)
Best Regards,
***************************************************************************
*Kari Tiirikainen * kari.tiirikainen@xxxxxxxxx *
***************************************************************************
Attachment:
packet-cops.c.diff
Description: packet-cops.c.diff