- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How much space required for logs in a secure syste...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 09:34 AM
09-02-2003 09:34 AM
How much space required for logs in a secure system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 09:40 AM
09-02-2003 09:40 AM
Re: How much space required for logs in a secure system?
Here are the important ones:
syslog
sulog (We copy that off once a week to /backups so it goes on tape, after that we null it out)
Copies of btmp bad login attempts and wtmp should be taken prior to nulling out the log.
I null out a log as follows via cron
> btmp
If you convert to trusted system, you will need to allocate at least another 500 MB to hold the audit logs. The default is to put it in the root fs, you'll want to change that so they go into a mounted filesystem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 11:58 AM
09-02-2003 11:58 AM
Re: How much space required for logs in a secure system?
Depend how many features you wanna use from
the audit it will be about 300-600MB
Also depend on the activity.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 06:45 PM
09-02-2003 06:45 PM
Re: How much space required for logs in a secure system?
However, these are logfiles that are known to hackers so they will likely be modified to eliminate records of intrusion. The first step to securing your system would be to download and run Bastille and then look at converting to a Trusted system and enabling authentication logging and more secure login restrictions. The Itrusion Detection System (IDS/9000) is also a useful tool to watch for potential problems. These logs will grow rapidly (multiple megs/day) so /var will likely have to be increased to 2-3 Gb. Additionally, you'll need cron jobs to archive and compress older log files. Weekly log trims would be the minimum, perhaps 2-3 times/week for really fast growing files.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 06:54 PM
09-02-2003 06:54 PM
Re: How much space required for logs in a secure system?
My speil...
Bastille Security hardening
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6849AA
Perl which the above needs.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL
Security Patch Check
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6834AA
TCP Wrappers
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=TCPWRAP
IDS/9000 (Intrusion Detection Sytstem)
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=J5083AA
Get all these products working you'll be quite secure.
Secure shell
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
Yes, I know my answer is beyond the scope of this thread. Still, must make it easy to be secure.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 07:12 PM
09-02-2003 07:12 PM
Re: How much space required for logs in a secure system?
You would need to periodically recycle your log files. You will need to write a script that does the job for you. Below is a small example on how you can accomplish it.
/sbin/init.d/syslogd stop
I=14
J=15
while [ $I -ge 1 ]
do
mv /var/adm/syslog/syslog.log.$I /var/adm/syslog/syslog.log.$J
J=$I
(( I = $I - 1 ))
done
mv syslog.log syslog.log.1
/sbin/init.d/syslogd start
This will keep 15 revisions of syslogs. So, if you set your cronjob once in 15 days, you will have around 7 months of data. You can do the same for sulog and mail.log files. You have do something like this because rebooting your system twice (during the patch installs etc.,) will wipe out old log files.
If you enabled auditing, then you may probably consider adding a filesystem to /.secure directory. There are options to set how big you want your audfiles to grow. Accounting will dump the files by default under /var.
A good practice is not about how large your logfile is but how well you monitor your systems. For ex., generating daily reports on successful and unsuccessful logins, root su attempts, getting paged on the bad attempts etc impress the auditors.
-Sri