| View previous topic :: View next topic |
| Author |
Message |
BoneKracker l33t


Joined: 14 Mar 2006 Posts: 776 Location: U.S.A.
|
Posted: Tue Feb 12, 2008 6:45 pm Post subject: Simple shorewall question [Solved] |
|
|
Using shorewall for the first time.
Looking at the macros, I notice that macro.Ping contains:
| Code: | ###############################################################################
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/
# PORT PORT(S) DEST LIMIT GROUP
PARAM - - icmp 8 |
But when I consult /etc/services and IANA's web site, port 8 is unassigned and ICMP Echo is assigned port 7. So why doesn't this say "7" where it says "8"?
I'm novice with respect to networking, so I am hoping someone will explain this to me.
Last edited by BoneKracker on Tue Feb 12, 2008 8:34 pm; edited 1 time in total |
|
| Back to top |
|
 |
Hopeless Veteran


Joined: 05 Aug 2004 Posts: 3041 Location: Ariel
|
|
| Back to top |
|
 |
BoneKracker l33t


Joined: 14 Mar 2006 Posts: 776 Location: U.S.A.
|
Posted: Tue Feb 12, 2008 8:33 pm Post subject: |
|
|
Yes, that's it. I just logged back in to delete my question, but you answered it already!
From SHOREWALL-RULES( 5 ):
| Quote: | DEST PORT(S) (Optional) -- {-|port-name-number-or-range[,port-name-number-or-range]...}
Destination Ports. A comma-separated list of Port names (from services(5)), port numbers or port ranges; if the protocol is icmp, this column is interpreted as the destination icmp-type(s). |
I do appreciate the help. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|