Solved

kill connections to port 80

Posted on 2006-06-12
2
1,307 Views
Last Modified: 2013-12-16
How do I kill all programs which have an open connection to port 80?

Or also is there a way to drop the network connections --- would that be better?
0
Comment
Question by:bryanlloydharris
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 250 total points
ID: 16892053
> How do I kill all programs which have an open connection to port 80?
find it's PID/name with 'netstat -tnp | grep ":80"' - kill it with 'kill PID' or 'kill -KILL PID'

> Or also is there a way to drop the network connections --- would that be better?
Single one - impossible.
Ok, it's possible, but requires to You to intercept such connection, then instead of regular packet You could send RST packet.
0
 
LVL 3

Author Comment

by:bryanlloydharris
ID: 16892983
Thansk!!!
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to clone solaris 10 machine 33 115
nagios remote hosts 9 46
Error Message during CentOS 7 Minimal Install 3 34
how to install java on RHEL image on EC2 4 13
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

863 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

20 Experts available now in Live!

Get 1:1 Help Now