[sendmail ] 버퍼오버플로우 패치에서 에러

littletirano의 이미지

리눅스 버전은 redhat6.2
sendmail 은 sendmail-8.11.1-1kr 이거든요

updates.redhat.com 가서 sendmail-8.11.6-1.62.3.i386.rpm 다운 받고

shell>rpm -Uvh sendmail-8.11.6-1.62.3.i386.rpm
error: failed dependencies:
rpmlib(PayloadFilesHavePrefix) <= 4.0-1 is needed by sendmail-8.11.6-1.62.3

<-이렇게 에러가 나더라구요

rpmlib 가 뭔지..이런 패키지는 없던데..

그래서 강제 설치 했거든요.
shell>rpm -Uvh --nodeps sendmail-8.11.6-1.62.3.i386.rpm

그리고 나서
데몬도 뜨고 센드메일 실행에는 문제가 없어 보이는데
패치가 되지 않았더라구요.

그리구 검증 옵션줘서 해보니까.
shell>rpm -V sendmail
Unsatisfied dependencies for sendmail-8.11.6-1.62.3: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
missing /etc/aliases
missing /etc/aliases.db
S.5....T c /etc/mail/Makefile
S.5....T c /etc/mail/access
.......T c /etc/mail/domaintable
.M.....T c /etc/mail/helpfile
S.5....T c /etc/mail/local-host-names
missing /etc/mail/mailertable
missing /etc/mail/mailertable.db
S.5....T c /etc/mail/sendmail.mc
missing /etc/mail/statistics
missing /etc/mail/trusted-users
S.5....T c /etc/mail/virtusertable
S.5....T c /etc/rc.d/init.d/sendmail
missing /etc/sendmail.cf
.M.....T c /etc/sysconfig/sendmail
SM5....T /usr/bin/makemap
missing /usr/bin/rmail
missing /usr/man/man1/mailq.1.gz
missing /usr/man/man1/newaliases.1.gz
missing /usr/man/man5/aliases.5.gz
missing /usr/man/man8/mailstats.8.gz
missing /usr/man/man8/makemap.8.gz
missing /usr/man/man8/praliases.8.gz
missing /usr/man/man8/rmail.8.gz
missing /usr/man/man8/sendmail.8.gz
missing /usr/man/man8/smrsh.8.gz
SM5....T /usr/sbin/mailstats
S.5....T /usr/sbin/makemap
SM5....T /usr/sbin/praliases
SM5...GT /usr/sbin/sendmail
S.5....T /usr/sbin/smrsh

위와 같이 파일이 없다고 나오거든요.
패치후에 위의 파일들이 없어진것이 아닌지..
위의 파일들을 생성해 줄려면
다시 설치를 해야하는데.
그럼 rpmlib 가 걸려서 안되고

그리고 또 한가지
shell>ps aux 하면
sendmail: accepting connections 외에
sendmail: server [218.232.106.150] cmd read 이런게 뜨는데..
아이피가 제 서버 아이피도 아니고 무엇인지 궁금해서요.

kall의 이미지

redhat 6.2 라면 rpm이 3.x 일테고...

아마도 지금 패치는 rpm 4.x 대에 맞춰져서 나온듯 합니다.

rpm을 업그레이드 하는것이 우선 필요할듯 한데...

rpm 3.x => rpm 4.x 라면...그냥 데이터 백업해서 새로 까심이 좋을듯 합니다 -_-;;

문서를 뒤져보면 업그레이드 하는 방법이 있긴 하지만 보통 삽질이 아니라서 ;;

----
자신을 이길 수 있는자는
무슨짓이든 할수있다..
즉..무서운 넘이란 말이지 ^-_-^
나? 아직 멀었지 ㅠㅠ

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.