学习过程中遇到的一些linux操作tips
启动/重启/停止一个服务
/etc/init.d/program_name start
比如邮件服务器postfix可以这样: sudo /etc/init.d/postfix start
------------------------------------------------
设置程序到启动组里:
# chkconfig program_name on
比如:sudo chkconfig postfix on
--------------------------------------------------
未完,随时添加。。。
相关文档:
今天在Gentoo下安装了VirtualBox虚拟了一个XP,这样需要迅雷等一些只有For Windows下的软件时候不用必须重新启动切换到Windows下了。
显然两个OS之前的文件交换也很关键,解决方案也非常的简单。
1)在Gentoo下安装openssh
emerge openssh
2)在windows客户机上安装FileZilla
......
4. Threads
To use the POSIX standard thread API (pthreads), link libpthread.so
to your program.
4.1. Thread Creation
Each thread in a process is identified by a thread ID,
pthread_t.
The pthread_self function returns the thread ID of the current
thread.
This thread IDs can be compared ......
6. Devices
A device driver hides the hardware device’s communication
protocols from the operating system and allows the system to interact with the
device through a standardized interface.
Processes can communicate with a device driver via
file-like objects.
6.1 Device Types
A c ......
2008-07-07 22:09
3,init_conntrack:
init_conntrack用于创建一个新的ip_conntrack,并对其进行初始化。
/*1,每一个连接包含两个tuple,original和reply,ip_ct_invert_tuple 根据传入的original tuple获取其reply tuple,其最终将调用所属协议的invert_tuple 完成处理*/
if (!ip_ct_invert_tuple(& ......
本文档的Copyleft归yfydz所有,使用GPL发布,可以自由拷贝,转载,转载时请保持文档的完整性,严禁用于任何商业用途。
msn: yfydz_no1@hotmail.com
来源:http://yfydz.cublog.cn
1. 前言
对IP碎片的重组是防火墙提高安全性的一个重要手段,通过提前进行碎片重组,可以有效防御各种碎片攻击,Linux内核的防火墙 ......