The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Let NTP listen only on one interface one71 UNIX for Advanced & Expert Users 0 04-01-2008 06:53 AM
Ports zsujith HP-UX 1 12-31-2007 04:45 PM
Ports walsh_j UNIX for Dummies Questions & Answers 4 07-18-2007 02:25 PM
can client connect() when server in sleep(300); after listen(fd,5); chenhao_no1 High Level Programming 3 07-18-2002 09:22 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-02-2006
tonlu tonlu is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 16
Question listen to ports...

Hi all,

How can I log all requests on ports for programs like ftp, telnet, rsh, xdmcp etc...

I want to see if anyone uses these programs/protocols and how often.
Is it difficult to setup a log for these ports and listen on all requests?

/combat
  #2 (permalink)  
Old 11-02-2006
By_Jam By_Jam is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 23
Ports

Hi,

You can use teh command :

Netstat -a , to see the ports status.
  #3 (permalink)  
Old 11-02-2006
tonlu tonlu is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 16
Ok..., but how can I log all requstes to a file from this?
I want to see everytime someone login to my machine and uses the telnet, ftp, or rsh commands.
Is it possible to do some edit in /etc/inet/inetd.conf file?

/combat
  #4 (permalink)  
Old 11-02-2006
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
Most of those logs may be found in /var/log. You may also want to enable the "all.log" from /etc/syslog.conf - there are instructions within the file.
  #5 (permalink)  
Old 11-02-2006
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,190
It won't give you information for everything, but tcp wrappers may be of some use to you.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0