Re: Candidate for next ipfilter release

This is a discussion on Re: Candidate for next ipfilter release within the IPFilter forums, part of the System Security and Security Related category; Darren Reed wrote: > http://coombs.anu.edu.au/~avalon/ip_fil4.1next.tar.gz > > I've compiled and ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-01-2006
Hans Werner Strube
 
Posts: n/a
Default Re: Candidate for next ipfilter release

Darren Reed wrote:
> http://coombs.anu.edu.au/~avalon/ip_fil4.1next.tar.gz
>
> I've compiled and loaded it on:

....
> solaris 9


Compilation in Solaris with Sun cc (at least 5.0 from Workshop 5.0 and 5.4
from Forte 7) fails in ip_fil_solaris.c with:
"ip_fil_solaris.c", line 1045: warning: implicit function declaration: ipf_fixl4sum
"ip_fil_solaris.c", line 1169: identifier redeclared: ipf_fixl4sum
current : function() returning void
previous: function() returning int : "ip_fil_solaris.c", line 1045
cc: acomp failed for ip_fil_solaris.c

To fix, either place the definition of ipf_fixl4sum() before that of
fr_fastroute() or insert a forward declaration like this:
*** ip_fil_solaris.c.orig Tue Oct 31 12:13:59 2006
--- ip_fil_solaris.c Wed Nov 1 12:50:39 2006
***************
*** 1035,1040 ****
--- 1035,1042 ----
* IP and TCP/UDP
*/
if (mb->b_datap->db_struioflag) {
+ void ipf_fixl4sum();
+
mb->b_datap->db_struioflag = 0;

if (fin->fin_v == 4) {


Otherwise, it compiles well in Solaris 7 and 10 (SPARC), too.
Reply With Quote
Reply


Thread Tools
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

vB 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 08:45 AM.


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