Ports: Difference between revisions

From Hackepedia
Jump to navigationJump to search
m Reverted edits by NhzSg4 (Talk); changed back to last version by Hawson
NhzSg4 (talk | contribs)
mNo edit summary
Line 1: Line 1:
Ports are identifiers of protocols that work on the transport layer (layer 4) of the [[OSI]] model.  [[TCP]] and [[UDP]] are transport layer protocols that have ports.  In [[TCP]] and [[UDP]] a port is represented by a 16 bit unsigned integer.  Thus, the  possible port range is 0 through 65535.  Port 0 is illegal and no service resides on it.
[[http://news.engin.brown.edu/forums/thread-view.asp?tid=155 xanax online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=177 propecia online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=85 free ericsson ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609fb cheap ortho]] [[http://wc1.worldcrossing.com/WebX/.1de609ec buy hgh]] [[http://library.cshl.edu/wp/vb/member.php?u=1370 free tracfone ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609e3 clomid online]] [[http://wc1.worldcrossing.com/WebX/.1de60a29 buy tramadol]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2889 cheap vigrx]] [[http://wc1.worldcrossing.com/WebX/.1de60a18 motorola ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=121 free real ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=162 meridia online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2886 cheap ortho]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=213 free polyphonic ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=135 ultracet online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30335 nextel ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2881 cheap lisinopril]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=241 sony ericsson ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=128 free sony ericsson ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2916 alltel ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2897 free nokia ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a0f cheap cialis]] [[http://wc1.worldcrossing.com/WebX/.1de60a09 cheap viagra]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=207 free real ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a0e celexa online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=229 valium online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=354 nokia ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2866 cheap levitra]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=200 free nokia ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=200 nexium online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=214 free cingular ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2910 free polyphonic ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2891 diethylpropion online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2885 order tenuate]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=159 cialis online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30366 free jazz ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609fa online pharmacy]] [[http://wc1.worldcrossing.com/WebX/.1de60a22 but phentermine]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=208 free motorola ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1357 cheap levitra]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=195 free mono ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=199 zyban online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=363 free samsung ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2901 free mp3 ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30235 soma online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=136 ultram online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=72 cheap ambien]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2862 vicodin online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30258 cheap vicodin]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=182 free funny ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2890 zanaflex online]] [[http://wc1.worldcrossing.com/WebX/.1de609dc buy albuterol]] [[http://wc1.worldcrossing.com/WebX/.1de60a20 cheap nexium]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2875 propecia online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=165 but ambien]] [[http://wc1.worldcrossing.com/WebX/.1de609f8 free nokia ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=350 alprazolam online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=139 cheap viagra]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2874 cheap ultracet]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=91 cheap hoodia]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=175 cyclobenzaprine online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=201 free free ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=153 phentermine online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2848 soma online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30337 real ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=94 jazz ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a0a vicodin online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2896 zyban online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=178 ericsson ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a01 free sagem ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1346 diazepam online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=222 free sharp ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a1d free cingular ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30230 cheap adipex]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=138 verizon ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609fe free qwest ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609e4 cheap clonazepam]] [[http://wc1.worldcrossing.com/WebX/.1de60a31 zanaflex online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=106 mtv ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a1a free mtv ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a15 free kyocera ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=218 sony ericsson ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=132 tenuate online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2904 free real ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=137 cheap valium]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=168 paxil online]] [[http://library.cshl.edu/wp/vb/member.php?u=1367 cheap didrex]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30295 cheap sildenafil]] [[http://wc1.worldcrossing.com/WebX/.1de609f7 nextel ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609f3 midi ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1348 cheap ativan]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=337 xanax]] [[http://wc1.worldcrossing.com/WebX/.1de609e6 buy cyclobenzaprine]] [[http://library.cshl.edu/wp/vb/member.php?u=1360 order lorazepam]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=162 alltel ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=176 didrex online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=204 free mp3 ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2911 cingular ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a07 free tracfone ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30241 buy xanax]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=356 free tracfone ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=111 norco online]] [[http://wc1.worldcrossing.com/WebX/.1de60a13 order fioricet]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=191 lorazepam online]] [[http://library.cshl.edu/wp/vb/member.php?u=1369 free free ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2858 viagra online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=224 free wwe ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2852 xanax online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30307 cheap zoloft]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30331 free ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a27 but sildenafil]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=145 cheap xenical]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30339 free samsung ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30294 cheap prozac]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=176 ultracet online]] [[http://library.cshl.edu/wp/vb/member.php?u=1352 buy norco]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=189 but lipitor]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=362 free motorola ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=224 free sagem ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=101 buy meridia]] [[http://wc1.worldcrossing.com/WebX/.1de609ee but hydrocodone]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30244 cheap diazepam]] [[http://wc1.worldcrossing.com/WebX/.1de609e0 cheap ativan]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2861 norco online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2877 prozac online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=216 free sonyericsson ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=360 qwest ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=190 lisinopril online]] [[http://wc1.worldcrossing.com/WebX/.1de60a10 cheap didrex]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=228 ultram online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=76 online cialis]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30259 alprazolam online]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=359 nextel ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609e5 cool ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2888 cheap lortab]] [[http://library.cshl.edu/wp/vb/member.php?u=1373 free nextel ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=216 zyban online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=206 cheap pharmacy online]] [[http://library.cshl.edu/wp/vb/member.php?u=1344 cheap xanax]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=344 online ativan]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30345 free sprint ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30248 cheap ativan]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=131 free sprint ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2871 wellbutrin online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=146 zanaflex online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=154 buy carisoprodol]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30280 propecia online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=118 prozac online]] [[http://library.cshl.edu/wp/vb/member.php?u=1341 cheap valium]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=144 xanax online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2905 free motorola ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=112 but ortho]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=223 cheap wellbutrin]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=169 cheap levitra]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=156 fioricet]] [[http://library.cshl.edu/wp/vb/member.php?u=1377 samsung ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30312 ortho online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30356 free cool ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609f0 cheap lorazepam]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=187 celexa online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30230 cheap tramadol]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=211 free polyphonic ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=214 zanaflex online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=110 free nokia ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=189 cheap ortho]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=237 samsung ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=151 soma online]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=99 cheap lorazepam]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2912 sagem ringtones]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2907 free sprint ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a17 lipitor online]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30334 free mp3 ringtones]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=234 sprint ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=141 vigrx online]] [[http://wc1.worldcrossing.com/WebX/.1de60a23 polyphonic ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a1f lisinopril online]] [[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=197 free mp3 ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1349 cheap viagra]] [[http://library.cshl.edu/wp/vb/member.php?u=1382 cingular ringtones]] [[http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30310 cheap tenuate]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2922 free kyocera ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=206 qwest ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de609f9 order norco]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=351 buy clonazepam]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2878 sildenafil online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2902 nextel ringtones]] [[http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=357 free funny ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1347 cialis]] [[http://library.cshl.edu/wp/vb/member.php?u=1365 cheap ultracet]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=210 free sprint ringtones]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=158 diazepam online]] [[http://wc1.worldcrossing.com/WebX/.1de609ea free ringtones]] [[http://wc1.worldcrossing.com/WebX/.1de60a25 samsung ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=88 free ringtones]] [[http://library.cshl.edu/wp/vb/member.php?u=1358 hydrocodone online]] [[http://library.cshl.edu/wp/vb/member.php?u=1339 tramadol online]] [[http://students.hsc.unt.edu/housing/item.cfm?type=2868 ambien online]] [[http://news.engin.brown.edu/forums/thread-view.asp?tid=228 free mtv ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=104 motorola ringtones]] [[http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=89 funny ringtones]] Ports are identifiers of protocols that work on the transport layer (layer 4) of the [[OSI]] model.  [[TCP]] and [[UDP]] are transport layer protocols that have ports.  In [[TCP]] and [[UDP]] a port is represented by a 16 bit unsigned integer.  Thus, the  possible port range is 0 through 65535.  Port 0 is illegal and no service resides on it.


Say you want to know what is running on port 80 of your machine. The first hint would be to look in the file /etc/services as well as [http://www.iana.org/assignments/port-numbers IANAs list] to get an idea of what typically runs on that port.  
Say you want to know what is running on port 80 of your machine. The first hint would be to look in the file /etc/services as well as [http://www.iana.org/assignments/port-numbers IANAs list] to get an idea of what typically runs on that port.  

Revision as of 16:35, 14 July 2007

[xanax online] [propecia online] [free ericsson ringtones] [cheap ortho] [buy hgh] [free tracfone ringtones] [clomid online] [buy tramadol] [cheap vigrx] [motorola ringtones] [free real ringtones] [meridia online] [cheap ortho] [free polyphonic ringtones] [ultracet online] [nextel ringtones] [cheap lisinopril] [sony ericsson ringtones] [free sony ericsson ringtones] [alltel ringtones] [free nokia ringtones] [cheap cialis] [cheap viagra] [free real ringtones] [celexa online] [valium online] [nokia ringtones] [cheap levitra] [free nokia ringtones] [nexium online] [free cingular ringtones] [free polyphonic ringtones] [diethylpropion online] [order tenuate] [cialis online] [free jazz ringtones] [online pharmacy] [but phentermine] [free motorola ringtones] [cheap levitra] [free mono ringtones] [zyban online] [free samsung ringtones] [free mp3 ringtones] [soma online] [ultram online] [cheap ambien] [vicodin online] [cheap vicodin] [free funny ringtones] [zanaflex online] [buy albuterol] [cheap nexium] [propecia online] [but ambien] [free nokia ringtones] [alprazolam online] [cheap viagra] [cheap ultracet] [cheap hoodia] [cyclobenzaprine online] [free free ringtones] [phentermine online] [soma online] [real ringtones] [jazz ringtones] [vicodin online] [zyban online] [ericsson ringtones] [free sagem ringtones] [diazepam online] [free sharp ringtones] [free cingular ringtones] [cheap adipex] [verizon ringtones] [free qwest ringtones] [cheap clonazepam] [zanaflex online] [mtv ringtones] [free mtv ringtones] [free kyocera ringtones] [sony ericsson ringtones] [tenuate online] [free real ringtones] [cheap valium] [paxil online] [cheap didrex] [cheap sildenafil] [nextel ringtones] [midi ringtones] [cheap ativan] [xanax] [buy cyclobenzaprine] [order lorazepam] [alltel ringtones] [didrex online] [free mp3 ringtones] [cingular ringtones] [free tracfone ringtones] [buy xanax] [free tracfone ringtones] [norco online] [order fioricet] [lorazepam online] [free free ringtones] [viagra online] [free wwe ringtones] [xanax online] [cheap zoloft] [free ringtones] [but sildenafil] [cheap xenical] [free samsung ringtones] [cheap prozac] [ultracet online] [buy norco] [but lipitor] [free motorola ringtones] [free sagem ringtones] [buy meridia] [but hydrocodone] [cheap diazepam] [cheap ativan] [norco online] [prozac online] [free sonyericsson ringtones] [qwest ringtones] [lisinopril online] [cheap didrex] [ultram online] [online cialis] [alprazolam online] [nextel ringtones] [cool ringtones] [cheap lortab] [free nextel ringtones] [zyban online] [cheap pharmacy online] [cheap xanax] [online ativan] [free sprint ringtones] [cheap ativan] [free sprint ringtones] [wellbutrin online] [zanaflex online] [buy carisoprodol] [propecia online] [prozac online] [cheap valium] [xanax online] [free motorola ringtones] [but ortho] [cheap wellbutrin] [cheap levitra] [fioricet] [samsung ringtones] [ortho online] [free cool ringtones] [cheap lorazepam] [celexa online] [cheap tramadol] [free polyphonic ringtones] [zanaflex online] [free nokia ringtones] [cheap ortho] [samsung ringtones] [soma online] [cheap lorazepam] [sagem ringtones] [free sprint ringtones] [lipitor online] [free mp3 ringtones] [sprint ringtones] [vigrx online] [polyphonic ringtones] [lisinopril online] [free mp3 ringtones] [cheap viagra] [cingular ringtones] [cheap tenuate] [free kyocera ringtones] [qwest ringtones] [order norco] [buy clonazepam] [sildenafil online] [nextel ringtones] [free funny ringtones] [cialis] [cheap ultracet] [free sprint ringtones] [diazepam online] [free ringtones] [samsung ringtones] [free ringtones] [hydrocodone online] [tramadol online] [ambien online] [free mtv ringtones] [motorola ringtones] [funny ringtones] Ports are identifiers of protocols that work on the transport layer (layer 4) of the OSI model. TCP and UDP are transport layer protocols that have ports. In TCP and UDP a port is represented by a 16 bit unsigned integer. Thus, the possible port range is 0 through 65535. Port 0 is illegal and no service resides on it.

Say you want to know what is running on port 80 of your machine. The first hint would be to look in the file /etc/services as well as IANAs list to get an idea of what typically runs on that port.

http             80/tcp    www www-http #World Wide Web HTTP
http             80/udp    www www-http #World Wide Web HTTP

looks like it's the port typically used for the www. Now we can try netstat to actually see what is listening, not just what should be there.

# netstat -an | grep LISTEN
httpd     30161 root   17u  IPv4     5106       TCP *:http (LISTEN)

however I prefer the flexibility of lsof which I install on all of my machines.

# lsof -i:80
COMMAND   PID USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
httpd     447 root   17u  IPv4 0xc15f6534      0t0  TCP www.example.com:http (LISTEN)
httpd   73819  www   17u  IPv4 0xc15f6534      0t0  TCP www.example.com:http (LISTEN)

will show you exactly what is listening on this port, in this case "httpd". I will now look up the manual for httpd which tells me this is Apache on this particular server.

This will give you a unique alphabetical summary listing of the applications currently listening on a port on your system:

# lsof -i | awk '{print $1}' | sort -u

If you want to see ports on your machine are open to the general public, which is often how computers are broken into, you can try Yashy's self port scan. You don't want to see any ports open, or listening, unless you've intentionally started that process for the public to connect to.

For every open port you find, you must determine if that service actually needs to run. If so, check if it actually needs to be available remotely, instead of only on the local machine.

For example, if you're running mysql, you may see port 3306 listening. If mysql is on the same machine as your webserver, which is what you're using it for, you should configure mysqld to only listen on 127.0.0.1 (localhost), and not on your external IP address. You might see you have port 143 (imap) enabled which is only for machines on your 192.168.* network. If this is the case, configure your imapd to only listen on your 192.168.* interface, not the public facing one. The only ports you should see open to the public, are applications you intend for the public to access.

See the "Ending a process" part of the process page for help in ending an unwanted process.

Worse case scenario you have an application listening externally that you don't want the public to access (I can't think of a possible situation for this, but I write this just in case), make sure you have it blocked by your firewall


Solaris 10

# lsof -i

to see what you have running. All ports are now controlled out of:

# svcs

which will give you a long list of services running ("online") or not. You may want to pipe this output through less.

When I did "lsof -i" I saw that rpcbind was running which I don't want, so I found the svcs name by running:

# svcs | grep rpc
online          23:43:56   svc:/network/rpc/bind:default
uninitialized   23:43:44   svc:/network/rpc/gss:default

and several more uninitialized services. I only want to stop the online one:

# svcadm disable svc:/network/rpc/bind:default

and back to a prompt I go. I run "lsof -i" once more to confirm it's stopped, and it is. Both the svcs and svcadm Manual are worth reading if you're using them for the first time.

Linux (Red Hat and spawn)

 # chkconfig --list| grep on

will show a list of all services that are enabled, and at which runlevels. Workstations by default use of runlevel 5 (multiuser, with networking and X). Servers typically are found in runlevel 3 (multiuser, with networking), but sometimes 5 as well.

Disabling services is simple. For example, to shut down httpd:

 # service httpd off
 # chkconfig --level 345 httpd off

The first command shuts down the running webserver, while the second alters the boot configuration so it will not start automatically next time the system is rebooted.

FreeBSD

To see all listening sockets using TCP/IPv4:

$ sockstat -4l

To see all connected sockets using IPv4 or IPv6:

# sockstat -c