[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    Can someone help me with installation?
From:       "Educatee" <educatee2001 () yahoo ! com>
Date:       2001-02-28 23:32:01
[Download RAW message or body]

I try to have ipfilter 3.4.16 installed on my FreeBSD 4.1 following the instruction \
in INSTALL.FreeBSD, but I am stuck with "build a new kernel". 


These is the steps I did:

 1. do "make freebsd4"   ---- OK

 2. do "make install-bsd" ----OK

 3.  run "FreeBSD/minstall" as root

This is output:

Patching ip_input.c, i_output.c and in_proto.c
Hmm.. Looks like a new-style context diff to me...
the text leading up to this was:
-------------------------------------------
> *** /sys/netinet/ip_input.c.orig
> --- /sys/netinet/ip_input.c
------------------------------------------
Patching file ip_input.c using Plan A...
Hunk #1 fail at 93.
Hunk #2 failed at 223.
Hunk #3 succeeded at 796 with fuzz 2 (offset 526 lines).
Hunk #4 failed at 1059.
Hunk #5 failed t 1068.
4 out or 5 hunks failed --saving rejects to ip_input.c.rej
hmm.. The next patch looks like a new-style context diff to me...
the text leadin gup to this was:
-----------------------------------------------
> *** /sys/netinet/ip_output.c.orig
> --- /sys/netinet/ip_output.c
----------------------------------------------
Patching file ip_output.c using Plan A...
Hunk #1 failed at 65.
Hunk #2 failed at 334.
2 out of 2 hunks failed--saving rejects to ip_output.c.rej
Hmm... The next patch looks like a new-style context diff to me...
The test leading up to this was:
-------------------------------------------------
> *** in_proto.c.orig
> --- in_proto.c 
--------------------------------------------------
Patching file in_proto.c using Plan A...
Hunk #1 failed at 81.
1 out of 1 hunks failed--saving rejects to in_proto.c.rej
done.
Kernel configuration to update [LINT] Re-config'ing LINT ...
You will now need to run "config" and build a new kernel.

----- What has I missed out, and how could I overcome these?

 4. build a new kernel

When I run "config", it prompts with

#config
usage: config [-gpr] [-d destdir] sysname

what should I put for sysname? and destdir?

I am very new to ipfilter. Could someone please point me to the place for HOW-TO \
install information? or how do I fix the install problem? 

Thanks a million in advance.


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I try to have ipfilter 3.4.16 installed on my 
FreeBSD 4.1 following the instruction in INSTALL.FreeBSD, but I am stuck with 
"build a new kernel". </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>These is the steps I did:</DIV>
<DIV><BR>&nbsp;1. do "make freebsd4"&nbsp;&nbsp; ---- OK</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;2. do "make install-bsd" ----OK</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;3.&nbsp; run "FreeBSD/minstall" as 
root</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is output:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Patching ip_input.c, i_output.c and 
in_proto.c</FONT></DIV>
<DIV><FONT face=Arial size=2>Hmm.. Looks like a new-style context diff to 
me...</FONT></DIV>
<DIV><FONT face=Arial size=2>the text leading up to this was:</FONT></DIV>
<DIV><FONT face=Arial 
size=2>-------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>|*** /sys/netinet/ip_input.c.orig</FONT></DIV>
<DIV><FONT face=Arial size=2>|--- /sys/netinet/ip_input.c</FONT></DIV>
<DIV><FONT face=Arial 
size=2>------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Patching file ip_input.c using Plan 
A...</FONT></DIV>
<DIV><FONT face=Arial size=2>Hunk #1 fail at 93.</FONT></DIV>
<DIV><FONT face=Arial size=2>Hunk #2 failed at 223.</FONT></DIV>
<DIV><FONT face=Arial size=2>Hunk #3 succeeded at 796 with fuzz 2 (offset 526 
lines).</FONT></DIV>
<DIV><FONT face=Arial size=2>Hunk #4 failed at 1059.</FONT></DIV>
<DIV><FONT face=Arial size=2>Hunk #5 failed t 1068.</FONT></DIV>
<DIV><FONT face=Arial size=2>4 out or 5 hunks failed --saving rejects to 
ip_input.c.rej</FONT></DIV>
<DIV><FONT face=Arial size=2>hmm.. The next patch looks like a new-style context 
diff to me...</FONT></DIV>
<DIV><FONT face=Arial size=2>the text leadin gup to this was:</FONT></DIV>
<DIV><FONT face=Arial 
size=2>-----------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>|*** /sys/netinet/ip_output.c.orig</FONT></DIV>
<DIV><FONT face=Arial size=2>|--- /sys/netinet/ip_output.c</FONT></DIV>
<DIV><FONT face=Arial 
size=2>----------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Patching file ip_output.c using Plan 
A...</FONT></DIV>
<DIV><FONT face=Arial size=2>Hunk #1 failed at 65.</FONT></DIV>
<DIV><FONT face=Arial size=2>Hunk #2 failed at 334.</FONT></DIV>
<DIV><FONT face=Arial size=2>2 out of 2 hunks failed--saving rejects to 
ip_output.c.rej</FONT></DIV>
<DIV><FONT face=Arial size=2>Hmm... The next patch looks like a new-style 
context diff to me...</FONT></DIV>
<DIV><FONT face=Arial size=2>The test leading up to this was:</FONT></DIV>
<DIV><FONT face=Arial 
size=2>-------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>|*** in_proto.c.orig</FONT></DIV>
<DIV><FONT face=Arial size=2>|--- in_proto.c </FONT></DIV>
<DIV><FONT face=Arial 
size=2>--------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Patching file in_proto.c using Plan 
A...</FONT></DIV>
<DIV><FONT face=Arial size=2>Hunk #1 failed at 81.</FONT></DIV>
<DIV><FONT face=Arial size=2>1 out of 1 hunks failed--saving rejects to 
in_proto.c.rej</FONT></DIV>
<DIV><FONT face=Arial size=2>done.</FONT></DIV>
<DIV><FONT face=Arial size=2>Kernel configuration to update [LINT] Re-config'ing 
LINT ...</FONT></DIV>
<DIV><FONT face=Arial size=2>You will now need to run "config" and build a new 
kernel.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>----- What has I missed out, and how could I 
overcome these?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;4. build a new kernel</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When I run "config", it prompts with</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>#config</FONT></DIV>
<DIV><FONT face=Arial size=2>usage: config [-gpr] [-d destdir] 
sysname</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>what should I put for sysname? and 
destdir?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am very new to ipfilter. Could someone please 
point me to the place for HOW-TO install information? or how do I&nbsp;fix the 
install problem? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks a million in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic