Solved

port blocking

Posted on 2001-06-19
5
303 Views
Last Modified: 2010-03-18
How to block a particular (software) port and how to see what ports are blocked?  I am using Redhat 6.2 Linux.
0
Comment
Question by:narayanamoorthy
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 6210365
ipchains comes readily to mind if you want to selectively block access to a given port. If you don't use the port and don't want anyone else to you can simply prevent the port from being accessed by disabling server for the port and/or preventing it from being started by inetd (check inetd.conf).
0
 
LVL 5

Expert Comment

by:harwantgrewal
ID: 6211487
You can see various services using the command ps -A and see that certain demeons are running the good way to block or stop that service use the inetd.conf file mostly places in /etc/inetd.conf and put a # in front on the line which you dont whant to use.


Harry
0
 

Expert Comment

by:jonnyblaze
ID: 6211805
'ps -aux' will give you a more detailed ideal of what is actually running on your system
0
 
LVL 1

Accepted Solution

by:
fauzdar earned 10 total points
ID: 6213792
the best way to know what ports are blocked is to see what ports are open. for checking the open ports on you machine use nmap. its a easy utility to use. it tells you what all ports are open.
0
 
LVL 1

Expert Comment

by:vreddypatil
ID: 6232307
Linux# ipchains -L -n

use linuxconf's firewall to block ports.

--Vijayapal
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now