在某些情况下,sctp init不包含ipv4地址参数

时间:2019-05-08 12:01:34

标签: sctp

当我使用“ 192.169.201.60”作为主地址时,Sctp初始化不携带ipv4地址参数,但是当我使用“ 172.17.42.3”时,它工作正常。

这种情况一直在发生,我对此行为感到困惑。

因此,当源ip地址为172.17.42.3时,它可以正常工作,但当源ip地址为192.169.201.60时,则不能正常工作。

当包含“ IPv4地址参数”时,请参见tcpdump中的以下块:

Frame 2338: 100 bytes on wire (800 bits), 100 bytes captured (800 bits)
Linux cooked capture
Internet Protocol Version 4, Src: 172.17.42.3, Dst: 172.17.42.5
Stream Control Transmission Protocol, Src Port: 54314 (54314), Dst Port: 3868 (3868)
    Source port: 54314
    Destination port: 3868
    Verification tag: 0x00000000
    [Association index: 0]
    Checksum: 0x00000000 [unverified]
    [Checksum Status: Unverified]
    INIT chunk (Outbound streams: 10, inbound streams: 65535)
        Chunk type: INIT (1)
        Chunk flags: 0x00
        Chunk length: 52
        Initiate tag: 0xc29ebee4
        Advertised receiver window credit (a_rwnd): 32767
        Number of outbound streams: 10
        Number of inbound streams: 65535
        Initial TSN: 3242577996
        IPv4 address parameter (Address: 172.17.42.3)
        IPv4 address parameter (Address: 192.169.201.60)
        Supported address types parameter (Supported types: IPv4)
        ECN parameter
        Forward TSN supported parameter

See below chunk from tcpdump when "IPv4 address parameter" not included:
Frame 2340: 84 bytes on wire (672 bits), 84 bytes captured (672 bits)
Linux cooked capture
Internet Protocol Version 4, Src: 192.169.201.60, Dst: 192.169.201.62
Stream Control Transmission Protocol, Src Port: 43213 (43213), Dst Port: 3868 (3868)
    Source port: 43213
    Destination port: 3868
    Verification tag: 0x00000000
    [Association index: 1]
    Checksum: 0xcdb3ff13 [unverified]
    [Checksum Status: Unverified]
    INIT chunk (Outbound streams: 10, inbound streams: 65535)
        Chunk type: INIT (1)
        Chunk flags: 0x00
        Chunk length: 36
        Initiate tag: 0x1d8a2c1b
        Advertised receiver window credit (a_rwnd): 32767
        Number of outbound streams: 10
        Number of inbound streams: 65535
        Initial TSN: 3195157733
        Supported address types parameter (Supported types: IPv4)
        ECN parameter
        Forward TSN supported parameter

所以我觉得两种情况下的sctp行为都应该很好。

0 个答案:

没有答案