Skip to contentSkip to conversation

multiport needs `-p tcp', `-p udp' - Why?

DISCUSSION U. George 3 participants 3 messages Feb 27, 2010 – Feb 28, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

U. George

author
#1 lore raw

It makes no diff to either udp or tcp - port address are at the same header offset. It does makes a difference if you want to test both in the rule. I only want to test ports with this rule.

On 02/27/2010 03:46 PM, [email protected] wrote:
And as each rule is distinct the line with multiport does not know you
have already determined the protocol...
Ahhh, *But I know*. I designed the filter that way. If u want to *warn* me, then thats probably ok.

#2 lore raw

George ,

for -p option , we can specify icmp ( layer 3 protocol )
or other layer 4 protocol other than UDP and TCP .

I could be wrong . I am also a beginner .

Thanks,
Ratheesh.

Quoted 14 lines · U. George

It makes no diff to either udp or tcp - port address are at the same header offset. It does makes a difference if you want to test both in the rule. I only want to test ports with this rule.

On 02/27/2010 03:46 PM, [email protected] wrote:
 And as each rule is distinct the line with multiport does not know you have already determined the protocol...
Ahhh, *But I know*. I designed the filter that way. If u want to *warn* me, then thats probably ok.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 5 lines · On 28.02.2010 05:47, [email protected] wrote:

George ,

for -p option , we can specify icmp ( layer 3 protocol )
or other layer 4 protocol other than UDP and TCP .

Quoted 18 lines

I could be wrong . I am also a beginner .

Thanks,
Ratheesh.

Quoted 10 lines · U. George

It makes no diff to either udp or tcp - port address are at the same header offset. It does makes a difference if you want to test both in the rule. I only want to test ports with this rule.

On 02/27/2010 03:46 PM, [email protected] wrote:
And as each rule is distinct the line with multiport does not know you have
already determined the protocol...
Ahhh, *But I know*. I designed the filter that way. If u want to *warn* me, then thats probably ok.
--

Could you guys please stop top posting.