커널 2.6.8 netfilter string 패치를 하는 방법 좀..

kkhigh의 이미지

커널 2.4에서 string 패치를 한후 iptables 를 이용해 string 필터링을 잘사용하고 있었습니다.

이번에 시스템을 개비하면서 커널을 2.6으로 올렸는데

역시 string 관련모듈은 기본 모듈이 아니라서 패치를 하려고 했는데요..

최근의 패치 버전인 patch-o-matic-ng-20040302.tar.bz2 를 받아 패치를 실행하니..
string 관련패치 목록이 없구요..

그 이전 버전인 patch-o-matic-20030912.tar.bz2 를 실행시키니 아래와 같은 에러가 납니다.

Welcome to Rusty's Patch-o-matic!

Kernel:    /usr/src/linux-2.6
Userspace: /usr/src/linux-2.6

Each patch is a new feature: many have minimal impact, some do not.
Almost every one has bugs, so I don't recommend applying them all!
-------------------------------------------------------
Already applied: submitted/54_ip_nat-macro-args
                 submitted/58-ip_conntrack-macro-args
                 submitted/60_nat_tftp-remove-warning
                 submitted/72_recent_procfs_fix
                 submitted/74_nat-range-fix
                 pending/39_ip_conntrack-proc
                 pending/59_ip_nat_h-unused-var
                 base/SAME
                 base/iprange
                 extra/CLASSIFY

Testing... string.patch NOT APPLIED (2 missing files)
The extra/string patch:
   Author: Emmanuel Roger <winfield@freegates.be>
   Status: Working, not with kernel 2.4.9
   
   This patch adds CONFIG_IP_NF_MATCH_STRING which allows you to
   match a string in a whole packet.
   
   THIS PATCH DOES NOT WORK WITH KERNEL 2.4.9 !!!
   
-----------------------------------------------------------------
Do you want to apply this patch [N/y/t/f/a/r/b/w/q/?] y
Testing patch extra/string.patch...
Warning - no help text file could be found in either
/usr/src/linux-2.6/net/ipv4/netfilter/Config.help
or /usr/src/linux-2.6/Documentation/Configure.help
grep: /usr/src/linux-2.6/net/ipv4/netfilter/Config.in: 그런 파일이나 디렉토리가 없음
Could not find place to slot in Config.in line
TEST FAILED: patch NOT applied.

[Press enter to continue]

어떤 문제인지.. 또는 2.6커널에서 string 패치를 할수 있는 방법이 무었인지 아시는분 ...도움을 바랍니다.

수고하세요..