Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Steven M Campbell <Netfilter@SCampbell.net>
Cc: iptables <netfilter@lists.netfilter.org>
Subject: Re: HUP
Date: Wed, 16 Mar 2005 10:47:32 -0500	[thread overview]
Message-ID: <42385514.70600@SCampbell.net> (raw)
In-Reply-To: <42383F7C.2040300@eccotours.dyndns.org>

netstat --inet -p  will show you the attached process and you can kill 
that process.

scampbell@linux:~> netstat --inet -p -n
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         
State       PID/Program name
tcp        0      0 10.8.178.10:33819       22.33.44.123:22         
ESTABLISHED 8083/ssh
tcp        0      0 10.8.178.10:32795       64.12.165.101:5190      
ESTABLISHED 6984/gaim
tcp        0      0 10.8.178.10:33083       207.46.107.52:1863      
ESTABLISHED 6984/gaim

If I want to terminate that ssh connection I just  kill 8083

Brent Clark wrote:

> Hi
>
> I performed a netstat-nat on my fw.
>
> And there is a entry that I dont like.
>
> This is my employer working from home, probally left the remote 
> desktop session open.
>
> tcp   host81-153-16-165.range81-153.btcen:3191 
> resmanager.eccotours.local:3389          ESTABLISHED
>
> anyone know how I can just this kill this NATTED connection.
>
> Any advice would be most appreciated.
>
> Kind Regards
> Brent Clark
>
   


  parent reply	other threads:[~2005-03-16 15:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16 14:15 HUP Brent Clark
2005-03-16 14:52 ` HUP Sietse van Zanen
2005-03-17  7:08   ` HUP Brent Clark
2005-03-17 12:03     ` HUP Sietse van Zanen
2005-03-17 12:24       ` HUP Brent Clark
2005-03-16 15:47 ` Steven M Campbell [this message]
2005-03-16 21:30   ` HUP R. DuFresne
2005-03-16 21:18 ` HUP R. DuFresne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42385514.70600@SCampbell.net \
    --to=netfilter@scampbell.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox