LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-02-2014, 06:19 AM   #1
vipinsqa
Member
 
Registered: Oct 2014
Posts: 40

Rep: Reputation: Disabled
Communication logs in linux.


Hello Guys,

I am looking to fetch all communication/connecting hosts information for my Linux box.
I have identified two ways of communication.. One is the ssh2 connections (logs in /var/log/secure*) and other is webserver access logs. I have extracted all connecting hosts information from these places.

Now, I want to know, is there any other way an external host can communicate with the linux box i.e. apart from ssh2 and webserver access connections? If yes, I would like to know the way and the corresponding log to extract that host information.

Please help with this if you can. I just need information on all hosts connecting to my linux box by any means.

Many Thanks.

Regards.
 
Old 11-02-2014, 09:13 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Any means? Does ARP count? email? serial? speaker? NTP? telnet? IPP?
 
Old 11-02-2014, 09:39 AM   #3
vipinsqa
Member
 
Registered: Oct 2014
Posts: 40

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for the revert. Yes, preferably any mode of connection esp true for telnet, ftp.
Just need to know where is the logging done for these connections.

Regards.
 
Old 11-13-2014, 08:18 AM   #4
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: SCO UNIX -> Fedora (Core) -> CentOS -> RedHat
Posts: 128

Rep: Reputation: 48
Hello,

I know this is a few days old but thought I would add some input.

As you know, typically log files are stored in
Quote:
/var/log
- some programs depending on their configuration will store log files either within a sub-folder of
Quote:
/var/log
or perhaps a different location altogether.

I run 2 separate Centos servers:

1. Apache Web Server -
Quote:
/var/log/httpd/access_log
,
Quote:
/var/log/httd/error_log
, Sendmail & Dovecot Mail Server -
Quote:
/var/log/maillog
2.PureFTP FTP Server -
Quote:
/var/log/pureftpd.log
Again as mentioned, the log entries depends on the type of connection - i.e. the type of service being run and the specific program concerned.

Regards,

Rawcous!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable Audit logs to send logs to syslog-ng (remote server) Iyyappan Linux - Server 5 01-07-2014 04:15 PM
logs are not generating inside sftp logs, while acitive directory users are loggin in deepak_message Linux - Server 6 03-24-2013 11:37 AM
Fault in KDE processes communication: Could not read network communication list Magnus Johansson MEPIS 0 03-30-2008 12:50 PM
Finding LDAP Server Logs / Application Logs in Linux arbignay Linux - Newbie 2 03-24-2008 09:54 AM
Apache logs - ???Linux logs??? mylo2003 Linux - General 3 08-07-2003 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration