Lectures notes for 2010 - KTH
Lectures notes for 2010 - KTH Lectures notes for 2010 - KTH
print PTMP "$time $RSSId\n"; $count++; print "sourcename is $sourcename; sourcename1 is $sourcename1 \n"; } else { if ($sourcename =~ $sourcename1) { print PTMP "$time $RSSId\n"; } else { print "sourcename is $sourcename, old sourcename is $sourcename1\n"; close PTMP; chmod 0664, ’/tmp/ptmp’; system("mv /tmp/ptmp $sourcename1"); $sourcename1 = $sourcename; &create_tmp_file; print PTMP "$time $RSSId\n"; } } } } close PTMP; chmod 0664, ’/tmp/ptmp’; system("mv /tmp/ptmp $sourcename1"); close DATA_FILE; sub create_tmp_file { # open(PTMP, ">/tmp/ptmptmp$$") || die "Can’t create tmp file $!\n"; # close (PTMP); # $locked = link("/tmp/ptmptmp$$", ’/tmp/ptmp’); # unlink "/tmp/ptmptmp$$"; # $locked || die "Can’t lock temporary file.\n"; open(PTMP, ">/tmp/ptmp") || die "Can’t open tmp file $! for writing\n"; } This script process captured IEEE 802.11 packets to put measurements of the different sources into their own files, based upon the source MAC address. (In this case the program assumes that the file has already been sorted based upon the source MAC address.) Maguire Using a Perl script 1: 85 of 104 maguire@kth.se 2010.03.21 Internetworking/Internetteknik
Choosing which columns to display Figure 24: Set your preferences for the User Interface Maguire Choosing which columns to display 1: 86 of 104 maguire@kth.se 2010.03.21 Internetworking/Internetteknik
- Page 77 and 78: Increasing Data Rates “Ethernet
- Page 79 and 80: The Internet Today Local … Local
- Page 81 and 82: Implicit vs. Explicit Information V
- Page 83 and 84: Encapsulation Appl header user data
- Page 85 and 86: • Transport layer • Port number
- Page 87 and 88: IP “Protocol” field (RFC 1700)
- Page 89 and 90: Decimal Keyword Protocol References
- Page 91 and 92: Decimal Keyword Protocol References
- Page 93 and 94: Decimal Keyword Protocol References
- Page 95 and 96: Basic communication mechanism: data
- Page 97 and 98: Common Used Simple Services Name TC
- Page 99 and 100: Simple Campus Network WAN ISP’s r
- Page 101 and 102: How important are switches vs. rout
- Page 103 and 104: Ethernet Encapsulation (RFC 894) DS
- Page 105 and 106: IEEE 802 Numbers of Interest “…
- Page 107 and 108: SLIP Problems ⇒CSLIP ≡ Compress
- Page 109 and 110: PPP: Point to Point Protocol PPP (R
- Page 111 and 112: PPP summary • support for multipl
- Page 113 and 114: Loopback interface summary • loop
- Page 115 and 116: Using VIF for tunneling TCP UDP ...
- Page 117 and 118: Figure 16: Start the program, then
- Page 119 and 120: Figure 18: After capturing some pac
- Page 121 and 122: Figure 19: Export the captured traf
- Page 123 and 124: Importing in to a Microsoft Excel 1
- Page 125 and 126: Figure 22: Final step -- Note that
- Page 127: Using a Perl script #!/usr/bin/perl
- Page 131 and 132: Figure 26: Save your parameters and
- Page 133 and 134: Classful addressing Classically the
- Page 135 and 136: Special Case IP Addresses IP Addres
- Page 137 and 138: Classless Inter-Domain Routing (CID
- Page 139 and 140: IP address assignments Internet Ser
- Page 141 and 142: Problems with the dual functions of
- Page 143 and 144: Standardization Organizations The m
- Page 145 and 146: W. Richard Stevens • Born in Luan
- Page 147 and 148: [12] Van Jacobson, "If a Clean Slat
- Page 149 and 150: IP Basics Outline • IP Routing: D
- Page 151 and 152: Routing The internet protocols are
- Page 153 and 154: Forwarding • Next-Hop method - ro
- Page 155 and 156: Forwarding module A simplified view
- Page 157 and 158: Fast forwarding Mikael Degermark, A
- Page 159 and 160: where ddd is some numeric value. Ro
- Page 161 and 162: Host routing A host either: • kno
- Page 163 and 164: Combining layers Many devices now c
- Page 165 and 166: What to do with a new computer? We
- Page 167 and 168: ARP ≡ Address Resolution Protocol
- Page 169 and 170: Address Resolution Cache Since you
- Page 171 and 172: ARP example 2 B FTPd C resolver (1)
- Page 173 and 174: Gratuitous ARP Host sends a request
- Page 175 and 176: ARP - as seen with ethereal Time So
- Page 177 and 178: RARP: Reverse Address Resolution Pr
Choosing which columns to display<br />
Figure 24: Set your preferences <strong>for</strong> the User Interface<br />
Maguire Choosing which columns to display 1: 86 of 104<br />
maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik