Archive for August, 2014

A study in reference counting / locking and synchronization techniques

Linux kernel design patterns – part 1 [LWN.net]

http://lwn.net/Articles/336224/

Overview of LInux kernel Reference Counting:

http://open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2167.pdf

http://pdos.csail.mit.edu/6.828/2009/lec/l-mcs.html

http://en.wikibooks.org/wiki/X86_Assembly/Data_Transfer

http://www.cs.columbia.edu/~junfeng/10sp-w4118/lectures/l11-synch-linux.pdf

Scalable locks in Sequent Symmetry:

http://pdos.csail.mit.edu/6.828/2009/lec/l-mcs.html

http://www.cs.uiuc.edu/class/sp06/cs523/lectures/15/SharedMemory.pdf

SMP locking:

http://irl.cs.ucla.edu/~yingdi/web/paperreading/smp_locking.pdf

Advertisements

Learning TCP/IP networking in Linux kernel

All the characteristics in general:

http://www.cubrid.org/blog/dev-platform/understanding-tcp-ip-network-stack/

Kernel in particular:

http://www.ecsl.cs.sunysb.edu/elibrary/linux/network/LinuxKernel.pdf

http://www.ecsl.cs.sunysb.edu/elibrary/linux/network/net.pdf
http://www.ecsl.cs.sunysb.edu/elibrary/linux/network/initexample.pdf

And a good state transition picture is here:

https://drupal.star.bnl.gov/STAR/blog-entry/jeromel/2009/feb/18/tcp-parameters-linux-kernel

or in general:

http://www.ecsl.cs.sunysb.edu/elibrary/linux/network/

http://www.slashroot.in/linux-network-tcp-performance-tuning-sysctl

http://www.ecsl.cs.sunysb.edu/elibrary/linux/network/ethdevinit1.pdf

http://www.linuxfoundation.org/collaborate/workgroups/networking/kernel_flow

http://www.slideshare.net/divyekapoor/linux-tcp-ip-presentation

http://www.ecsl.cs.sunysb.edu/elibrary/linux/network/recvpath.pdf

http://users.ece.gatech.edu/~rbeyah/classes/spring2012/ece4110/handouts/Lab9_modified.pdf

http://www.linuxfoundation.org/collaborate/workgroups/networking/

http://ftp.gnumonks.org/pub/doc/packet-journey-2.4.html

http://www.haifux.org/lectures/172/netLec.pdf

http://phrack.org/issues/61/13.html

http://www.ibm.com/developerworks/linux/library/l-linux-networking-stack/

http://www.linuxfoundation.org/collaborate/workgroups/networking/

http://www.ecsl.cs.sunysb.edu/elibrary/linux/network/net.pdf

Security via seccomp

https://www.stgraber.org/2014/01/01/lxc-1-0-security-features/

https://wiki.mozilla.org/Security/Sandbox/Seccomp

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/prctl/seccomp_filter.txt

http://ubuntu.5.x6.nabble.com/Precise-Pull-Request-SECCOMP-mode-2-BPF-td4641957.html

http://superuser.com/questions/545346/how-to-execute-a-program-with-only-explicitly-allowed-set-of-system-calls-using

https://github.com/vi/syscall_limiter

http://en.it-usenet.org/thread/19430/18197/

http://web.archiveorange.com/archive/v/UsR4nUuJxyEf3DwfsPVt

http://code.google.com/p/chromium/issues/detail?id=210635

http://en.it-usenet.org/thread/19430/18197/

http://stackoverflow.com/questions/tagged/seccomp

Seccomp based papers from university

In addition to the references provided in: https://tthtlc.wordpress.com/2014/07/25/seccomp-based-applications-analysis-and-debugging/ Here below are further papers from universities:

[PDF] Practical and effective sandboxing for non-root users – MIT … http://pdos.csail.mit.edu/~taesoo/pubs/2013/mbox/mbox.pdf

[PDF] Slides – PDOS – MIT http://pdos.csail.mit.edu/~taesoo/pubs/2013/mbox/mbox-slides.pdf

[PDF] Security bugs in embedded interpreters http://pdos.csail.mit.edu/papers/vm:apsys13.pdf

[PDF] paper – Lehigh University http://www.lehigh.edu/~mes310/publications/tissec13.pdf

[PDF] Cooperation and Security Isolation of Library OSes for Multi … http://www.bowdoin.edu/~doliveir/Research_files/graphene.pdf

[PDF] 1) Create an IIR BPF for filtering sampled audio signals http://www.ecs.umass.edu/~tbashir/ece565_lab3report.pdf

[PDF] Final Report (pdf) – University of California, Berkeley
http://www.cs.berkeley.edu/~kubitron/courses/cs262a-F13/projects/reports/project9_report.pdf

[PDF] Packet Filters – Columbia University
http://www.cs.columbia.edu/~nahum/w6998/lectures/vpk-columbia-nsdi-pf.pdf

[PDF] The BSD Packet Filter: A New Architecture for … – Tcpdump http://www.cs.dartmouth.edu/~sergey/cs108/2010/bpf-usenix93.pdf

[PDF] TcpDump-Filters(BPF) http://www.cs.ucr.edu/~marios/ethereal-tcpdump.pdf

[PDF] Swift: A Fast Dynamic Packet Filter – Usenix http://ualr.edu/mxxie/pages/papers/NSDI_2008.pdf

%d bloggers like this: