Bug 745374 - Incorrect statement in iptables manpage (--syn)
Summary: Incorrect statement in iptables manpage (--syn)
Keywords:
Status: CLOSED DUPLICATE of bug 674219
Alias: None
Product: Fedora
Classification: Fedora
Component: man-pages-ja
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 669002
Blocks: 674219
TreeView+ depends on / blocked
 
Reported: 2011-10-12 07:21 UTC by Akira TAGOH
Modified: 2011-10-24 07:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 669002
Environment:
Last Closed: 2011-10-24 07:49:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Akira TAGOH 2011-10-12 07:21:31 UTC
+++ This bug was initially created as a clone of Bug #669002 +++

Japanese translation of iptables manpage for --syn option is incorrect.

The following English description looks correct.

       [!] --syn
              Only  match TCP packets with the SYN bit set and the ACK,RST and
              FIN bits cleared.  Such packets are used to request TCP  connec-
              tion initiation; for example, blocking such packets coming in an
              interface will prevent incoming TCP  connections,  but  outgoing
              TCP  connections will be unaffected.  It is equivalent to --tcp-
              flags  SYN,RST,ACK,FIN  SYN.   If  the  "!"  flag  precedes  the
              "--syn", the sense of the option is inverted.

But Japanese page says a different thing and it looks incorrect. I write down the comment in Japanese (as it'll be reviewed by Japanese translator, right?)

現在の内容
              SYN  ビットが設定され ACK と RST ビットがクリアされている TCP パ
              ケットにのみマッチする。このようなパケットは TCP 接続の開始要 求
              に使われる。例えば、あるインターフェースに入ってくるこのようなパ
              ケットをブロックすれば、内側への TCP 接続は禁止されるが、外側 へ
              の TCP 接続には影響しない。これは --tcp-flags SYN,RST,ACK SYN と
              等しい。 "--syn" の前に "!" フラグを置くと、 SYN ビットがクリ ア
              さ れ ACK と RST ビットが設定されている TCP パケットにのみマッチ
              する。

修正案
              SYN  ビットが設定され ACK、RST、および、FIN ビットがクリアされている TCP パ
              ケットにマッチする。このようなパケットは TCP 接続の開始要求
              に使われる。例えば、あるインターフェースに入ってくるこのようなパ
              ケットをブロックすれば、内側への TCP 接続は禁止されるが、外側 へ
              の TCP 接続には影響しない。これは --tcp-flags SYN,RST,ACK,FIN SYN と
              等しい。 "--syn" の前に "!" フラグを置くと、この条件を満たさないパケットにマッチする。


※!フラグの解釈の違いにも注意下さい。

Comment 1 Akira TAGOH 2011-10-24 07:49:53 UTC

*** This bug has been marked as a duplicate of bug 674219 ***


Note You need to log in before you can comment on or make changes to this bug.