Skip to contentSkip to conversation

protocol specification

DISCUSSION cc 2 participants 2 messages Sep 16, 2003 – Sep 17, 2003

lore
Share & tools
lore

cc

author
#0 lore raw

Hi,

Can someone clarify whether I've made a mistake or mis understood the tutorial? I'm using the latest iptables (1.2.8 I believe) on a Linux 2.4.22 machine.

In the tutorial, it says -p tcp,udp is permitted; but the manpage states nothing of the sort(but implies that it can't be done that way).

In the past, I've been using two lines for both tcp and udp settings. I just decided to re-read on the tutorial and noticed that I could use the tcp,udp (or udp,tcp) way. Saves space.

But it doesn't work. I googled and came up with an archived message stating that there is indeed an error, but that was two years ago.

If it is indeed true that I can't specify protocols like that, is there a patch that can allow me to do this?

Thanks for the clarification.

#1 lore raw

Bad mistake on my part actually, and for some strange reason, people tend to discover bugs "in group" (you're the 3rd person talking about this in less than a week;)). In other words, I have this fixed locally, will update when I get the rest of the material finished.

Quoted 19 lines · cc

Hi,

Can someone clarify whether I've made a mistake or mis understood the tutorial? I'm using the latest iptables (1.2.8 I believe) on a Linux 2.4.22 machine.

In the tutorial, it says -p tcp,udp is permitted; but the manpage states nothing of the sort(but implies that it can't be done that way).

In the past, I've been using two lines for both tcp and udp settings. I just decided to re-read on the tutorial and noticed that I could use the tcp,udp (or udp,tcp) way. Saves space.

But it doesn't work. I googled and came up with an archived message stating that there is indeed an error, but that was two years ago.

Quoted 10 lines

If it is indeed true that I can't specify protocols like that, is there a patch that can allow me to do this?

Thanks for the clarification.

----
Oskar Andreasson
http://www.frozentux.net
http://iptables-tutorial.frozentux.net
http://ipsysctl-tutorial.frozentux.net
mailto:[email protected]