Connection Logging in Solaris 10 & 11 - Beginner


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Connection Logging in Solaris 10 & 11 - Beginner

Excuse my ignorance as I am very new to working with Solaris.

I'm looking for documentation on how to create a network log in Solaris 10 & 11. I don't wish to edit any of the logs currently the system. I simply want a log that will capture all incoming IP addresses and log them with a time-in and time-out. I would write a script to extract that information from an existing log but I can find no logs on the system with the information I require.

I have found plenty of documents explaining logging for Solaris systems but none I can understand at my level of experience.
# 2  
Welcome to the forum. You are in the right place.

Do you have experience of other Unix/Linux systems and are just learning Solaris?
I'm trying to judge the level of help you need.

Solaris comes with standard 'logging' much the same as other OS's but what you asking for in Solaris speak is 'auditing'. You are probably not finding it because you are not searching for that.

Oracle Solaris Audit Quick Start

Tell us what else you need.
These 2 Users Gave Thanks to hicksd8 For This Post:
# 3  
You might consider netstat and some wrapping code.... if you do not want to dive down too deep. Smilie
# 4  
reply

Quote:
Originally Posted by hicksd8
Welcome to the forum. You are in the right place.

Do you have experience of other Unix/Linux systems and are just learning Solaris?
I'm trying to judge the level of help you need.

Solaris comes with standard 'logging' much the same as other OS's but what you asking for in Solaris speak is 'auditing'. You are probably not finding it because you are not searching for that.

Tell us what else you need.

Thank you, it definitely helps to search for the correct terms! So from looking online some, it seems I will need to edit a configuration file to create a new audit. Im having some trouble understanding exactly what everything means just from oracle docs. Now looking for a write-up of how to add another audit. Ideally this audit would create a log that would contain the IP address connecting (incoming only), the time-in, and the time-out. From my understanding this information would be stored in binary. I can convert that to a readable format but hoping there is a way to configure the log to be in readable text (like a tab delimited array).
# 5  
You switch audit policies on/off with auditconfig.

Ref Solaris 10: https://docs.oracle.com/cd/E19253-01...-18/index.html

Which version of Solaris are you (mainly) using??

Here's the tcpip logging availability Solaris 11:
Logging IP Addresses of All Incoming TCP Connections -
Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle(R) Solaris 11.2

Last edited by hicksd8; 08-09-2019 at 02:10 PM..
This User Gave Thanks to hicksd8 For This Post:
# 6  
currently the main OS is Solaris 10 but will be working exclusively in Solaris 11 come 2021.


edit:
My sysadmin is telling me all TCP would probably more than I would want. Mainly I want to log all Telnet and SSH connections. Possibly also all FTP connections.

Last edited by FamousAv8er; 08-09-2019 at 02:31 PM..
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Solaris

Sol10 + OpenLDAP = excessive logging & full file system??!!

Hello all, new to this forum (member of many others). Hopefully I can find help here. SERVER: Brand new server Oracle Enterprise SPARC T4-1 Loaded Solaris SPARC 10 u10, patched to 147440-27 Loaded OpenLDAP v2.4.30 Loaded Berkley DB 4.7.25.NC Loaded OpenSSL 1.0.1c Note: All packages are... (2 Replies)
Discussion started by: Wraith_G2IC
2 Replies

2. Shell Programming and Scripting

[Beginner's questions] Filename Validation & Parsing

Hi !! I'm rather new both to the UNIX and scripting worlds, and I'm learning the ropes of scripting. Having said this, please excuse me if you notice certain basic errors. I'm working on a script that implements .jar and .war files for a WAS environment and I need to perform certain... (4 Replies)
Discussion started by: levaldez
4 Replies

3. Solaris

Solaris 10 Not Logging Anything

Hello, It would appear that my server is no longer logging anything. Last time anything was written to /var/adm/messages and /var/log/syslog was Aug 26 2010. I was told there was a storm and the power went out or something around that time, but there were never any problems. I've tried... (11 Replies)
Discussion started by: gadonj18
11 Replies

4. Shell Programming and Scripting

Beginner: Count & Sort Using Array's

Hi, I'm new to linux & bash so please forgive my ignorance, just wondering if anyone can help. I have a file (mainfile.txt) with comma deliminated values, like so: $1 $2 $3 613212, 36, 57 613212, 36, 10 613212, 36, 10 677774, 36, 57 619900, 10, 10 i need to split this file... (12 Replies)
Discussion started by: BigTOE
12 Replies

5. UNIX for Advanced & Expert Users

Disable connection logging for a specfic service (/var/log/secure)

Hello, is there a way to disable connection logging for a specific service? Or eventually to disable /var/log/secure in general? (2 Replies)
Discussion started by: TehOne
2 Replies

6. Linux

Disable connection logging for a specfic service (/var/log/secure)

Hello, is there a way to disable connection logging for a specific service? Or eventually to disable /var/log/secure in general? Closed. Double post (0 Replies)
Discussion started by: TehOne
0 Replies

7. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

8. Solaris

RBAC & Logging

I'm trying to set up RBAC, and I need to know where the logs for RBAC are. I'm using Solaris 10 as my OS. I've been reading a lot of documents online and just can't seem to find where the related logs are. My problem is I need to be able to track a user when they su to a role profile, and... (2 Replies)
Discussion started by: bitlord
2 Replies

9. Solaris

Beginner in NYC Needs F2F Solaris Install on Intel64

As a beginner, I am having an impossible time trying to correctly install Solaris 10 on Intel64. Might there be someone in NYC with whom i can F2F install? (1 Reply)
Discussion started by: nweissma
1 Replies

10. UNIX for Dummies Questions & Answers

Solaris & XP connection

Hi, Ok so I'm a new to Solaris (& networking) too, I have an ultra 5 and a network card weith a cross over cable going into my network card on my xp machine that has fatband going into it. I want to utlimately get the two machines talking, I have the IP address of the XP machine but am not... (1 Reply)
Discussion started by: AlanB
1 Replies

Featured Tech Videos