IPfilter
[Top] [All Lists]

The output of ndd command doesn't include the interface which is manuall

To: <ipfilter@coombs.anu.edu.au>
Subject: The output of ndd command doesn't include the interface which is manually inserted with pfil.
From: "Xu, Chun Gang \(Titan\)" <cxu@alcatel-lucent.com>
Date: Tue, 8 May 2007 16:41:36 +0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: ipfilter-list@securepoint.com
In-reply-to: <200704070156.l371up1v017799@caligula.anu.edu.au>
References: <96C5020C866B5948A698DBF0F3208E4F3C461D@CNEXC1U01.bj.lucent.com> from "Xu, Chun Gang \(Titan\)" at Apr 04, 2007 01:55:11 PM <200704070156.l371up1v017799@caligula.anu.edu.au>
Sender: owner-ipfilter@coombs.anu.edu.au
Thread-index: Acd4uAgiwNlcTuzxRLmV3znBvzgSrgYkiXyg
Thread-topic: The output of ndd command doesn't include the interface which is manually inserted with pfil.
Hi,

I am running into a problem as subject mentions.
I need to manually insert the pfil module into some physical interface,
for example hme1.

Output of ndd after removing pfil module from all interfaces.
root > ndd /dev/pfil qif_status
ifname ill q OTHERQ ipmp num sap hl nr nw bad copy copyfail drop notip
nodata notdata

After insert pfil into hme1:
root > ifconfig hme1 modlist
0 arp
1 ip
2 pfil
3 hme

root > ndd /dev/pfil qif_status
ifname ill q OTHERQ ipmp num sap hl nr nw bad copy copyfail drop notip
nodata notdata
QIF0 0x0 0x300019c12b8 0x300019c13a8 0x0 0 0 0 1 1 0 0 0 0 0 0 0

hme1 doesn't show up here. What does QIF0 mean? 
Since the pfil module doesn't attached to the interface, it doesn't work
with any filter rules.

root> ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 4
        inet 127.0.0.1 netmask ff000000 
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
5
        inet 135.252.27.152 netmask ffffff80 broadcast 135.252.27.255
        ether 8:0:20:e7:65:3b 
hme1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
6
        inet 172.16.47.254 netmask fffff000 broadcast 172.16.47.255
        ether 8:0:20:f7:1d:34 
hme2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
7
        inet 172.16.31.254 netmask fffff000 broadcast 172.16.31.255
        ether 8:0:20:f7:1d:35

But the ndd command can show up all interfaces after system reboots.
This means that the software works well with the start-up script.

Does anyone have any ideas on this?

Thanks,



<Prev in Thread] Current Thread [Next in Thread>
  • The output of ndd command doesn't include the interface which is manually inserted with pfil., Xu, Chun Gang \(Titan\) <=