I need to see open connections this moment - With Iptables i can only see logs
On Tue, 9 Dec 2008, Carlos Carrero Gutierrez wrote:
> Hi, i use Iptables and i would like to find a tool or software in order
> to see my open connections. In doesn't care if it's a gui or not, and it
> can be not interactive (of course).
>
> Wireshark capture paquets but i can't be constantly searching if a
> paquet is correct or not.
>
> Somebody could help me?
>
> Thank you very much, and sorry (i am doing crossposting).
>
>
>
lsof will do what you want, for example to see all open connections
on port 80:
lsof -i:80 -n
hth,
Jeff
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-09-2008, 08:36 PM
"Dotan Cohen"
I need to see open connections this moment - With Iptables i can only see logs
2008/12/9 Carlos Carrero Gutierrez <mgdpz1@gmail.com>:
> Hi, i use Iptables and i would like to find a tool or software in order
> to see my open connections. In doesn't care if it's a gui or not, and it
> can be not interactive (of course).
>
> Wireshark capture paquets but i can't be constantly searching if a
> paquet is correct or not.
>
> Somebody could help me?
>
> Thank you very much, and sorry (i am doing crossposting).
>
I think that you forgot to cross post to the Suse and Gentoo lists.
I need to see open connections this moment - With Iptables i can only see logs
2008/12/9 Carlos Carrero Gutierrez <mgdpz1@gmail.com>:
> Hi, i use Iptables and i would like to find a tool or software in order
> to see my open connections. In doesn't care if it's a gui or not, and it
> can be not interactive (of course).
>
> Wireshark capture paquets but i can't be constantly searching if a
> paquet is correct or not.
>
> Somebody could help me?
>
> Thank you very much, and sorry (i am doing crossposting).
>
Here is a great Wireshark tutorial:
http://www.chrissanders.org/?p=47
I need to see open connections this moment - With Iptables i can only see logs
Bruno Wolff III wrote:
> On Tue, Dec 09, 2008 at 21:21:54 +0100,
> Carlos Carrero Gutierrez <mgdpz1@gmail.com> wrote:
>> Hi, i use Iptables and i would like to find a tool or software in order
>> to see my open connections. In doesn't care if it's a gui or not, and it
>> can be not interactive (of course).
>>
>> Wireshark capture paquets but i can't be constantly searching if a
>> paquet is correct or not.
>>
>> Somebody could help me?
>
> Look at lsof if you are interested in what programs or users correspond to
> thos connections.
> If you are more interested in flows iptables uses state (at least if you
> are using --cstate) and there should be a way to dump that information.
> This will tell you about connectionless protocols that were recently
> used in addition to connections.
When we're using netstat anyway, I'd suggest netstat -p for that.
Sjors
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-09-2008, 08:48 PM
"Christopher K. Johnson"
I need to see open connections this moment - With Iptables i can only see logs
Use iptstate to see current iptables connection table entries.
yum install iptstate # if not already installed.
Chris
--
"A society grows great when old men plant trees whose shade they know
they shall never sit in" - Greek Proverb
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
12-09-2008, 08:50 PM
"Boyd Stephen Smith Jr."
I need to see open connections this moment - With Iptables i can only see logs
On Tuesday 2008 December 09 14:21:54 Carlos Carrero Gutierrez wrote:
>Hi, i use Iptables and i would like to find a tool or software in order
>to see my open connections. In doesn't care if it's a gui or not, and it
>can be not interactive (of course).
Besides netstat, which was already mentioned, I've also seen iptraf used a
bit.
--
Boyd Stephen Smith Jr. * * * * * * * * * * ,= ,-_-. =.
bss03@volumehost.net * * * * * * * * * * *((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy * * * * * `-'(. .)`-'
http://iguanasuicide.org/ * * * * * * * * * * *\_/ * *