LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-20-2004, 01:23 AM   #1
fhameed
Member
 
Registered: Oct 2003
Location: Pakistan
Posts: 59

Rep: Reputation: 15
Closing a port in linux terminal..any command??


Hello Everybody

Here is the problem

I use netstat -a to check port status on my linux box.

My question

Is their any command by which i can close a port...simple n fast.

Or ipchains or iptables is the only option to do that.

Thanks

Fahad
 
Old 07-20-2004, 11:46 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
you can stop the process that has created the net socket
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Closing port 1723 "pptp service" in linux Darwish Linux - Security 7 11-12-2005 04:17 AM
closing ssh port einstien Linux - Security 32 06-29-2005 09:57 PM
How to make a PATH stay in the environmental variables after closing the terminal.... jmax24 Linux - General 4 04-18-2004 11:47 PM
closing port 68/udp? antik Linux - Security 1 09-26-2003 12:26 PM
Closing port 111 psyklops Linux - General 3 05-01-2002 12:53 AM

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

All times are GMT -5. The time now is 09:19 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