|
||||||||
|
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|
Hi,
I need to find a way to listen to a port in real-time on linux. Is there such a way/tool to do this? Thanks, -Seung schoi21c@gmail.com |
|
#2
|
|||
|
|||
|
On 17 Apr 2007 17:59:12 -0700, (E-Mail Removed)
<(E-Mail Removed)> wrote: > > > Hi, > > I need to find a way to listen to a port in real-time on linux. Is > there such a way/tool to do this? > nc -l -p port -- Be security conscious -- National defense is at stake. |
|
#3
|
|||
|
|||
|
That command fails when I try it with port #22, i.e. ssh port with
bind, since sshd is already bound to that port. Is there a way to get around this problem? Does 'nc' only work with unbound port? Thanks, -Seung On Apr 17, 10:59 pm, Bill Marcum <marcumb...@bellsouth.net> wrote: > On 17 Apr 2007 17:59:12 -0700, schoi...@gmail.com <schoi...@gmail.com> wrote: > > > Hi, > > > I need to find a way to listen to a port in real-time on linux. Is > > there such a way/tool to do this? > > nc -l -p port > > -- > Be security conscious -- National defense is at stake. |
|
#4
|
|||
|
|||
|
(E-Mail Removed) wrote:
> That command fails when I try it with port #22, i.e. ssh port with > bind, since sshd is already bound to that port. Is there a way to get > around this problem? Does 'nc' only work with unbound port? > > Oh - I presume you want to snoop packets then? In which case, use tcpdump or etherreal. eg: tcpdump -v -s65535 -X -i eth0 port 22 "man tcpdump" displays the full potential, which is vast. Cheers Tim |
![]() |
| Tags |
| listening, port, realtime, specific |
| Thread Tools | |
| Display Modes | |
|
|