Bug 151996 - [patch] new tcpdrop(8) option to select interactively connections to drop
Summary: [patch] new tcpdrop(8) option to select interactively connections to drop
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-11-06 21:50 UTC by Nikos Vassiliadis
Modified: 2022-10-17 12:40 UTC (History)
2 users (show)

See Also:


Attachments
file.diff (2.79 KB, patch)
2010-11-06 21:50 UTC, Nikos Vassiliadis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Vassiliadis 2010-11-06 21:50:07 UTC
A flag(-i) to ask for confirmation before dropping a connection. It meant to be used mainly in conjunction with -a.

Example:
lab# tcpdrop -ia
drop 192.168.73.195 16456 195.167.100.39 80?
drop 192.168.73.195 37746 195.167.100.39 80? y
192.168.73.195 37746 195.167.100.39 80: dropped
drop 192.168.73.195 41749 195.167.100.39 80? yes
192.168.73.195 41749 195.167.100.39 80: dropped
drop 192.168.73.60 22 192.168.73.192 60763?
drop 192.168.73.60 22 192.168.73.192 60585?
lab#

Fix: Patch attached with submission follows:
How-To-Repeat: n/a
Comment 1 Hiren Panchasara freebsd_committer freebsd_triage 2016-12-23 07:49:23 UTC
Thanks for the submission.

I have no opinion on the added functionality. If people find this useful, we can get this committed.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:48:56 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:40:39 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>