FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 12-09-2008, 07:34 PM
"JDaniel Jimenez"
 
Default I need to see open connections this moment - With Iptables i can only see logs

What about "netstat -nputa | grep ESTABLISHED"?. If I have understood correctly, that is what you need.

rgr

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).





--

To UNSUBSCRIBE, email to debian-security-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





--~--~---------~--~----~------------~-------~--~----~

You received this message because you are subscribed to the Google Groups "Lista de correos IT-Deusto" group.

To post to this group, send email to itdeustosoc@googlegroups.com

To unsubscribe from this group, send email to itdeustosoc+unsubscribe@googlegroups.com

For more options, visit this group at http://groups.google.com/group/itdeustosoc?hl=en

-~----------~----~----~----~------~----~------~--~---





--
JDaniel Jimenez Paniagua
 
Old 12-09-2008, 07:37 PM
Jeff D
 
Default 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
 
Old 12-09-2008, 08:36 PM
"Dotan Cohen"
 
Default 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.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-*-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه*-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-*-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-*-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
 
Old 12-09-2008, 08:37 PM
"Dotan Cohen"
 
Default 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

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-*-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه*-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-*-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-*-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
 
Old 12-09-2008, 08:41 PM
Sjors Gielen
 
Default 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
 
Old 12-09-2008, 08:48 PM
"Christopher K. Johnson"
 
Default 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
 
Old 12-09-2008, 08:50 PM
"Boyd Stephen Smith Jr."
 
Default 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/ * * * * * * * * * * *\_/ * *
 

Thread Tools




All times are GMT. The time now is 03:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org