LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2021, 08:38 AM   #1
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS7.6
Posts: 157

Rep: Reputation: 15
endlessh log file location


Hello,
I'm playing around with Rocky Linux running SSH on different port and using endlessh honey pot on 22. I have EPEL repository. I installed via DNF and even if I set the log level to any 0 - 2 and restart the service, I cannot find the log file. Anyone know where it is?
Thanks!
 
Old 08-31-2021, 09:07 AM   #2
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,599

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546

Quote:
Originally Posted by https://github.com/skeeto/endlessh
All log messages are sent to standard output by default. -s causes them to be sent to syslog.
?

 
Old 08-31-2021, 09:29 AM   #3
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS7.6
Posts: 157

Original Poster
Rep: Reputation: 15
I saw that but there is no /var/log/messages or /var/log/syslog.
I'll keep playing with it.

Last edited by chrisknight; 08-31-2021 at 09:34 AM.
 
Old 08-31-2021, 09:59 AM   #4
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS7.6
Posts: 157

Original Poster
Rep: Reputation: 15
https://docs.rockylinux.org/release_notes/8.4/
"dnf install @minimal-environment" fixed that.
Set log level to 1 and rebooted. Seeing logs in /var/log/messages like:
Quote:
Aug 31 11:30:41 localhost endlessh[898]: 2021-08-31T15:30:41.844Z ACCEPT host=::ffff:172.16.16.16 port=1041 fd=4 n=1/4096
Aug 31 11:33:01 localhost endlessh[898]: 2021-08-31T15:33:01.965Z CLOSE host=::ffff:172.16.16.16 port=1041 fd=4 time=140.121 bytes=185

Last edited by chrisknight; 08-31-2021 at 10:42 AM.
 
  


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
LXer: Endlessh – SSH tarpit LXer Syndicated Linux News 0 03-19-2021 08:42 PM
How to log internal-sftp chroot jailed users access log to /var/log/sftp.log file LittleMaster Linux - Server 0 09-04-2018 03:45 PM
LXer: Google I/O Android News: Location, Location, Location (Plus Cloud Messaging and Bluetooth) LXer Syndicated Linux News 0 06-05-2013 01:00 PM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
location, location, location! mermxx LQ Suggestions & Feedback 9 09-25-2004 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:49 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