No. Time Source Destination Protocol Info 1 0.000000 192.168.30.173 192.168.30.130 TCP 39787 > http [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=1020881 TSER=0 WS=2 Frame 1 (74 bytes on wire, 74 bytes captured) Ethernet II, Src: Aopen_5f:9b:45 (00:01:80:5f:9b:45), Dst: Aopen_5f:96:84 (00:01:80:5f:96:84) Internet Protocol, Src: 192.168.30.173 (192.168.30.173), Dst: 192.168.30.130 (192.168.30.130) Transmission Control Protocol, Src Port: 39787 (39787), Dst Port: http (80), Seq: 0, Ack: 0, Len: 0 No. Time Source Destination Protocol Info 2 0.000118 192.168.30.130 192.168.30.173 TCP http > 39787 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=1178831 TSER=1020881 WS=2 Frame 2 (74 bytes on wire, 74 bytes captured) Ethernet II, Src: Aopen_5f:96:84 (00:01:80:5f:96:84), Dst: Aopen_5f:9b:45 (00:01:80:5f:9b:45) Internet Protocol, Src: 192.168.30.130 (192.168.30.130), Dst: 192.168.30.173 (192.168.30.173) Transmission Control Protocol, Src Port: http (80), Dst Port: 39787 (39787), Seq: 0, Ack: 1, Len: 0 No. Time Source Destination Protocol Info 3 0.000136 192.168.30.173 192.168.30.130 TCP 39787 > http [ACK] Seq=1 Ack=1 Win=5840 Len=0 TSV=1020881 TSER=1178831 Frame 3 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:9b:45 (00:01:80:5f:9b:45), Dst: Aopen_5f:96:84 (00:01:80:5f:96:84) Internet Protocol, Src: 192.168.30.173 (192.168.30.173), Dst: 192.168.30.130 (192.168.30.130) Transmission Control Protocol, Src Port: 39787 (39787), Dst Port: http (80), Seq: 1, Ack: 1, Len: 0 No. Time Source Destination Protocol Info 4 0.000532 192.168.30.173 192.168.30.130 HTTP GET /wgetrc HTTP/1.1 Frame 4 (560 bytes on wire, 560 bytes captured) Ethernet II, Src: Aopen_5f:9b:45 (00:01:80:5f:9b:45), Dst: Aopen_5f:96:84 (00:01:80:5f:96:84) Internet Protocol, Src: 192.168.30.173 (192.168.30.173), Dst: 192.168.30.130 (192.168.30.130) Transmission Control Protocol, Src Port: 39787 (39787), Dst Port: http (80), Seq: 1, Ack: 1, Len: 494 Hypertext Transfer Protocol GET /wgetrc HTTP/1.1\r\n Request Method: GET Request URI: /wgetrc Request Version: HTTP/1.1 Host: 192.168.30.130\r\n User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050921 Firefox/1.0.7 Mandriva/1.0.6-15mdk (2006.0)\r\n Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3\r\n Accept-Encoding: gzip,deflate\r\n Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n Keep-Alive: 300\r\n Connection: keep-alive\r\n Referer: http://192.168.30.130/GNET.html\r\n \r\n No. Time Source Destination Protocol Info 5 0.000708 192.168.30.130 192.168.30.173 TCP http > 39787 [ACK] Seq=1 Ack=495 Win=6864 Len=0 TSV=1178832 TSER=1020881 Frame 5 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:96:84 (00:01:80:5f:96:84), Dst: Aopen_5f:9b:45 (00:01:80:5f:9b:45) Internet Protocol, Src: 192.168.30.130 (192.168.30.130), Dst: 192.168.30.173 (192.168.30.173) Transmission Control Protocol, Src Port: http (80), Dst Port: 39787 (39787), Seq: 1, Ack: 495, Len: 0 No. Time Source Destination Protocol Info 6 0.000982 192.168.30.130 192.168.30.173 HTTP HTTP/1.1 200 OK Frame 6 (377 bytes on wire, 377 bytes captured) Ethernet II, Src: Aopen_5f:96:84 (00:01:80:5f:96:84), Dst: Aopen_5f:9b:45 (00:01:80:5f:9b:45) Internet Protocol, Src: 192.168.30.130 (192.168.30.130), Dst: 192.168.30.173 (192.168.30.173) Transmission Control Protocol, Src Port: http (80), Dst Port: 39787 (39787), Seq: 1, Ack: 495, Len: 311 Hypertext Transfer Protocol HTTP/1.1 200 OK\r\n Request Version: HTTP/1.1 Response Code: 200 Date: Tue, 17 Oct 2006 09:05:17 GMT\r\n Server: Apache/2.0.54 (Mandriva Linux/PREFORK-13mdk)\r\n Last-Modified: Thu, 09 Mar 2006 11:57:56 GMT\r\n ETag: "2ae1e-fa0-96439900"\r\n Accept-Ranges: bytes\r\n Content-Length: 4000\r\n Keep-Alive: timeout=15, max=100\r\n Connection: Keep-Alive\r\n Content-Type: text/plain\r\n \r\n No. Time Source Destination Protocol Info 7 0.000992 192.168.30.173 192.168.30.130 TCP 39787 > http [ACK] Seq=495 Ack=312 Win=6912 Len=0 TSV=1020882 TSER=1178832 Frame 7 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:9b:45 (00:01:80:5f:9b:45), Dst: Aopen_5f:96:84 (00:01:80:5f:96:84) Internet Protocol, Src: 192.168.30.173 (192.168.30.173), Dst: 192.168.30.130 (192.168.30.130) Transmission Control Protocol, Src Port: 39787 (39787), Dst Port: http (80), Seq: 495, Ack: 312, Len: 0 No. Time Source Destination Protocol Info 8 0.009091 192.168.30.130 192.168.30.173 HTTP Continuation or non-HTTP traffic Frame 8 (1514 bytes on wire, 1514 bytes captured) Ethernet II, Src: Aopen_5f:96:84 (00:01:80:5f:96:84), Dst: Aopen_5f:9b:45 (00:01:80:5f:9b:45) Internet Protocol, Src: 192.168.30.130 (192.168.30.130), Dst: 192.168.30.173 (192.168.30.173) Transmission Control Protocol, Src Port: http (80), Dst Port: 39787 (39787), Seq: 312, Ack: 495, Len: 1448 Hypertext Transfer Protocol Data (1448 bytes) 0000 23 23 23 0a 23 23 23 20 53 61 6d 70 6c 65 20 57 ###.### Sample W 0010 67 65 74 20 69 6e 69 74 69 61 6c 69 7a 61 74 69 get initializati 0020 6f 6e 20 66 69 6c 65 20 2e 77 67 65 74 72 63 0a on file .wgetrc. 0030 23 23 23 0a 0a 23 23 20 59 6f 75 20 63 61 6e 20 ###..## You can 0040 75 73 65 20 74 68 69 73 20 66 69 6c 65 20 74 6f use this file to 0050 20 63 68 61 6e 67 65 20 74 68 65 20 64 65 66 61 change the defa 0060 75 6c 74 20 62 65 68 61 76 69 6f 75 72 20 6f 66 ult behaviour of 0070 20 77 67 65 74 20 6f 72 20 74 6f 0a 23 23 20 61 wget or to.## a 0080 76 6f 69 64 20 68 61 76 69 6e 67 20 74 6f 20 74 void having to t 0090 79 70 65 20 6d 61 6e 79 20 6d 61 6e 79 20 63 6f ype many many co 00a0 6d 6d 61 6e 64 2d 6c 69 6e 65 20 6f 70 74 69 6f mmand-line optio 00b0 6e 73 2e 20 54 68 69 73 20 66 69 6c 65 20 64 6f ns. This file do 00c0 65 73 0a 23 23 20 6e 6f 74 20 63 6f 6e 74 61 69 es.## not contai 00d0 6e 20 61 20 63 6f 6d 70 72 65 68 65 6e 73 69 76 n a comprehensiv 00e0 65 20 6c 69 73 74 20 6f 66 20 63 6f 6d 6d 61 6e e list of comman 00f0 64 73 20 2d 2d 20 6c 6f 6f 6b 20 61 74 20 74 68 ds -- look at th 0100 65 20 6d 61 6e 75 61 6c 0a 23 23 20 74 6f 20 66 e manual.## to f 0110 69 6e 64 20 6f 75 74 20 77 68 61 74 20 79 6f 75 ind out what you 0120 20 63 61 6e 20 70 75 74 20 69 6e 74 6f 20 74 68 can put into th 0130 69 73 20 66 69 6c 65 2e 0a 23 23 20 0a 23 23 20 is file..## .## 0140 57 67 65 74 20 69 6e 69 74 69 61 6c 69 7a 61 74 Wget initializat 0150 69 6f 6e 20 66 69 6c 65 20 63 61 6e 20 72 65 73 ion file can res 0160 69 64 65 20 69 6e 20 2f 65 74 63 2f 77 67 65 74 ide in /etc/wget 0170 72 63 0a 23 23 20 28 67 6c 6f 62 61 6c 2c 20 66 rc.## (global, f 0180 6f 72 20 61 6c 6c 20 75 73 65 72 73 29 20 6f 72 or all users) or 0190 20 24 48 4f 4d 45 2f 2e 77 67 65 74 72 63 20 28 $HOME/.wgetrc ( 01a0 66 6f 72 20 61 20 73 69 6e 67 6c 65 20 75 73 65 for a single use 01b0 72 29 2e 0a 23 23 0a 23 23 20 54 6f 20 75 73 65 r)..##.## To use 01c0 20 74 68 65 20 73 65 74 74 69 6e 67 73 20 69 6e the settings in 01d0 20 74 68 69 73 20 66 69 6c 65 2c 20 79 6f 75 20 this file, you 01e0 77 69 6c 6c 20 68 61 76 65 20 74 6f 20 75 6e 63 will have to unc 01f0 6f 6d 6d 65 6e 74 20 74 68 65 6d 2c 0a 23 23 20 omment them,.## 0200 61 73 20 77 65 6c 6c 20 61 73 20 63 68 61 6e 67 as well as chang 0210 65 20 74 68 65 6d 2c 20 69 6e 20 6d 6f 73 74 20 e them, in most 0220 63 61 73 65 73 2c 20 61 73 20 74 68 65 20 76 61 cases, as the va 0230 6c 75 65 73 20 6f 6e 20 74 68 65 0a 23 23 20 63 lues on the.## c 0240 6f 6d 6d 65 6e 74 65 64 2d 6f 75 74 20 6c 69 6e ommented-out lin 0250 65 73 20 61 72 65 20 74 68 65 20 64 65 66 61 75 es are the defau 0260 6c 74 20 76 61 6c 75 65 73 20 28 65 2e 67 2e 20 lt values (e.g. 0270 22 6f 66 66 22 29 2e 0a 0a 0a 23 23 0a 23 23 20 "off")....##.## 0280 47 6c 6f 62 61 6c 20 73 65 74 74 69 6e 67 73 20 Global settings 0290 28 75 73 65 66 75 6c 20 66 6f 72 20 73 65 74 74 (useful for sett 02a0 69 6e 67 20 75 70 20 69 6e 20 2f 65 74 63 2f 77 ing up in /etc/w 02b0 67 65 74 72 63 29 2e 0a 23 23 20 54 68 69 6e 6b getrc)..## Think 02c0 20 77 65 6c 6c 20 62 65 66 6f 72 65 20 79 6f 75 well before you 02d0 20 63 68 61 6e 67 65 20 74 68 65 6d 2c 20 73 69 change them, si 02e0 6e 63 65 20 74 68 65 79 20 6d 61 79 20 72 65 64 nce they may red 02f0 75 63 65 20 77 67 65 74 27 73 0a 23 23 20 66 75 uce wget's.## fu 0300 6e 63 74 69 6f 6e 61 6c 69 74 79 2c 20 61 6e 64 nctionality, and 0310 20 6d 61 6b 65 20 69 74 20 62 65 68 61 76 65 20 make it behave 0320 63 6f 6e 74 72 61 72 79 20 74 6f 20 74 68 65 20 contrary to the 0330 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 3a 0a 23 documentation:.# 0340 23 0a 0a 23 20 59 6f 75 20 63 61 6e 20 73 65 74 #..# You can set 0350 20 72 65 74 72 69 65 76 65 20 71 75 6f 74 61 20 retrieve quota 0360 66 6f 72 20 62 65 67 69 6e 6e 65 72 73 20 62 79 for beginners by 0370 20 73 70 65 63 69 66 79 69 6e 67 20 61 20 76 61 specifying a va 0380 6c 75 65 0a 23 20 6f 70 74 69 6f 6e 61 6c 6c 79 lue.# optionally 0390 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 27 4b 27 followed by 'K' 03a0 20 28 6b 69 6c 6f 62 79 74 65 73 29 20 6f 72 20 (kilobytes) or 03b0 27 4d 27 20 28 6d 65 67 61 62 79 74 65 73 29 2e 'M' (megabytes). 03c0 20 20 54 68 65 0a 23 20 64 65 66 61 75 6c 74 20 The.# default 03d0 71 75 6f 74 61 20 69 73 20 75 6e 6c 69 6d 69 74 quota is unlimit 03e0 65 64 2e 0a 23 71 75 6f 74 61 20 3d 20 69 6e 66 ed..#quota = inf 03f0 0a 0a 23 20 59 6f 75 20 63 61 6e 20 6c 6f 77 65 ..# You can lowe 0400 72 20 28 6f 72 20 72 61 69 73 65 29 20 74 68 65 r (or raise) the 0410 20 64 65 66 61 75 6c 74 20 6e 75 6d 62 65 72 20 default number 0420 6f 66 20 72 65 74 72 69 65 73 20 77 68 65 6e 0a of retries when. 0430 23 20 64 6f 77 6e 6c 6f 61 64 69 6e 67 20 61 20 # downloading a 0440 66 69 6c 65 20 28 64 65 66 61 75 6c 74 20 69 73 file (default is 0450 20 32 30 29 2e 0a 23 74 72 69 65 73 20 3d 20 32 20)..#tries = 2 0460 30 0a 0a 23 20 4c 6f 77 65 72 69 6e 67 20 74 68 0..# Lowering th 0470 65 20 6d 61 78 69 6d 75 6d 20 64 65 70 74 68 20 e maximum depth 0480 6f 66 20 74 68 65 20 72 65 63 75 72 73 69 76 65 of the recursive 0490 20 72 65 74 72 69 65 76 61 6c 20 69 73 20 68 61 retrieval is ha 04a0 6e 64 79 20 74 6f 0a 23 20 70 72 65 76 65 6e 74 ndy to.# prevent 04b0 20 6e 65 77 62 69 65 73 20 66 72 6f 6d 20 67 6f newbies from go 04c0 69 6e 67 20 74 6f 6f 20 22 64 65 65 70 22 20 77 ing too "deep" w 04d0 68 65 6e 20 74 68 65 79 20 75 6e 77 69 74 74 69 hen they unwitti 04e0 6e 67 6c 79 20 73 74 61 72 74 0a 23 20 74 68 65 ngly start.# the 04f0 20 72 65 63 75 72 73 69 76 65 20 72 65 74 72 69 recursive retri 0500 65 76 61 6c 2e 20 20 54 68 65 20 64 65 66 61 75 eval. The defau 0510 6c 74 20 69 73 20 35 2e 0a 23 72 65 63 6c 65 76 lt is 5..#reclev 0520 65 6c 20 3d 20 35 0a 0a 23 20 4d 61 6e 79 20 73 el = 5..# Many s 0530 69 74 65 73 20 61 72 65 20 62 65 68 69 6e 64 20 ites are behind 0540 66 69 72 65 77 61 6c 6c 73 20 74 68 61 74 20 64 firewalls that d 0550 6f 20 6e 6f 74 20 61 6c 6c 6f 77 20 69 6e 69 74 o not allow init 0560 69 61 74 69 6f 6e 20 6f 66 0a 23 20 63 6f 6e 6e iation of.# conn 0570 65 63 74 69 6f 6e 73 20 66 72 6f 6d 20 74 68 65 ections from the 0580 20 6f 75 74 73 69 64 65 2e 20 20 4f 6e 20 74 68 outside. On th 0590 65 73 65 20 73 69 74 65 73 20 79 6f 75 20 68 61 ese sites you ha 05a0 76 65 20 74 6f 20 75 73 ve to us No. Time Source Destination Protocol Info 9 0.009115 192.168.30.173 192.168.30.130 TCP 39787 > http [ACK] Seq=495 Ack=1760 Win=9808 Len=0 TSV=1020890 TSER=1178840 Frame 9 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:9b:45 (00:01:80:5f:9b:45), Dst: Aopen_5f:96:84 (00:01:80:5f:96:84) Internet Protocol, Src: 192.168.30.173 (192.168.30.173), Dst: 192.168.30.130 (192.168.30.130) Transmission Control Protocol, Src Port: 39787 (39787), Dst Port: http (80), Seq: 495, Ack: 1760, Len: 0 No. Time Source Destination Protocol Info 10 0.009214 192.168.30.130 192.168.30.173 HTTP Continuation or non-HTTP traffic Frame 10 (1514 bytes on wire, 1514 bytes captured) Ethernet II, Src: Aopen_5f:96:84 (00:01:80:5f:96:84), Dst: Aopen_5f:9b:45 (00:01:80:5f:9b:45) Internet Protocol, Src: 192.168.30.130 (192.168.30.130), Dst: 192.168.30.173 (192.168.30.173) Transmission Control Protocol, Src Port: http (80), Dst Port: 39787 (39787), Seq: 1760, Ack: 495, Len: 1448 Hypertext Transfer Protocol Data (1448 bytes) 0000 65 20 74 68 65 0a 23 20 60 70 61 73 73 69 76 65 e the.# `passive 0010 27 20 66 65 61 74 75 72 65 20 6f 66 20 46 54 50 ' feature of FTP 0020 2e 20 20 49 66 20 79 6f 75 20 61 72 65 20 62 65 . If you are be 0030 68 69 6e 64 20 73 75 63 68 20 61 20 66 69 72 65 hind such a fire 0040 77 61 6c 6c 2c 20 79 6f 75 0a 23 20 63 61 6e 20 wall, you.# can 0050 74 75 72 6e 20 74 68 69 73 20 6f 6e 20 74 6f 20 turn this on to 0060 6d 61 6b 65 20 57 67 65 74 20 75 73 65 20 70 61 make Wget use pa 0070 73 73 69 76 65 20 46 54 50 20 62 79 20 64 65 66 ssive FTP by def 0080 61 75 6c 74 2e 0a 70 61 73 73 69 76 65 5f 66 74 ault..passive_ft 0090 70 20 3d 20 6f 6e 0a 0a 23 20 54 68 65 20 22 77 p = on..# The "w 00a0 61 69 74 22 20 63 6f 6d 6d 61 6e 64 20 62 65 6c ait" command bel 00b0 6f 77 20 6d 61 6b 65 73 20 57 67 65 74 20 77 61 ow makes Wget wa 00c0 69 74 20 62 65 74 77 65 65 6e 20 65 76 65 72 79 it between every 00d0 20 63 6f 6e 6e 65 63 74 69 6f 6e 2e 0a 23 20 49 connection..# I 00e0 66 2c 20 69 6e 73 74 65 61 64 2c 20 79 6f 75 20 f, instead, you 00f0 77 61 6e 74 20 57 67 65 74 20 74 6f 20 77 61 69 want Wget to wai 0100 74 20 6f 6e 6c 79 20 62 65 74 77 65 65 6e 20 72 t only between r 0110 65 74 72 69 65 73 20 6f 66 20 66 61 69 6c 65 64 etries of failed 0120 0a 23 20 64 6f 77 6e 6c 6f 61 64 73 2c 20 73 65 .# downloads, se 0130 74 20 77 61 69 74 72 65 74 72 79 20 74 6f 20 6d t waitretry to m 0140 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 aximum number of 0150 20 73 65 63 6f 6e 64 73 20 74 6f 20 77 61 69 74 seconds to wait 0160 20 28 57 67 65 74 0a 23 20 77 69 6c 6c 20 75 73 (Wget.# will us 0170 65 20 22 6c 69 6e 65 61 72 20 62 61 63 6b 6f 66 e "linear backof 0180 66 22 2c 20 77 61 69 74 69 6e 67 20 31 20 73 65 f", waiting 1 se 0190 63 6f 6e 64 20 61 66 74 65 72 20 74 68 65 20 66 cond after the f 01a0 69 72 73 74 20 66 61 69 6c 75 72 65 0a 23 20 6f irst failure.# o 01b0 6e 20 61 20 66 69 6c 65 2c 20 32 20 73 65 63 6f n a file, 2 seco 01c0 6e 64 73 20 61 66 74 65 72 20 74 68 65 20 73 65 nds after the se 01d0 63 6f 6e 64 20 66 61 69 6c 75 72 65 2c 20 65 74 cond failure, et 01e0 63 2e 20 75 70 20 74 6f 20 74 68 69 73 20 6d 61 c. up to this ma 01f0 78 29 2e 0a 77 61 69 74 72 65 74 72 79 20 3d 20 x)..waitretry = 0200 31 30 0a 0a 0a 23 23 0a 23 23 20 4c 6f 63 61 6c 10...##.## Local 0210 20 73 65 74 74 69 6e 67 73 20 28 66 6f 72 20 61 settings (for a 0220 20 75 73 65 72 20 74 6f 20 73 65 74 20 69 6e 20 user to set in 0230 68 69 73 20 24 48 4f 4d 45 2f 2e 77 67 65 74 72 his $HOME/.wgetr 0240 63 29 2e 20 20 49 74 20 69 73 0a 23 23 20 2a 68 c). It is.## *h 0250 69 67 68 6c 79 2a 20 75 6e 64 65 73 69 72 61 62 ighly* undesirab 0260 6c 65 20 74 6f 20 70 75 74 20 74 68 65 73 65 20 le to put these 0270 73 65 74 74 69 6e 67 73 20 69 6e 20 74 68 65 20 settings in the 0280 67 6c 6f 62 61 6c 20 66 69 6c 65 2c 20 73 69 6e global file, sin 0290 63 65 0a 23 23 20 74 68 65 79 20 61 72 65 20 70 ce.## they are p 02a0 6f 74 65 6e 74 69 61 6c 6c 79 20 64 61 6e 67 65 otentially dange 02b0 72 6f 75 73 20 74 6f 20 22 6e 6f 72 6d 61 6c 22 rous to "normal" 02c0 20 75 73 65 72 73 2e 0a 23 23 0a 23 23 20 45 76 users..##.## Ev 02d0 65 6e 20 77 68 65 6e 20 73 65 74 74 69 6e 67 20 en when setting 02e0 75 70 20 79 6f 75 72 20 6f 77 6e 20 7e 2f 2e 77 up your own ~/.w 02f0 67 65 74 72 63 2c 20 79 6f 75 20 73 68 6f 75 6c getrc, you shoul 0300 64 20 6b 6e 6f 77 20 77 68 61 74 20 79 6f 75 0a d know what you. 0310 23 23 20 61 72 65 20 64 6f 69 6e 67 20 62 65 66 ## are doing bef 0320 6f 72 65 20 64 6f 69 6e 67 20 73 6f 2e 0a 23 23 ore doing so..## 0330 0a 0a 23 20 53 65 74 20 74 68 69 73 20 74 6f 20 ..# Set this to 0340 6f 6e 20 74 6f 20 75 73 65 20 74 69 6d 65 73 74 on to use timest 0350 61 6d 70 69 6e 67 20 62 79 20 64 65 66 61 75 6c amping by defaul 0360 74 3a 0a 23 74 69 6d 65 73 74 61 6d 70 69 6e 67 t:.#timestamping 0370 20 3d 20 6f 66 66 0a 0a 23 20 49 74 20 69 73 20 = off..# It is 0380 61 20 67 6f 6f 64 20 69 64 65 61 20 74 6f 20 6d a good idea to m 0390 61 6b 65 20 57 67 65 74 20 73 65 6e 64 20 79 6f ake Wget send yo 03a0 75 72 20 65 6d 61 69 6c 20 61 64 64 72 65 73 73 ur email address 03b0 20 69 6e 20 61 20 60 46 72 6f 6d 3a 27 0a 23 20 in a `From:'.# 03c0 68 65 61 64 65 72 20 77 69 74 68 20 79 6f 75 72 header with your 03d0 20 72 65 71 75 65 73 74 20 28 73 6f 20 74 68 61 request (so tha 03e0 74 20 73 65 72 76 65 72 20 61 64 6d 69 6e 69 73 t server adminis 03f0 74 72 61 74 6f 72 73 20 63 61 6e 20 63 6f 6e 74 trators can cont 0400 61 63 74 0a 23 20 79 6f 75 20 69 6e 20 63 61 73 act.# you in cas 0410 65 20 6f 66 20 65 72 72 6f 72 73 29 2e 20 20 57 e of errors). W 0420 67 65 74 20 64 6f 65 73 20 2a 6e 6f 74 2a 20 73 get does *not* s 0430 65 6e 64 20 60 46 72 6f 6d 3a 27 20 62 79 20 64 end `From:' by d 0440 65 66 61 75 6c 74 2e 0a 23 68 65 61 64 65 72 20 efault..#header 0450 3d 20 46 72 6f 6d 3a 20 59 6f 75 72 20 4e 61 6d = From: Your Nam 0460 65 20 3c 75 73 65 72 6e 61 6d 65 40 73 69 74 65 e ..# You 0480 63 61 6e 20 73 65 74 20 75 70 20 6f 74 68 65 72 can set up other 0490 20 68 65 61 64 65 72 73 2c 20 6c 69 6b 65 20 41 headers, like A 04a0 63 63 65 70 74 2d 4c 61 6e 67 75 61 67 65 2e 20 ccept-Language. 04b0 20 41 63 63 65 70 74 2d 4c 61 6e 67 75 61 67 65 Accept-Language 04c0 0a 23 20 69 73 20 2a 6e 6f 74 2a 20 73 65 6e 74 .# is *not* sent 04d0 20 62 79 20 64 65 66 61 75 6c 74 2e 0a 23 68 65 by default..#he 04e0 61 64 65 72 20 3d 20 41 63 63 65 70 74 2d 4c 61 ader = Accept-La 04f0 6e 67 75 61 67 65 3a 20 65 6e 0a 0a 23 20 59 6f nguage: en..# Yo 0500 75 20 63 61 6e 20 73 65 74 20 74 68 65 20 64 65 u can set the de 0510 66 61 75 6c 74 20 70 72 6f 78 69 65 73 20 66 6f fault proxies fo 0520 72 20 57 67 65 74 20 74 6f 20 75 73 65 20 66 6f r Wget to use fo 0530 72 20 68 74 74 70 20 61 6e 64 20 66 74 70 2e 0a r http and ftp.. 0540 23 20 54 68 65 79 20 77 69 6c 6c 20 6f 76 65 72 # They will over 0550 72 69 64 65 20 74 68 65 20 76 61 6c 75 65 20 69 ride the value i 0560 6e 20 74 68 65 20 65 6e 76 69 72 6f 6e 6d 65 6e n the environmen 0570 74 2e 0a 23 68 74 74 70 5f 70 72 6f 78 79 20 3d t..#http_proxy = 0580 20 68 74 74 70 3a 2f 2f 70 72 6f 78 79 2e 79 6f http://proxy.yo 0590 79 6f 64 79 6e 65 2e 63 6f 6d 3a 31 38 30 32 33 yodyne.com:18023 05a0 2f 0a 23 66 74 70 5f 70 /.#ftp_p No. Time Source Destination Protocol Info 11 0.009222 192.168.30.173 192.168.30.130 TCP 39787 > http [ACK] Seq=495 Ack=3208 Win=12704 Len=0 TSV=1020890 TSER=1178840 Frame 11 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:9b:45 (00:01:80:5f:9b:45), Dst: Aopen_5f:96:84 (00:01:80:5f:96:84) Internet Protocol, Src: 192.168.30.173 (192.168.30.173), Dst: 192.168.30.130 (192.168.30.130) Transmission Control Protocol, Src Port: 39787 (39787), Dst Port: http (80), Seq: 495, Ack: 3208, Len: 0 No. Time Source Destination Protocol Info 12 0.009309 192.168.30.130 192.168.30.173 HTTP Continuation or non-HTTP traffic Frame 12 (1170 bytes on wire, 1170 bytes captured) Ethernet II, Src: Aopen_5f:96:84 (00:01:80:5f:96:84), Dst: Aopen_5f:9b:45 (00:01:80:5f:9b:45) Internet Protocol, Src: 192.168.30.130 (192.168.30.130), Dst: 192.168.30.173 (192.168.30.173) Transmission Control Protocol, Src Port: http (80), Dst Port: 39787 (39787), Seq: 3208, Ack: 495, Len: 1104 Hypertext Transfer Protocol Data (1104 bytes) 0000 72 6f 78 79 20 3d 20 68 74 74 70 3a 2f 2f 70 72 roxy = http://pr 0010 6f 78 79 2e 79 6f 79 6f 64 79 6e 65 2e 63 6f 6d oxy.yoyodyne.com 0020 3a 31 38 30 32 33 2f 0a 0a 23 20 49 66 20 79 6f :18023/..# If yo 0030 75 20 64 6f 20 6e 6f 74 20 77 61 6e 74 20 74 6f u do not want to 0040 20 75 73 65 20 70 72 6f 78 79 20 61 74 20 61 6c use proxy at al 0050 6c 2c 20 73 65 74 20 74 68 69 73 20 74 6f 20 6f l, set this to o 0060 66 66 2e 0a 23 75 73 65 5f 70 72 6f 78 79 20 3d ff..#use_proxy = 0070 20 6f 6e 0a 0a 23 20 59 6f 75 20 63 61 6e 20 63 on..# You can c 0080 75 73 74 6f 6d 69 7a 65 20 74 68 65 20 72 65 74 ustomize the ret 0090 72 69 65 76 61 6c 20 6f 75 74 6c 6f 6f 6b 2e 20 rieval outlook. 00a0 20 56 61 6c 69 64 20 6f 70 74 69 6f 6e 73 20 61 Valid options a 00b0 72 65 20 64 65 66 61 75 6c 74 2c 0a 23 20 62 69 re default,.# bi 00c0 6e 61 72 79 2c 20 6d 65 67 61 20 61 6e 64 20 6d nary, mega and m 00d0 69 63 72 6f 2e 0a 23 64 6f 74 5f 73 74 79 6c 65 icro..#dot_style 00e0 20 3d 20 64 65 66 61 75 6c 74 0a 0a 23 20 53 65 = default..# Se 00f0 74 74 69 6e 67 20 74 68 69 73 20 74 6f 20 6f 66 tting this to of 0100 66 20 6d 61 6b 65 73 20 57 67 65 74 20 6e 6f 74 f makes Wget not 0110 20 64 6f 77 6e 6c 6f 61 64 20 2f 72 6f 62 6f 74 download /robot 0120 73 2e 74 78 74 2e 20 20 42 65 20 73 75 72 65 20 s.txt. Be sure 0130 74 6f 0a 23 20 6b 6e 6f 77 20 2a 65 78 61 63 74 to.# know *exact 0140 6c 79 2a 20 77 68 61 74 20 2f 72 6f 62 6f 74 73 ly* what /robots 0150 2e 74 78 74 20 69 73 20 61 6e 64 20 68 6f 77 20 .txt is and how 0160 69 74 20 69 73 20 75 73 65 64 20 62 65 66 6f 72 it is used befor 0170 65 20 63 68 61 6e 67 69 6e 67 0a 23 20 74 68 65 e changing.# the 0180 20 64 65 66 61 75 6c 74 21 0a 23 72 6f 62 6f 74 default!.#robot 0190 73 20 3d 20 6f 6e 0a 0a 23 20 49 74 20 63 61 6e s = on..# It can 01a0 20 62 65 20 75 73 65 66 75 6c 20 74 6f 20 6d 61 be useful to ma 01b0 6b 65 20 57 67 65 74 20 77 61 69 74 20 62 65 74 ke Wget wait bet 01c0 77 65 65 6e 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 ween connections 01d0 2e 20 20 53 65 74 20 74 68 69 73 20 74 6f 0a 23 . Set this to.# 01e0 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 73 the number of s 01f0 65 63 6f 6e 64 73 20 79 6f 75 20 77 61 6e 74 20 econds you want 0200 57 67 65 74 20 74 6f 20 77 61 69 74 2e 0a 23 77 Wget to wait..#w 0210 61 69 74 20 3d 20 30 0a 0a 23 20 59 6f 75 20 63 ait = 0..# You c 0220 61 6e 20 66 6f 72 63 65 20 63 72 65 61 74 69 6e an force creatin 0230 67 20 64 69 72 65 63 74 6f 72 79 20 73 74 72 75 g directory stru 0240 63 74 75 72 65 2c 20 65 76 65 6e 20 69 66 20 61 cture, even if a 0250 20 73 69 6e 67 6c 65 20 69 73 20 62 65 69 6e 67 single is being 0260 0a 23 20 72 65 74 72 69 65 76 65 64 2c 20 62 79 .# retrieved, by 0270 20 73 65 74 74 69 6e 67 20 74 68 69 73 20 74 6f setting this to 0280 20 6f 6e 2e 0a 23 64 69 72 73 74 72 75 63 74 20 on..#dirstruct 0290 3d 20 6f 66 66 0a 0a 23 20 59 6f 75 20 63 61 6e = off..# You can 02a0 20 74 75 72 6e 20 6f 6e 20 72 65 63 75 72 73 69 turn on recursi 02b0 76 65 20 72 65 74 72 69 65 76 69 6e 67 20 62 79 ve retrieving by 02c0 20 64 65 66 61 75 6c 74 20 28 64 6f 6e 27 74 20 default (don't 02d0 64 6f 20 74 68 69 73 20 69 66 0a 23 20 79 6f 75 do this if.# you 02e0 20 61 72 65 20 6e 6f 74 20 73 75 72 65 20 79 6f are not sure yo 02f0 75 20 6b 6e 6f 77 20 77 68 61 74 20 69 74 20 6d u know what it m 0300 65 61 6e 73 29 20 62 79 20 73 65 74 74 69 6e 67 eans) by setting 0310 20 74 68 69 73 20 74 6f 20 6f 6e 2e 0a 23 72 65 this to on..#re 0320 63 75 72 73 69 76 65 20 3d 20 6f 66 66 0a 0a 23 cursive = off..# 0330 20 54 6f 20 61 6c 77 61 79 73 20 62 61 63 6b 20 To always back 0340 75 70 20 66 69 6c 65 20 58 20 61 73 20 58 2e 6f up file X as X.o 0350 72 69 67 20 62 65 66 6f 72 65 20 63 6f 6e 76 65 rig before conve 0360 72 74 69 6e 67 20 69 74 73 20 6c 69 6e 6b 73 20 rting its links 0370 28 64 75 65 0a 23 20 74 6f 20 2d 6b 20 2f 20 2d (due.# to -k / - 0380 2d 63 6f 6e 76 65 72 74 2d 6c 69 6e 6b 73 20 2f -convert-links / 0390 20 63 6f 6e 76 65 72 74 5f 6c 69 6e 6b 73 20 3d convert_links = 03a0 20 6f 6e 20 68 61 76 69 6e 67 20 62 65 65 6e 20 on having been 03b0 73 70 65 63 69 66 69 65 64 29 2c 0a 23 20 73 65 specified),.# se 03c0 74 20 74 68 69 73 20 76 61 72 69 61 62 6c 65 20 t this variable 03d0 74 6f 20 6f 6e 3a 0a 23 62 61 63 6b 75 70 5f 63 to on:.#backup_c 03e0 6f 6e 76 65 72 74 65 64 20 3d 20 6f 66 66 0a 0a onverted = off.. 03f0 23 20 54 6f 20 68 61 76 65 20 57 67 65 74 20 66 # To have Wget f 0400 6f 6c 6c 6f 77 20 46 54 50 20 6c 69 6e 6b 73 20 ollow FTP links 0410 66 72 6f 6d 20 48 54 4d 4c 20 66 69 6c 65 73 20 from HTML files 0420 62 79 20 64 65 66 61 75 6c 74 2c 20 73 65 74 20 by default, set 0430 74 68 69 73 0a 23 20 74 6f 20 6f 6e 3a 0a 23 66 this.# to on:.#f 0440 6f 6c 6c 6f 77 5f 66 74 70 20 3d 20 6f 66 66 0a ollow_ftp = off. No. Time Source Destination Protocol Info 13 0.009319 192.168.30.173 192.168.30.130 TCP 39787 > http [ACK] Seq=495 Ack=4312 Win=15600 Len=0 TSV=1020890 TSER=1178840 Frame 13 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:9b:45 (00:01:80:5f:9b:45), Dst: Aopen_5f:96:84 (00:01:80:5f:96:84) Internet Protocol, Src: 192.168.30.173 (192.168.30.173), Dst: 192.168.30.130 (192.168.30.130) Transmission Control Protocol, Src Port: 39787 (39787), Dst Port: http (80), Seq: 495, Ack: 4312, Len: 0 No. Time Source Destination Protocol Info 14 1.883733 192.168.0.47 Broadcast ARP Who has 192.168.31.10? Tell 192.168.0.47 Frame 14 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: 192.168.0.47 (00:30:48:2c:95:0f), Dst: Broadcast (ff:ff:ff:ff:ff:ff) Address Resolution Protocol (request) No. Time Source Destination Protocol Info 15 7.365103 192.168.50.3 224.0.0.1 IGMP V2 Membership Query Frame 15 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: SmcNetwo_91:ce:ea (00:04:e2:91:ce:ea), Dst: 01:00:5e:00:00:01 (01:00:5e:00:00:01) Internet Protocol, Src: 192.168.50.3 (192.168.50.3), Dst: 224.0.0.1 (224.0.0.1) Internet Group Management Protocol No. Time Source Destination Protocol Info 16 7.585708 192.168.0.46 Broadcast ARP Who has 192.168.31.8? Tell 192.168.0.46 Frame 16 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: 192.168.0.46 (6a:c1:03:04:82:b2), Dst: Broadcast (ff:ff:ff:ff:ff:ff) Address Resolution Protocol (request) No. Time Source Destination Protocol Info 17 9.086097 192.168.30.183 224.0.0.251 IGMP V2 Membership Report Frame 17 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: Aopen_60:2d:0e (00:01:80:60:2d:0e), Dst: 01:00:5e:00:00:fb (01:00:5e:00:00:fb) Internet Protocol, Src: 192.168.30.183 (192.168.30.183), Dst: 224.0.0.251 (224.0.0.251) Internet Group Management Protocol No. Time Source Destination Protocol Info 18 13.426648 192.168.50.3 224.0.0.1 IGMP V2 Membership Query Frame 18 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: SmcNetwo_91:ce:ea (00:04:e2:91:ce:ea), Dst: 01:00:5e:00:00:01 (01:00:5e:00:00:01) Internet Protocol, Src: 192.168.50.3 (192.168.50.3), Dst: 224.0.0.1 (224.0.0.1) Internet Group Management Protocol No. Time Source Destination Protocol Info 19 13.467806 192.168.0.46 Broadcast ARP Who has 192.168.31.0? Tell 192.168.0.46 Frame 19 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: 192.168.0.46 (6a:c1:03:04:82:b2), Dst: Broadcast (ff:ff:ff:ff:ff:ff) Address Resolution Protocol (request) No. Time Source Destination Protocol Info 20 13.468631 192.168.0.47 Broadcast ARP Who has 192.168.31.0? Tell 192.168.0.47 Frame 20 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: 192.168.0.47 (00:30:48:2c:95:0f), Dst: Broadcast (ff:ff:ff:ff:ff:ff) Address Resolution Protocol (request) No. Time Source Destination Protocol Info 21 14.174167 192.168.30.183 224.0.0.251 IGMP V2 Membership Report Frame 21 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: Aopen_60:2d:0e (00:01:80:60:2d:0e), Dst: 01:00:5e:00:00:fb (01:00:5e:00:00:fb) Internet Protocol, Src: 192.168.30.183 (192.168.30.183), Dst: 224.0.0.251 (224.0.0.251) Internet Group Management Protocol No. Time Source Destination Protocol Info 22 15.008251 192.168.30.130 192.168.30.173 TCP http > 39787 [FIN, ACK] Seq=4312 Ack=495 Win=6864 Len=0 TSV=1193841 TSER=1020890 Frame 22 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:96:84 (00:01:80:5f:96:84), Dst: Aopen_5f:9b:45 (00:01:80:5f:9b:45) Internet Protocol, Src: 192.168.30.130 (192.168.30.130), Dst: 192.168.30.173 (192.168.30.173) Transmission Control Protocol, Src Port: http (80), Dst Port: 39787 (39787), Seq: 4312, Ack: 495, Len: 0 No. Time Source Destination Protocol Info 23 15.047930 192.168.30.173 192.168.30.130 TCP 39787 > http [ACK] Seq=495 Ack=4313 Win=15600 Len=0 TSV=1035931 TSER=1193841 Frame 23 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:9b:45 (00:01:80:5f:9b:45), Dst: Aopen_5f:96:84 (00:01:80:5f:96:84) Internet Protocol, Src: 192.168.30.173 (192.168.30.173), Dst: 192.168.30.130 (192.168.30.130) Transmission Control Protocol, Src Port: 39787 (39787), Dst Port: http (80), Seq: 495, Ack: 4313, Len: 0 No. Time Source Destination Protocol Info 24 17.464024 192.168.0.47 Broadcast ARP Who has 192.168.21.19? Tell 192.168.0.47 Frame 24 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: 192.168.0.47 (00:30:48:2c:95:0f), Dst: Broadcast (ff:ff:ff:ff:ff:ff) Address Resolution Protocol (request) No. Time Source Destination Protocol Info 25 20.548319 192.168.0.47 Broadcast ARP Who has 192.168.31.97? Tell 192.168.0.47 Frame 25 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: 192.168.0.47 (00:30:48:2c:95:0f), Dst: Broadcast (ff:ff:ff:ff:ff:ff) Address Resolution Protocol (request) No. Time Source Destination Protocol Info 26 22.552672 192.168.0.47 Broadcast ARP Who has 192.168.15.12? Tell 192.168.0.47 Frame 26 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: 192.168.0.47 (00:30:48:2c:95:0f), Dst: Broadcast (ff:ff:ff:ff:ff:ff) Address Resolution Protocol (request) No. Time Source Destination Protocol Info 27 22.769781 192.168.30.173 192.168.30.130 TCP 39787 > http [FIN, ACK] Seq=495 Ack=4313 Win=15600 Len=0 TSV=1043654 TSER=1193841 Frame 27 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:9b:45 (00:01:80:5f:9b:45), Dst: Aopen_5f:96:84 (00:01:80:5f:96:84) Internet Protocol, Src: 192.168.30.173 (192.168.30.173), Dst: 192.168.30.130 (192.168.30.130) Transmission Control Protocol, Src Port: 39787 (39787), Dst Port: http (80), Seq: 495, Ack: 4313, Len: 0 No. Time Source Destination Protocol Info 28 22.769883 192.168.30.130 192.168.30.173 TCP http > 39787 [ACK] Seq=4313 Ack=496 Win=6864 Len=0 TSV=1201604 TSER=1043654 Frame 28 (66 bytes on wire, 66 bytes captured) Ethernet II, Src: Aopen_5f:96:84 (00:01:80:5f:96:84), Dst: Aopen_5f:9b:45 (00:01:80:5f:9b:45) Internet Protocol, Src: 192.168.30.130 (192.168.30.130), Dst: 192.168.30.173 (192.168.30.173) Transmission Control Protocol, Src Port: http (80), Dst Port: 39787 (39787), Seq: 4313, Ack: 496, Len: 0 No. Time Source Destination Protocol Info 29 23.529099 192.168.50.3 224.0.0.1 IGMP V2 Membership Query Frame 29 (60 bytes on wire, 60 bytes captured) Ethernet II, Src: SmcNetwo_91:ce:ea (00:04:e2:91:ce:ea), Dst: 01:00:5e:00:00:01 (01:00:5e:00:00:01) Internet Protocol, Src: 192.168.50.3 (192.168.50.3), Dst: 224.0.0.1 (224.0.0.1) Internet Group Management Protocol