LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-26-2003, 02:42 AM   #1
HGeneAnthony
Member
 
Registered: Mar 2003
Posts: 178

Rep: Reputation: 30
I was wondering why is letting ports open such a big deal?


I'm not into hacking so I really don't understand what could constitute a security risk or not. I'm always told P2P groups are security risks and you shouldn't leave ports open. The only thing I can think of why ports open would be an issue is if you downloaded some hidden server software that resides on your computer which can give potential hackers access to your computer. Are there other reasons? Also I'm working on a server-client program that needs the data to be encrypted. I have some encryption algorithms for it but I'd like to test if it works since all I see is the end result. I heard about programs that allow you to watch data transfers from one computer to another. Which do you think is the best one?
 
Old 06-26-2003, 04:44 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Opening ports on a computer is like adding more doors in a building. While you may have security features such a camaras, locks, guards, etc in place to monitor and control who enters the building, the extra doors are still possible points of entry for unauthorized people. In a secure environment, you want to remove as many undesired access points as possible. Even if your software does not contain "hidden server software" (as you put it), it may still be vulnerable to buffer overflows, poor configuration, or just plain faulty design.

As far as your encryption questions go, I hate to answer questions with questions, but are you using well known and tested algorithms such as Blowfish, Twofish, AES, etc? Or did you create your own algorithm?
 
Old 06-26-2003, 06:30 PM   #3
koningshoed
Member
 
Registered: May 2002
Location: South Africa
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
Well, in my opininion, there are two kinds of open ports. There are open ports, with software actively listening for new incomming connections, these are bad if your not actually in need of the service (smtp is a great example, if your only sending mail, why would you want smtp open?).

And then you get those ports that are open to the firewall, meaning if some arbitrary program bind's to the port and starts listening, it will be able to receive connections. These are bad because, as you say, you might be trojaned. Also, it makes portscanning easier.

My suggestion? Use iptables, or something similar, to DROP all packets you are not interrested in and only ACCEPT those that you do care about.

As for encryption on network connections, I have used OpenSSL and have found it a great tool, it works brilliantly, and is relatively easy to figure out.
 
Old 06-26-2003, 09:50 PM   #4
beltorak
LQ Newbie
 
Registered: Dec 2002
Distribution: slackware 8.1
Posts: 15

Rep: Reputation: 0
as for watching data transfers; I like ethereal, but the filtering rules needs a little work in the 'easy to use' department.

-t.
 
Old 06-27-2003, 02:46 AM   #5
HGeneAnthony
Member
 
Registered: Mar 2003
Posts: 178

Original Poster
Rep: Reputation: 30
Reply

I'm using Blowfish since I heard it was pretty secure. I will check out OpenSSL though. Thanx for the suggestion of ethereal I'll check that out as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
Big deal with GRUB please help! drcyber Linux - Newbie 20 11-08-2004 04:56 PM
accidently compiled qt without mt support- big deal? qanopus Linux - Software 1 01-24-2004 10:42 AM
Web Browsers, what's the big deal ? Robert0380 General 22 11-04-2003 08:38 AM
Wheel Mice - What's the big deal? ryanstrayer Linux - Software 13 02-01-2002 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration