Sponsored Content
Operating Systems Linux Tripwire Nightware on Linux (proc filesystem) Post 302372728 by Neo on Wednesday 18th of November 2009 06:18:37 PM
Old 11-18-2009
Tripwire Nightware on Linux (proc filesystem)

Hello,

I am having a nightmare with Tripwire on Linux..... I cannot get it to ignore the /proc filesystem, which I want to completely ignore for now

Has anyone here successfully configured Tripwire on Linux and completed ignored the /proc filesystem ?

If so, please reply and tell me how you did it.

Thanks.

Sample junk I want to get rid of .... !! I get tons of these each time I run any update to the database, the config file, run a check, etc. I don't want them at all!

Code:
### Continuing...
### Warning: File system error.
### Filename: /proc/3487/task/4589/fdinfo/1879
### No such file or directory
### Continuing...
### Warning: File system error.
### Filename: /proc/3487/task/4592/fd/1631
### No such file or directory
### Continuing...
### Warning: File system error.
### Filename: /proc/3487/task/4592/fd/1647
### No such file or directory
### Continuing...
### Warning: File system error.
### Filename: /proc/3487/task/4592/fd/1830
### No such file or directory
### Continuing...
### Warning: File system error.
### Filename: /proc/3487/task/4592/fd/1855
### No such file or directory

The above is a small sample of the hundreds of /proc errors I get with tripwire.... !

---------- Post updated at 21:04 ---------- Previous update was at 20:10 ----------

Well, I solved it. Smilie

The problem was that I added a directory to the tripwire that had a very huge file in the path I forgot about. Rebuilding the tripwire policy database failed when it ran into that huge file but the end of the process said "Success!' so it was confusing.

When I removed that object from the tripwire configuration, I could rebuild the tripwire policy database and then the /proc configuration worked.

So, I am making progress on this project .

---------- Post updated at 23:18 ---------- Previous update was at 21:04 ----------

Project completed Smilie
 

9 More Discussions You Might Find Interesting

1. Linux

Linux filesystem

Hi all, Suppose i have a disk having three partitions (hda1,hda2,hda3) ,and are mounted all under /dev/ .. My question is where the / will be existing.which file system it wil be in? I am windows user new to linux/unix.Any help in learning internals would be appreciated . Thanks ,... (1 Reply)
Discussion started by: gkrishn
1 Replies

2. Programming

Changing fname in /proc filesystem

I wrote a wrapper (call it prog1) around another program (call it prog2) for security purposes. When prog1 launches prog2 it sets the argv value to be "prog1" so that "prog2" does not show up when you use the "ps" command. Howerver, if you use the option "-o fname" with "ps" then the file name for... (3 Replies)
Discussion started by: wilbur
3 Replies

3. Tips and Tutorials

Linux Filesystem Hierarchy

Hi, Please have a look this: http://tldp.org/LDP/Linux-Filesystem-Hierarchy/Linux-Filesystem-Hierarchy.pdf I think this can be very useful for a beginner/intermediate level user to understand the filesystem hierarchy and as well as it can be used as a reference to various linux commands and... (0 Replies)
Discussion started by: tayyabq8
0 Replies

4. UNIX for Dummies Questions & Answers

_/proc/stat vs /proc/uptime

Hi, I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies

5. Solaris

Solaris 10 /proc making filesystem full

Hi all, I have a solaris 10 box on which /proc is a part of / The problem is that my / partition is getting full mainly due to /proc getting a lot of files. My question is : Can I delete files/directories in /proc directory. If not what could be the other way round to clean up /proc so... (18 Replies)
Discussion started by: run_time_error
18 Replies

6. SuSE

filesystem from unix 32 to linux 64

Hi all. Im migrating from a Unix 32 bit to a linux suse 10 64 bit and would like to know whats the best way to migrate the filesystems? cpio? tar? ftp? Could I make a backup in tape in the unix 32 and restore it in the linux 64? thanx (1 Reply)
Discussion started by: mrodrig
1 Replies

7. Programming

Linux 11.2 to 10.2 Proc Compile error

I am trying to compile a proc++ program on linux using an 11.2 client and pointing to a 10.2 database running on Solaris. The compiler is able to connect to the database but the semantic checks fail as if it cannot see any objects in the database. I tried a test, only selecting 'X' into a... (0 Replies)
Discussion started by: rdudash
0 Replies

8. Filesystems, Disks and Memory

Compressed Filesystem for Linux

Hi Everybody: I'm searching a compressed Filesystem for a external disk, what I use for a full, diary and differential Backup. The performance is not important, I search the best option for compress data, but I want have access to structure disk, with directories and files in the Backup disk.... (6 Replies)
Discussion started by: bypper
6 Replies

9. UNIX for Beginners Questions & Answers

Linux Containers - /proc mounting and other queries

Hi guys, I am confused about how containers work in Linux, especially how chrooting works and about how /proc filesystems are mounted. So please feel to migrate this question to another forum if this is not the right one. Now, to business. Okay Dockers can be confusing to the uninitiated... (10 Replies)
Discussion started by: sreyan32
10 Replies
TWFILES(5)							File Formats Manual							TWFILES(5)

NAME
twfiles - overview of files used by Tripwire and file backup process DESCRIPTION
Configuration File default: /etc/tripwire/tw.cfg The configuration file stores system-specific information, such as the location of Tripwire data files. The configuration settings are gen- erated during the installation process, but can be changed by the system administrator at any time. See the twconfig(4) man page for a more complete discussion. Policy File default: /etc/tripwire/tw.pol The policy file consists of a series of rules specifying the system objects that Tripwire should monitor, and the data for each object that should be collected and stored in the database file. Should unexpected changes occur, the policy file can describe the person to be noti- fied and the severity of the violation. See the policyguide.txt file in the policy directory and the twpolicy(4) man page for a more com- plete discussion. Database File default: /var/lib/$(HOSTNAME).twd The database file serves as the baseline for integrity checking. After installation, Tripwire creates the initial database file, a "snap- shot" of the filesystem in a known secure state. Later, when an integrity check is run, Tripwire compares each system object described in the policy file against its corresponding entry in the database. A report is created, and if an object has changed outside of constraints defined in the policy file, a violation is reported. See the tripwire(8) and twprint(8) man pages for more information on creating and maintaining database files. Report Files default: /var/lib/tripwire/report/$(HOSTNAME)-$(DATE).twr Once the above three files have been created, Tripwire can run an integrity check and search for any differences between the current system and the data stored in the "baseline" Tripwire database. This information is archived into report files, a collection of rule violations discovered during an integrity check. With the appropriate settings, a report can also be emailed to one or more recipients. See the tripwire(8) and twprint(8) man pages for information on creating and printing report files. Key Files defaults: /etc/tripwire/site.key and /etc/tripwire/$(HOSTNAME)-local.key It is critical that Tripwire files be protected from unauthorized access--an attacker who is able to modify these files can subvert Trip- wire operation. For this reason, all of the above files are signed using public key cryptography to prevent unauthorized modification. Two separate sets of keys protect critical Tripwire data files. One or both of these key sets is necessary for performing almost every Tripwire task. The site key is used to protect files that could be used across several systems. This includes the policy and configuration files. The local key is used to protect files specific to the local machine, such as the Tripwire database. The local key may also be used for sign- ing integrity check reports. See the twadmin(8) man page for more information on keys. File Backup To prevent the accidental deletion of important data, Tripwire automatically creates backup files whenever any Tripwire file is overwrit- ten. The existing file will be renamed with a .bak extension, and the new version of the file will take its place. Only one backup copy for each filename can exist at any time. If a backup copy of a file already exists, the older backup file will be deleted and replaced with the newer one. File backup is an integral part of Tripwire, and cannot be removed or changed. VERSION INFORMATION
This man page describes Tripwire 2.4. AUTHORS
Tripwire, Inc. COPYING PERMISSIONS
Permission is granted to make and distribute verbatim copies of this man page provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this man page under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this man page into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by Tripwire, Inc. Copyright 2000 Tripwire, Inc. Tripwire is a registered trademark of Tripwire, Inc. in the United States and other countries. All rights reserved. SEE ALSO
twintro(8), tripwire(8), twadmin(8), twprint(8), siggen(8), twconfig(4), twpolicy(4) 1 July 2000 TWFILES(5)
All times are GMT -4. The time now is 05:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy