Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Thu Mar 28, 2024 9:49 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Fri May 02, 2008 6:16 am 
Offline
Newbie
User avatar

Joined: Fri Apr 25, 2008 2:16 am
Posts: 11
Hi,

audit_linux.sh reports the wrong "main" IP number on a host with several interfaces. The IP number reported in the echo system01... line (line 219) is the last one checked in the previous Network detection loop (lines 196 - 216). In our case the second interface (eth1) is unused and therefore the system is registered with the (wrong) main IP number of --.--.--.--.

I'm not sure what could be a correct and less error prone way here, but maybe the IP number that corresponds to the hostname? Or the IP address, that is in the same subnet as the default gateway (from `netstat -rn`)?

Cheers

frank


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group