LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 07: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, 10:13 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,614

Rep: Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703
Any means? Does ARP count? email? serial? speaker? NTP? telnet? IPP?
 
Old 11-02-2014, 10: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, 09:18 AM   #4
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: Previously 2 * Fedora 18 Servers -> 2 * CentOS 6.7 + random distro testing
Posts: 96

Rep: Reputation: Disabled
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:15 PM
logs are not generating inside sftp logs, while acitive directory users are loggin in deepak_message Linux - Server 6 03-24-2013 12:37 PM
Fault in KDE processes communication: Could not read network communication list Magnus Johansson MEPIS 0 03-30-2008 01:50 PM
Finding LDAP Server Logs / Application Logs in Linux arbignay Linux - Newbie 2 03-24-2008 10:54 AM
Apache logs - ???Linux logs??? mylo2003 Linux - General 3 08-07-2003 05:49 PM


All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration