摘要:
转载地址http://blog.csdn.net/yming0221/article/details/7488828作者:闫明本文分析基于内核Linux Kernel 1.2.13以后的系列博文将深入分析Linux内核的网络栈实现原理,这里看到曹桂平博士的分析后,也决定选择Linux内核1.2.13版本进行分析。原因如下:1.功能和网络栈层次已经非常清晰2.该版本与其后续版本的衔接性较好3.复杂度相对新的内核版本较小,复杂度低,更容易把握网络内核的实质4.该内核版本比较系统资料可以查询下面开始零基础分析Linux内核网络部分的初始化过程。经过系统加电后执行的bootsect.S,setup.S
阅读全文
posted @ 2014-03-16 22:42
一天不进步,就是退步
阅读(1007)
推荐(0)
摘要:
step1:默认会放在~/.m2/repository目录下 (“~”代表用户的目录,比如windows下一般都是C:\Documents and Settings\[你的用户名]\),step2:修改配置文件,位置为%MAVEN_HOME%/conf/setting.xml,/path/to/local/repo-->修改为:D:\Eclipse\jars\mavenstep3: 修改MyEclipse的MAVEN的存储位置:(eclipse一样)进入MyEclipse→window→Preferences→Maven4MyEclipse→Maven→Installations→Use
阅读全文
posted @ 2014-03-15 23:23
一天不进步,就是退步
阅读(4668)
推荐(0)
摘要:
reference:http://crybit.com/rsync-commands-switches/The “rsync” is a powerful command under the Linux environment. The rsync stands for Remote Sync. Normally rsync is used to transfer file from one server(source) to another server(destination). rsync has a lot of switches or option for managing the
阅读全文
posted @ 2014-03-15 22:08
一天不进步,就是退步
阅读(443)
推荐(0)
摘要:
http://www.ibm.com/developerworks/cn/linux/1305_wanghz_ddns/index.htmlDDNS (Dynamic DNS) 扩展了 DNS 将客户端 IP 与其域名进行静态映射的功能,它可以将同一域名实时地解析为不同的动态 IP,而不需要额外的人工干预。这在客户端 IP 地址不断发生变化的情况下,尤其是在无线网络和 DHCP 环境中,都有着极其重要的意义。本文通过分析 DDNS 的工作原理,简单演示了其在 Linux 网络协议栈的内核空间及用户空间创建 netlink 套接字、进行数据交换、并最终通过 nsupate 工具将更新消息发送给
阅读全文
posted @ 2014-03-12 23:22
一天不进步,就是退步
阅读(2662)
推荐(0)
摘要:
引用:http://www.ibm.com/developerworks/cn/linux/l-memmod/index.html理解 Linux 使用的内存模型是从更大程度上掌握 Linux 设计和实现的第一步,因此本文将概述 Linux 内存模型和管理。Linux 使用的是单一整体式结构 (Monolithic),其中定义了一组原语或系统调用以实现操作系统的服务,例如在几个模块中以超级模式运行的进程管理、并发控制和内存管理服务。尽管出于兼容性考虑,Linux 依然将段控制单元模型 (segment control unit model)保持一种符号表示,但实际上已经很少使用这种模型了。与内
阅读全文
posted @ 2014-03-12 23:17
一天不进步,就是退步
阅读(398)
推荐(1)
摘要:
地址:http://www.ibm.com/developerworks/cn/linux/l-linux-process-management/index.htmlLinux 是一种动态系统,能够适应不断变化的计算需求。Linux 计算需求的表现是以进程的通用抽象为中心的。进程可以是短期的(从命令行执行的一个命令),也可以是长期的(一种网络服务)。因此,对进程及其调度进行一般管理就显得极为重要。在用户空间,进程是由进程标识符(PID)表示的。从用户的角度来看,一个 PID 是一个数字值,可惟一标识一个进程。一个 PID 在进程的整个生命期间不会更改,但 PID 可以在进程销毁后被重新使用,所
阅读全文
posted @ 2014-03-12 23:09
一天不进步,就是退步
阅读(607)
推荐(0)
摘要:
http://crybit.com/find-command-usage-with-example-unixlinux/find command is one of the best search tool under UNIX/LINUX. Here I’m discussing some common switches of find command with detailed example. Like the name find, the “find” command is using for search files under a directory hierarchy. One
阅读全文
posted @ 2014-03-12 09:28
一天不进步,就是退步
阅读(352)
推荐(0)
摘要:
出处:http://blog.csdn.net/xxd851116/archive/2009/06/25/4296866.aspx【前面的话】在网上经常看到有人对request.getSession(false)提出疑问,我第一次也很迷惑,看了一下J2EE1.3 API,看一下官网是怎么解释的。【官方解释】 getSessionpublicHttpSessiongetSession(booleancreate)Returns the currentHttpSessionassociated with this request or, if if there is no current sess
阅读全文
posted @ 2014-03-11 16:58
一天不进步,就是退步
阅读(480)
推荐(0)
摘要:
http://en.wikipedia.org/wiki/Session_fixationIn computer network security,session fixation attacksattempt toexploitthe vulnerability of a system which allows one person to fixate (set) another person'ssessionidentifier (SID). Most session fixation attacks are web based, and most rely on session
阅读全文
posted @ 2014-03-11 11:58
一天不进步,就是退步
阅读(1172)
推荐(0)
摘要:
Part 1reference:http://jaxenter.com/lambdas-in-java-8-part-1-49700.htmlGet to know lambda expressions in Java 8.Few things excite a community of software developers more than a new release of their chosen programming language or platform. Java developers are no exception. In fact, we’re probably eve
阅读全文
posted @ 2014-03-11 09:03
一天不进步,就是退步
阅读(1542)
推荐(0)