Re: IPsec Tunnel problem seek confirm from author or anyone knows

This is a discussion on Re: IPsec Tunnel problem seek confirm from author or anyone knows within the IPFilter forums, part of the System Security and Security Related category; Lan, The change in pfil will look like below. Darren Index: qif.c ================================================== ================= RCS file: /devel/CVS/pfil/SunOS/qif....


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-25-2007
Darren Reed
 
Posts: n/a
Default Re: IPsec Tunnel problem seek confirm from author or anyone knows

Lan,

The change in pfil will look like below.

Darren

Index: qif.c
================================================== =================
RCS file: /devel/CVS/pfil/SunOS/qif.c,v
retrieving revision 1.53
diff -u -r1.53 qif.c
--- qif.c 29 Apr 2007 09:53:03 -0000 1.53
+++ qif.c 22 Jul 2007 00:29:25 -0000
@@ -312,19 +312,21 @@
}

qif = rq->q_ptr;
+ if (qif->qf_hl == 0) {
#if SOLARIS2 < 8
- qif->qf_hl = ill->ill_hdr_length;
+ qif->qf_hl = ill->ill_hdr_length;
#else
- if ((ill->ill_type > 0) && (ill->ill_type < 0x37) &&
- (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);
- }
+ if ((ill->ill_type > 0) && (ill->ill_type < 0x37) &&
+ (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,
+ "!%s: Unknown layer 2 size. type %d sap
%x\n",
+ qif->qf_name, ill->ill_type, ill->ill_sap);
+ }
#endif
+ }

/*
* Protect against the qif_t being bound against an interface, twice

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0