-
Notifications
You must be signed in to change notification settings - Fork 8
/
schedule.html
executable file
·486 lines (464 loc) · 31.5 KB
/
schedule.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>EPL371 > Presentations</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="css/font-awesome.min.css"/>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet"/>
<!--<link href="css/bootstrap.min.css" rel="stylesheet">-->
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="js/menucollapse.js"></script>
<script type="text/javascript" src="js/arrow78.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
<script type="text/javascript">
<!-- function overloading -->
function sizing(windowWidth) {
if(windowWidth < 1024){
$('.allshow').hide();
} else {
$('.allshow').show();
}
}
</script>
</head>
<body id="page-top" class="index">
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-2" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="glyphicon glyphicon-search"></span>
</button>
<button id="button2" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span><a href="#"><img border="0" width="170" src="images/csucy.png"/></a></span>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="page-scroll">
<a href="index.html">EPL371</a>
</li>
<li class="page-scroll">
<a href="index.html#news">News</a>
</li>
<li class="page-scroll">
<a href="schedule.html">Schedule</a>
</li>
<li class="page-scroll">
<a href="labs/labs.html">Labs</a>
</li>
<li class="page-scroll">
<a href="index.html#assignments">Assignments</a>
</li>
<li class="page-scroll">
<a href="links.html">Links</a>
</li>
<li class="page-scroll">
<a href="presentations.html">Presentations</a>
</li>
<li class="page-scroll">
<a target="_blank" href="http://moodle.cs.ucy.ac.cy/course/info.php?id=42">Moodle</a>
</li>
<li class="page-scroll">
<a target="_blank" href="http://www.cs.ucy.ac.cy/~dzeina/courses/epl371/private">TA</a>
</li>
<li class="page-scroll">
<a onclick="javascript:$('#bs-example-navbar-collapse-2').toggle();">
<span class="glyphicon glyphicon-search"></span>
</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
<!-- search box submenu -->
<div class="collapse" id="bs-example-navbar-collapse-2">
<gcse:search></gcse:search>
</div>
</div><!-- /.container-fluid -->
</nav>
<section id="tree" style="margin-top:70px">
<div class="container">
<a href="../../index.html">Zeinalipour</a> > <a href="../../index.html#courses">Courses</a> >
<a href="index.html">EPL371</a> > Schedule
</div>
</section>
<!-- News Section -->
<section id="assignments">
<div class="container lead">
<h3>Schedule
<a target="_blank" onclick="javascript:$('.allshow').toggle();" class="btn btn-s btn-success">»</a></h3>
<table class="table">
<thead>
<tr>
<th align="center" width="5%">Week</th>
<th align="center" width="90%">Content</th>
<th align="center" width="5%">PDF</th>
</tr>
</thead>
<tbody align="left">
<tr>
<td>W01</td>
<td> <a onclick="javascript:$('#content-1').toggle();javascript:$('#content-1a').toggle();">Contract Description, Introduction to Unix and Systems Programming (Chapter 1 - Unix System Overview (Stevens & Rago)</a><br>
<i class="allshow" style="display:none;" id="content-1">
<small>
<em>Course Objectives, Course Contract, Literature, Anatomy of Unix OS, Key Elements for the Kernel, System Calls, Shell Programming, Unix History, Course Content</em>
</small>
</i>
</td>
<td>
<i class="allshow" style="display:none;" id="content-1a">
<a href="syllabus.pdf">Contract</a><br/>
</i>
<a href="lectures/01.pdf">01</a>
</td>
</tr>
<tr>
<td></td>
<td><a onclick="javascript:$('#content-2').toggle();">Basic Unix System Commands</a>
<i class="allshow" style="display:none;" id="content-2">
<p><small><em>UNIX commands: passwd, man, whatis, apropos, info, help, users, who, whoami, finger, w, File system structure, Navigation in file system structure (ls, cd, pwd, pathnames, pushd, popd), disk space (du, df), compression-decompression (zip, gzip, bzip2, unzip, gunzip, bunzip2, tar), links (symbolic, hard - ln).</em><br>
</small></p>
</i></td>
<td><a href="lectures/02.pdf">02</a></td>
</tr>
<tr>
<td>W02</td>
<td> <a onclick="javascript:$('#content-3').toggle();">Basic Unix System Commands</a><br>
<i class="allshow" style="display:none;" id="content-3">
<small>
<em>Directory/File handling (mkdir, rmdir, cp, mv, rm), File Display & Conversion (file, head, tail, cat, more, wc, sort, uniq, iconv), In/Out Streams (stdin, stdout, stderr), File Redirection, Piping</em>
</small>
</i>
</td>
<td><a href="lectures/03.pdf">03</a></td>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-4').toggle();">Advanced Unix Commands and System Utilities</a><br>
<i class="allshow" style="display:none;" id="content-4">
<small>
<em>UNIX commands (echo, touch), Ownership and Access Rights(chmod, chgrp, chown, umask, suid, sgid, sticky bit), Regular Expressions (grep, egrep)</em>
</small>
</i>
</td>
<td><a href="lectures/04.pdf">04</a></td>
</tr>
<!---->
<tr>
<td>W03</td>
<td> <a onclick="javascript:$('#content-5').toggle();">Advanced Unix Commands and System Utilities</a><br>
<i class="allshow" style="display:none;" id="content-5">
<small>
<em>Process Control (jobs, ps, fg, bg, kill, top), Find File and Program (which, whereis, find, exec, xargs), UNIX Commands (alias, cut, tr, tee, mail, comm, diff, crontab).</em>
</small>
</i>
</td>
<td><a href="lectures/05.pdf">05</a></td>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-6').toggle();javascript:$('#content-6a').toggle();">Unix System Utilities: Sed</a><br>
<i class="allshow" style="display:none;" id="content-6">
<small>
<em>Stream editor used to perform basic text transformations on an input stream (a file or input from a pipeline).<br/>Supplementary Manual:<br/>+ Sed Introduction Manual</em>
</small>
</i>
</td>
<td>
<a href="lectures/06.pdf">06</a>
<i class="allshow" style="display:none;" id="content-6a">
<br/><a href="lectures/06-sed.pdf">sed.pdf</a>
</i>
</td>
</tr>
<tr>
<td>W04</td>
<td><a onclick="javascript:$('#content-7').toggle();javascript:$('#content-7a').toggle();">Unix System Utilities: Awk</a><br>
<i class="allshow" style="display:none;" id="content-7">
<small>
<em>AWK is an interpreted programming language designed for finding and matching patterns as well as for performing actions on input files or streams.<br/>Supplementary Manual:<br/>+ Awk Introduction Manual</em>
</small>
</i>
</td>
<td>
<a href="lectures/07.pdf">07</a>
<i class="allshow" style="display:none;" id="content-7a">
<br/><a href="lectures/07-awk.pdf">awk.pdf</a>
</i>
</td>
</tr>
<tr>
<td>W05</td>
<td><a onclick="javascript:$('#content-8').toggle();javascript:$('#content-8a').toggle();">Bash Shell (Bash Guide - Chapters 1,2,3 Garrels)</a><br>
<i class="allshow" style="display:none;" id="content-8">
<small>
<em>Introduction to Bash Shell, Environment and Variables (Environment and Variables, Control Files Login / Logout, Shell Variables, Shell Commands) Shell Programming (Program Execution, User Input, Command-line Parameters)<br/>Supplementary Manuals:<br/>+ Bash Guide for Beginners, Machtelt Garrels<br/>+ Advanced Bash Shell Scripting Guide, Mendel Cooper</em>
</small>
</i>
</td>
<td><a href="lectures/08.pdf">08</a>
<i class="allshow" style="display:none;" id="content-8a">
<br/><a href="lectures/08-beg-bash.pdf">beg-bash.pdf</a><br/><a href="lectures/08-adv-bash.pdf">adv-bash.pdf</a>
</i>
</td>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-9').toggle();">Bash Programming (Bash Guide - Chapters 7,9,10 Garrels)</a><br/>
<i class="allshow" style="display:none;" id="content-9">
<p><small><em>Control Conditions (If, Case), Logical Operators (&&, II, !), Relational Operators (-gt,-lt,..), Numerical Expressions and Arrays, Iterative and Nested Loops, File Testing, Functions, Arrays and Examples</em>
</small></p>
</i>
</td>
<td><a href="lectures/09.pdf">09</a></td>
</tr>
<tr>
<td>W06</td>
<td><a onclick="javascript:$('#content-10').toggle();">Advanced Bash Shell Programming (Bash Guide - Chapter 12 and selected topics from Advanced Bash Programming)</a><br>
<i class="allshow" style="display:none;" id="content-10">
<small>
<em>Debugging with set, Signal Handling (signals & trap), Examples Solution</em>
</small>
</i>
</td>
<td><a href="lectures/10.pdf">10</a></td>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-11').toggle();">Low-Level I/O in C - Chapter 3 (Stevens & Rago)</a><br>
<i class="allshow" style="display:none;" id="content-11">
<small>
<em>Error management with <errno.h> (also df, ulimit, od), Introduction to Unix Files and File systems (File types, Partitions, i-nodes, blocks), File processing methods: Standard I/O vs. Low Level Ι/Ο, Low Level Ι/Ο (System Calls I/O) <fcntl.h>, <unistd.h>, Usage Examples<br/>For revision, please study Chapter 5 - Standard I/O (Stevens & Rago)</em>
</small>
</i>
</td>
<td><a href="lectures/11.pdf">11</a></td>
</tr>
<tr>
<td>W07</td>
<td><a onclick="javascript:$('#content-12').toggle();">Files & Directories - Chapter 4 Stevens & Rago</a><br>
<i class="allshow" style="display:none;" id="content-12">
<small>
<em>Lecture 9 completion, File metadata (sys/stat.h): Structure and Access, File Management with System Calls [rename(), chmod(), link(), unlink(), symlink(), readlink()], Directory Management (mkdir(), rmdir()), Directory Access with dirent.h library [opendir(), readdir() και closedir()], Usage Examples (mystat, filetype, lsdirR)</em>
</small>
</i>
</td>
<td><a href="lectures/12.pdf">12</a>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-13').toggle();">Process Environment & Control - Chapters 7,8 Stevens & Rago</a><br>
<i class="allshow" style="display:none;" id="content-13">
<small>
<em>Processes: Introductory Concepts, Process Identity (getpid(), getppid(), getuid(), getgid()), Process in Memory (Structure & Representation), Process creation (fork()), Environment Variables, Orphan Processes, Processes and Files, Process Waiting (wait(), waitpid()), Zombie Processes</em>
</small>
</i>
</td>
<td><a href="lectures/13.pdf">13</a></td>
</tr>
<!---->
<tr>
<td>W08</td>
<td><a onclick="javascript:$('#content-14').toggle();">Processes and Signals - Chapters 9,10 Stevens & Rago</a>
<i class="allshow" style="display:none;" id="content-14">
<p><small><em>Lecture 11 completion, Function family exec(), system call system(), Signals in C, system call signal(), Signals and Processes, system call alarm(), Inter-process Signals (kill()).</em>
</small></p>
</i>
</td>
<td><a href="lectures/14.pdf">14</a></td>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-MID').toggle();">MIDTERM</a><br>
<i class="allshow" style="display:none;" id="content-MID">
<small>
<em>This is a closed book exam: no books, notebooks, notes, etc. allowed</em>
</small>
</i>
</td>
<td> </td>
</tr>
<!---->
<tr>
<td>W09</td>
<td><a onclick="javascript:$('#content-15').toggle();">Inter-Process Communication: i)Pipes και ii)Named Pipes (FIFO) - Chapter 15 Stevens & Rago</a><br>
<i class="allshow" style="display:none;" id="content-15">
<small>
<em>Lecture 12 completion, System Calls: dup, dup2, Communicatoin between Processes - Introduction, Problem and Solution Overview, IPC1: Pipes: Child=>Parent, child<=>Parent communication, Pipe Shell Implementaton, IPC2: FIFO (Named Pipes), FIFO and Shell, FIFO in C, Example Reader-Writer with FIFO.</em>
</small>
</i>
</td>
<td><a href="lectures/15.pdf">15</a></td>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-16').toggle();">XSI IPC (System V) : iii) Message Queues, iv) Shared Memory and v) Semaphores - Chapter 15 Stevens & Rago</a><br>
<i class="allshow" style="display:none;" id="content-16">
<small>
<em>Definitions (Identifiers and Keys, IPC Resource Management, IPC Management with shell commands.<br/>
Message Queues (M.Q.): M.Q. Structure, Creation, Message Send/receive, Example, M.Q. Control.<br/>
Shared Memory: Structure, Creation, Attach / Detach, Control, Example of 2 processes communicating through shared memory.<br/>
Semaphores: Structure, Creation, Handling, control, Semaphore Server Example.</em>
</small>
</i>
</td>
<td><a href="lectures/16.pdf">16</a></td>
</tr>
<tr>
<td>W10</td>
<td><a onclick="javascript:$('#content-17').toggle();">XSI IPC & Socket Programming - Chapter 16</a><br>
<i class="allshow" style="display:none;" id="content-17">
<small>
<em>Socket Programming, Socket Definition, Ports, Port Number Assignment, Socket Families, Socket Types, TCP Client/Server Communication, Client/Server Basic Principles.</em>
</small>
</i>
</td>
<td><a href="lectures/17.pdf">17</a></td>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-18').toggle();javascript:$('#content-18a').toggle();">Socket Programming - Chapter 17 Stevens & Rago</a><br>
<i class="allshow" style="display:none;" id="content-18">
<small>
<em>Byte sequence conversion, Socket Descriptors, Socket Creation (socket()), Socket Address Structure, Συσχέτιση Διεύθυνσης με Υποδοχή (bind()), Listening of Incoming Connections (listen()), Acceptance of Incoming Connection Requests (accept()), Connection Request (connect()), Data transfer (read(), write(), send(), recv()), Connection Shutdown (close(), shutdown()), IP Address handling (inet_addr(), inet_ntoa()), Additional Useful Functions (getpeername(), gethostname(), gethostbyname(), gethostbyaddr()), getsockname(), setsockopt(), bzero(), bcopy()), Client-Server Example.<br/>
Supplementary Manual:<br/>
+ Beej's Guide to Network Programming Using Internet Sockets, Brian Hall</em>
</small>
</i>
</td>
<td>
<a href="lectures/18.pdf">18</a>
<i class="allshow" style="display:none;" id="content-18a">
<br/><a href="lectures/15-sockets-guide.pdf">sockets.pdf</a>
</i>
</td>
</tr>
<!---->
<tr>
<td>W11</td>
<td><a onclick="javascript:$('#content-19').toggle();">Multithreaded Programming - Chapter 11 Stevens & Rago</a><br>
<i class="allshow" style="display:none;" id="content-19">
<small>
<em>Introduction and Thread Representation, Thread Advantages, Thread Types, Multithreaded Models, <pthread.h> library (Thread Creation/Termination, Thread Identification, Zombie Threads, Waiting Thread, Thread Detachment</em>
</small>
</i>
</td>
<td><a href="lectures/19.pdf">19</a></td>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-20').toggle();">Multithreaded Programming - Chapters 11-12 Stevens & Rago</a><br>
<i class="allshow" style="display:none;" id="content-20">
<small>
<em>Data Inconsistency, Thread Synchronization with Binary Semaphores, Deadlock Avoidance and Reader/Writer Locks, Linux Threading: Native POSIX Thread Library, Related Topics: Thread Pools, Thread-Safe Libraries, sysconf() function.</em>
</small>
</i>
</td>
<td><a href="lectures/20.pdf">20</a></td>
</tr>
<!---->
<tr>
<td>W12</td>
<td><a onclick="javascript:$('#content-pre1').toggle();">Student Presentations</a><br>
<i class="allshow" style="display:none;" id="content-pre1">
<small>
<em>Note: Both source code and PPT presentation must be submitted to Moodle until the evening before the presentation.
</em>
</small>
</i>
</td>
<td><a href="presentations.html">GO</a></td>
</tr>
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-pre2').toggle();">Student Presentations</a><br>
<i class="allshow" style="display:none;" id="content-pre2">
<small>
<em>Note: Both source code and PPT presentation must be submitted to Moodle until the evening before the presentation.
</em>
</small>
</i>
</td>
<td><a href="presentations.html">GO</a></td>
</tr>
<tr>
<td>W13</td>
<td><a onclick="javascript:$('#content-21').toggle();">Systems Software Security</a><br>
<i class="allshow" style="display:none;" id="content-21">
<small>
<em>User Threats: Malware (Trojan Horses, Worms Computer Viruses, Spyware, Adware, Crimeware (e,g., Identity Theft, keystroke loggers, counterfeit websites, etc.), Rootkits<br/>
System Threats: Snooping/Sniffing, Spoofing, Denial of Service</em>
</small>
</i>
</td>
<td><a href="lectures/21.pdf">21</a></td>
</tr>
<tr>
<td> </td>
<td> <a onclick="javascript:$('#content-22').toggle();javascript:$('#content-22a').toggle();">Systems Software Security</a><br>
<i class="allshow" style="display:none;" id="content-22">
<small>
<em>Code Threats: Buffer Overflow/Overrun, Stack Smashing, Heap Smashing, Code Injection and System, Other threats (supplementary article): Arc Injection (Return-into-libc exploits), Pointer Subterfuge<br/>
Supplementary Article: Beyond Stack Smashing- Recent Advances in Exploiting Buffer Overruns</em>
</small>
</i>
</td>
<td><a href="lectures/22.pdf">22</a>
<i class="allshow" style="display:none;" id="content-22a">
<br/><a href="lectures/22-Beyond-Stack-Smashing.pdf">22</a>
</i>
</td>
</tr>
<!---->
<tr>
<td> </td>
<td><a onclick="javascript:$('#content-27').toggle();"><strong><u>FINAL EXAM T.B.A.</u></strong></a>
<i class="allshow" style="display:none;" id="content-27">
<small>
<em>This is a closed book exam: no books, notebooks, notes, etc. allowed. However, the use of an A4 sheet of notes is permitted.
</em>
</small>
</i>
</td>
<td><font>-</font></td>
</tr>
</tbody>
</table>
</div>
</section>
</body>
<hr class="star-primary">
<footer>
<small>
<center>
© D. Zeinalipour | Credits: CR template
<a onclick="javascript:$('#credit').toggle();"><img border="0" src="images/ccby.png"/></a>
<div style="display:none;" id="credit">
[CR template available under Creative Commons CC BY 4.0 licence:
<a href="https://github.com/dmsl/course-responsive-template" target="_blank">https://github.com/dmsl/course-responsive-template</a> ]
</div>
</center>
</small>
</footer>
</html>
</html>