218 lines
3.4 KiB
HTML
218 lines
3.4 KiB
HTML
|
<HTML
|
||
|
><HEAD
|
||
|
><TITLE
|
||
|
>Previous knowledge and system requirements</TITLE
|
||
|
><META
|
||
|
NAME="GENERATOR"
|
||
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
||
|
"><LINK
|
||
|
REL="HOME"
|
||
|
TITLE="Querying libiptc HOWTO"
|
||
|
HREF="index.html"><LINK
|
||
|
REL="PREVIOUS"
|
||
|
TITLE="How did I obtain this knowledge?"
|
||
|
HREF="howdidi.html"><LINK
|
||
|
REL="NEXT"
|
||
|
TITLE="Installing iptables + libiptc"
|
||
|
HREF="install.html"></HEAD
|
||
|
><BODY
|
||
|
CLASS="SECT1"
|
||
|
BGCOLOR="#FFFFFF"
|
||
|
TEXT="#000000"
|
||
|
LINK="#0000FF"
|
||
|
VLINK="#840084"
|
||
|
ALINK="#0000FF"
|
||
|
><DIV
|
||
|
CLASS="NAVHEADER"
|
||
|
><TABLE
|
||
|
SUMMARY="Header navigation table"
|
||
|
WIDTH="100%"
|
||
|
BORDER="0"
|
||
|
CELLPADDING="0"
|
||
|
CELLSPACING="0"
|
||
|
><TR
|
||
|
><TH
|
||
|
COLSPAN="3"
|
||
|
ALIGN="center"
|
||
|
>Querying libiptc HOWTO</TH
|
||
|
></TR
|
||
|
><TR
|
||
|
><TD
|
||
|
WIDTH="10%"
|
||
|
ALIGN="left"
|
||
|
VALIGN="bottom"
|
||
|
><A
|
||
|
HREF="howdidi.html"
|
||
|
ACCESSKEY="P"
|
||
|
>Prev</A
|
||
|
></TD
|
||
|
><TD
|
||
|
WIDTH="80%"
|
||
|
ALIGN="center"
|
||
|
VALIGN="bottom"
|
||
|
></TD
|
||
|
><TD
|
||
|
WIDTH="10%"
|
||
|
ALIGN="right"
|
||
|
VALIGN="bottom"
|
||
|
><A
|
||
|
HREF="install.html"
|
||
|
ACCESSKEY="N"
|
||
|
>Next</A
|
||
|
></TD
|
||
|
></TR
|
||
|
></TABLE
|
||
|
><HR
|
||
|
ALIGN="LEFT"
|
||
|
WIDTH="100%"></DIV
|
||
|
><DIV
|
||
|
CLASS="SECT1"
|
||
|
><H1
|
||
|
CLASS="SECT1"
|
||
|
><A
|
||
|
NAME="PREVIOUS">8. Previous knowledge and system requirements</H1
|
||
|
><P
|
||
|
>You have to have some previous knowledge to follow this document:</P
|
||
|
><P
|
||
|
></P
|
||
|
><OL
|
||
|
TYPE="1"
|
||
|
><LI
|
||
|
><P
|
||
|
><EM
|
||
|
>Very important:</EM
|
||
|
>
|
||
|
You must know how to use the <EM
|
||
|
>iptables</EM
|
||
|
> package as a
|
||
|
user, such as how to create or list rules and user chains. You do not need
|
||
|
to be a firewall expert, but you should know how to use
|
||
|
<EM
|
||
|
>iptables</EM
|
||
|
> fluently.</P
|
||
|
></LI
|
||
|
><LI
|
||
|
><P
|
||
|
>You have to have kernel sources installed in your system, in
|
||
|
<TT
|
||
|
CLASS="FILENAME"
|
||
|
>/usr/src/linux</TT
|
||
|
> as usual.</P
|
||
|
><P
|
||
|
>I am using a <EM
|
||
|
>2.4.16</EM
|
||
|
> kernel in a
|
||
|
<EM
|
||
|
>SuSE 7.1</EM
|
||
|
> Linux environment. You need
|
||
|
<EM
|
||
|
>2.4.x</EM
|
||
|
> kernel code to follow this HOWTO, preferably kernel
|
||
|
<EM
|
||
|
>2.4.16</EM
|
||
|
>. For <EM
|
||
|
>SuSE</EM
|
||
|
> you can
|
||
|
get the kernel sources at
|
||
|
<A
|
||
|
HREF="ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/i386/update/"
|
||
|
TARGET="_top"
|
||
|
>ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/i386/update</A
|
||
|
>.</P
|
||
|
></LI
|
||
|
><LI
|
||
|
><P
|
||
|
>You have to know how to compile the kernel if you have to update your kernel
|
||
|
version. After activating the netfilter options using
|
||
|
<B
|
||
|
CLASS="COMMAND"
|
||
|
>make menuconfig</B
|
||
|
>, you
|
||
|
must compile and install the kernel as usual.</P
|
||
|
></LI
|
||
|
><LI
|
||
|
><P
|
||
|
>Reboot your new kernel using <B
|
||
|
CLASS="COMMAND"
|
||
|
>init 6</B
|
||
|
>. Ensure that you
|
||
|
backup a copy of your previous kernel in <EM
|
||
|
>lilo</EM
|
||
|
> in case
|
||
|
you encounter a problem and need to retrace your steps.</P
|
||
|
></LI
|
||
|
><LI
|
||
|
><P
|
||
|
>Be sure that your new <EM
|
||
|
>2.4.x</EM
|
||
|
> kernel is running fine.
|
||
|
To install <EM
|
||
|
>iptables-1.2.6</EM
|
||
|
> you will need to patch the
|
||
|
kernel again (and re-compile and install it), and it is better if you follow
|
||
|
the previous two steps to ensure that your kernel is running right before
|
||
|
applying new iptables patches.</P
|
||
|
></LI
|
||
|
></OL
|
||
|
></DIV
|
||
|
><DIV
|
||
|
CLASS="NAVFOOTER"
|
||
|
><HR
|
||
|
ALIGN="LEFT"
|
||
|
WIDTH="100%"><TABLE
|
||
|
SUMMARY="Footer navigation table"
|
||
|
WIDTH="100%"
|
||
|
BORDER="0"
|
||
|
CELLPADDING="0"
|
||
|
CELLSPACING="0"
|
||
|
><TR
|
||
|
><TD
|
||
|
WIDTH="33%"
|
||
|
ALIGN="left"
|
||
|
VALIGN="top"
|
||
|
><A
|
||
|
HREF="howdidi.html"
|
||
|
ACCESSKEY="P"
|
||
|
>Prev</A
|
||
|
></TD
|
||
|
><TD
|
||
|
WIDTH="34%"
|
||
|
ALIGN="center"
|
||
|
VALIGN="top"
|
||
|
><A
|
||
|
HREF="index.html"
|
||
|
ACCESSKEY="H"
|
||
|
>Home</A
|
||
|
></TD
|
||
|
><TD
|
||
|
WIDTH="33%"
|
||
|
ALIGN="right"
|
||
|
VALIGN="top"
|
||
|
><A
|
||
|
HREF="install.html"
|
||
|
ACCESSKEY="N"
|
||
|
>Next</A
|
||
|
></TD
|
||
|
></TR
|
||
|
><TR
|
||
|
><TD
|
||
|
WIDTH="33%"
|
||
|
ALIGN="left"
|
||
|
VALIGN="top"
|
||
|
>How did I obtain this knowledge?</TD
|
||
|
><TD
|
||
|
WIDTH="34%"
|
||
|
ALIGN="center"
|
||
|
VALIGN="top"
|
||
|
> </TD
|
||
|
><TD
|
||
|
WIDTH="33%"
|
||
|
ALIGN="right"
|
||
|
VALIGN="top"
|
||
|
>Installing iptables + libiptc</TD
|
||
|
></TR
|
||
|
></TABLE
|
||
|
></DIV
|
||
|
></BODY
|
||
|
></HTML
|
||
|
>
|