05 2019 档案

摘要:转贴自:http://alexanderlaw.blog.hexun.com/9791596_d.html Network Address Translation 地址转换用来改变源/目的地址/端口,是netfilter的一部分,也是通过hook点上注册相应的结构来工作 Nat注册的hook点和co 阅读全文
posted @ 2019-05-17 00:11 codestacklinuxer 阅读(390) 评论(0) 推荐(0)
摘要:Netfilter Connection Tracking and NAT Implementation 4 Implementation: Netfilter NAT NAT is a function module built upon conntrack module, it relies o 阅读全文
posted @ 2019-05-17 00:11 codestacklinuxer 阅读(313) 评论(0) 推荐(0)
摘要:1、查看netlink socket 丢包 cat /proc/net/netlink sk Eth Pid Groups Rmem Wmem Dump Locks Drops Inode c91eda00 0 1172 00000001 0 0 00000000 2 0 27767 c43eee0 阅读全文
posted @ 2019-05-15 10:19 codestacklinuxer 阅读(509) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2019-05-13 12:14 codestacklinuxer 阅读(225) 评论(0) 推荐(0)
摘要:valgrind 阅读全文
posted @ 2019-05-13 11:26 codestacklinuxer 阅读(729) 评论(0) 推荐(0)
摘要:conntrack 阅读全文
posted @ 2019-05-12 21:38 codestacklinuxer 阅读(2723) 评论(0) 推荐(1)
摘要:连接跟踪初始化 基础参数的初始化:nf_conntrack_standalone_init 会调用nf_conntrack_init_start 完成连接跟踪基础参数的初始化, hash slab 扩展项 等; nf_conntrack_l3proto_ipv4_init 函数初始化了协议和tupl 阅读全文
posted @ 2019-05-12 17:31 codestacklinuxer 阅读(1882) 评论(0) 推荐(0)
摘要:nf_contrack 阅读全文
posted @ 2019-05-11 23:50 codestacklinuxer 阅读(7472) 评论(0) 推荐(0)
摘要:Netfilter match target 阅读全文
posted @ 2019-05-11 23:49 codestacklinuxer 阅读(1268) 评论(0) 推荐(0)
摘要:filter 阅读全文
posted @ 2019-05-11 23:48 codestacklinuxer 阅读(1377) 评论(0) 推荐(0)
摘要:linux netfilter filter 阅读全文
posted @ 2019-05-11 23:47 codestacklinuxer 阅读(736) 评论(2) 推荐(0)
摘要:netfilter nat conntrack 阅读全文
posted @ 2019-05-11 23:43 codestacklinuxer 阅读(5612) 评论(1) 推荐(1)
摘要:netlink 库函数: http://www.infradead.org/~tgr/libnl/doc/core.html#core_netlink_fundamentals #define NETLINK_TEST (31) static int s_send_ack_to_test(struc 阅读全文
posted @ 2019-05-11 23:32 codestacklinuxer 阅读(702) 评论(0) 推荐(0)
摘要:netlink linux kernel 阅读全文
posted @ 2019-05-11 21:38 codestacklinuxer 阅读(1845) 评论(0) 推荐(0)
摘要:netlink linux kernel 阅读全文
posted @ 2019-05-11 19:23 codestacklinuxer 阅读(1483) 评论(0) 推荐(0)
摘要:netlink linux kernel 阅读全文
posted @ 2019-05-11 17:50 codestacklinuxer 阅读(1062) 评论(0) 推荐(0)
摘要:分析网络数据包怎样从中断(链路层)中拷贝到上层 netif_rx_internal 阅读全文
posted @ 2019-05-11 17:11 codestacklinuxer 阅读(959) 评论(0) 推荐(0)
摘要:各种网络协议的数据结构 阅读全文
posted @ 2019-05-11 17:09 codestacklinuxer 阅读(2317) 评论(0) 推荐(0)
摘要:qdisc __dev_xmit_skb net_tx_action 阅读全文
posted @ 2019-05-11 17:09 codestacklinuxer 阅读(4769) 评论(0) 推荐(0)
摘要:linux 代码分析 阅读全文
posted @ 2019-05-11 17:09 codestacklinuxer 阅读(534) 评论(0) 推荐(0)
摘要:dev_queue_xmit 链路层 阅读全文
posted @ 2019-05-11 17:08 codestacklinuxer 阅读(1238) 评论(0) 推荐(0)
摘要:ip_append_data 接口的使用 ip报文的输出 阅读全文
posted @ 2019-05-11 17:08 codestacklinuxer 阅读(823) 评论(0) 推荐(0)
摘要:ip_push_pending_frames 阅读全文
posted @ 2019-05-11 17:08 codestacklinuxer 阅读(668) 评论(0) 推荐(0)
摘要:ip_forward 阅读全文
posted @ 2019-05-11 17:08 codestacklinuxer 阅读(1118) 评论(0) 推荐(0)
摘要:ip_mc_output ip_output 阅读全文
posted @ 2019-05-11 17:08 codestacklinuxer 阅读(2124) 评论(0) 推荐(0)
摘要:简要分析ip层收发过程 阅读全文
posted @ 2019-05-11 17:07 codestacklinuxer 阅读(1336) 评论(1) 推荐(0)
摘要:简要分析了ip_local_deliver()以及ip_forward() 阅读全文
posted @ 2019-05-11 17:07 codestacklinuxer 阅读(1057) 评论(0) 推荐(0)
摘要:简要介绍ip输入报文的分片重组 阅读全文
posted @ 2019-05-11 17:07 codestacklinuxer 阅读(1687) 评论(0) 推荐(0)
摘要:Ip 报文输出,tcp接口调用 阅读全文
posted @ 2019-05-11 17:07 codestacklinuxer 阅读(1824) 评论(0) 推荐(1)
摘要:网络设备状态控制 内核模块和用户空间模块获取网络设备的信息状态主要方式有 netdev_chain 通知链 netlink 的RTMGRP_LINK 组播 通知链的事件: 网络设备的启用: ifconfig up cli 最后调用ioctl的SIOCSIFFLAGS 来激活设备。而SIOCSIFFL 阅读全文
posted @ 2019-05-11 17:06 codestacklinuxer 阅读(1015) 评论(0) 推荐(0)
摘要:网络设备中断收包从链路层想三层 传递过程 阅读全文
posted @ 2019-05-11 17:05 codestacklinuxer 阅读(706) 评论(0) 推荐(0)
摘要:网卡驱动注册到内核,方便内核与网卡进行交互。 内核启动网卡,为网卡工作分配资源(ring buffer)和注册硬中断处理 e1000_intr。 网卡(NIC)接收数据。 网卡通过 DMA 方式将接收到的数据写入主存(步骤 2 内核通过网卡驱动将 DMA 内存地址信息写入网卡寄存器,使得网卡获得 D 阅读全文
posted @ 2019-05-11 17:01 codestacklinuxer 阅读(498) 评论(0) 推荐(0)