From mboxrd@z Thu Jan 1 00:00:00 1970 From: kuanyui Subject: Bug: Cannot export this file as HTML. [8.2.6 (8.2.6-18-gaaae4a-elpa @ /home/kuanyui/.emacs.d/elpa/org-20140512/)] Date: Mon, 12 May 2014 21:23:06 +0800 Message-ID: <877g5rku6d.fsf@kuanyui-laptop.site> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjqCi-0002Gj-NF for emacs-orgmode@gnu.org; Mon, 12 May 2014 09:23:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjqCe-0003SU-Lh for emacs-orgmode@gnu.org; Mon, 12 May 2014 09:23:40 -0400 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:57657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjqCe-0003RH-3o for emacs-orgmode@gnu.org; Mon, 12 May 2014 09:23:36 -0400 Received: by mail-pa0-f53.google.com with SMTP id kp14so8486474pab.26 for ; Mon, 12 May 2014 06:23:34 -0700 (PDT) Received: from kuanyui-laptop.site ([140.120.19.2]) by mx.google.com with ESMTPSA id xg4sm22908072pbb.47.2014.05.12.06.23.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 May 2014 06:23:33 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain I encountered a strange question, that this file cannot be exported by org-mode's HTML exporter, which just return "Wrong type argument: stringp nil". But I cannot find out where the point is. (And, all the other files can be outputed without any question.) I attached this file for reproducing issue. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=ch04.org Content-Transfer-Encoding: quoted-printable Content-Description: The org file. * =E7=AC=AC=E4=B8=80=E9=83=A8=E4=BB=BD ** What is the IP address and TCP port number used by the client computer (= source) that is transferring the file to gaia.cs.umass.edu? #+BEGIN_QUOTE To answer this question, it =E2=80=99 s probably easiest to select an HTTP= message and explore the details of the TCP packet used to carry this HTTP = message, using the =E2=80=9C details of the selected packet header window = =E2=80=9D (refer to Figure 2 in the =E2=80=9C Getting Started with Wireshar= k =E2=80=9D Lab if you =E2=80=99 re uncertain about the Wireshark windows. #+END_QUOTE Source: 192.168.0.103:54131 : Source: 192.168.0.103 (192.168.0.103) : Destination: 128.119.245.12 (128.119.245.12) : Transmission Control Protocol, Src Port: 54131 (54131), Dst Port: http (8= 0), Seq: 1, Ack: 1, Len: 633 ** What is the IP address of gaia.cs.umass.edu? On what port number is it s= ending and receiving TCP segments for this connection?=20 =EF=BC=88=E8=BC=B8=E5=87=BA=E5=90=8C=E4=B8=8A=EF=BC=89 Distination: 128.119.245.12:80 ** What is the IP address and TCP port number used by your client computer = (source) to transfer the file to gaia.cs.umass.edu?=20 Source: 192.168.0.103:54131 Destination: 128.119.245.12:80 =EF=BC=88=E9=80=99=E9=A1=8C=E6=83=B3=E5=95=8F=E7=9A=84=E8=B7=9F=E7=AC=AC=E4= =B8=80=E9=A1=8C=E6=9C=89=E4=BB=80=E9=BA=BC=E4=B8=8D=E5=90=8C=E7=9A=84=E5=9C= =B0=E6=96=B9=EF=BC=9F=EF=BC=89 * =E7=AC=AC=E4=BA=8C=E9=83=A8=E4=BB=BD ** What is the sequence number of the TCP SYN segment that is used to initi= ate the TCP connection between the client computer and gaia.cs.umass.edu? W= hat is it in the segment that identifies the segment as a SYN segment? TCP SYN =E7=9A=84 SeqNum =E7=82=BA 0=EF=BC=9B=E4=B8=8A=E9=9D=A2=E5=AF=AB=E8= =91=97[SYN, ACK]=E3=80=82 #+BEGIN_EXAMPLE 12 0.484590000 128.119.245.12 192.168.0.103 TCP 76 http > 54131 [SYN, ACK] = Seq=3D0 Ack=3D1 Win=3D5792 Len=3D0 MSS=3D1460 SACK_PERM=3D1 TSval=3D1687806= 537 TSecr=3D883895839 WS=3D128 ... Transmission Control Protocol, Src Port: 54131 (54131), Dst Port: http (80)= , Seq: 0, Len: 0 Source port: 54131 (54131) Destination port: http (80) [Stream index: 0] Sequence number: 0 (relative sequence number) Header length: 40 bytes Flags: 0x002 (SYN) # SYN =E7=9A=84 Flag =E5=BA=95=E5=8A=A0 Window size value: 29200 [Calculated window size: 29200] Checksum: 0x227d [validation disabled] Options: (20 bytes), Maximum segment size, SACK permitted, Timestamps, = No-Operation (NOP), Window scale #+END_EXAMPLE ** What is the sequence number of the SYNACK segment sent by gaia.cs.umass.= edu to the client computer in reply to the SYN? Seq =E7=82=BA 0=EF=BC=9B *** What is the value of the ACKnowledgement field in the SYNACK segment? H= ow did gaia.cs.umass.edu determine that value? ACK =E7=82=BA 1=E3=80=82SYNACK =3D =E5=89=8D=E4=B8=80=E5=80=8B=E5=B0=81=E5= =8C=85=E7=9A=84 Seq +1 #+BEGIN_QUOTE =E3=80=8C=E7=AC=AC 3 =E5=80=8B=E5=B0=81=E5=8C=85=E9=96=8B=E5=A7=8B=E7=9A=84= Seq =3D =E5=89=8D 1 =E5=80=8B received =E5=B0=81=E5=8C=85=E7=9A=84 ACK=EF= =BC=88=E3=80=8C=E6=88=91=E5=B7=B2=E7=B6=93=E6=94=B6=E5=88=B0=E3=80=8E=E5=88= =B0 ACK num =E7=82=BA=E6=AD=A2=E7=9A=84=E9=95=B7=E5=BA=A6=E3=80=8F=E7=9A=84= =E5=B0=81=E5=8C=85=E6=83=B9=E3=80=8D=EF=BC=89=E3=80=8D=EF=BC=9F =E3=80=8C=E7=AC=AC 4 =E5=80=8B=E5=B0=81=E5=8C=85=E9=96=8B=E5=A7=8B=E7=9A=84= ACK =3D =E5=89=8D 1 =E5=80=8B received =E5=B0=81=E5=8C=85=E7=9A=84 Seq + = =E9=95=B7=E5=BA=A6=E3=80=8D #+END_QUOTE | =E5=BA=8F=E5=8F=B7 | =E6=96=B9=E5=90=91 | seq | ack = | | |------+------+------------------------+---------------+----------| | 1 | A->B | 10000(=E9=9A=A8=E6=A9=9F=E7=94=A2=E7=94=9F?[fn:4]) | 0 = | SYN | | 2 | A<-B | 20000(=E9=9A=A8=E6=A9=9F=E7=94=A2=E7=94=9F?) | 10000+= 1=3D10001 | SYN, ACK | | 3 | A->B | 10001 | 20000+1=3D20001 | ACK | =E8=A1=A8=E6=A0=BC=E5=BC=95=E7=94=A8=E8=87=AA[[http://hi.baidu.com/jialy198= 7/item/a4fe100f9bdef138f3eafca9][TCP =E4=B8=89=E6=AC=A1=E6=8F=A1=E6=89=8B= =E8=BF=9E=E6=8E=A5=E5=8F=8A seq =E5=92=8C ack =E5=8F=B7=E7=9A=84=E6=AD=A3= =E7=A1=AE=E7=90=86=E8=A7=A3]] | =E5=BA=8F=E5=8F=B7 | =E6=96=B9=E5=90=91 | seq | ack = | size | |------+------+-------+--------------------------------------------------+-= -----| | 23 | A->B | 40000 | 70000 | = 1514 | | 24 | B->A | 70000 | 40000+1514-54=3D41460 # =E7=AD=89=E7=AD=89=E8=A6=81= =E6=89=A3=E6=8E=89 54 =E5=97=8E=EF=BC=9F=EF=BC=81[fn:5] | 54 | | 25 | A->B | 41460 | 70000+54-54=3D70000 = | 1514 | | 26 | B->A | 70000 | 41460+1514-54=3D42920 = | 54 | =E8=A1=A8=E6=A0=BC=E5=BC=95=E7=94=A8=E8=87=AA[[http://hi.baidu.com/jialy198= 7/item/a4fe100f9bdef138f3eafca9][TCP =E4=B8=89=E6=AC=A1=E6=8F=A1=E6=89=8B= =E8=BF=9E=E6=8E=A5=E5=8F=8A seq =E5=92=8C ack =E5=8F=B7=E7=9A=84=E6=AD=A3= =E7=A1=AE=E7=90=86=E8=A7=A3]] *** What is it in the segment that identifies the segment as a SYNACK segme= nt? =E5=B0=81=E5=8C=85=E4=B8=AD=E5=8C=85=E5=90=AB SYN flag=EF=BC=8C=E5=A6=82=E4= =B8=8B: #+BEGIN_EXAMPLE Transmission Control Protocol, Src Port: 54131 (54131), Dst Port: http (80)= , Seq: 0, Len: 0 Source port: 54131 (54131) Destination port: http (80) [Stream index: 0] Sequence number: 0 (relative sequence number) Header length: 40 bytes Flags: 0x002 (SYN) 000. .... .... =3D Reserved: Not set ...0 .... .... =3D Nonce: Not set .... 0... .... =3D Congestion Window Reduced (CWR): Not set .... .0.. .... =3D ECN-Echo: Not set .... ..0. .... =3D Urgent: Not set .... ...0 .... =3D Acknowledgment: Not set .... .... 0... =3D Push: Not set .... .... .0.. =3D Reset: Not set .... .... ..1. =3D Syn: Set #+END_EXAMPLE ** What is the sequence number of the TCP segment containing the HTTP POST = command?=20 =E5=B0=81=E5=8C=85 No. 14=EF=BC=8C=E4=BB=96=E7=9A=84 sequence number =E6=98= =AF 1=E3=80=82 =E5=B0=81=E5=8C=85 No. 168 =E4=B9=9F=E6=9C=89=E5=8C=85=E5=90=AB "POST" =E4= =B8=80=E8=A9=9E=EF=BC=8Csequence number =E6=98=AF 152050=E3=80=82 #+BEGIN_QUOTE =E5=B0=81=E5=8C=85 No. 14 =E7=9A=84 TCP segment data=EF=BC=88633 bytes=EF= =BC=89=E5=85=A7=E5=AE=B9=E6=98=AF=EF=BC=9A #+BEGIN_EXAMPLE POST /wireshark-labs/lab3-1-reply.htm HTTP/1.1 Host: gaia.cs.umass.edu Connection: keep-alive Content-Length: 152321 Cache-Control: max-age=3D0 Accept: text/html,application/xhtml+xml,application/xml;q=3D0.9,image/webp,= */*;q=3D0.8 Origin: http://gaia.cs.umass.edu User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like= Gecko) Chrome/34.0.1847.116 Safari/537.36 SUSE/34.0.1847.116 Content-Type: multipart/form-data; boundary=3D----WebKitFormBoundaryAKBJRyv= CHAhbb6qs Referer: http://gaia.cs.umass.edu/wireshark-labs/TCP-wireshark-file1.html Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=3D0.8 #+END_EXAMPLE #+END_QUOTE #+BEGIN_QUOTE =E6=88=91=E4=B8=8D=E7=A2=BA=E5=AE=9A=E9=A1=8C=E7=9B=AE=E5=95=8F=E7=9A=84=E6= =98=AF=E5=93=AA=E4=B8=80=E5=80=8B[fn:2]=EF=BC=8C *=E5=9B=A0=E7=82=BA No. 16= 8 =E4=B9=9F=E6=9C=89=E5=8C=85=E5=90=AB "POST" =E4=B8=80=E8=A9=9E=EF=BC=88se= quence number =E6=98=AF 152050=EF=BC=89* =EF=BC=8C=E5=8E=9F=E6=9C=AC=E4=BB= =A5=E7=82=BA=E9=A1=8C=E7=9B=AE=E6=8F=90=E5=88=B0=E7=9A=84"the TCP segment c= ontaining the HTTP POST"=E5=B0=B1=E6=98=AF=E9=80=99=E5=80=8B=EF=BC=8C=E4=BD= =86=EF=BC=9A 1. *Wireshark =E5=9C=A8=E9=A1=AF=E7=A4=BA No.168 =E6=99=82=EF=BC=8C=E8=9E= =A2=E5=B9=95=E6=9C=80=E4=B8=8B=E6=96=B9=E5=A4=9A=E4=BA=86=E4=B8=80=E5=80=8B= * =3DReassembled TCP=3D *=E7=9A=84=E5=88=86=E9=A0=81* =E3=80=82 2. =E8=80=8C=E4=B8=94=E5=B0=81=E5=8C=85 No. 168 =E5=9C=A8 Wireshark =E8=A3= =A1=E9=9B=96=E7=84=B6=E5=8F=AF=E4=BB=A5=E7=9C=8B=E5=88=B0=E6=95=B4=E5=80=8B= =E4=B8=8A=E5=82=B3=E7=9A=84 txt =E6=AA=94=E5=AE=8C=E6=95=B4=E5=85=A7=E5=AE= =B9=EF=BC=8C=E7=84=B6=E8=80=8C No.168 =E9=80=99=E5=80=8B *=E5=B0=81=E5=8C= =85=E6=9C=AC=E8=BA=AB=E7=9A=84=E7=9A=84 length =E4=BC=BC=E4=B9=8E=E5=8D=BB= =E5=8F=AA=E6=9C=89 973* =E3=80=82 3. =E6=8E=A5=E5=9C=A8 No. 168 =E5=BE=8C=E9=9D=A2=E5=87=BA=E7=8F=BE=E7=9A=84= =E5=B0=81=E5=8C=85=E5=8F=AA=E5=89=A9=E4=B8=8B=E4=B8=80=E5=A0=86 ACK =E5=92= =8C=E6=9C=80=E5=BE=8C=E4=B8=80=E5=80=8B HTTP 200=EF=BC=8C=E8=80=8C=E6=B2=92= =E6=9C=89=E4=BB=BB=E4=BD=95=E5=AF=A6=E9=9A=9B=E5=9C=A8=E3=80=8C=E4=B8=8A=E5= =82=B3 txt =E6=AA=94=E6=A1=88=E3=80=8D=E7=9A=84=E5=B0=81=E5=8C=85=E3=80=82 =E6=89=80=E4=BB=A5 No. 168 =E5=8F=AA=E6=98=AF *=E6=95=B4=E5=80=8B POST =E9= =83=BD=E7=B5=90=E6=9D=9F=E4=BA=86=E6=89=8D=E5=87=BA=E7=8F=BE=E7=9A=84=E6=9C= =80=E5=BE=8C=E4=B8=80=E5=80=8B=E5=B0=81=E5=8C=85* =E3=80=81=E7=94=A8=E4=BE= =86=E5=91=8A=E8=A8=B4=E5=B0=8D=E6=96=B9=E3=80=8C=E6=88=91=E5=89=9B=E5=89=9B= =E5=82=B3=E7=9A=84=E3=80=8E=E7=AC=AC#14, #15,#16.......=E5=80=8B=E5=B0=81= =E5=8C=85=E3=80=8F=E6=98=AF=E8=A6=81=E6=8E=A5=E5=9C=A8=E4=B8=80=E8=B5=B7=E7= =9A=84=E3=80=8D=E9=80=99=E6=A8=A3=E5=97=8E=EF=BC=9F =E6=88=91=E4=B8=8D=E5=A4=AA=E7=A2=BA=E5=AE=9A=E8=87=AA=E5=B7=B1=E6=9C=89=E6= =B2=92=E6=9C=89=E6=90=9E=E9=8C=AF=EF=BC=8C=E4=BB=A5=E4=B8=8B=E7=82=BA wires= hark =E4=B8=AD=EF=BC=8CNo. 168 =E7=9A=84 TCP =E6=AC=84=E4=BD=8D=E9=A1=AF=E7= =A4=BA=E7=9A=84=E6=9D=B1=E8=A5=BF=EF=BC=9A #+BEGIN_EXAMPLE 168 1.452460000 192.168.0.103 128.119.245.12 HTTP 973 POST /wireshark-labs/= lab3-1-reply.htm HTTP/1.1 (text/plain) Transmission Control Protocol, Src Port: 54131 (54131), Dst Port: htt= p (80), Seq: 152050, Ack: 1, Len: 905 110 Reassembled TCP Segments (152954 bytes): #14(633), #15(1402), #16(1402)= , #17(1402), #19(1402), #20(1402), #22(1402), #23(1402), #25(1402), #26(140= 2), #28(1402), #29(1402), #30(1402), #31(1402), #32(1402), #34(1402), #36(1= 402), #37(1402)...... ...... Segment count: 110 Reassembled TCP length: 152954 Reassembled TCP Data: 504f5354202f77697265736861726b2d6c6162732f6c6162... #+END_EXAMPLE =E7=84=B6=E5=BE=8C=E4=B8=8B=E9=9D=A2=E6=98=AF No. 168 =E6=95=B4=E5=80=8B=E5= =B0=81=E5=8C=85=E5=9C=A8 wireshark =E8=A3=A1=E7=9C=8B=E5=88=B0=E7=9A=84=E6= =9D=B1=E8=A5=BF=EF=BC=9A #+BEGIN_EXAMPLE No. Time Source Destination Protocol= Length Info 168 1.452460000 192.168.0.103 128.119.245.12 HTTP = 973 POST /wireshark-labs/lab3-1-reply.htm HTTP/1.1 (text/plain) .... Transmission Control Protocol, Src Port: 54131 (54131), Dst Port: http (80)= , Seq: 152050, Ack: 1, Len: 905 Source port: 54131 (54131) Destination port: http (80) [Stream index: 0] Sequence number: 152050 (relative sequence number) #sequence numbe= r =E5=9C=A8=E9=80=99 [Next sequence number: 152955 (relative sequence number)] Acknowledgment number: 1 (relative ack number) Header length: 32 bytes .... Hypertext Transfer Protocol POST /wireshark-labs/lab3-1-reply.htm HTTP/1.1\r\n [Expert Info (Chat/Sequence): POST /wireshark-labs/lab3-1-reply.htm= HTTP/1.1\r\n] [Message: POST /wireshark-labs/lab3-1-reply.htm HTTP/1.1\r\n] [Severity level: Chat] [Group: Sequence] Request Method: POST Request URI: /wireshark-labs/lab3-1-reply.htm Request Version: HTTP/1.1 Host: gaia.cs.umass.edu\r\n Connection: keep-alive\r\n Content-Length: 152321\r\n [Content length: 152321] Cache-Control: max-age=3D0\r\n Accept: text/html,application/xhtml+xml,application/xml;q=3D0.9,image/w= ebp,*/*;q=3D0.8\r\n Origin: http://gaia.cs.umass.edu\r\n User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, = like Gecko) Chrome/34.0.1847.116 Safari/537.36 SUSE/34.0.1847.116\r\n Content-Type: multipart/form-data; boundary=3D----WebKitFormBoundaryAKB= JRyvCHAhbb6qs\r\n Referer: http://gaia.cs.umass.edu/wireshark-labs/TCP-wireshark-file1.ht= ml\r\n Accept-Encoding: gzip,deflate,sdch\r\n Accept-Language: en-US,en;q=3D0.8\r\n \r\n [Full request URI: http://gaia.cs.umass.edu/wireshark-labs/lab3-1-reply= .htm] [HTTP request 1/1] [Response in frame: 203] MIME Multipart Media Encapsulation, Type: multipart/form-data, Boundary: "-= ---WebKitFormBoundaryAKBJRyvCHAhbb6qs" [Type: multipart/form-data] First boundary: ------WebKitFormBoundaryAKBJRyvCHAhbb6qs\r\n Encapsulated multipart part: (text/plain) Content-Disposition: form-data; name=3D"file"; filename=3D"alice.tx= t"\r\n Content-Type: text/plain\r\n\r\n Line-based text data: text/plain ALICE'S ADVENTURES IN WONDERLAND\r\n \r\n Lewis Carroll\r\n \r\n THE MILLENNIUM FULCRUM EDITION 3.0\r\n \r\n ... =EF=BC=88=E4=BB=A5=E4=B8=8B=E7=82=BA=E4=B8=8A=E5=82=B3=E7=9A=84 txt =E5=85= =A7=E5=AE=B9=EF=BC=89 #+END_EXAMPLE #+END_QUOTE ** Consider the TCP segment containing the HTTP POST as the first segment i= n the TCP connection. What are the sequence numbers of the first six segmen= ts in the TCP connection (including the segment containing the HTTP POST)? *** At what time was each segment sent? When was the ACK for each segment r= eceived? | =E7=B7=A8=E8=99=9F | =E9=80=81=E5=87=BA=E6=99=82=E9=96=93 | =E6= =94=B6=E5=88=B0 ACK =E6=99=82=E9=96=93 | RTT | length | |------+-------------------+---------------+----------+--------| | 14 | 0.484984000 | 0.716423000 | 0.231439 | 701 | | 15 | 0.485395000 | 0.716500000 | 0.231105 | 1470 | | 16 | 0.485438000 | 0.719277000 | 0.233839 | 1470 | | 17 | 0.485471000 | 0.719443000 | 0.233972 | 1470 | | 18 | (=E6=AD=A4=E7=82=BA #14 =E7=9A=84 ACK) | | = | 68 | | 19 | 0.716467000 | 0.953501000 | 0.237034 | 1470 | | 20 | 0.716500000 | 0.953607000 | 0.237107 | 1470 | #+TBLFM: $4=3D$3-$2 #+BEGIN_EXAMPLE 14 0.484984000 192.168.0.103 128.119.245.12 TCP 701 [TCP segment of a re= assembled PDU] 15 0.485395000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a r= eassembled PDU] 16 0.485438000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a r= eassembled PDU] 17 0.485471000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a r= eassembled PDU] 18 0.716423000 128.119.245.12 192.168.0.103 TCP 68 http > 54131 [ACK] S= eq=3D1 Ack=3D634 Win=3D7168 Len=3D0 TSval=3D1687806769 TSecr=3D883896072 = #14 =E7=9A=84 ACK 19 0.716467000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a r= eassembled PDU] 20 0.716500000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a r= eassembled PDU] # =E8=87=B3=E6=AD=A4=E8=A1=8C=E7=9A=84 #14~17 =E8=88=87 #19, #20 =E7=82= =BA=E9=A1=8C=E7=9B=AE=E8=A6=81=E7=9A=84=E5=89=8D 6 =E5=80=8B TCP connection= segments 21 0.719164000 128.119.245.12 192.168.0.103 TCP 68 http > 54131 [ACK] S= eq=3D1 Ack=3D2036 Win=3D9984 Len=3D0 TSval=3D1687806770 TSecr=3D883896073 = #15 =E7=9A=84 ACK 22 0.719215000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a r= eassembled PDU] 23 0.719252000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a r= eassembled PDU] 24 0.719277000 128.119.245.12 192.168.0.103 TCP 68 http > 54131 [ACK] S= eq=3D1 Ack=3D3438 Win=3D12928 Len=3D0 TSval=3D1687806770 TSecr=3D883896073 = #16 =E7=9A=84 ACK 25 0.719299000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a reas= sembled PDU] 26 0.719391000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a reas= sembled PDU] 27 0.719443000 128.119.245.12 192.168.0.103 TCP 68 http > 54131 [ACK] Seq= =3D1 Ack=3D4840 Win=3D15872 Len=3D0 TSval=3D1687806772 TSecr=3D883896073 #= 17 =E7=9A=84 ACK 28 0.719507000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a reas= sembled PDU] 29 0.719627000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a reas= sembled PDU] 30 0.719749000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a reas= sembled PDU] 31 0.719874000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a reas= sembled PDU] 32 0.719981000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a reas= sembled PDU] 33 0.953501000 128.119.245.12 192.168.0.103 TCP 68 http > 54131 [ACK] Seq= =3D1 Ack=3D6242 Win=3D18688 Len=3D0 TSval=3D1687807006 TSecr=3D883896304 #= 19 =E7=9A=84 ACK 34 0.953585000 192.168.0.103 128.119.245.12 TCP 1470 [TCP segment of a reas= sembled PDU] 35 0.953607000 128.119.245.12 192.168.0.103 TCP 68 http > 54131 [ACK] Seq= =3D1 Ack=3D7644 Win=3D21632 Len=3D0 TSval=3D1687807006 TSecr=3D883896304 #= 20 =E7=9A=84 ACK #+END_EXAMPLE *** Given the difference between when each TCP segment was sent, and when i= ts acknowledgement was received. =E7=9C=8B=E4=B8=8D=E6=87=82=E9=80=99=E5=95=8F=E9=A1=8C=E6=98=AF=E4=BB=80=E9= =BA=BC=E6=84=8F=E6=80=9D=E3=80=82=E4=B8=8D=E5=B0=B1=E9=80=81=E5=87=BA=E7=9A= =84=E6=99=82=E9=96=93=E9=A0=86=E5=BA=8F=E4=B8=8D=E4=B8=80=E6=A8=A3=E5=97=8E= =EF=BC=9F =E5=BE=9E=E4=B8=8A=E9=9D=A2=E5=8F=AF=E4=BB=A5=E7=9C=8B=E5=87=BA ACK =E9=80= =81=E4=BE=86=E7=9A=84=E6=99=82=E9=96=93=E9=9D=9E=E5=B8=B8=E4=B8=8D=E5=9B=BA= =E5=AE=9A=E3=80=82=E4=B8=8D=E9=81=8E=E6=88=91=E6=B2=92=E6=9C=89=E5=8E=BB=E4= =B8=80=E5=80=8B=E5=80=8B=E7=9C=8B ACK =E6=9C=89=E6=B2=92=E6=9C=89=E4=B9=9F= =E8=B7=9F=E9=80=81=E5=87=BA=E7=9A=84=E6=99=82=E9=96=93=E9=A0=86=E5=BA=8F=E4= =B8=80=E6=A8=A3=E9=83=BD=E5=AE=8C=E7=BE=8E=E7=9A=84=E6=8C=89=E7=85=A7=E9=A0= =86=E5=BA=8F=E9=80=81=E5=9B=9E=E4=BE=86=E3=80=82 *** What is the RTT value for each of the six segments?=20 =E8=A6=8B=E5=89=8D=E9=9D=A2=E7=9A=84=E8=A1=A8=E6=A0=BC=E3=80=82 *** What is the EstimatedRTT value (see page 249 in text) after the receipt= of each ACK? 0.23317837261962887 #+BEGIN_SRC elisp (let ((ERTT 0.231439)) (mapcar (lambda (x) (setq ERTT (+ (* RTT 0.875) (* x 0.125)))) '(0.231105 0.233839 0.233972 0.237034 0.237107)) ERTT) =3D> 0.23317837261962887 #+END_SRC *** What is the length of each of the first six TCP segments? =E8=A6=8B=E5=89=8D=E9=9D=A2=E8=A1=A8=E6=A0=BC=E3=80=82 *** What is the minimum amount of available buffer space advertised at the = received for the entire trace? Does the lack of receiver buffer space ever= throttle the sender? 1. =E7=AC=AC=E4=B8=80=E5=80=8B=E5=95=8F=E9=A1=8C=E6=95=91=E5=91=BD=E5=95=8A= =E4=B8=8D=E7=9F=A5=E9=81=93=E8=A9=B2=E5=BE=9E=E5=93=AA=E8=A3=A1=E7=9C=8B=E3= =80=82[fn:1] 2. =E7=AC=AC=E4=BA=8C=E5=80=8B=E5=95=8F=E9=A1=8C=E6=98=AF=EF=BC=9A=E6=B2=92= =E6=9C=89=EF=BC=8C=E5=9B=A0=E7=82=BA=E8=B3=87=E6=96=99=E5=82=B3=E8=BC=B8=E9= =81=8E=E7=A8=8B=E4=B8=AD=E5=B0=81=E5=8C=85=E9=95=B7=E5=BA=A6=E4=B8=80=E7=9B= =B4=E9=83=BD=E6=98=AF 1470 =E6=B2=92=E6=9C=89=E5=9B=A0=E7=82=BA buffer =E8= =A2=AB=E5=A1=9E=E7=88=86=E8=80=8C=E7=B8=AE=E5=B0=8F=E9=81=8E=E3=80=82[fn:3] *** Are there any retransmitted segments in the trace file? What did you ch= eck for (in the trace) in order to answer this question? =E6=B2=92=E6=9C=89=EF=BC=8C=E5=9B=A0=E7=82=BA wireshark =E5=90=90=E5=87=BA= =E4=BE=86=E7=9A=84=E6=95=B4=E4=B8=B2=E5=B0=81=E5=8C=85=E6=B8=85=E5=96=AE=E9= =83=BD=E6=B2=92=E6=9C=89=E9=87=8D=E8=A4=87=E7=9A=84 ACK num=E3=80=82 *** How much data does the receiver typically acknowledge in an ACK? Can yo= u identify cases where the receiver is ACKing every other received segment = (see Table 3.2 on page 257 in the text). 1. 1460=E3=80=82 2. =E6=88=91=E7=9C=8B=E4=B8=8D=E6=87=82=E9=80=99=E9=A1=8C=E6=8C=87=E7=9A=84= "*every other* received segment"=E5=88=B0=E5=BA=95=E5=9C=A8=E8=AA=AA=E4=BB= =80=E9=BA=BC=E3=80=82[fn:6] *** What is the throughput (bytes transferred per unit time) for the TCP co= nnection? Explain how you calculated this value. 97842.160 bytes/sec=EF=BC=9B=E7=9B=B4=E6=8E=A5=E7=9C=8B Wireshark: Staticti= cs =3D> Summary =3D> Avg. bytes/sec=EF=BC=88=E7=AE=97=E4=BD=9C=E5=BC=8A=E5= =97=8E=EF=BC=9F=EF=BC=89 =E6=95=B4=E5=80=8B dump =E5=87=BA=E4=BE=86=E7=9A=84=E6=AA=94=E6=A1=88=E5=A4= =A7=E5=B0=8F 175184 bytes=EF=BC=9B=E5=BE=9E SYN =E9=96=8B=E5=A7=8B=E7=9B=B4= =E5=88=B0=E6=94=B6=E5=88=B0=E6=9C=80=E5=BE=8C=E4=B8=80=E5=80=8B ACK =E5=85= =B1=E6=AD=B7=E6=99=82 1.716571 =E7=A7=92 175184 / 1.716571 =3D 102054.619355 #=E5=91=83...=E6=88=91=E4=B8=8D=E5=A4= =AA=E7=A2=BA=E5=AE=9A=E8=A9=B2=E6=80=8E=E9=BA=BC=E7=AE=97=EF=BC=8C=E4=B8=8D= =E9=81=8E=E8=B7=9F=E4=B8=8A=E9=9D=A2=E7=9A=84=E5=80=BC=E5=A5=BD=E5=83=8F=E8= =A0=BB=E6=8E=A5=E8=BF=91=E7=9A=84=E3=80=82 * =E7=AC=AC=E4=B8=89=E9=83=A8=E4=BB=BD ** Use the Time-Sequence-Graph(Stevens) plotting tool to view the sequence = number versus time plot of segments being sent from the client to the gaia.= cs.umass.edu server. Can you identify where TCP's slowstart phase begins an= d ends, and where congestion avoidance takes over? Comment on ways in which= the measured data differs from the idealized behavior of TCP that we've st= udied in the text. ** Answer each of two questions above for the trace that you have gathered = when you transferred a file from your computer to gaia.cs.umass.edu * Footnotes [fn:1]=20 [fn:2]=20 [fn:3] =E5=88=B0=E5=BA=95 buffer =E6=98=AF=E9=99=90=E5=88=B6=E5=B0=81=E5=8C= =85=E9=95=B7=E5=BA=A6=E9=82=84=E6=98=AF=E6=95=B8=E9=87=8F=E5=95=8A [fn:4] =E9=9A=A8=E6=A9=9F=E7=9A=84=EF=BC=9F [fn:5] =E9=9C=80=E8=A6=81=E6=89=A3=E6=8E=89=E5=97=8E=EF=BC=9F=EF=BC=81 [fn:6]=20 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable kuanyui 20140512 GMT+8=20 Emacs : GNU Emacs 24.3.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.4) of 2014-04-13 on kuanyui-laptop.site Package: Org-mode version 8.2.6 (8.2.6-18-gaaae4a-elpa @ /home/kuanyui/.ema= cs.d/elpa/org-20140512/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-comman= d-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) outline-minor-mode-hook '(wikipedia-outline-magic-keys) org-latex-classes '(("article" "\n\\documentclass[12pt,a4paper]{article}\n\\usepacka= ge[margin=3D2cm]{geometry}\n\\usepackage{fontspec}\n\\setromanfont{cwTeXMin= g}\n\n\\usepackage{etoolbox} % Quote=E9=83=A8=E4=BB=BD=E7=9A=84=E5=AD=97= =E5=9E=8B=E8=A8=AD=E5=AE=9A\n\\newfontfamily\\quotefont{cwTeXFangSong}\n\\A= tBeginEnvironment{quote}{\\quotefont\\small}\n\n\\setmonofont[Scale=3D0.9]{= Courier} % =E7=AD=89=E5=AF=AC=E5=AD=97=E5=9E=8B [FIXME] Courier =E4=B8=AD= =E6=96=87=E6=9C=83=E7=88=9B=E6=8E=89=EF=BC=81\n\\font\\cwSong=3D''cwTeXFang= Song'' at 10pt\n%\\font\\cwHei=3D''cwTeXHeiBold'' at 10p %=E4=B8=8D=E7=9F= =A5=E7=82=BA=E4=BD=95=E6=9C=83=E7=88=86=E6=8E=89\n\\font\\cwYen=3D''cwTeXYe= n'' at 10pt\n\\font\\cwKai=3D''cwTeXKai'' at 10pt\n\\font\\cwMing=3D''cwTeX= Ming'' at 10pt\n\\font\\wqyHei=3D''=E6=96=87=E6=B3=89=E9=A9=9B=E6=AD=A3=E9= =BB=91'' at 10pt\n\\font\\wqyHeiMono=3D''=E6=96=87=E6=B3=89=E9=A9=9B=E7=AD= =89=E5=AF=AC=E6=AD=A3=E9=BB=91'' at 10pt\n\\font\\wqyHeiMicro=3D''=E6=96=87= =E6=B3=89=E9=A9=9B=E5=BE=AE=E7=B1=B3=E9=BB=91'' at 10pt\n\\XeTeXlinebreaklo= cale ``zh''\n\\XeTeXlinebreakskip =3D 0pt plus 1pt\n\\linespread{1.36}\n\n\= \usepackage{multicol}\n\n% [FIXME] ox-latex =E7=9A=84=E8=A8=AD=E8=A8=88=E4= =B8=8D=E8=89=AF=E5=B0=8E=E8=87=B4hypersetup=E5=BF=85=E9=A0=88=E5=9C=A8=E9= =80=99=E8=A3=A1=E6=8F=92=E5=85=A5\n\\usepackage{hyperref}\n\\hypersetup{\n = colorlinks=3Dtrue, %=E6=8A=8A=E7=B4=85=E6=A1=86=E6=A1=86=E7=A7=BB=E6=8E=89= =E6=94=B9=E7=94=A8=E5=AD=97=E9=AB=94=E9=A1=8F=E8=89=B2=E4=B8=8D=E5=90=8C=E4= =BE=86=E9=A1=AF=E7=A4=BA=E9=80=A3=E7=B5=90\n linkcolor=3D[rgb]{0,0.37,0.53= },\n citecolor=3D[rgb]{0,0.47,0.68},\n filecolor=3D[rgb]{0,0.37,0.53},\n = urlcolor=3D[rgb]{0,0.37,0.53},\n pagebackref=3Dtrue,\n linktoc=3Dall,}\n" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%= s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\= paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("beamer" "\n\\documentclass[presentation]{beamer}\n\\usepackag= e{fontspec}\n\\setromanfont{wqyHeiMicro}\n\n\\setmonofont[Scale=3D0.9]{Cour= ier} % =E7=AD=89=E5=AF=AC=E5=AD=97=E5=9E=8B [FIXME] Courier =E4=B8=AD=E6=96= =87=E6=9C=83=E7=88=9B=E6=8E=89=EF=BC=81\n\\font\\cwSong=3D''cwTeXFangSong''= at 10pt\n%\\font\\cwHei=3D''cwTeXHeiBold'' at 10p %=E4=B8=8D=E7=9F=A5=E7= =82=BA=E4=BD=95=E6=9C=83=E7=88=86=E6=8E=89\n\\font\\cwYen=3D''cwTeXYen'' at= 10pt\n\\font\\cwKai=3D''cwTeXKai'' at 10pt\n\\font\\cwMing=3D''cwTeXMing''= at 10pt\n\\font\\wqyHei=3D''=E6=96=87=E6=B3=89=E9=A9=9B=E6=AD=A3=E9=BB=91'= ' at 10pt\n\\font\\wqyHeiMono=3D''=E6=96=87=E6=B3=89=E9=A9=9B=E7=AD=89=E5= =AF=AC=E6=AD=A3=E9=BB=91'' at 10pt\n\\font\\wqyHeiMicro=3D''=E6=96=87=E6=B3= =89=E9=A9=9B=E5=BE=AE=E7=B1=B3=E9=BB=91'' at 10pt\n\\XeTeXlinebreaklocale `= `zh''\n\\XeTeXlinebreakskip =3D 0pt plus 1pt\n\\linespread{1.36}\n\n" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%= s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\= paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ) org-latex-default-packages-alist '(("" "hyperref" nil) ("AUTO" "inputenc" = t) ("" "fixltx2e" nil) ("" "graphicx" t) ("" "longtable" nil) ("" "float" nil) ("" "wrapfig" nil) (""= "rotating" nil) ("normalem" "ulem" t) ("" "amsmath" t) ("" "textcomp" t) ("" "marvosym" t) (""= "wasysym" t) ("" "amssymb" t) "\\tolerance=3D1000") org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-co= mmand-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(lambda (name contents) contents) org-log-done 'time org-latex-format-inlinetask-function 'ignore org-confirm-shell-link-function 'yes-or-no-p org-image-actual-width '(300) org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-latex-pdf-process '("xelatex -interaction nonstopmode -output-director= y %o %f" "xelatex -interaction nonstopmode -output-directory %o %f" "xelatex -interaction nonstopmode -output-director= y %o %f") org-file-apps '((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'= " . "xdg-open %s") ("\\.pdf\\'" . "kde-open %s") ("\\.jpg\\'" . "kde-open %s")) org-agenda-custom-commands '(("w" todo "STARTED") ("D" "Daily Action List" ((agenda "" ((org-agenda-ndays 1) (org-agenda-sorting-= strategy (quote ((agenda time-up priority-down tag-up)))) (org-deadline-warning-days 0)) ) ) ) ("P" "Projects" ((tags "Project"))) (" " "Agenda" ((todo "STARTED" ((org-agenda-overriding-header "What you s= hould doing right now!") (org-tags-match-list-sublevels nil))) (todo "WAITING" ((org-agenda-overriding-header "Things wai= ting on the perenially disorganised masses") (org-tags-match-list-sublevels nil)) ) (agenda "Timetable, diary & date tasks" ((o= rg-agenda-ndays 7) (org-deadline-warning-days 45))) (todo "" ((org-agenda-overriding-header "All other = TODOs") (org-agenda-todo-ignore-scheduled t) (org-agenda-todo-ignore-deadlines t) (org= -agenda-todo-ignore-with-date t) (org-agenda-todo-ignore-timestamp t) (org-agenda-skip-function (quote (ky/org-= agenda-skip-tag "Project")))) ) (tags-todo "Project" ((org-agenda-overridin= g-header "Projects' TODOs")))) ) ("d" "Upcoming deadlines" agenda "" ((org-agenda-entry-types (quote (:deadline))= ) (org-agenda-ndays 1) (org-deadline-warning-days 60) (org-agenda-time-grid nil)) ) ("c" "Weekly schedule" agenda "" ((org-agenda-ndays 7) (org-agenda-repeating-= timestamp-show-all t) (org-agenda-skip-function (quote (org-agend= a-skip-entry-if (quote deadline) (quote scheduled))))) ) ("P" "Printed agenda" ((agenda "" ((org-agenda-ndays 7) (org-agenda-start-on= -weekday nil) (org-agenda-repeating-timestamp-show-all t) (org-agenda-entry-types (quote (:timestam= p :sexp)))) ) (agenda "" ((org-agenda-ndays 1) (org-deadline-warnin= g-days 7) (org-agenda-todo-keyword-format "[ ]") (org-agenda-scheduled-leaders (quote ("" = ""))) (org-agenda-prefix-format "%t%s")) ) (todo "TODO" ((org-agenda-prefix-format "[ ] %T: ") (or= g-agenda-sorting-strategy (quote (tag-up priority-down))) (org-agenda-todo-keyword-format "") (org-= agenda-overriding-header "\nTasks by Context\n------------------\n")) ) ) ((org-agenda-with-colors nil) (org-agenda-co= mpact-blocks t) (org-agenda-remove-tags t) (ps-number-of-columns 2) (ps-landscape-mode t)) ("~/agenda.ps")) ) org-agenda-block-separator 45 org-return-follows-link t org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-default-notes-file "~/org/notes.org" org-capture-templates '(("t" "Todo" entry (file+headline (concat org-direc= tory "/agenda/Todo.org") "Todo") "** TODO %? %^G\n %i") ("s" "School" entry (file+headline (concat org-dir= ectory "/agenda/School.org") "School") "** TODO %?\n %i") ("b" "Buy" entry (file+headline (concat org-direct= ory "/agenda/Todo.org") "Buy") "** TODO %?\n %i") ("r" "Reading" entry (file+headline (concat org-di= rectory "/agenda/Reading.org") "Reading") "** %? %i :Reading:") ("d" "Diary" entry (file+datetree (concat org-dire= ctory "/diary/diary.org")) "* %^{Description: } %^g \n %i %?\n" :clock-in t :clock-keep t) ("e" "Event" entry (file+headline (concat org-dire= ctory "/agenda/Event.org") "Event") "** %? %^g\n%^{Event's date&time? }T\n %i") ("c" "calfw2org" entry (file nil) "** %?\n %(cfw:o= rg-capture-day)")) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-odt-format-headline-function 'ignore org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-log-redeadline t org-agenda-dim-blocked-tasks nil org-mode-hook '((lambda nil (pangu-spacing-mode 1) (set (make-local-variab= le (quote pangu-spacing-real-insert-separtor)) t)) (lambda nil (define-key org-mode-map (kbd "C-c SPC") (quot= e ace-jump-word-mode)) (define-key org-mode-map (kbd "C-c C-e") (quote org-expor= t-dispatch))) org-clock-load (lambda nil (setq truncate-lines nil)) #[nil "\300\301\302\303\304$\207" [org-add-hook change-maj= or-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-maj= or-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-refile-targets '(("Todo.org" :maxlevel . 1) ("School.org" :maxlevel . = 1) ("Learning.org" :maxlevel . 1) ("Project.org" :maxlevel . 2) ("Event.org" :maxlevel . 1) ("Reading.org" :maxlevel = . 1)) org-ascii-format-drawer-function '(lambda (name contents width) contents) org-odt-format-inlinetask-function 'ignore org-clock-persist 'history org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-= maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers o= rg-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-log-reschedule 'note org-todo-keywords '((type "TODO(t!)" "STARTED(s!)" "WAITING(w!)" "APPT(a!)= " "|" "DONE(d!)") (type "PROJECT(p!)" "|" "DONE(d!)") (type "|" "CANCELLED(x@)" "DEFERRED(f@)")) org-babel-tangle-lang-exts '(("latex" . "tex") ("emacs-lisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-log-into-drawer t org-odt-format-drawer-function '(lambda (name contents) contents) org-html-head "" org-html-format-headline-function 'ignore org-html-format-inlinetask-function 'ignore org-agenda-files '("~/org/agenda/Event.org" "~/org/agenda/School.org" "~/o= rg/agenda/Reading.org" "~/org/agenda/Project.org" "~/org/agenda/Learning.org" "~/org/agenda/Todo.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-src-fontify-natively t ) --=-=-=--