iptable 설정시 MSN 파일 전송 문제

automan의 이미지

Fedora Core 3, Bridged Firewall 환경이고 MSN Messenger 7.0 환경입니다.

MSN Messenger 허용을 위해 iptable에 다음과 같이 추가되었습니다. 로그온이나 메시지 전송등은 문제가 없는데 파일 전송이 문제가 생깁니다. 파일 전송이 6891~6900 사이의 포트를 랜덤하게 쓰고 있는것으로 아는데 제가 파악한 바로는 위의 포트로는 파일 전송을 하지 않더군요. 파일전송을 시작하려고 PtoP 연결시 2000~4000 번대 사이의 TCP 포트가 랜덤하게 생성되는것 같습니다. iptables를 걷어내면 원래의 2000~4000번대의 포트로 속도가 잘 나오나 iptables 설정하면 위의 포트가 막히므로 기존의 1863 포트를 통해 미국을 거쳐와 전송 속도가 엄청 느려 집니다.
그렇다고 2000~4000번 포트를 모두 열어줄 수도 없는 노릇이고요
이와 관련된 자료를 아무리 찾아봐도 6891~6900 포트가 전송 포트라고만 나오고 더이상의 부연 설명이 없습니다.
답변 주시면 감사하겠습니다. :D

IPTABLES -A FORWARD -p tcp -d xx.xx.xx.xx/24 --dport 1863:1864 -j ACCEPT
IPTABLES -A FORWARD -p tcp -d xx.xx.xx.xx/24 --dport 7801:7825 -j ACCEPT
IPTABLES -A FORWARD -p tcp -d xx.xx.xx.xx/24 --dport 6891:6901 -j ACCEPT

jinie4u의 이미지

reaim 또는 upnp 를 이용해보세요.

[reaim]
http://reaim.sf.net/

[linux upnp]
http://linux-igd.sf.net

오래전에 사용해보고 현재는 사용중이지 않아서 자세한 설명을 드리지 못해 죄송합니다.

automan의 이미지

알려주신 내용은 NAT에 관련된 내용입니다. 현재 구성은 공인 IP 대역에 Bridged Firewall을 중간에 삽입한 형태이고 Address Translation이 일어나지 않으므로 Message Proxing System이 필요하지 않을 것 같군요..

외부에서 Direct로 들어오는 Syn Packet만을 막은 형태이므로 내부에서 외부로의 통신은 문제가 없습니다. 즉, 내부에서 외부쪽으로 MSN 파일 전송은 문제 없이 되는데 외부쪽에서 내부로의 파일 전송이 문제가 발생됩니다.

일반적으로 알려진 6891~6900 포트 이외에 전송포트가 따로 있는 것인지 Messenger 7.0 에서 전송 메커니즘이 바뀐것인지 자료가 없어 파악하기 힘드네요 :cry:

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.