📄 changes
字号:
RSVP -- ReSerVation ProtocolUSC Information Sciences InstituteMarina del Rey, CA CHANGES IN /rsvpd DIRECTORYCHANGES IN RELEASE 4.2a4rsvp.h: INTEGRITY object Changed format to conform to new specs... - Timestamp based Sequence Number (NTP format, 64 bit). - Key Identifier field size increased to 64 bit. - Sender Address eliminated. - Uniform object type for both IPv4 and IPv6rsvp_var.h: KEY_ASSOC structure Table entry changed to reflect new INTEGRITY format. MIN_INTGR_SEQ_NO eliminated.rsvp_main.c: cfig_action() Neighbor (sender) address is no longer required and this command has been eliminated. sendkey and recvkey IDs changed to a hex string (8 byte, 16 hex char) and sender address eliminated. These changes have been reflected in the rsvpd man page.rsvp_print.c: fmt_object() Changed to print the new INTGRITY object format.rsvp_bord.c: ntoh_object(), hton_object() Handle network and host formats of INTEGRITY.rsvp_maps.c: check_version_sum(), rsvp_map_packet() Allow both checksum and Integrity to be present.rsvp_key.c: Changes to correspond with the new MD5 draft... - Sender Address not required in INTEGRITY object - Key Identifier field increased to 64b - Sequence number generated using a combination of timestamp and message counter - IPv4 and IPv6 integrity handled uniformly - Key selection procedure sender: virtual interface receiver: keyid - Allow checksum to be present - Handle keys with same keyid - New replay protection algorithm (sans handshake) - Allow Sequence Numbers to wrap aroundrsvp_path.c: path_refresh() Incrementing of sequence number for an INTEGRITY key association moved from here to set_integrity(). Now it applies to all message types.*.c *.h Updated RSRR interface to RSRR v2. As a result: * rsvp_unicast.c is renamed to rsrr_unicast.c. * rsvp_rsrr.c is renamed to rsrr_rsrr.c. * rsrr.c is added. Changes to various files are intended to adapt to the new RSRR interface which will handle all of IPv4/IPv6 unicast/multicast route queries for rsvpd. All the previous calls to unicast_route() and Route_Query() is now handled by one single rsrr_route_query(). The details of RSRRv2 can be found in the Internet draft draft-ietf-rsvp-routing-02.txt. The definition of bitmap has changed from an unsigned long integer to an array of characters. Consequently, the new bitmap has 64 bits and it can be changed by resetting the BMP_SIZE in rsvp_var.h if this turns out to be insufficient. One example change is, dump_PSB() now prints list of the outgoing interfaces instead of an integer representation of the bitmap.rsa_md5_global.h, rsa_md5c.c, rsa_md5c.h: Implemented as per RFC-1321 : The MD5 Message-Digest Algorithm. rsa_hmac_md5.c, rsa_hmac_md5.h: Implemented as per RFC-2104 : HMAC: Keyed-Hashing for Message Authentication.rsa_md5_mddriver.c: Test vectors and routines for HMAC and MD5 calculations spread over the following Files : rsa_md5_global.h RSAREF types and constants rsa_md5c.c MD5 routines rsa_md5c.h corresponding header rsa_hmac_md5.c HMAC algorithm rsa_hmac_md5.h corresponding headerrsvp_key.c: Properly interfaced the HMAC-MD5 algorithm with RSVP Integrity calculations. Integrity implementation tested for Resv, ResvTear, Path, PathTear.rsvp_key.c: Function Modified: set_integrity() Interface changed From : void set_integrity(struct packet *, int, struct in_addr *); To : void set_integrity(struct packet *, int, net_addr *);rsvp_key.c: Function Modified: load_key() Changes to prevent key buffer overflow when given a MD5_LENG Byte key. From : strcpy((char *) (cp = ascikey), keystr); To : strncpy((char *) (cp = ascikey), keystr, 2*MD5_LENG);rsvp_maps.c: Functions Modified: check_version_sum(), rsvp_pkt_map(), rsvp_map_packet() Significant changes to perform integrity check before converting byte order from NET to HOST. The integrity object is pre-processed but care is taken not to perform an extra pass over the entire packet (except in rare cases)rsvp_resv.c: Function Modified: accept_resv_tear() Changes in calculation of interface cause for integrity calculation it matters whether the resv_tear came from the API or over network. From : out_vif = hop_lih(pkt->rsvp_nhop); To : out_vif = IsHopAPI(pkt->rsvp_nhop) ? api_num : hop_lih(pkt->rsvp_nhop);rsvp_path.c: Function Modified: accept_path_tear() Changes to check that INTEGRITY was included if it is required. Similar to accept_path()rsvp_api.c, rsvp_api.h rapi_lib.c: Created a new api_addr structure to pass IP address data between RAPI library and the RSVP daemon. Since the layout and size of a sockaddr_in* can vary on different operating systems, different OS versions, and depending on whether IPv6 support is available, we define and use an OS independent representation. All fields of this new data structure by definition are in network byte order.rsvp_api.c, rsvp_api.h: Major update of API upcall code. (1) When new RAPI session is registered, deliver any existing path state for it in an upcall; but don't send upcall if there is no path state, and don't send upcall to all matching RAPI sessions. (2) Make null PATH_EVENT upcall work (again) for path teardown. (3) Make WF RESV_EVENT upcall work (again). (4) Support API requests/responses in network byte order. (5) Advance to version 5 API but allow range of versions (currently 4 or 5).rapi_lib.c: RAPI now sends out API request through UDP socket at port API_PORT when the attempt to send the request through UNIX domain socket fails.rsvp_netio.c: TTL threshold for multicast forwarding is now enforced for forwarding multicast Path messages.rsvp_resv.c: Fix bug: Teardown of resv state was not resulting in null RESV_EVENT upcall to API.rsvp_resv.c: Fix bug in freeing local copy of filter spec in resv_refresh_PSB(). [Masanobu Yuhara, Fujitsu]rapi_lib.c, rapi_fmt.c: Fix bugs in setting and printing break bits in Adspecs, and reversed parameters to strncpy(). [Masanobu Yuhara, Fujitsu]rtap_cmds.c: Make parsing of CL flowspecs consistent with current int-serv spec (Peak Rate parm is required). [Masanobu Yuhara, Fujitsu]rsvp_err.c: Fix bug in blockade-state processing of ResvErr message for SE style [Masanobu Yuhara, Fujitsu]rapi_lib.h, rsvp_intserv.h: Minor changes to align with expected OpenGroup RAPI standard: Define NON_IS_HOP macro, remove obsolete rapi_set_timo declaration. CHANGES IN RELEASE 4.2a3 February 27, 1998:Makefile: Added the NO_IPV6 macro to provide the ability to compile an IPv4 only version on an IPv6 capable machine.rsvp_LLkern.c: The argument to TC_init() was changed to pass to outgoing interface LIH. It previously passed a file descriptor to a UDP socket used by the TC test stub code. Fixed bug which caused TC_DelFlowspec() to be called with an invalid handle. [Michael Zink , NIST]*.c *.h Init_Object() was changed to set the object size to the exact size of the specified ctype rather than the maximum of all ctypes. IPv4 objects were being sent with IPv6 lengths in IPv6-capable version. Enumerations of the if_vec[] interface table test the type of the interface in addition to the address (phy or vif). IPv6 multicast membership requests now use the interface number rather than the address.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -