Ports

Ports

Post by Brian Pon » Thu, 06 Jan 2000 04:00:00



Hello,
Anyone know how to find out which program is listening on a certain
port? We have a listening tcp port and we dont know what would be
listening on it. We have checked in /etc/services, used lsof, looked
at processes (ps), and connected to the port via telnet. No clues were
giving on any of the ways we tried.

Thanks
Brian Pontz

P.S. The OS is FreeBSD 2.2.8 and the port is 960

 
 
 

Ports

Post by Rob Tolma » Thu, 06 Jan 2000 04:00:00


try this site for some insite
http://hackerwhacker.com/asknetstat.dyn

you cut and paste your netstat -rn in there and it will give you a little
more meaning.

Rob


Quote:> Hello,
> Anyone know how to find out which program is listening on a certain
> port? We have a listening tcp port and we dont know what would be
> listening on it. We have checked in /etc/services, used lsof, looked
> at processes (ps), and connected to the port via telnet. No clues were
> giving on any of the ways we tried.

> Thanks
> Brian Pontz

> P.S. The OS is FreeBSD 2.2.8 and the port is 960


 
 
 

Ports

Post by Bill Mora » Thu, 06 Jan 2000 04:00:00



> Hello,
> Anyone know how to find out which program is listening on a certain
> port? We have a listening tcp port and we dont know what would be
> listening on it. We have checked in /etc/services, used lsof, looked
> at processes (ps), and connected to the port via telnet. No clues were
> giving on any of the ways we tried.

> Thanks
> Brian Pontz

> P.S. The OS is FreeBSD 2.2.8 and the port is 960

Why not try telnetting to it? A lot of daemon/servers will give you info
on who they are when you start a telnet session.

telnet localhost 960

--
Microsoft: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?

 
 
 

Ports

Post by Stephen Wait » Thu, 06 Jan 2000 04:00:00



> listening on it. We have checked in /etc/services, used lsof, looked

That you cannot find it using lsof simply does not compute.  Try using
lsof again.  If the port is open by any process in your system, lsof
will list it.

If it doesn't, I'd make sure lsof and my kernel hadn't been altered.

--Steve

 
 
 

1. Problem adding tty port using 128 Port Async Adapter with 16 port Async Node

This system is  43P-140 AIX 4.2.1.x  with PCI 128 port Async. with 2 16 port
RAN EIA-232

I am tring to add tty ports to my ran system.  When I go to to smit

1)smitty tty
2)Add a TTY
3)tty rs232 Asynchronous Terminal
4)sa3 Available 04-05-22 16-Port RAN EIA-232 for 128-Port Adapter

I then get this error message
1800-109 There are currently no additional
SMIT screen entries available fo this
item  This item may require installation of
additional software before it can be accessed.

I have these files loaded

  devices.pci.4f111b00.asw   4.2.1.0  COMMITTED  PCI 128-Port Asynchronous
  devices.pci.4f111b00.diag  4.2.1.2  COMMITTED  RISC PC PCI Async 128 Port
  devices.pci.4f111b00.rte   4.2.1.2  COMMITTED  PCI 128-Port Asynchronous
  devices.pci.4f111b00.rte   4.2.1.0  COMMITTED  PCI 128-Port Asynchronous
  devices.common.IBM.cx.rte 4.2.1.2 COMMITTED CX Common Adapter Software

 I noticed devices.pci.4f111b00.rte   4.2.1.0 is defferent version I 4.2.1.2
from
 ibm web site but failed know how to get it to load twice (newbie).

I also notice I have devices.pci.4f111100.com 4.2.1.2 COMMITTED PCI 8-Port
Asynchronous Adapter
Can not uloaded this smit deinstall reports dependents for these

devices.pci.4f111b00.rte   4.2.1.0  COMMITTED  PCI 128-Port Asynchronous
devices.pci.4f111b00.diag  4.2.1.2  COMMITTED  RISC PC PCI Async 128 Port

This may be were the problem is.

Thanks for any help,
Lance Adams

2. Hacking kernel

3. port forward port 80 to port 8080

4. 16bpp with Mach32 driver

5. HELP Port Forwarding on Linux: Dest Port Known, Source Port High (1024-65535)

6. Sound Woes: 1696DLUA MB, Yamaha OPL3-SA3 integ audio, FreeBSD 3.0-RELEASE

7. port port port ?

8. Crontab environment

9. Where and how to install non-ported software (non-ported extensions to ports, actually)?

10. Two ports, one Apache server per port

11. printer port not showing - adding new port

12. How to map a tty port to another tty port

13. apache listen to port 80, another standalone apache+modssl listen port 443, not working..?!