1 / 8

Netfilter

Netfilter. 指導老師 李正帆 專題報告 黃健瑋. nvram show. lan_ifname=br0 lan_ifnames=vlan0 eth1 landevs=vlan0 wl0 vlan0hwname=et0 vlan0ports=1 2 3 4 5* vlan1hwname=et0 vlan1ports=0 5 wan0_ifname=vlan1 wan_ifname=vlan1 wlan_ifname=eth1 wlan_ipaddr=192.168.21.1. AP config. eth1->wireless

chip
Download Presentation

Netfilter

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Netfilter 指導老師 李正帆 專題報告 黃健瑋

  2. nvram show lan_ifname=br0 lan_ifnames=vlan0 eth1 landevs=vlan0 wl0 vlan0hwname=et0 vlan0ports=1 2 3 4 5* vlan1hwname=et0 vlan1ports=0 5 wan0_ifname=vlan1 wan_ifname=vlan1 wlan_ifname=eth1 wlan_ipaddr=192.168.21.1

  3. AP config eth1->wireless vlan0->lan vlan1->wan br0->vlan0,eth1(can also use brctl)

  4. Hook function • Put in “netif_rx” • The first function after net driver’s process • Test “netif_receive_skb • Hook data same as “netif_rx”

  5. Interface filter problem eth0: • complicated Wireless data • But include output data… br0: • Can see the correct wireless data • But this also include vlan0 data…

  6. Research • Tcpdump –i • Use pcap • Still researching……

  7. Reference http://docs.google.com/present/view?id=dczm9xqd_133fxzrs8cq http://fantasymew.pixnet.net/blog/post/25630263 http://www.cndw.com/tech/server/2006042152366.asp http://blog.chinaunix.net/u1/35815/showart_318257.html http://www.right.com.cn/forum/redirect.php?tid=22029&goto=lastpost http://hi.baidu.com/westhack/blog/item/83fd4aadfd8e4b0e4b36d616.html

More Related