On Thursday 20 February 2003 19:18, Luis Miguel Cruz Miranda wrote: > Hi all again, > I am trying to use the patch called > 'userspace/ipt_REJECT-fake-source.patch' As I read, if I use that patch I > need to recompile iptables user programs. > The problems is that I can't use that patch because I don't know have any > idea how to patch iptables source code. > I have this tree: > |-- iptables-1.2.7a > | |-- extensions > | |-- include > | | |-- libippool > | | |-- libipq > | | |-- libiptc > | | |-- libipulog > | | `-- linux > | | |-- netfilter_ipv4 > | | `-- netfilter_ipv6 > | |-- ippool > | |-- libipq > | |-- libiptc > | `-- libipulog > |-- patch-o-matic -> patch-o-matic-20030218 > |-- patch-o-matic-20030218 > | |-- base > | |-- broken > | |-- extra > | |-- not-accepted > | |-- obsolete > | |-- oldnat > | |-- optimizations > | |-- pending > | |-- submitted > | `-- userspace > `-- userspace -> iptables-1.2.7a > Is it correct to patch iptables-1.2.7a? Should be correct. Then you # cd patch-o-matic # ./runme userspace/ipt_REJECT-fake-source.patch if the patch tells you it applied correctly then you need to recompile your kernel then # cd ../userspace # make all install reboot with your clean kernel. If the patch doesn't apply for some reason, let me know. Have a nice day, Fabrice. -- Fabrice MARIE "Silly hacker, root is for administrators" -Unknown