Skip to content

noparkee/System-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System-Programming

KU COSE322
with ku-cylee

hw 1: Log Structured File System Profiling

Compare the wrtie behavior of F2FS and Ext4.

Build and Load Module

$ make
$ sudo insmod sp-logger.ko

Unload Module

$ make unload

hw 2: Client-Side Socket Programming using pthread

Making a packet receiving program using pthread.

Build

$ make

Execute

$ ./bin/client.out
input: 4 1111 2222 3333 4444
open: 1111 2222 3333 4444
close
input:

Log Files

$ ls ./logs/
1111-3.txt 2222-3.txt 3333-3.txt 4444-3.txt

hw 3: Custom Firewall using Netfilter Hooks and proc File System.

Build and Load Module

$ make
$ make enable
$ route add -host 131.1.1.1 dev enp0s3
$ make load

Unload Module

$ make unload

Releases

No releases published

Packages

No packages published