Solved

kill connections to port 80

Posted on 2006-06-12
2
1,303 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

16 Experts available now in Live!

Get 1:1 Help Now