feisky

云计算、虚拟化与Linux技术笔记
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年11月6日

摘要: Ingress qdiscAll qdiscs discussed so far are egress qdiscs. Each interface however can also have an ingress qdisc which is not used to send packets out to the network adaptor. Instead, it allows you to apply tc filters to packets coming in over the interface, regardless of whether they have a local 阅读全文

posted @ 2011-11-06 21:32 feisky 阅读(811) 评论(0) 推荐(0) 编辑

摘要: netstat命令是一个监控TCP/IP网络的非常有用的工具,它可以显示路由表、实际的网络连接以及每一个网络接口设备的状态信息, 语 法:netstat [-acCeFghilMnNoprstuvVwx][-A网络类型>][--ip] 补充说明:利用netstat指令可让你得知整个Linux系统的网络情况。 参 数: -a或--all 显示所有连线中的Socket。 -A网络类型>或--网络类型> 列出该网络类型连线中的相关地址。 -c或--continuous 持续列出网络状态。 -C或--cache 显示路由器配置的快取信息。 -e或--extend 显示网络其他相关信息 阅读全文

posted @ 2011-11-06 21:13 feisky 阅读(791) 评论(0) 推荐(0) 编辑

摘要: 一些常用的参数:-i any: 监听所有的介面。这样你就知道是不是有流量产生。 -n: 不要解决主机名,以IP数字形式显示主机。 -nn: 不要解析主机名或端口名字。 -X: 同时以十六进制和ASCII字符显示包的数据。 -XX: 同-X,但也会显示 Ethernet头部。 -v, -vv, -vvv: 详细,更详细,再详细些! 冗余输出得到的包信息。 -c: 抓取 x 个包后就停下。 -S: 打印绝对序号。 -e: 同时得到Ethernet头部。 -q: 显示少一点协议信息。 -E: 用提供的密钥解密 IPSEC 流量。 -s: 设置显示前多少个字节的包内容(snaplength)。tcpd 阅读全文

posted @ 2011-11-06 20:54 feisky 阅读(593) 评论(0) 推荐(0) 编辑

摘要: ifbThe Intermediate Functional Block deviceis the successor to the IMQ iptables module that was never integrated.Advantage over current IMQ; cleaner in particular in SMP;with a _lot_ less code. Old Dummy device functionality is preserved while new one onlykicks in if you use actions.To use an IFB, y 阅读全文

posted @ 2011-11-06 12:23 feisky 阅读(1606) 评论(0) 推荐(0) 编辑

摘要: ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsassh-copy-id -i ~/.ssh/id_rsa.pub $dst_ip说明:ssh-keygen 创建公钥和密钥。ssh-copy-id 把本地主机的公钥复制到远程主机的authorized_keys文件上。ssh-copy-id 也会给远程主机的用户主目录(home)和~/.ssh, 和~/.ssh/authorized_keys设置合适的权限 。 阅读全文

posted @ 2011-11-06 12:15 feisky 阅读(758) 评论(0) 推荐(0) 编辑

无觅相关文章插件,快速提升流量