IP Filter bug report form.
--------------------------
IP Filter Version: 4.1.3
Operating System Version: Solaris 9 x86
Configuration: LKM
Description of problem:
pfil complains:
WARNING: Unknown layer 2 header size for ip.tun0 type 1 sap 800
when an ip tunnel is configured on the system.
How to repeat:
Install, create hostname.ip.tun0 containing:
feith-bb-vpn feith-asp-vpn netmask 0xfffffffc \
tsrc feith-bb tdst prepnet-rt mtu 1440 up
, and reboot. The enclosed patch to qif.c fixes the problem.
*** SunOS/qif.c.ORIGINAL Sat Jul 17 12:40:13 2004
--- SunOS/qif.c Fri Oct 22 20:36:24 2004
*************** qif_attach(rq)
*** 301,307 ****
(hdrsizes[ill->ill_type][0] == ill->ill_type))
qif->qf_hl = hdrsizes[ill->ill_type][1];
! if (qif->qf_hl == 0) {
cmn_err(CE_WARN,
"!Unknown layer 2 header size for %s type %d sap %x\n",
qif->qf_name, ill->ill_type, ill->ill_sap);
--- 301,307 ----
(hdrsizes[ill->ill_type][0] == ill->ill_type))
qif->qf_hl = hdrsizes[ill->ill_type][1];
! if (qif->qf_hl == 0 && ill->ill_type != IFT_OTHER) {
cmn_err(CE_WARN,
"!Unknown layer 2 header size for %s type %d sap %x\n",
qif->qf_name, ill->ill_type, ill->ill_sap);
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: [EMAIL PROTECTED] |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------