📄 readme
字号:
Installation.-------------1. Build package----------------At a shell prompt, do:make packageThis will compile and create pfil.pkg. Copy this to the destinationmachine, where you will install the package.2. Install package------------------Run the following command from a shell prompt:pkgadd -d /tmp/pfil.pkgCheck the file /etc/opt/pfil/iu.ap. It should contain one line foreach network interface type, excluding the loopback (lo). You must nowreboot the system.3. Check configuration----------------------As root, run this command:strconf < /dev/hme(assuming there is a hme network interface configured). This shouldproduce two lines of output, one with 'pfil' (1st) and one with 'hme'(2nd).4. Use on Solaris8 and later with ifconfig.-------------------------------------------If you do "ifconfig <if> modlist", you will see a list of STREAMS modulespushed onto the interface like this (for hme0):0 arp1 ip2 hmeYou need to insert pfil between ip and hme. To do this, you do thefollowing:ifconfig hme0 modinsert pfil@2checking the list, you should see:0 arp1 ip2 pfil3 hme5. Confirming Interfaces Attached.----------------------------------pfil supports the ndd interface and the list of active interfaces can bequeried as follows:# ndd /dev/pfil qif_statusifname ill q OTHERQ num sap hl len nr nw bad copy drop notip nodata notdatahme0 f665d174 f6424df0 f6424e6c 0 800 14 0 2 1 0 0 0 1 0 2The list of commands pfil supports via ndd is determined with:# ndd /dev/pfil \?
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -