Re: IPFilter 4.1

This is a discussion on Re: IPFilter 4.1 within the IPFilter forums, part of the System Security and Security Related category; (Sorry, inadvertently have first sent this to avalon@caligula.anu.edu.au instead to this mailing list. Not literally the ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-12-2004
Hans Werner Strube
 
Posts: n/a
Default Re: IPFilter 4.1

(Sorry, inadvertently have first sent this to avalon@caligula.anu.edu.au
instead to this mailing list. Not literally the same now; item (3) added.)

Thanks, Darren, this is great! But for compiling in Solaris 7, there are
still one or two changes required.

(1) pfil-2.1:

*** qif.h.ORI Sat Jan 17 19:53:25 2004
--- qif.h Thu Feb 12 10:18:28 2004
***************
*** 94,100 ****


#ifdef sun
! # if SOLARIS2 < 7
# define QF_V4_ADDR(x) \
((ill_t *)(x)->qf_ill)->ill_ipif->ipif_local_addr
# define QF_V4_BROADCAST(x) \
--- 94,100 ----


#ifdef sun
! # if SOLARIS2 <= 7
# define QF_V4_ADDR(x) \
((ill_t *)(x)->qf_ill)->ill_ipif->ipif_local_addr
# define QF_V4_BROADCAST(x) \

(2) ip_fil4.1:

In Solaris 7_x86 (don't know for higher x86 versions), add -D_SYS_PROMIF_H
to the CFLAGS in the Makefile (line 21).

Generally, -D_BSD_SOURCE is meaningless, at least for Solaris, since it
does not occur in the sources of pfil and ip_fil4.1 nor in the Solaris
header files in /usr/include.

(3) Compilation with the BPF stuff fails in Solaris 7, even if libpcap has
been installed, because there is no <net/bpf.h> and not any DLT_ macros
defined in the system header files (at least up to Solaris 8).
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 04:33 AM.


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