* states and UDP
@ 2006-03-03 14:34 T. Horsnell
2006-03-03 14:44 ` Steven M Campbell
2006-03-06 1:43 ` Philip Craig
0 siblings, 2 replies; 3+ messages in thread
From: T. Horsnell @ 2006-03-03 14:34 UTC (permalink / raw)
To: netfilter
Am I right in thinking that the stateful capabilities
of iptables (NEW/ESTABLISHED/RELATED etc) only apply to
tcp connections? If not, how are these states defined for
udp?
iptables doesnt complain if I add a rule containing
'-p udp -m state --state NEW'
Thanks,
Terry.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: states and UDP
2006-03-03 14:34 states and UDP T. Horsnell
@ 2006-03-03 14:44 ` Steven M Campbell
2006-03-06 1:43 ` Philip Craig
1 sibling, 0 replies; 3+ messages in thread
From: Steven M Campbell @ 2006-03-03 14:44 UTC (permalink / raw)
To: netfilter
T. Horsnell wrote:
> Am I right in thinking that the stateful capabilities
> of iptables (NEW/ESTABLISHED/RELATED etc) only apply to
> tcp connections? If not, how are these states defined for
> udp?
>
> iptables doesnt complain if I add a rule containing
> '-p udp -m state --state NEW'
>
> Thanks,
> Terry.
>
>
any tracked connection can have state. For instance, one could write a
conneciton tracker for NFS over UDP mounts and use the state flag in
firewall rules. That's not a real example (to my knowledge), I'm just
showing that the capability is there.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: states and UDP
2006-03-03 14:34 states and UDP T. Horsnell
2006-03-03 14:44 ` Steven M Campbell
@ 2006-03-06 1:43 ` Philip Craig
1 sibling, 0 replies; 3+ messages in thread
From: Philip Craig @ 2006-03-06 1:43 UTC (permalink / raw)
To: T. Horsnell; +Cc: netfilter
On 03/04/2006 12:34 AM, T. Horsnell wrote:
> Am I right in thinking that the stateful capabilities
> of iptables (NEW/ESTABLISHED/RELATED etc) only apply to
> tcp connections? If not, how are these states defined for
> udp?
>
> iptables doesnt complain if I add a rule containing
> '-p udp -m state --state NEW'
Conntrack states are valid for all protocols.
They are different from TCP states.
The man page and tutorial describe what they mean:
http://iptables-tutorial.frozentux.net/iptables-tutorial.html#USERLANDSTATES
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-06 1:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 14:34 states and UDP T. Horsnell
2006-03-03 14:44 ` Steven M Campbell
2006-03-06 1:43 ` Philip Craig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.