Protocols/OSCAR/SNAC/OSERVICE SERVICE RESPONSE: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 4: | Line 4: | ||
|name=OSERVICE__SERVICE_RESPONSE | |name=OSERVICE__SERVICE_RESPONSE | ||
|id=0x0001, 0x0005 | |id=0x0001, 0x0005 | ||
|service= | |service=[[Protocols/OSCAR/Services/BOS|BOS]] | ||
|status={{Protocols/OSCAR/Foodgroups/OSERVICE/Status}} | |status={{Protocols/OSCAR/Foodgroups/OSERVICE/Status}} | ||
|version={{Protocols/OSCAR/Foodgroups/OSERVICE/Version}} }} | |version={{Protocols/OSCAR/Foodgroups/OSERVICE/Version}} }} | ||
Revision as of 23:47, 12 February 2021
| OSCAR Protocol |
| Introduction • Terms • Clients |
| Basic |
| Datatypes • FLAP • SNAC • TLV |
| UUIDs • Errors • Tool IDs |
| Host Interaction |
| Rate Limits • Migration • Messages |
| Other Services |
| ADMIN • ADVERT • ALERT |
| BART • BOS • BUCP • CHAT |
| CHAT_NAV |
| Tutorials |
| Sign On • BART • Rendezvous |
| ICBM • Locate • Buddies |
| Foodgroups |
| OSERVICE (0x0001) |
| LOCATE (0x0002) |
| BUDDY (0x0003) |
| ICBM (0x0004) |
| ADVERT (0x0005) |
| INVITE (0x0006) |
| ADMIN (0x0007) |
| POPUP (0x0008) |
| PD (0x0009) |
| USER_LOOKUP (0x000A) |
| STATS (0x000B) |
| TRANSLATE (0x000C) |
| CHAT_NAV (0x000D) |
| CHAT (0x000E) |
| ODIR (0x000F) |
| BART (0x0010) |
| FEEDBAG (0x0013) |
| ICQ (0x0015) |
| BUCP (0x0017) |
| ALERT (0x0018) |
| PLUGIN (0x0022) |
| UNNAMED_FG_24 (0x0024) |
| MDIR (0x0025) |
| ARS (0x044A) |
| ID | Origin | Name | Foodgroup | Service | Status | Version |
|---|---|---|---|---|---|---|
| 0x0001, 0x0005 | Host | OSERVICE__SERVICE_RESPONSE | Unspecified | BOS | Active | 4.0 |
This SNAC contains information about connecting to the new server. It is the response from the server to a service request.
SNAC Header
| Foodgroup | uint16 (word) | 00 01 |
| Subgroup | uint16 (word) | 00 05 |
| Flags | uint16 (word) | 00 00 |
| Request ID | uint32 (dword) | 00 00 00 00 |
SNAC Data
| Name | Type | Notes |
|---|---|---|
| connectInfo | Rest of SNAC array of TLV | [Class: OSERVICE__SERVICE_RESPONSE_TAGS] How to connect to the new server |
Class: OSERVICE__SERVICE_RESPONSE_SSL_STATE
This describes what type of SSL connection the client and backend have.
| Name | Value | Notes |
|---|---|---|
| OSERVICE__SERVICE_RESPONSE_SSL_STATE_NOT_USED | 0x00 | SSL is not supported or not requested for this connection |
| OSERVICE__SERVICE_RESPONSE_SSL_STATE_USE | 0x01 | SSL is being used |
| OSERVICE__SERVICE_RESPONSE_SSL_STATE_RESUME | 0x02 | SSL is being used and SSL resume is supported if desired |
TLV Class: OSERVICE__SERVICE_RESPONSE_TAGS
Container Data TLV Type RAW SNAC Header TLV Service Type (word) 0x000d TLV Service Host (string) 0x000f TLV Auth Cookie? (l: 0x0100) 0x0006
This class provided information about where the client should connect for the service.
| Name | Tag | Type | Notes |
|---|---|---|---|
| OSERVICE__TLV_TAGS_RECONNECT_HERE | 0x05 | string | IP address followed by optional colon and port, 10.0.0.1:5190 |
| OSERVICE__TLV_TAGS_LOGIN_COOKIE | 0x06 | string | Binary opaque data |
| OSERVICE__TLV_TAGS_GROUP_ID | 0x0D | uint16 (word) | Foodgroup for which this response is for |
| OSERVICE__TLV_TAGS_SSL_CERTNAME | 0x8D | string | Certname to use for SSL validation |
| OSERVICE__TLV_TAGS_SSL_STATE | 0x8E | uint8 (byte) | [Class:OSERVICE__SERVICE_RESPONSE_SSL_STATE] SSL state |
OSERVICE SNACs
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||