rfc

TCP/IP协议(二)tcp/ip基础知识

 ̄綄美尐妖づ 提交于 2019-11-27 09:32:11
今天凌晨时候看书,突然想到一个问题:怎样做到持续学习?然后得出这样一个结论:放弃不必要的社交,控制欲望,克服懒惰。。。 然后又有了新的问题:学习效率时高时低,状态不好怎么解决?这也是我最近在思考的问题。。。。。。 一、TCP/IP的标准化 1、TCP/IP的含义 一般来说,TCP/IP是利用IP进行通信时所必须用到的协议群的统称。 具体点,IP或ICMP、TCP或UDP、TELENT或FTP、以及HTTP等都属于TCP/IP协议,而TCP/IP一词泛指这些协议,有时称它们为TCP/IP为网际协议族/TCP/IP协议族 如下图所示: 2、标准化的精髓 特性:开放性、注重实用性(被标准化的协议能否被实际运用) TCP/IP协议由IETF(国际互联网工程任务组)讨论制定;即将协议的大致规范定下来,然后进行通信试验,及时修订 3、规范——RFC RFC:request for comment,即征求意见表;那些需要标准化的协议,会被计入RFC并在互联网上公布;RFC不仅包含协议规范内容,还包括协议实现和运用的相关信息,以及实验方面的信息 RFC通过编号组织每个协议的标准化请求;其编码是既定的,一旦成为某个RFC的内容,就不能再对其进行修改;若要修改已有某个协议内容,则需要重新发行一个新的RFC文档,同时,老的RFC文档作废

RFC指的什么

情到浓时终转凉″ 提交于 2019-11-27 09:16:12
RFC是个多义词,这里只介绍几种: RFC---Request For Comments 意即“请求注解” 2.RFC (一系列以编号排定的文件) Request For Comments(RFC),是一系列以编号排定的文件。文件收集了有关互联网相关信息,以及UNIX和互联网社区的 软件 文件。目前RFC文件是由Internet Society(ISOC)赞助发行。基本的互联网通信协议都有在RFC文件内详细说明。RFC文件还额外加入许多的论题在标准内,例如对于互联网新开发的协议及发展中所有的记录。因此几乎所有的互联网标准都有收录在RFC文件之中。 3 网络中的RFC:Request For Comments ,请求评议,是一系列以编号排定的文件。文件收集了有关因特网相关资讯,以及UNIX和因特网社群的软件文件。 外贸中的RFC:外贸过程中墨西哥的客户可能会给你提供一个他们的RFC号码 根据网络上的一些资料 RFC的全写应该是 西班牙语 “registro federal de causantes” 翻译成英语是 “federal register of causes”。意思是企业在墨西哥政府的注册登记号,相当于纳税登记号 SAP(卫星自动控制系统)中的RFC:RFC(远程函数调用 Remote Function Call)是一个 SAP 的接口协议。它基于 CPI-C

What date RFC does Twitter use?

佐手、 提交于 2019-11-27 07:38:34
问题 Doc use : Tue Apr 07 22:52:51 +0000 2009 as an example. Can anyone identify the rfc? Cheers 回答1: I can't say "there is no standard of that format" of course, because I very well may have just missed it. But when I started working with the Twitter API I did search for awhile to find the standard they are using and couldn't find a match. I ended up having to define a custom format (c#): DateTime.ParseExact(twitterDateString, "ddd MMM dd HH:mm:ss %K yyyy", CultureInfo.InvariantCulture

闲话RFC

别说谁变了你拦得住时间么 提交于 2019-11-27 07:07:16
如果你经常去查阅相关的互联网协议,比如: HTTP , MetaWeblog API , ATOM , WebDav , SMTP 。你都会不经意的发现它们都有一个相对的RFC编号,这些编号会对应一个像“ http://tools.ietf.org/html/rfc2616 ”的一个链接页面,这个页面详细说明了该协议的定义规范。通常一个协议都定义都需要比较长的内容,但是通过阅读这些协议本身我们就可以更好,更完全的理解该协议本质和实现方法,这将更有助于我们去实现协议基础上的应用。这组RFC编号具有如此重要的意义,我们也就有必要更多的去了解RFC。 RFC是Request For Comments缩写,它实际上是一个“备忘录”的作用,是由于 IETF 进行管理和发布的一系列以编号排定的文件。这些文件描述了Internet相关的协议的研究,行为意图,实现方法。现行基本的互联网协议都在RFC文件内有详细的说明,比如Http 1.1协议对应的的 RFC2616 。同时RFC也是在不断的丰富和完善中发展,任何人都可以提交自己最新的研究成果成为RFC的一部分,比如 ATOM ,尽管目前还没有成为业界标准主流,它目前还没有办法完全取代RSS 2.0在人们心中的影响,但是它也已经有了自己的RFC编号rfc5023,作为一个开放的发展标准,已经成为 IETF 的建议标准,用于取代相对封闭

Regex for validating multiple E-Mail-Addresses

断了今生、忘了曾经 提交于 2019-11-27 06:45:37
I got a Regex that validates my mail-addresses like this: ([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?) This works perfectly fine, but only allows one e-mail to be entered. Now I wanted to extend that and allow multiple mail-addresses to be added (just like MS Outlook, for example) with a semicolon as a mail-splitter. mail1@tld.com;mail2@tld.com;mail3@tld.com Now I've searched and found this one: ([A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}(;|$)) This works on one point, but sadly requires a semicolon at the end of a

HTTP状态码

风格不统一 提交于 2019-11-27 01:53:04
HTTP状态码 (HTTP Status Code)是用以表示网页服务器HTTP响应状态的3位数字代码。它由 RFC 2616 规范定义的,并得到RFC 2518、RFC 2817、RFC 2295、RFC 2774、RFC 4918等规范扩展。 所有状态码的第一个数字代表了响应的五种状态之一。 1xx 消息 这一类型的状态码,代表请求已被接受,需要继续处理。这类响应是临时响应,只包含状态行和某些可选的响应头信息,并以空行结束。由于 HTTP/1.0 协议中没有定义任何 1xx 状态码,所以除非在某些试验条件下,服务器禁止向此类 客户端 发送 1xx 响应。 100 Continue 客户端应当继续发送请求。这个临时响应是用来通知客户端它的部分请求已经被服务器接收,且仍未被拒绝。客户端应当继续发送请求的剩余部分,或者如果请求已经完成,忽略这个响应。服务器必须在请求完成后向客户端发送一个最终响应。 101 Switching Protocols 服务器已经理解了客户端的请求,并将通过 Upgrade 消息头通知客户端采用不同的协议来完成这个请求。在发送完这个响应最后的空行后,服务器将会切换到在 Upgrade 消息头中定义的那些协议。 只有在切换新的协议更有好处的时候才应该采取类似措施。例如,切换到新的 HTTP 版本比旧版本更有优势

Is Oracle's SYS_GUID() UUID RFC 4122 compliant?

萝らか妹 提交于 2019-11-27 01:49:06
问题 I wonder if Oracle's SYS_GUID() function returns a RFC 4122 compliant UUID. For example: SQL> select sys_guid() from dual; SYS_GUID() -------------------------------- A6C1BD5167C366C6E04400144FD25BA0 I know, that SYS_GUID() returns a 16 byte RAW datatype. Oracle uses RAWTOHEX() and probably TO_CHAR() to print out the above ID. Is it correct to interpret this as a UUID compliant string format like: A6C1BD51-67C3-66C6-E044-00144FD25BA0 I think it's not compliant to the RFC 4122 standard,

Extract Server Name Indication (SNI) from TLS client hello

喜夏-厌秋 提交于 2019-11-27 01:24:43
问题 How would you extract the Server Name Indication from a TLS Client Hello message. I'm curently struggling to understand this very cryptic RFC 3546 on TLS Extensions, in which the SNI is defined. Things I've understood so far: The host is utf8 encoded and readable when you utf8 enocde the buffer. Theres one byte before the host, that determines it's length. If I could find out the exact position of that length byte, extracting the SNI would be pretty simple. But how do I get to that byte in

How to overcome root domain CNAME restrictions?

风流意气都作罢 提交于 2019-11-26 22:28:54
问题 We are hosting many web applications for our customers. As is obvious they want to use their own domains to refer to those applications, usually they want that any user that either type http://www.customer1.example or http://customer1.example goes to their web application. The situation we are facing is that we need to have the flexibility to change IP addresses in the near future. And we don't want to rely on the customer doing the A record change on their domains. So we thought that using

Fixing the SAPOSS RFC connection via Secure Storage Migration

笑着哭i 提交于 2019-11-26 18:19:13
Background The issue of the RFC connection to SAP OCS system (where all the SAP notes are stored) would normally become an issue when there is a system migration happen (SID/Installation Number change). As the system's installation information is part of the very basic information of the RFC connection to SAP standard systems, changing them would certainly cause the invalidation of these connections. For example, since last time I changed our internal system from a meaningful but dummy system number into "SAP-INTERN" about one years ago, I haven't tested the connection to SAPOSS. And just