NSIS-ka
A free C++ implementation of NSIS protocols

Opened 8 years ago

Closed 8 years ago

#120 closed defect (fixed)

Transport protocol negotiation fails if SCTP is compiled in, but not advertised

Reported by: bless Owned by: bless
Priority: major Milestone:
Component: GIST Version:
Keywords: Cc:

Description

This bug was introduced by changes in r4084. What happens is this: the responder sends:

   StackProposal
Profiles: 2
1 MA fields: <1>
2 MA fields: <2> <1>

   StackConfigurationData
Profiles: 2
MA-Hold Time: 180000 ms
Protocol: 1 Profile: 2 Option Data: <75> <30> (30000)
Protocol: 1 Profile: 3 Option Data: <75> <31> (30001)

which causes to connect via SSL to the TCP port :-( Negotiation looks like this:

2009-07-14 14:44:29.563-9915- DEBUG /4: GIST Processing Sending back confirm in C-Mode
2009-07-14 14:44:29.563-9915- DEBUG /4: capability      Setting up TCP as protocol for C-Mode
2009-07-14 14:44:29.563-9915- DEBUG /4: capability      Looking up configuration data for stack profile at index 1
2009-07-14 14:44:29.563-9915- DEBUG /4: capability      Setting up TLS as protocol for C-Mode
2009-07-14 14:44:29.563-9915- DEBUG /4: capability      Looking up configuration data for stack profile at index 2
2009-07-14 14:44:29.563-9915- DEBUG /4: capability      Succeeded in constructing matching target address from profile, chose TLS/TCP port#30000

So a stack configuration for profile 1 cannot be found.

Change History (1)

comment:1 Changed 8 years ago by bless

  • Resolution set to fixed
  • Status changed from new to closed
  • should be fixed by changes in r4097
Note: See TracTickets for help on using tickets.