Differences

This shows you the differences between two versions of the page.

Link to this comparison view

isc:labs:01 [2023/10/08 20:23]
florin.stancu
isc:labs:01 [2024/03/03 13:05] (current)
vlad_iulius.nastase [Preparation]
Line 11: Line 11:
 ===== Preparation ===== ===== Preparation =====
  
-<del>You will solve this lab inside a virtual machine on [[https://​cloud.grid.pub.ro|openstack]].</​del>​+You may use the UPB'​s ​[[https://​cloud.grid.pub.ro|OpenStack cloud to instantiate a Virtual Machine]] to be used for this lab! 
 +[[:​isc:​info:​virtualmachine|Read these instructions if you wanna know how!]].
  
-OpenStack will be made available in the following days, until then, you can use your native OS for doing the labs (hint: WSL). 
  
 <​hidden>​ <​hidden>​
Line 109: Line 109:
   * Statically compile the program (but keep a copy of the old, shared executable).   * Statically compile the program (but keep a copy of the old, shared executable).
     * **Hint:** curl-config %%--%%static-libs     * **Hint:** curl-config %%--%%static-libs
-    * **Hint:** Note that you'll need even more development libraries: ​libidn11-dev librtmp-dev libssl-dev ​libidn11-dev librtmp-dev libssl-dev libcrypto++-dev libkrb5-dev libldap2-dev libnghttp2-dev libpsl-dev+    * **Hint:** Note that you'll need even more development libraries: libidn11-dev librtmp-dev libssl-dev libcrypto++-dev libkrb5-dev libldap2-dev libnghttp2-dev libpsl-dev libssh-dev libzstd-dev libbrotli-dev
     * **Hint:** Getting a pthread-related linker error? Try //​-lpthread//​ at the end of the gcc command!     * **Hint:** Getting a pthread-related linker error? Try //​-lpthread//​ at the end of the gcc command!
   * Check the size difference. What does it mean?   * Check the size difference. What does it mean?
Line 139: Line 139:
 </​solution>​ </​solution>​
  
-==== 10. [10p]Logging & Auditing ==== 
- 
-  * Write an **iptables** rule that logs all the traffic generated by curl. 
- 
-<​solution -hidden> 
-<code bash> 
-$ iptables -I OUTPUT 1 -p tcp --dport 80 -j LOG --log-prefix " iptables_logs:​ " --log-level 7 
- 
-$ grep "​iptables_logs:​ " /​var/​log/​kern.log 
-</​code>​ 
-</​solution>​ 
  
 ===== Feedback ===== ===== Feedback =====
  
 {{page>:​isc:​lab-feedback&​nofooter&​noeditbutton}} {{page>:​isc:​lab-feedback&​nofooter&​noeditbutton}}
isc/labs/01.1696785834.txt.gz · Last modified: 2023/10/08 20:23 by florin.stancu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0