1 |
On Tuesday 24 February 2009, 18:21, Florian Philipp wrote: |
2 |
> Nikos Chantziaras schrieb: |
3 |
> > Grant wrote: |
4 |
> >> How can I find out whether I should be specifying TCP, UDP, or both |
5 |
> >> for iptables (shorewall) config? |
6 |
> > |
7 |
> > By knowing the application's protocol for which you write the rules |
8 |
> > for :P [...] So you have to research a bit to see if the |
9 |
> > application uses TCP or UDP. |
10 |
> |
11 |
> You can also have a look at /etc/services which lists the more |
12 |
> common protocols and their ports. |
13 |
|
14 |
Or even sniff the traffic and see which protocols are used. |