Many firewalls have implemented Stateful Inspection technology, such as Cisico PIX[2], 3COM Secure Gateway [3], Netsreen Firewall[1]and Checkpoint FW-1[4]. Stateful Inspection requires a session table whose entries typically record source and destination IP addresses and port numbers. For each arriving packet, the session table is looked up for a match. A session entry in the format <src-addr, src-port, dst-addr, dst-port, ip-p, state, time> is created when the first packet appears from a flow previously not tracked. Subsequent packets of an established session are checked against the session table rather than against the Rule Base.
ok,NS环境中的session的定义已经确定了,结合上面那个工具,lz可以看看访问一个web页面的时候到底为什么建立了那么多的session。记得给大家汇报一下(上截图最好,我这没NS的设备)
以前学校限制过用户的session数,这个问题我也想过,因为当时连pcpop的首页都看不全。我是这么理解的,对于对方的(remote ip,80)来说,你的本机会产生多个(local ip,ephemeral port),我用netstate查看过,对于pcpop来说,这种soket peer(session)可以达到15个以上,如果用户同时访问多个这种类型的网站,就可想而知了。
[ 本帖最后由 ilrainyday 于 2008-9-27 12:02 编辑 ]