Re: how to trace port openning

2009-04-04 Thread Alex Samad
On Sun, Apr 05, 2009 at 04:26:34AM +0800, Jerome BENOIT wrote: > Hello List, > > how can we trace the port effectively open/close by an executable ? might not be what you want but try strace > > thanks in advance, > Jerome > > > > -- Santa's elves are just a bunch of subordinate Clauses. sign

Re: how to trace port openning

2009-04-04 Thread Jerome BENOIT
Thanks for your reply. Chris Davies wrote: Jerome BENOIT wrote: how can we trace the port effectively open/close by an executable ? This isn't clear. What are you trying to achieve? If it's to see which ports a program has opened, exactly you could try strace {program}. I thought abo

Re: how to trace port openning

2009-04-04 Thread Daryl Styrk
I thought about it too, but I expected something more specialized. The next question is certainly how to grep it ? ngrep? Package: ngrep State: installed Automatically installed: no Version: 1.45.ds2-2 Priority: optional Section: net Maintainer: Romain Francoise Uncompressed Size: 57.3k Dep

Re: how to trace port openning

2009-04-04 Thread Chris Davies
Jerome BENOIT wrote: > how can we trace the port effectively open/close by an executable ? This isn't clear. What are you trying to achieve? If it's to see which ports a program has opened, you could try strace {program}. Otherwise (as root) netstat -nap. Chris -- To UNSUBSCRIBE, email to de

how to trace port openning

2009-04-04 Thread Jerome BENOIT
Hello List, how can we trace the port effectively open/close by an executable ? thanks in advance, Jerome -- Jerome BENOIT jgmbenoit_at_mailsnare_dot_net -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.