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



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 !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-02-2006
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
Sponsored Links
  #2 (permalink)  
Old 11-02-2006
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
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,347
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 online now Forum Staff  
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,361
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 Off


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 07: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 03:25 PM
can client connect() when server in sleep(300); after listen(fd,5); chenhao_no1 Programming 3 07-18-2002 10:22 AM



All times are GMT -4. The time now is 04:32 AM.


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

Content Relevant URLs by vBSEO 3.2.0