#21 OpenBSD update fix

closed-fixed
rkhunter (35)
5
2008-04-05
2008-02-24
No

Rkhunter 1.3.0 on OpenBSD 3.9 and later does not update itself properly due to the OpenBSD version of grep handling certain files as binary files. This patch corrects this issue in rkhunter so it will work properly on OpenBSD. The patch changes the relative part of the code so that if OpenBSD is the detected operating system rkhunter will use "strings" on the file and pipe the output to grep instead of just using grep.

I've tested this on a few installations of 3.9, 4.0, and 4.1 and it works. I submitted this patch to Michael a while back and he told me to come here with it instead, so here it is.

Discussion

  • John Horne

    John Horne - 2008-02-25
    • assigned_to: nobody --> jhorne
     
  • John Horne

    John Horne - 2008-02-25

    Logged In: YES
    user_id=665381
    Originator: NO

    I assume this is where RKH tries to update the chinese/taiwanese language files. There is a fix for this in CVS. However, I'll email you a fixed version of the 1.3.0 rkhunter script. You should be able to just drop this in place of your current script. Can you try it out and let me know if it works okay please.

    Thanks,

    John.

     
  • John Horne

    John Horne - 2008-04-05

    Logged In: YES
    user_id=665381
    Originator: NO

    Heard no more about this so closing call.

    John.

     
  • John Horne

    John Horne - 2008-04-05
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks