Subject: Old quizzes.. Old quizzes are in /home/westall/class/881net Subject: IDs I have created ids == your cs ids on sagin. Right now they have no password. Please login to sagin and add a password ASAP. Subject: Assn 1 Ready See assn1.s99 in the usual directory. mw Subject: passwords on sagin There are FAR to many password free accounts on sagin. If these are not fixed by noon monday I will assign a secret password and will not reveal my secret until 10 min before the assignment 1 deadline!!!! Subject: Assignment correction The last line of the assignment was broken.. It should have said "output from netstat -c ", and it is now corrected. ----------------- There is a version of g++ on sagin. I don't know if it works, but, if it does, and you care to take on C++, you are free to use it. ----------------- All userid's now have passwords. Two or three had to be supplied by me though. mw Subject: More assignment clarifications 1 - A question has been asked if you should "Print only those packet whose ID field matches the pid of icmpd". The answer to that one is DEFINITELY NOT. If you did that you would never print anything and the null program would be perfectly correct!!? 2 - The program should KEEP RUNNING after it receives the SIGUSR2 and prints the stats. 3 - Yes, I want the system time when the packet is received. I don't want an Oct 30 label beside each packet! 4 - When printing out the IP header options print the bytes in the order they are found in the header. Subject: More assignment info... (This message is being sent to all cpsc 881 students) I was reminded tonight that I had not yet created the turnin directories. I have now done so. Since I was late and some of you may have gone out of town I'll kick back the due date until Monday. mw Subject: Assn 2 specificiation The specification for assn 2 is now available. mw Subject: Assignment 1 graded.. I have finished grading assignment 1. I will be mailing the report to the owner of the submission directory. If you worked in a team, please share the report with your partner. Here is basically what the answers should have looked like.. ===========stdout============== ICMP Statistics : Packets Received : 6 received destination unreachable messages - 3 received echo requests - 0 received echo replies - 3 received source quench messages - 0 received redirect messages - 0 received time exceeded messages - 0 received parameter problem messages - 0 received timestamp requests - 0 received timestamp replies - 0 received address mask requests - 0 received address mask replies - 0 received information requests - 0 received information replies - 0 received router advertisement messages - 0 received router solicitation messages - 0 ICMP Statistics : Packets Received : 6 received destination unreachable messages - 3 received echo requests - 0 received echo replies - 3 received source quench messages - 0 received redirect messages - 0 received time exceeded messages - 0 received parameter problem messages - 0 received timestamp requests - 0 received timestamp replies - 0 received address mask requests - 0 received address mask replies - 0 received information requests - 0 received information replies - 0 received router advertisement messages - 0 received router solicitation messages - 0 ===========stderr============== Mon Feb 15 19:16:23 1999 - ICMP type: 0 code: 0 From: 130.127.48.24 Mon Feb 15 19:16:24 1999 - ICMP type: 0 code: 0 From: 130.127.48.24 Mon Feb 15 19:16:25 1999 - ICMP type: 0 code: 0 From: 130.127.48.24 Mon Feb 15 19:16:26 1999 - ICMP type: 3 code: 1 From: 171.78.111.133 For the above error message packet: Original Dest: 192.1.2.44 IP Header Options : None Original Data : 08 00 3b 1d 0b 29 00 00 Mon Feb 15 19:16:27 1999 - ICMP type: 3 code: 1 From: 171.78.111.133 For the above error message packet: Original Dest: 192.1.2.44 IP Header Options : None Original Data : 08 00 c5 16 0b 29 01 00 Mon Feb 15 19:16:37 1999 - ICMP type: 3 code: 5 From: 130.127.2.1 For the above error message packet: Original Dest: 130.127.28.32 IP HDR Options: 83 08 04 82 7f 30 18 00 Original Data : ad 9c ad 9c 02 ec 00 00 Subject: Assignment 2 verbose output.. If the verbose flag is set, for each ping sent print a line that looks like the following: Dest Size Time (ms) (***)=> dropped 130.127.48.24 512 13 130.127.48.24 1024 *** 130.127.48.118 512 24 130.127.48.118 1024 37 Subject: Assignment 3 assn3.s99 is now available. Pay particular attention to the instructions on NOT SENDING QUERIES TO ROOT NAMESERVERS until you are sure your queries are properly constructed. Subject: I lied (or at least underestimated nslookup) nslookup is indeed capable of handling dotted decimal addresses.. Here is an example. > set q=A > 144.96.177.20 Server: citron.cs.clemson.edu Address: 130.127.48.6 Name: coconut.sfasu.edu Address: 144.96.177.20 > > set q=PTR > 144.96.177.20 Server: citron.cs.clemson.edu Address: 130.127.48.6 Non-authoritative answer: 20.177.96.144.in-addr.arpa name = coconut.sfasu.edu Authoritative answers can be found from: 96.144.IN-ADDR.ARPA nameserver = ns1.sfasu.edu 96.144.IN-ADDR.ARPA nameserver = ccsnext.sfasu.edu 96.144.IN-ADDR.ARPA nameserver = chinati.ots.utexas.edu 96.144.IN-ADDR.ARPA nameserver = zeraim.sfasu.edu 96.144.IN-ADDR.ARPA nameserver = p2v-real.sfasu.edu 96.144.IN-ADDR.ARPA nameserver = p3-real.sfasu.edu 96.144.IN-ADDR.ARPA nameserver = sfasco.sfasu.edu ns1.sfasu.edu internet address = 144.96.192.192 ccsnext.sfasu.edu internet address = 144.96.192.193 chinati.ots.utexas.edu internet address = 128.83.185.44 zeraim.sfasu.edu internet address = 144.96.161.1 p2v-real.sfasu.edu internet address = 144.96.128.7 p3-real.sfasu.edu internet address = 144.96.128.8 sfasco.sfasu.edu internet address = 144.96.176.202 coconut was detected by my firewall trying to hack into one of my research systems.. So if you want to tryout a remote crashing tool that is a good target. (JUST KIDDING). (about the retaliation part) Subject: Assn 4 (finally) available.. See assn4.s99 Subject: Handout data .. Is in snmpans.out Subject: Using pthreads Use of pthreads or solaris threads in this assignment is NOT required. However, it may make your job easier as regards timing considerations. If you use pthreads I recommend using 3 threads a sender a receiver a keyboard monitor The threads can then work as follows: sender: 40 while (more) 41 { 42 pthread_cond_timedwait(&t_cond, &t_mtx, &timeout); 43 snmpsend(); 44 timeout.tv_sec += 1; 45 sent += 1; 46 } receiver: 55 while (more) 56 { 57 snmprecv(); 58 recv += 1; 59 } 60 } keyboard: 62 void keyboard(void) 63 { 64 while (more) 65 { 66 scanf("%d", &more); 67 printf("Sent = %d Recvd = %d \n", sent, recv); 68 } 69 } Subject: Final Exam.. It was pointed out earlier that 881 and 873 have exams scheduled at the same time. We have about 16 students in common and since 881 is smaller, I guess we get to move. Here are our two options: 1 - (The one I prefer) Move to 1:00 pm Monday. You should have a conflict here <==> you have a 3:30 TuTh class. I have checked and know for a fact that there are no conflicts with CPSC courses at this time... 2 - We will start at 4:00 pm (I can't imagine my exam taking longer than two hours unless one spends a truly inordinate amount of time second guessing themselves on correct answers so as to arrive at incorrect ones.) At any rate, should one wish to consume the whole 3 hrs Prof McGregor would permit the student to start at 7 and end his at 10. So please let me hear from you if you have a conflict with option 1. If conflicts do exist there then we will use option 2. Subject: Worse than I thought.. This seems to be a bigger mess than I originally anticipated. It appears that ECE 629 meets at 3:30 TuTh Please tell me if you have a conflict at: 8:00am Tuesday (2:00 T-Th) 1:00pm Tuesday (9:05 MWF) 4:00pm Tuesday Subject: Program.. I will use no more than 5 interfaces at a time when testing. Subject: Exam reminder It will be given at 1:00 pm tomorrow (Tuesday) afternoon. If some other class claims G-32 Jordan, we will move somewhere else. If you should arrive late REMAIN AT G-32 and I will come look for you. If you leave you will lose your opportunity to take the exam. If you don't like having to take exams at oddball times in oddball rooms go to the scheduling office and complain .... and feel free to tell them I sent you! mw