![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Security and Firewalls Protecting you against unwanted people and programs |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2009
Posts: 2
OS: Windows XP SP3|Kubuntu 8.04
|
Constantly listening on a port - Security issue?
Hello everyone,
I am a hobbyist coder and am writing an app for basic communications over the web. It consists of a program that listens on a port for a info and a program to send a very particular string. Now the program that listens only reacts when it receives this certain string but it is constantly listening on a certain TCP port. I know virtually nothing about networking. How big of a security threat is this? As it is just for a learning experience I can provide the source if requested. Thanks – John-Paul |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
Join Date: Apr 2008
Posts: 62
OS: Win XP Home SP2
|
Re: Constantly listening on a port - Security issue?
It can be huge. But that's why people use firewalls, to close those ports. Listening ports just wait to receive a signal to "go." Windows has open ports all the time though... just go to command prompt and type netstat -a to see.
|
|
|
|
|
|
#3 (permalink) |
|
Manager, Networking Forums
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 41,131
OS: Windows 7, XP-Pro, Vista, Linux
Blog Entries: 1
|
Re: Constantly listening on a port - Security issue?
Truthfully, if your program doesn't have things like buffer overflow vulnerabilities, it's not that big a threat. After all, that's how any server application runs, right?
__________________
If TSF has helped you, Tell us about it! or Donate to help keep the site up! Microsoft MVP - Windows Desktop Experience |
|
|
|
|
|
#4 (permalink) | ||
|
Registered User
Join Date: Apr 2009
Posts: 2
OS: Windows XP SP3|Kubuntu 8.04
|
Re: Constantly listening on a port - Security issue?
Quote:
Quote:
I know that C++ is notorious for buffer overflow. I do not know C++. what do you think? |
||
|
|
|
|
|
#5 (permalink) |
|
Manager, Networking Forums
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 41,131
OS: Windows 7, XP-Pro, Vista, Linux
Blog Entries: 1
|
Re: Constantly listening on a port - Security issue?
It's what is called an "attack surface". The more ports you open, the larger the attack surface, and the easier it is for an attacker to find a bug that allows him in the door. The trick is to minimize the attack surface as much as possible. Obviously, if you want the server functionality, you can't eliminate it totally.
__________________
If TSF has helped you, Tell us about it! or Donate to help keep the site up! Microsoft MVP - Windows Desktop Experience |
|
|
|
![]() |
| Thread Tools | |
|
|