질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

Iptables 커널패치(patch-o-matc) 오류에 관한질문

작성자 정보

  • 홍석범 작성
  • 작성일

컨텐츠 정보

본문

안녕하십니까? 오늘과내일의 홍석범입니다.

p-o-m은 커널을 패치하는 것입니다.
따라서 p-o-m을 적용후에는 커널컴파일을 하여 재부팅하여야 하며 rpm kernel을 그대로 사용하면 안됩니다.

Where is your kernel source directory? 
==> /usr/src/linux-2.6.18 등 커널소스가 위치한 디렉토리를 지정

 Where is your iptables source code directory?
==> iptables 소스위치 지정:/temp/iptables-1.3.7

감사합니다.

김종일 님의 글



책내용의 302~303페이지의 내용을 적용해보다

오류가 생겨 질문드립니다.

사용 리눅스는 Su-Linux 이고

iptables 에서 -m string옵션을 사용하기 위해

먼저

/temp/iptables-1.3.7 디렉토리에

iptables 1.3.7을 /temp/iptables-1.3.7 폴더에 iptables-1.3.7.tar를 압축해제 후

make; make install  후  리부팅을 통해

iptables의 버젼을 1.2.1에서 1.3.7로 올렸습니다.

이후 patch-o-matc 커널 패치를 위해

/temp/iptables-1.3.7 아래에 patch-o-matic-ng-20061213.tar를 압축해제 한

다음

다음과 같이 runme를 실행했습니다.

**************************************************

[root@localhost patch-o-matic-ng-20061213]# ./runme
Hey! KERNEL_DIR is not set.
Where is your kernel source directory? [/usr/src/linux] /temp/iptables-1.3.7
Hey! IPTABLES_DIR is not set.
Where is your iptables source code directory? [/usr/src/iptables] /temp/iptables
-1.3.7
Your linux version .. is unknown for patch-o-matic at ./runme line 286

**************************************************

KERNEL_DIR을 잘못선택한건지요?

아니면 IPTABLES_DIR을 잘못선택한건지요?

참고로

[root@localhost patch-o-matic-ng-20061213]# ./runme
Hey! KERNEL_DIR is not set.
Where is your kernel source directory? [/usr/src/linux]
/usr/src/linux doesn't seem to be a directory

runme를 실행 하면 뜨는 디폴트 커널 디렉토리인

/usr/src에는 아무파일도 존재하지 않습니다.

 

 

 

 

 

 

 

 

 




 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,016 명
  • 현재 강좌수 :  35,689 개
  • 현재 접속자 :  244 명