Slashdot Mirror


Secure Syslog Replacement Proposed

LinuxScribe writes with this bit from IT World: "In an effort to foil crackers' attempts to cover their tracks by altering text-based syslogs, and improve the syslog process as a whole, developers Lennart Poettering and Kay Sievers are proposing a new tool called The Journal. Using key/value pairs in a binary format, The Journal is already stirring up a lot of objections." Log entries are "cryptographically hashed along with the hash of the previous entry in the file" resulting in a verifiable chain of entries. This is being done as an extension to systemd (git branch). The design doesn't just make logging more secure, but introduces a number of overdue improvements to the logging process. It's even compatible with the standard syslog interface allowing it to either coexist with or replace the usual syslog daemon with minimal disruption.

248 comments

  1. I don't know... by ksd1337 · · Score: 4, Informative

    Text is damn convenient to use. How are you gonna grep a binary file?

    1. Re:I don't know... by Anonymous Coward · · Score: 0

      binary2text file | grep

    2. Re:I don't know... by Anonymous Coward · · Score: 5, Informative

      journalgrep -e "Nov 0[1234]-[0-9][0-9]-2011" | less

    3. Re:I don't know... by iluvcapra · · Score: 5, Insightful

      Witness the deeply-ingrained UNIX Philosophy thing where if you can't use grep(1), it naturally follows that the thing is impossible to search.

      You can't grep a Berkeley DB, yet for some reason you can find stuff in it, too.

      --
      Don't blame me, I voted for Baltar.
    4. Re:I don't know... by Anonymous Coward · · Score: 4, Funny
      You can't grep a Berkeley DB, yet for some reason you can find stuff in it, too.

      strings berkeley.db | grep "data"

      Enjoy,

    5. Re:I don't know... by quanticle · · Score: 5, Insightful

      The problem isn't searching in the ordinary case. The problem is searching in the failure case. I can grep a truncated, mangled text file. If I truncate and mangle your BerkeleyDB can you still search it?

      --
      We all know what to do, but we don't know how to get re-elected once we have done it
    6. Re:I don't know... by TheRaven64 · · Score: 5, Insightful

      Grep is just one example. Grep lets me search any text file. Tail -f lets me watch anything that's added to it. Wc -l lets me enumerate the entries in it. Awk lets me extract elements from it. There are lots of other standard UNIX utilities for manipulating text files. If you are replacing a text file with a binary file then you need to provide equivalent functionality to all of these. If this file is one that is important for system recovery, then you need to put all of these in the root partition, without significantly increasing its size. These are not insurmountable problems, but they are problems.

      --
      I am TheRaven on Soylent News
    7. Re:I don't know... by Jack9 · · Score: 2

      What makes you think you can't use text in parallel? The idea is to have a more secure audit-log, not to replace it and leave a gaping usability hole.

      --

      Often wrong but never in doubt.
      I am Jack9.
      Everyone knows me.
    8. Re:I don't know... by jedidiah · · Score: 2

      Surely it is.

      With things like Unity and Wayland and Upstart, we really shouldn't expect anything else.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    9. Re:I don't know... by Zero__Kelvin · · Score: 0

      "The problem is searching in the failure case. I can grep a truncated, mangled text file. If I truncate and mangle your BerkeleyDB can you still search it?"

      The integrity of a mangled text file is no greater than the integrity of a mangled binary file. And, yes I can: strings my.db | grep "data"

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    10. Re:I don't know... by Superken7 · · Score: 2

      This is the first thing I thought too. But if I'm going to have many piped commands, why not add one more that cats the thing in text format? I can't think of a reason to why that would be inconvenient. My rotated syslog is gzipped and I can just zcat it, or even cat | gunzip - | whatever it. So the slight inconvenience *might* well be outweighed by the new benefits.

    11. Re:I don't know... by Unknown+Lamer · · Score: 2

      My argument in that case is that grep is insufficiently expressive for the modern world.

      The UNIX "everything is a file, and those files are all ^J delimited records" is a hack for a world when record based file systems were seen as overcomplicated (because, well, MULTICS style files were overcomplicated). It's time to move up.

      --

      HAL 7000, fewer features than the HAL 9000, but just as homicidal!
    12. Re:I don't know... by madbavarian · · Score: 2

      Not being able to grep the logs would suck. It would break every hack script I have for checking things in the logs.

      Furthermore, I'm not sure what problem the binary file with crypto signing would solve vs. just also logging to a secure log machine. Syslog already allows one to duplicate the logging to any number of off-machine syslog daemons.

      For figuring out how a breaking was done woudln't it be better to just log all IP traffic (say with "tcpdump -w ...") on a dedicated logging machine and perhaps have a pruning mechanism that trims any TCP stream to a few megabytes. That way large file transfers wouldn't fill up the logging disk unnecessarily. Add to that some off-machine logging built into sshd or perhaps the pty driver and one can get a pretty good picture of how any breakin was done.

    13. Re:I don't know... by pclminion · · Score: 5, Interesting

      If you are replacing a text file with a binary file then you need to provide equivalent functionality to all of these.

      No, I just need to provide a bin2txt program. The UNIX philosophy, I think you missed it. It's based on simple, self-contained, modular components, not some "everything is just text!" fantasy.

    14. Re:I don't know... by Anonymous Coward · · Score: 0

      It ain't broke. Don't fix it.

    15. Re:I don't know... by hedwards · · Score: 5, Insightful

      I disagree, the fact that such a model still works so well decades later is definitely evidence that they were doing something right. When it comes down to it, if you make everything a file then you don't have to worry about envisioning niche uses as most of them can be accomplished by chaining together several commands. The ones that don't are still not impossible as you can just throw together a Perl script or similar to manage them.

    16. Re:I don't know... by TheRaven64 · · Score: 1

      You also need to provide a txt2bin program. This is what subversion does, for example.

      --
      I am TheRaven on Soylent News
    17. Re:I don't know... by msclrhd · · Score: 3, Insightful

      With binary data, you have potential issues with the binary parser (e.g. has a hacker corrupted the log to trigger a buffer exploit in the binary-to-text program). Also, binary data is open to endian issues and integer/pointer size issues. Not to mention versioning (trying to read logs written using a different version of journald that write an incompatible journal file). Likewise if you only have access to fragments of the log.

    18. Re:I don't know... by Unknown+Lamer · · Score: 1

      A counterargument would be that if we had a minimally structured container format that everyone used you could save a lot of time. Untyped binary blobs work as a lowest common denominator format, but they can be a huge pain to work with. Personally I wish we'd move to a more structured model for data (the relational people have a point) -- I find it far more pleasant to e.g. write an SQL query than to hack together a script to munge data from five different file formats to get the output I need.

      But, of course, libc provides untyped blob I/O and so that's what everyone uses. It's kind of hard to break from 40 years of code no matter the benefits.

      --

      HAL 7000, fewer features than the HAL 9000, but just as homicidal!
    19. Re:I don't know... by hedwards · · Score: 2

      Yes, but the reason we wouldn't do that is because if most things are human readable you can just manually do the edits your self if you need to. Otherwise it requires some sort of justification as other formats have been constantly changed over the decades to keep up with advancements.

      It's a distortion to suggest that the model doesn't work when clearly it does. The formats of some types of files and devices have changed, but the way they interact hasn't. Most of the time I spend fixing Windows is because MS thought itself clever enough to beat generations of programmers.

    20. Re:I don't know... by maxwell+demon · · Score: 4, Insightful

      Also, binary data is open to endian issues and integer/pointer size issues.

      You seem to mix up binary data with ad-hoc binary files. Any reasonable binary format has a well-defined and well-specified encoding, which includes sizes and endianness of numeric data. Just fwriting from your program variables directly into the file is not defining a proper binary format. Also note that pointers have no place in binary files at all.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    21. Re:I don't know... by Anonymous Coward · · Score: 0

      > Surely it is.

      > we really shouldn't expect anything else.

      "We"? "Surely"? Sounds religious.

    22. Re:I don't know... by Anonymous Coward · · Score: 3, Insightful

      The more secure thing to do with logs is ship them to another host. This idea of signing log messages is ridiculous, because you will just have intruders signing their messages with the keys you thoughtfully provided.

      I suspect this is really just the preference of the systemd dudes.

    23. Re:I don't know... by warrax_666 · · Score: 1

      It's a distortion to suggest that the model doesn't work when clearly it does.

      It sort of works (see all the issues mentoined already) -- that doesn't mean that it can't be improved upon, nor that this partiuclar idea is a bad one.

      The major problem with the UNIX philosophy in this area is that lots and lots of programs now contain informally specified (i.e. specified by implementation), badly written ad-hoc parsers for the output of other programs. This leads to lots of minor, but amazingly annoying issues(*). (The output format itself is often also often badly specified.)

      (*) Trying to parse out stack traces from JVM application servers is my particular favorie. It can certainly be done, but it requires code which should be unnecessary (and [b]is[/b] unnecessary if logging to a DB, for example) and it isn't particularly reliable.

      --
      HAND.
    24. Re:I don't know... by Anonymous Coward · · Score: 0

      If this file is one that is important for system recovery, then you need to put all of these in the root partition, without significantly increasing its size.

      Oh no my root partition can't hold another megabyte of utility programs.

      I agree that making syslog binary sounds stupid, but complaining about how much space the programs to read it would need is absurd.

    25. Re:I don't know... by Anonymous Coward · · Score: 0

      > or even cat | gunzip - | whatever

      Why involve cat at all? gunzip file1 | whatever

      "use of cat considered gratuitous"

    26. Re:I don't know... by JasterBobaMereel · · Score: 1

      Witness a solution looking for a problem...

      If someone has control of the machine, then they can do anything - text can be altered - so can a binary file, database etc ,.

      This is like DRM - provide a secure lock, and the key so they can use it then wonder why people can open the lock ?

      The solution is simple: remote logs, log to a place they do not have control of ...

      --
      Puteulanus fenestra mortis
    27. Re:I don't know... by MichaelSmith · · Score: 1

      Everything in /var/log on my netbsd system (except the currently written files) is compressed with gzip so I access them with:

      gzcat messages.1.gz | grep MY-STUFF

    28. Re:I don't know... by MichaelSmith · · Score: 3, Insightful

      text can be altered - so can a binary file

      The articles points out that log records will be chained with hashes (like changesets in git and mercurial) so you can't just rewrite part of a log file. You would have to replace the whole chain, and an externally held checksum would pick that up.

    29. Re:I don't know... by Issarlk · · Score: 2

      What prevents the hacker from recreating the log file by replaying all of the log lines minus the one he wants to remove? Leaving a nice coherent log file on the disk with all of the entries chained to the next.

    30. Re:I don't know... by TheRaven64 · · Score: 2

      Your root partition maybe. What about the 16MB of flash on your router?

      --
      I am TheRaven on Soylent News
    31. Re:I don't know... by psmears · · Score: 1

      Why involve cat at all? gunzip file1 | whatever

      That command - I do not think it means what you think it means. Try: gunzip < file1 | whatever

    32. Re:I don't know... by kestasjk · · Score: 1

      I think the idea isn't that you can''t forge new messages, but that you can't alter past messages.

      --
      // MD_Update(&m,buf,j);
    33. Re:I don't know... by bjourne · · Score: 2

      It's a distortion to suggest that the model doesn't work when clearly it does. It sort of works (see all the issues mentoined already) -- that doesn't mean that it can't be improved upon, nor that this partiuclar idea is a bad one.

      It sort of does not work. All the greybeards tool stop working, or require arcane workarounds, as soon as you have a single fucking whitespace in the filename. The only reason why people does not find it excruciatingly annoying to write shell scripts is because such issues are ignored and only show up in subtle bugs years down the road when the original programmers already left.

    34. Re:I don't know... by ResidentSourcerer · · Score: 1

      I agree syslog locally, and to a remote host. Finding differences between the two logs (for a given host) is your first clue that something is amiss.

      OpenBSD at least has a method that a file can be marked appendable, but not rewritable. This is enforced by the kernel, and cannot be reset without rebooting the computer. And if your computer is set up properly it doesn't set up any external routes until after it has gone into secure mode.

      The proposal is to have a chain of events, so that the hash of the previous message is used as part of encryption of the next one. Which seems to me to mean that overwriting any byte early in the file would make the rest of the file unreadable.

      This is one I'd reject for contravening the KISS principle. The complexity doesn't gain you much of anything.

      --
      Third Career: Tree Farmer Second Career: Computer Geek First Career: Teacher, Outdoor Instructor, Photographer.
    35. Re:I don't know... by sgt+scrub · · Score: 1

      With things like Unity and Wayland and Upstart, we really shouldn't expect anything less Microsofty.

      FTFY

      --
      Having to work for a living is the root of all evil.
    36. Re:I don't know... by hedwards · · Score: 1

      Which you are able to work around, compared with the Windows world where you really do need a special tool for a lot of that stuff because otherwise you probably don't have any means of doing it yourself as the company assumes that you'll be using their special application to do it.

      By default all of those logs on my Linux and *BSD systems are user readable and I can't think of any that aren't.

      It's rather a double standard to complain about the quality of the ones in the *NIX world and then ignore the fact that in the Windows world if you need information that they didn't foresee you needing it's at least as much trouble as it is in the *NIX world. At least in the *NIX world they give you the tools to do it yourself it the options aren't appropriate.

    37. Re:I don't know... by Anonymous Coward · · Score: 0

      Just to annoy you, I've secretly converted all files on your computer to binary files!

    38. Re:I don't know... by mabhatter654 · · Score: 1

      You Have a tool that automatically outputs records by number, date, etc. But you can't change or modify the original files.

      Sounds like somebody recreated the iSeries QSYSAUD journal (with a few improvements).

    39. Re:I don't know... by MikeBabcock · · Score: 1

      I'm having a moment recalling when I demonstrated rpm2cpio to someone once and they were instantly happier.

      I'm okay with binary logging, but I don't think the system proposed is the right way to do it.

      --
      - Michael T. Babcock (Yes, I blog)
    40. Re:I don't know... by Anonymous Coward · · Score: 0

      Not often, and you can't rely on it being there. Believe me, I've migrated a lot of sites *off* of Berkeley DB because it sucked so hard and the backup and restoration procedures were so unreliable.

    41. Re:I don't know... by makomk · · Score: 2

      Don't worry - soon Lennart's going to kill off the ability to have seperate root and /usr partitions anyway. After all, who really needs it?

    42. Re:I don't know... by makomk · · Score: 2

      From the official FAQ linked in the summary:

      My application needs traditional text log files on disk, can I configure journald to generate those?
      No, you can’t. If you need this, just run the journal side-by-side with a traditional syslog implementation like rsyslog which can generate this file for you.
      Why doesn’t the journal generate traditional log files?
      Well, for starters, traditional log files are not indexed, and many key operations very slow with a complexity of O(n). The native journal file format allows O(log(n)) complexity or better for all important operations. For more reasons, refer to the sections above.

      So yes, the idea is to totally replace plain-text logging and leave a gaping usability hole. The suggested workaround will only work until software starts using The Journal directly without going through syslog, which is I think the end plan since syslog presumably can't support all the neat extra functionality.

    43. Re:I don't know... by TheRaven64 · · Score: 1

      Or gzcat file | whatever...

      --
      I am TheRaven on Soylent News
    44. Re:I don't know... by Jack9 · · Score: 1

      My application needs traditional text log files on disk, can I configure journald to generate those?
      No, you can’t. If you need this, just run the journal side-by-side with a traditional syslog implementation like rsyslog which can generate this file for you.

      So no, the idea is to add an auditable logging system to run in parallel.

      The suggested workaround will only work until software starts using The Journal directly without going through syslog, which is I think the end plan since syslog presumably can't support all the neat extra functionality.

      It's a little difficult to understand which "workaround" you are referring to.

      How difficult is it to use pipe to splitting input to another daemon that outputs plaintext files. I hazard it can be a simple configuration option...as if choosing to not use r/syslog in parallel was remotely realistic. The extra functionality The Journal proposes is a tamper-resistent file that can be relied upon for log accuracy. No software that needs to read from a file (most existing software that relies on traditional syslog files) would switch to reading from The Journal, as the operational time would be prohibitive (in normal use cases). A much more likely scenario would be to generate a new logfile from The Journal for inspection or operation, if that were needed.

      Maybe I'm missing something, but this is about log integrity and nothing I've read implies massive disruption of existing setups.

      --

      Often wrong but never in doubt.
      I am Jack9.
      Everyone knows me.
    45. Re:I don't know... by jedidiah · · Score: 1

      You are confused.

      Religion implies faith, not conclusions based on observation and experience and predictions based on same.

      I am certainly not the only one complaining.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    46. Re:I don't know... by daffmeister · · Score: 1

      The hash on the following line would then be different.

    47. Re:I don't know... by thogard · · Score: 1

      The theory is that syslog is broken. However there are other ways to fix what is broken in ways that nothing but the libraries need to know about.

    48. Re:I don't know... by Anonymous Coward · · Score: 0

      Just off the top of my head they could appease the textifiles with a plain text format such as:

      2011-11-25T08:00 Time for coffee

      With "hashprev" being a hash of the entire previous entry, "hashthis" being the hash of the current entry.

    49. Re:I don't know... by Zero__Kelvin · · Score: 0

      Luckily text files have no encoding issues! Nothing you wrote was remotely relevant to the point. In the future, when you see a post from someone with a low 6 digit Slashdot user ID you probably want to refrain from contradicting them.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    50. Re:I don't know... by Anonymous Coward · · Score: 0

      Yeah right. Low ID = genius. That's the universal rule of /.

    51. Re:I don't know... by jbolden · · Score: 1

      Not much reason to make the shift on a router. The point is when their are multiple programs not identifying themselves properly. Single purpose devices with a tiny number of programs running don't have the problem the journel was meant to solve.

    52. Re:I don't know... by makomk · · Score: 1

      So no, the idea is to add an auditable logging system to run in parallel.

      The idea is that, for most people, The Journal will be the only logging system and it will only log to binary files. Traditional syslog is just being suggested as a (temporary?) option for anyone that needs plain-text logs right now. Software that needs to read from a log file is meant to link against the appropriate library and access the binary version in future.

    53. Re:I don't know... by Virtual_Raider · · Score: 1

      when you see a post from someone with a low 6 digit Slashdot user ID you probably want to refrain from contradicting them.

      Yeah right. Low ID = genius. That's the universal rule of /.

      Yeah, move over Einstein! ;)

      --
      +Raider of the lost BBS
    54. Re:I don't know... by Anonymous Coward · · Score: 0

      Different to what? If it is recreated line-by-line (with the original hashed log being deleted) I don't see why the hashes would indicate any discrepancies.

    55. Re:I don't know... by LordLimecat · · Score: 1

      Forgive me, Im a Linux newbie of sorts who has tinkered with Debian and RedHat based distros for a few years.... but isnt it standard practice to escape or quote files with spaces? Even on Windows? And even on Mac OSX?

      I mean, "command--argument--space--argument" is kind of a universal truth in computing; writing batch scripts as a newb more than a decade ago I learned this. Always quote files with spaces, or else escape them, or else test to see how it will break.

    56. Re:I don't know... by jnik · · Score: 3, Funny

      Hi kids!

    57. Re:I don't know... by LordLimecat · · Score: 1

      Presumably youre not using SELinux, AppArmor, Journal, Upstart, or Wayland on your router; the beauty of Linux is that RedHat's choices need not affect your router's flash filesystem in the least.

    58. Re:I don't know... by LordLimecat · · Score: 1

      Seems like it would be simple to send a checksum of the logs to another host every minute. Your attacker would have to get in and modify every log-file in the chain, as well as cope with continuing log writes, within a pretty narrow window.

    59. Re:I don't know... by LordLimecat · · Score: 1

      Isnt this kind of like complaining that replacing IE5.5 with Chrome leaves a gaping usability hole, since none of your ActiveX programs work anymore?

      I mean, sometimes progress means moving on.

    60. Re:I don't know... by thesh0ck · · Score: 1

      However with this format if 1 bit is flipped anywhere in the file it voids all log entries below it.

    61. Re:I don't know... by grumbel · · Score: 1

      Yes, but the reason we wouldn't do that is because if most things are human readable you can just manually do the edits your self if you need to.

      A text file is really just as human-unreadable as a binary blob, cat a text file without having the proper charset loaded and you just get a mess. The only difference between a text and a binary file is that text files has widespread support in software and the OS, while a binary blob has not.

      It's a distortion to suggest that the model doesn't work when clearly it does.

      Well, it does work, but it works purely, daily Linux use is full of cases where you can't tell if a piece of text is data, pretty-printing or a field separator.

    62. Re:I don't know... by mehemiah · · Score: 1

      I think we can make a binary format that can tollerate a little corruption

    63. Re:I don't know... by Cramer · · Score: 1

      Tell that to InnoDB. And there are no (usable) tools for repairing or recovering any data. I've been there too. many. times.

      (in fact, had the exact same problem with a Derby DB earlier this week. They don't even pretend to have any recovery tools.)

    64. Re:I don't know... by wesleyjconnor · · Score: 1

      Didn't the guys with id's 1 and 2 make a buttload of money off watching idiots compare the merits of having low id's?

    65. Re:I don't know... by wesleyjconnor · · Score: 1
      And at some point these tools didnt exist and people still got by, give it time, the tools will come and this will be moot

      Its called the future, get used to it

    66. Re:I don't know... by maxwell+demon · · Score: 1

      However with this format if 1 bit is flipped anywhere in the file it voids all log entries below it.

      That's definitely true for gzipped text files. There's no reason for it to be true for non-compressed, non-encrypted genuinely binary files. And with binary files, you have less reason to additionally compress them, because they are smaller and less compressible.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    67. Re:I don't know... by smash · · Score: 1

      I'll contradict low 6 digit noobs if i like :D

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    68. Re:I don't know... by smash · · Score: 1

      I would add to this: even if you CAN add the functionality without significantly increasing / size. Why? What problem are they trying to solve here? Because there better be a fucking good reason to break compatibility (both in terms of tools, and sysadmin knowledge) with 30 years of unix development.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    69. Re:I don't know... by bucky0 · · Score: 1

      If you're already doing that, then why don't you just ship ALL of the logs to another host every minute?

      --

      -Bucky
    70. Re:I don't know... by paulatz · · Score: 1

      I'm not sure how many digits are in my ID, could you count them and send me the result by email?

      --
      this post contain no useful information, no need to mod it down
    71. Re:I don't know... by Zero__Kelvin · · Score: 1

      I see the smiley, but with a tongue out. Bear in mind that our IDs suggest we both created our account circa 1997, whereas the person I was responding to most likely created theirs in the last few years. While a very high ID isn't proof that they are a noob, it is much more likely, whereas you and I clearly are not. If course, the fact that the "person" posted what they posted is proof that they are a noob ;-)

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    72. Re:I don't know... by mehemiah · · Score: 1

      Lets ask some Oracle guys how they recovered the filesystem for the Danger guys (the ones responsible for the Sidekick dataloss ) after they threw in the towel.

    73. Re:I don't know... by Cramer · · Score: 1

      Answer: by bringing in the people who designed the SAN and database. (i.e. the people who know what the bits on disk are supposed to be.)

      Somehow I seriously doubt any Oracle-proper (not MySQL) database is using InnoDB as it's storage backend. And it more doubtful Microsoft would use mysql for anything at all.

      The point stands... if *your* InooDB files get damaged in any way, there are no tools to fix it. The InnoDB devs have openly stated they don't care. (innodb-tools google code project is ~90% useless junk. It has very little understanding of the on-disk format, and what it does know is outdated and incomplete. And it doesn't repair anything; it attempts to dump the table data.)

    74. Re:I don't know... by mehemiah · · Score: 1

      I don't think you got my comment. I didn't mean to ask them about recovering InnoDB, I meant (figuratively) to ask them about how to make a binary format that can tolerate a little corruption. Funny we're talking about databases however, databases sometimes blur that line between the filesystem and the data on it so they sometimes take that decision of where the bits are supposed to go on disk into their own hands. So if they do it wrong, I think it would be harder (or at least different) to try and recover them. I'm not about to say that a[n] sql database would have absolutely no problem handling something people normally feel comfortable leaving in flat text files (thats what zed shaw thinks) I'm saying that there's probably some science done on creating fault tolerant binary formats. (I'll look that up later)

  2. Heres a better name for the project by Anonymous Coward · · Score: 1

    LiveJournal. Oh wait....

  3. Unnecessary by Anonymous Coward · · Score: 2, Interesting

    The binary format part of this is unnecessary, at least as far as I (with limited low level programming experience) can tell. Other people have been suggesting methods which would mean you just need a cryptographic hash in each otherwise plain text line, in a standard manner. Still at least it has got a discussion started.

    1. Re: Unnecessary by F.Ultra · · Score: 1

      Apparantly the binary format it there to support fields and log lines that normally wouldn't look nice as a single text row.

    2. Re: Unnecessary by Jonner · · Score: 1

      Cryptographic verification is just one of many features. It seems the binary format is motivated by efficiency, both processing and space.

  4. Pointless -- there is already a secure solution by whoever57 · · Score: 5, Informative

    Set your machine to also log over a secure channel to another machine. Perhaps one that only accepts the syslog entries and no other connections. Problem solved.

    --
    The real "Libtards" are the Libertarians!
    1. Re:Pointless -- there is already a secure solution by Trixter · · Score: 1

      I was just thinking the same thing. Have these guys never heard of an off-site syslog server?

    2. Re:Pointless -- there is already a secure solution by Fallen+Kell · · Score: 3, Insightful

      How does that help a single stand-alone system that someone came in and rooted and then covered up their tracks? The purpose of these changes is to fix all the cases. Sure there are work arounds for some of the flaws, but that is just it, they are work arounds. This is a true fix.

      --
      We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
    3. Re:Pointless -- there is already a secure solution by whoever57 · · Score: 5, Insightful

      How does that help a single stand-alone system that someone came in and rooted and then covered up their tracks?

      Does anyone really care about forensic analysis of single stand-alone systems? Do you think that the FBI will go after whoever broke into your home system? Just rebuild the OS and move on.


      This is a fix which breaks lots of other stuff. Today, I can open up my logfiles (even the compressed ones) with "vim -R ". The convenience of that will be lost and my analysis will be limited by the tools available to analyze the undocumented, binary logs. What about old log files after the binary format changes? There are so many issues with the proposal and precious few advantages.

      --
      The real "Libtards" are the Libertarians!
    4. Re:Pointless -- there is already a secure solution by TheRaven64 · · Score: 5, Insightful

      The way we used to solve that was to have the syslog output write to a dot-matrix (or other) line printer. Every line in the security logs is written to paper immediately. You can substitute anything that can record things written to RS-232 (cue the arduino fanboys) for the line printer.

      This doesn't seem to actually solve the problem - if the person can modify the file, they can modify the file. If the lines are hashed, they just get the plaintext ones, delete the last ones, modify them, and then replay the fake ones and generate a new sequence of hashes. This just means that you need more tools in your recovery filesystem for fault diagnosis.

      --
      I am TheRaven on Soylent News
    5. Re:Pointless -- there is already a secure solution by Vairon · · Score: 3, Insightful

      In your stand-alone system scenario what keeps a hacker from deleting those logs entirely or reading all the logs, removing the entries they don't want preserved, then writing them all back out, with a new hash-chain history?

    6. Re:Pointless -- there is already a secure solution by Anonymous Coward · · Score: 1

      True fix. Uh-huh.

      rm /var/log/syslog

    7. Re:Pointless -- there is already a secure solution by RollingThunder · · Score: 1

      It doesn't provide evidence of log tampering, so no - it's not the same thing.

    8. Re:Pointless -- there is already a secure solution by Shatrat · · Score: 1

      There is also encrypted SNMPv3 which could be used to securely and reliably send short messages in a client/server architecture.

      --
      09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    9. Re:Pointless -- there is already a secure solution by silas_moeckel · · Score: 4, Informative

      If you have rooted the system you can parse the file remove what ya want and resign/hash everything. If you want a standalone system to have secure logging you use something that's write once, Crypto signing adds nothing unless that signing is coming from a separate system and including an external variable like a use counter so you can detect the jump. This is a solution looking for a problem. When you have a syslog box accepting udp syslog as the only open port, you can find an exploit or flood out the port.

      You should be running something like splunk or octopussy to parse your syslog in real time generate alerts etc.

      --
      No sir I dont like it.
    10. Re:Pointless -- there is already a secure solution by Zero__Kelvin · · Score: 1

      Right. Because if someone hacks one of your systems, they couldn't possibly hack your other system too. Of course, your solution also ignores the fact that this is simply not an option for many. We don't all have the cash to spend on a separate machine and secure connection, especially if there is a solution that makes it entirely unnecessary. Also, connections fail. If you can do this, why not use a belt and suspenders approach and have all three?

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    11. Re:Pointless -- there is already a secure solution by Anonymous Coward · · Score: 0

      Cannot remove 'syslog': No such file or directory

    12. Re:Pointless -- there is already a secure solution by Anonymous Coward · · Score: 1

      Hopefully if such a system (not the house one you describe) was worth breaking into, it was probably stand-alone to prevent remote attacks in the first place.

      And i would hope that someone smart enough to see the wisdom in making the system stand-alone would not be stupid enough to not have other (physical) security. (guards, cctv, door locks, alarm, other remote/out of band monitoring, etc.)

    13. Re:Pointless -- there is already a secure solution by rev0lt · · Score: 5, Informative

      That's why in BSD systems, you can mark a file as append-only, and with securelevel >=1 not even root can remove the flag

    14. Re:Pointless -- there is already a secure solution by whoever57 · · Score: 1

      It doesn't provide evidence of log tampering, so no - it's not the same thing.

      Since local log files can also be stored and then compared against those captured on the server, yes, it does provide evidence of log tampering.

      --
      The real "Libtards" are the Libertarians!
    15. Re:Pointless -- there is already a secure solution by alcourt · · Score: 2

      PCI not only accepts, but mandates central log storage. Recommendation is to do it using real time log transmission. Log tampering detection is expected on even the central system, where you use syslog to receive, and then store the central copy in something a bit fancier than a text file, often a database of some kind.

      Local to a system, there is no such thing as acceptable tamper resistant unless it is a write once/read many drive that is physically that way.

      Centralize the logs, and stop messing with my syslog. (This means you Red Hat)

      --
      "I may disagree with what you say, but I will defend unto the death your right to say it." -- Voltaire
    16. Re:Pointless -- there is already a secure solution by alcourt · · Score: 5, Informative

      In a well designed network, a compromise of a target system does not give one increased ability to compromise the log system, because there is no trust relationship, and the central log host does not even have the same user accounts. No user who has an account on the production system is permitted to have an account on the log system.

      This topic is basic PCI stuff, and common also for SOX compliance. The problems are far from complex.

      The so called solution does not provide sufficient security based on description to eliminate the requirement for central log storage, especially since that is an explicit requirement of PCI. Some may have that as an explicit SOX control as well. The obvious problem with the tool is it is only tamper detection, not tamper protection. Any fool with root can erase the evidence that they were the one logged in. It may be a tad harder to hide the fact that the logs were modified, but even that could be bypassed with the above description by simple virtue of rotating the log post-compromise and "losing" the entries in question.

      --
      "I may disagree with what you say, but I will defend unto the death your right to say it." -- Voltaire
    17. Re:Pointless -- there is already a secure solution by kangsterizer · · Score: 1

      Yes and no.
      How do you know if you lost messages? How do you know if some messages are removed?

      Well, you don't. Some apps include a counter for this very reason AFAIK.

      Regardless, in all cases, if someone compromises the logger, he can also make proper hashs/counts.

      But until he does, being sure you get all messages is quite important.

      (not saying that systemd is the right solution, but thats a problem)

    18. Re:Pointless -- there is already a secure solution by cmholm · · Score: 1

      >> log over a secure channel to another machine.
      > syslog output write to a [...] line printer.

      Dr. Stoll? Cliff? Is that you?

      --
      Luke, help me take this mask off ... Just for once, let me butterfly kiss you with my own eyes.
    19. Re:Pointless -- there is already a secure solution by Anonymous Coward · · Score: 0

      I've always wondered why Linux hasn't implemented flags like the BSDs. Should be simple enough no? Or am I missing something?

    20. Re:Pointless -- there is already a secure solution by amorsen · · Score: 1

      I've always wondered why Linux hasn't implemented flags like the BSDs. Should be simple enough no? Or am I missing something?

      You can achieve this with SELinux.

      --
      Finally! A year of moderation! Ready for 2019?
    21. Re:Pointless -- there is already a secure solution by JasterBobaMereel · · Score: 1

      ...and then you get a corrupt file

      I'll bet there is a way around this, or BSD is insane?

      --
      Puteulanus fenestra mortis
    22. Re:Pointless -- there is already a secure solution by goarilla · · Score: 2

      What about log rotating ?

    23. Re:Pointless -- there is already a secure solution by kestasjk · · Score: 1

      There are so many issues with the proposal and precious few advantages.

      So many issues like "I need to add log2txt to my pipe chain", and precious few advantages like "it doesn't need a dedicated machine to be tamper-proof"?

      I take it you don't gzip any of your logs.. That would make them binary logs, after all..

      --
      // MD_Update(&m,buf,j);
    24. Re:Pointless -- there is already a secure solution by Anonymous Coward · · Score: 0

      You can do the same on Linux.

    25. Re:Pointless -- there is already a secure solution by Anonymous Coward · · Score: 0
      You're missing that Linux does implements the "append" flag to make files append-only.

      man chattr

    26. Re:Pointless -- there is already a secure solution by Anonymous Coward · · Score: 0

      chattr can do that on Linux.

      To remove the setting, you need to be root. Much more secure than a simple text file, which only needs root to edit.

      (may contain trace amounts of sarcasm).

      And even if the kernel prevented root from changing the flag, changing the kernel requieres... root.

    27. Re:Pointless -- there is already a secure solution by whoever57 · · Score: 2

      I take it you don't gzip any of your logs.. That would make them binary logs, after all..

      So you don't see any difference between a well understood and well-supported format and an undocumented format that is subject to change?

      But, the root question with the new concept is: what's the benefit? I don't believe the logs can be made tamperproof against someone with root access, unless data is sent to another machine, or perhaps the data is stored through a pipe that is controlled by something like SELinux, which I don't see in the proposal.

      --
      The real "Libtards" are the Libertarians!
    28. Re:Pointless -- there is already a secure solution by Anonymous Coward · · Score: 0

      Does anyone really care about forensic analysis of single stand-alone systems?

      Yes.

    29. Re:Pointless -- there is already a secure solution by rev0lt · · Score: 2

      How will you corrupt a file that can be only appended to? Even if you append garbage, you cannot change what has been commited already.

    30. Re:Pointless -- there is already a secure solution by knorthern+knight · · Score: 1

      And how does this so-called "true fix" help in the case where the attacker blows away the log file (text or binary)? Have fun analyzing that. Seriously, if you want to have the actual logs, you need to log to another machine. Note also, that if a machine is *REALLY* rooted, you can't trust the log output (text or binary).

      --

      I'm not repeating myself
      I'm an X window user; I'm an ex-Windows user
    31. Re:Pointless -- there is already a secure solution by piripiri · · Score: 1

      The point is to detect when the machine has been tampered with. No log file -> problem !

    32. Re:Pointless -- there is already a secure solution by rev0lt · · Score: 1

      Can you disable the removal of the flag by the root user?

    33. Re:Pointless -- there is already a secure solution by rev0lt · · Score: 2

      That's why you have securelevels in BSD. Securelevels can limit some operations done by root. It is possible to configure your server in such a way that decreasing securelevels will require access to the machine (physical or kvm).Place the kernel with an immutable flag, and with the appropriate securelevel not even root can remove it.
      Of course there are ways around that, and there are ways to harden the system against the ways around that, but it is a nice feature to have - specially in the cases where you have all your services running inside jails, and not on the main host. If using ZFS (UFSv2 will allow you to do the same, but with a 32 snapshot limit or something like that) you can even schedule a periodic filesystem snapshot, that the root user inside the jail won't even be aware of, and have copies of the evolution of your logfiles.

    34. Re:Pointless -- there is already a secure solution by rev0lt · · Score: 1

      You won't be able to rotate the logs when using it directly on the host system. When used in jails, and assuming you use a lower securelevel on the main host, you can create a script on the host to perform the log rotation.

    35. Re:Pointless -- there is already a secure solution by bucky0 · · Score: 1

      If it's a standalone system, what's to keep someone from reading up till the point before the hack, removing the "incriminating" lines then replaying the rest of the lines, doing the same hashing procedures as normal?

      --

      -Bucky
    36. Re:Pointless -- there is already a secure solution by bucky0 · · Score: 1

      fuck, I completely missed that like 30 other people said what I just commented :/

      --

      -Bucky
    37. Re:Pointless -- there is already a secure solution by Anonymous Coward · · Score: 0

      If you're worried someone is going to steal your lawnmower, do you
      1) Lock it away in your shed, or
      2) Construct a new type of lawn mower that needs special fuel, weights 5 tons and self-destructs if it gets tilted?

  5. Overcomplicated by pclminion · · Score: 5, Funny

    Back in the late 90's when I first started connecting my home Linux systems to the Internet 24/7, I logged everything imaginable. To prevent tampering/falsification of the logs, I simply printed the log on a continuous-sheet dot matrix printer. Good luck tampering with the printout in my office.

    After a while I got to be able to recognize certain types of activity, such as a web user browsing to /index.html, based on the sounds the printer made.

    1. Re:Overcomplicated by Anonymous Coward · · Score: 5, Funny

      Did you ever get that OCD treated, or are you still suffering?

    2. Re:Overcomplicated by dickens · · Score: 4, Funny

      Yeah done that.. paper jams were a bitch, though.

      I remember even going to the trouble of cutting one of the leads in the RS-232 cable to make the logging printer a true write-only device.

    3. Re:Overcomplicated by pclminion · · Score: 4, Funny

      Did you ever get that OCD treated, or are you still suffering?

      That's right, every night I'd get into some cozy pajamas, maybe make a fire, cuppa tea, and sit back in a recliner for a stint of light reading. I tell you, last night's series of 404s by the guy who kept mistyping the URL to my "About Me" page were especially riveting.

    4. Re:Overcomplicated by davester666 · · Score: 2

      Really? You had a dot-matrix printer that was capable of reading what it had printed?

      --
      Sleep your way to a whiter smile...date a dentist!
    5. Re:Overcomplicated by gatkinso · · Score: 1

      Precisely how would this impede spoofing log messages?

      --
      I am very small, utmostly microscopic.
    6. Re:Overcomplicated by Thing+1 · · Score: 5, Funny

      Yeah, and after a while you're like, "blonde, brunette, redhead"...

      --
      I feel fantastic, and I'm still alive.
    7. Re:Overcomplicated by pclminion · · Score: 1

      It doesn't prevent spoofing of log messages. However, before a log message can be spoofed, the attacker must somehow gain access to the system -- hopefully, this initial access will be logged to paper BEFORE the attacker begins to try to falsify logs.

    8. Re:Overcomplicated by Vellmont · · Score: 1

      Exactly. Paper doesn't scale, and obviously is difficult to machine scan. But the point is all you need to do is send log files to an indelible medium. Paper is just the simplest one to understand. The electronic equivalent would be something like a WORM drive, or optical non-RW drive. I'm sure there's other examples that exist.

      --
      AccountKiller
    9. Re:Overcomplicated by dickens · · Score: 1

      It had a keyboard. I think it was a DEC LA120.

    10. Re:Overcomplicated by Anonymous Coward · · Score: 0

      They have firewalls now that play noise when deflecting certain types of traffic.

      I think you would enjoy it.

    11. Re:Overcomplicated by jedidiah · · Score: 1

      You don't even have to make it a WORM drive, you just need to to look like one. Build hardware that looks like a printer but logs to whatever you like. Make the hardware limited and don't have any other interfaces connect to the storage medium.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    12. Re:Overcomplicated by davester666 · · Score: 1

      So why did you feel you had to alter the RS232 cable?

      Presumably the keyboard wasn't used for anything, therefore nobody would be typing on it, so why bother wrecking the cable?

      --
      Sleep your way to a whiter smile...date a dentist!
    13. Re:Overcomplicated by Rich0 · · Score: 1

      After a while I got to be able to recognize certain types of activity, such as a web user browsing to /index.html, based on the sounds the printer made.

      Yeah, but try that out with the access log on the Google homepage... The paper would probably catch fire from air friction flying out of the printer...

    14. Re:Overcomplicated by adolf · · Score: 1

      Clearly the machine had too much capability for the job at hand, and needed to be pared down to its real strengths. Limited by having too much functionality, the extraneous functions were (literally) snipped out for the greater good.

      That those functions were never used is more an impetus for their removal than anything else. And while such functionality could potentially be useful to someone else, this is irrelevant because the Creator (Himself) does not need such functionality.

      Therefore, using such functionality is heresy. And no good Engineer (let alone a Creator) wants to promote heresy.

      (Said cable-wrecker has almost certainly taken a job at Apple in subsequent years.)

    15. Re:Overcomplicated by MikeBabcock · · Score: 1

      Several of the industrial control systems I deal with every day do exactly this all the time. They run a continuous feed printer and dump their output with every entry. Sure, the system is also polled by computer and the data easily analyzed, but if there's tampering, there's proof.

      --
      - Michael T. Babcock (Yes, I blog)
  6. Half-Measure by ultramkancool · · Score: 1

    It doesn't really make logging more secure, you can easily just modify the entire log. Plus if someone's modifying your logs they have root permissions on your machine and then you cannot trust your system, they can put hooks on the log read to just hide certain entries if necessary. The only real solution is to NOT trust your own system - send all the data to a remote syslog server with no other services running. Why take a half-measure when you should have gone all the way?

    1. Re:Half-Measure by Zero__Kelvin · · Score: 1

      "It doesn't really make logging more secure, you can easily just modify the entire log."

      Er, ah, no. You can't. That is the entire point of it.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    2. Re:Half-Measure by marcosdumay · · Score: 2

      You can. If you rooted the machine, you have all the data that this daemon has. You can calculate anything it does, including enough hashs to falsify the logs.

  7. binary format? by Anonymous Coward · · Score: 0

    I don't mind having a binary format as an option, but having a text format also available is absolutely essential IMHO. Rsyslog and Syslog-ng already can write to various databases too.

    The "chained hashing" is handy to catch alterations, but beyond that, this thing doesn't seem to be bringing much to the table.

    1. Re:binary format? by Vairon · · Score: 1

      The "chained hashing" sounds handy but what keeps a tool from reading the entire log and write it back out, with some log entries removed, with a new chain-hash history that validates the entries that are left?

  8. Easy to trash a log? by Anonymous Coward · · Score: 0

    If I modify a single line in the log, thereby changing it's hash, do I therefore invalidate (or worse, render unreadable) every entry that follows?

    1. Re:Easy to trash a log? by X0563511 · · Score: 1, Insightful

      You should probably go learn what a digital signature is and how it is not encryption.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
  9. Secure Syslog by Anonymous Coward · · Score: 0

    It's called a dot-matrix printer.

  10. How? by Bert64 · · Score: 5, Insightful

    Log entries are "cryptographically hashed along with the hash of the previous entry in the file" resulting in a verifiable chain of entries.

    So this means that in order for someone malicious to modify a log entry, all they really need to do is then re-hash all subsequent entries?

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    1. Re:How? by Anonymous Coward · · Score: 0

      Exactly, this was obviously designed by someone that has no clue how cryptography and hashes work.

      I'm guessing some sort of student project or something because whoever did this is either a moron or seriously lacking experience.

    2. Re:How? by Anonymous Coward · · Score: 0

      That's correct. Rehash or remove and you're done.

      This idea of hashing entries is not enough by itself. For it to be effective you have to distribute the resulting list of hashed entries to others, so any tampering becomes evident just comparing the last hash.

    3. Re:How? by protactin · · Score: 1

      From the linked document:

      If the top-most hash is regularly saved to a secure write-only location, the full chain is authenticated by it. Manipulations by the attacker can hence easily be detected.

  11. Wrong approach by bigtrike · · Score: 1

    Everyone knows that read-only is more secure.

  12. Will tail work? by marcosdumay · · Score: 1

    Where will the journal be located?
    Will tail on it give me any usefull information (or I'll have to read thousands of lines until finding the log of the application I want)?
    How will it keep indices without uneeded overhead? (Let's get real, log files are rarely read. Why optimize for reading?)
    When they change the format of the journal, will I have to update all my log parsers?

  13. logrotate ...? by fahrbot-bot · · Score: 1

    "cryptographically hashed along with the hash of the previous entry in the file"

    Have fun rotating your logs!

    --
    It must have been something you assimilated. . . .
    1. Re:logrotate ...? by Anonymous Coward · · Score: 0

      Because of course people would just keep using the same logrotate scripts with this. You are an idiot.

  14. Not sure I like this... by nine-times · · Score: 1

    I'm all for making real improvements, and I'm sure that logging could be improved in various ways. However, when I'm looking at logs, it's generally because something is broken and I want to find information on how to fix it quickly and easily. Storing something in straight text makes it extremely accessible. It's not just about using grep, which many people are accustomed to, but also because text viewers are simple. If your computer can't run programs like cat, tail, or nano, then you've got big problems. However, even if you can't run those programs for some reason, you can copy a text file to another system-- any other system-- and read it without any special software or encryption keys.

    If you want to make another logging system that also tracks security-related information in a way that's easy to audit, I suppose that's worthwhile. However, if you want even basic diagnostic information to be stored in something other than plain-text, then you'd better have a simple, robust, cross-platform method of reading that data. After all, worrying about hackers is a bit of a fringe case. Most of the time, problems are caused by misconfiguration, software bugs, or bad hardware.

  15. write-once read-many fs by kipsate · · Score: 1

    In cases where avoiding tampering is crucial, just log to a write-once filesystem, or, indeed, a printer.

    --
    My karma ran over your dogma
  16. Send your logs to a remote/central server by Nos. · · Score: 3, Insightful

    There is no real problem this solves. You are far better off logging remotely. This does not stop an attacker from hiding his tracks, you'll just know the logs were altered, but you won't know what was removed, or likely if/when you can start trusting them again. Log remotely, use encryption, and use TCP. You're central/remote logger is your trusted source for logs. You close everything except incoming logs. Parse and alert on the logs from there. Its simple to do, its real time, and solves a lot more issues than this type of solution ever will.

  17. Very simple text-based implementation by digitalderbs · · Score: 2
    Signing log messages does not need to be complicated or incompatible with current text-based logging. Hashing messages is incredibly easy to do, and there's really no reason not to do it. I just implemented this in python in less than two minutes.

    >>> from hashlib import md5
    >>> log = lambda last_message, message: "{}: {}".format( md5(last_message).hexdigest(), message)

    The output hashes the last message with the current message:

    8a023b9cbebe055e4b080585ccba3246: [ 19.609619] userif-2: sent link up event.
    649a2719064f7f276462464527b48a69: [ 29.680009] eth0: no IPv6 routers present

    No binaries, still grepable, single host and most importantly, there is now a trail that can be verified.

    1. Re:Very simple text-based implementation by icebraining · · Score: 1

      Digital signing is more than hashing. You need to encrypt the hash with a private key.

    2. Re:Very simple text-based implementation by atisss · · Score: 1

      The key must be located on the same machine for it to work. So it's not secure anyway.

    3. Re:Very simple text-based implementation by Darktan · · Score: 1, Insightful

      And where do you keep the private key? Oh, easy, just dump it in /etc. That can't possibly be a problem.

  18. Syslog on Windows by C-Shalom · · Score: 1

    Secure Syslog?!?
    I'm still waiting for regular syslog on Windows.

    1. Re:Syslog on Windows by Anonymous Coward · · Score: 0

      You mean Event Viewer, the thing you can read pretty much any log you wish and also customise logs for and create logs for whatever application that is capable of outputting logs?

      Oh and send it to a offsite server?

      Now I wonderwhy syslog doesnt exist......

    2. Re:Syslog on Windows by jbov · · Score: 2

      Oh you mean the terribly slow to open, slow to run, tree view application that must be loaded through the GUI? The one where you have to click on each event to view the details? What happens if you can't run this application? How do you access these logs from the Windows recovery console?

    3. Re:Syslog on Windows by Xaemyl · · Score: 1

      One way is using the get-winevent cmdlet from powershell. http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/14/use-custom-views-from-windows-event-viewer-in-powershell.aspx.

      Dunno about windows recovery console however.

    4. Re:Syslog on Windows by siride · · Score: 1

      The event log is available via API. You can write a VBScript script to dump it to the console. There are a bunch of these available online. Yeah, it's a little less convenient than having a text file readily available.

    5. Re:Syslog on Windows by alcourt · · Score: 1

      There already is a few syslog compatible daemons for Windows. Syslog-ng has one such port. Many of the large scale commercial syslog aggregators (spunk, sensage, ...) have tools/products to extract the native Windows logs. They don't necessarily work the same way as syslog does, but there are still options there.

      I'm more looking for a usable oracle log extractor since Oracle is ripping out the syslog support.

      --
      "I may disagree with what you say, but I will defend unto the death your right to say it." -- Voltaire
    6. Re:Syslog on Windows by Anonymous Coward · · Score: 0

      Funny how I dont have those problems.

      But then again, like ALL Linux Admins know damn well - you keep your logs well archived, you dont have any issues, so why is this changed in Windows. And loaded via GUI only? Again like all good admins know, there is more than one way to read a log file. But you already admitted you dont know Powershell and thence I can only conclude you are not a good Windows Admin.

      If Linux Admins were shit, Linux systems would be as every bit crap as Linux dweebs thinks Windows is

  19. Serious issues with this by anarcat · · Score: 5, Insightful

    Now, without getting into how much i dislike Pulseaudio (maybe because i'm an old UNIX fart, thank you very much), I think there are really serious issues with "The Journal", which I can summarize as such:

    1. the problem it's trying to fix is already fixed
    2. the problem isn't fixed by the solution
    2. it makes everything more opaque
    3. it makes the problem worse

    The first issue is that it is trying to fix a problem that is already easily solved with existing tools: just send your darn logs to an external machine already. Syslog has supported networked logging forever.

    Second, if you log on a machine and that machine gets compromised, I don't see how having checksums and a chained log will keep anyone from just running trashing the whole 'journal'.

    rm -rf /var/log

    What am i missing here?

    Third, this implements yet another obscure and opaque system that keeps the users away from how their system works, making everything available only through a special tool (the journal), which depends on another special tool (systemd), both of which are already controversial. I like grepping my logs. I understand http://logcheck.org and similar tools are not working very well, but that's because there isn't a common format for logging, which makes parsing hard and application dependent. From what I understand, this is not something The Journal is trying to address either. To take an example from their document:

    MESSAGE=User harald logged in
    MESSAGE_ID=422bc3d271414bc8bc9570f222f24a9
    _EXE=/lib/systemd/systemd-logind
    [... 14 lines of more stuff snipped]

    (Nevermind for a second the fact that to carry the same amount of information, syslog only needs one line (not 14), which makes things actually readable by humans.)

    The actual important bit here is "User harald logged in". But the thing we want to know is: is that a good thing or a bad thing? If it was "User harald login failed", would it be flagged as such? It's not in the current objectives, it seems, to improve the system in that direction. I would rather see a common agreement on syntax and keywords to use, and respect for the syslog levels (e.g. EMERG, ALERT, ..., INFO, DEBUG), than reinventing the wheel like this.

    Fourth, what happens when our happy cracker destroys those tools? This is a big problem for what they are actually trying to solve, especially since they do not intend to make the format standard, according to the design document (published on you-know-who, unfortunately). So you could end up in a situation where you can't parse those logs because the machine that generated them is gone, and you would need to track down exactly which version of the software generated it. Good luck with that.

    I'll pass. Again.

    --
    Semantics is the gravity of abstraction
    1. Re:Serious issues with this by skids · · Score: 1

      Now, without getting into how much i dislike Pulseaudio

      Hey, I would have gladly listened to that. Even JACK is picking up bad habits from that pile of crap.

      I would rather see a common agreement on syntax and keywords to use, and respect for the syslog levels

      Here here. But then, it's much harder to be a leader in getting people to do things they should have been doing long ago than it is to lead by saying :"here's my bright new shiny object."

    2. Re:Serious issues with this by jbov · · Score: 4, Informative
      I can mostly agree with you. There is one thing you might be missing.

      Second, if you log on a machine and that machine gets compromised, I don't see how having checksums and a chained log will keep anyone from just running trashing the whole 'journal'.
      rm -rf /var/log
      What am i missing here?

      Fourth, what happens when our happy cracker destroys those tools?

      I think what you are missing is this replacement is intended to prevent "undetected" tampering with the logs. Currently, a cracker can delete the log entries that would identify his or her activities on the machine, thereby going unnoticed. Deleting the log files or destroying the tools, as you suggested, would certainly be a detectable sign that the machine was compromised.

    3. Re:Serious issues with this by Ed+Avis · · Score: 1

      As I understand it, you might not want to send the whole log activity across the network (imagine a mobile device, say) but you still want to get the security against tampering that this provides. So instead you just send a cryptographic hash of the whole journal once a day - or even print it out to a dot matrix printer as someone else suggested. You can then use that hash to check the whole journal hasn't been tampered with since the hash was generated. Second, of course this does not provide security against someone nuking the whole log. But if you see the whole of /var/log is gone, that's already a pretty strong indication that something is wrong with your machine. The attack guarded against is someone breaking in and sneakily modifying past log entries to hide their traces. Third, yes it would be harder to grep than a plain text file. Luckily, Unix also has the concept of pipes, so I guess it won't be any harder than 'journalcat | grep pattern' where journalcat is the tool that spools out the whole journal as text. That should be good enough. Fourth, if your system is potentially compromised then of course you cannot trust that system to give you an honest answer about what the logs contain. That is equally true with plaintext syslog or any logging system restricted to the local machine. You can, however, take a copy of the whole log entry, put it on a clean machine and analyse it there. The advantage over syslog is that you can use the cryptographic hash (which you were taking a copy of every 24 hours, as above) to check that the journal is uncorrupted. If somebody has tried to mess with the log, they won't be able to do so without you noticing. "The Journal" has other advantages over syslog, including some measure of checking who is logging what (so you can't start a random process and claim to be apache on port 80 for the purpose of log messages).

      --
      -- Ed Avis ed@membled.com
    4. Re:Serious issues with this by AmbushBug · · Score: 2

      First issue: This is great if you have an external system to log to - if not, you're boned. This new logging system seems to cover both cases.

      Second issue: One of the big reasons for doing this is to be able to detect when the log has been altered to cover a crackers tracks. Obviously, a deleted log file is easily detected and a big indicator that your system has been compromised, so I'm not seeing your point here.

      Third issue: As has been stated above, you can log to both the Journal and good old text based log files. That way you can still use your existing tools on the text file while still being notified of log file alteration. I agree that a common format for log entries would be nice but may not be possible since not every application logs the same kind of data. Note also that this proposal allows for arbitrary key/value pairs so some standard conventions will probably come about after its been used for a while.

      Fourth issue: Not sure I understand what you are talking about here... Obviously, backward compatibility will have to be taken into account by the devs. You should be able to read the files on other machines if you backed up your encryption keys, etc. (you do backup that stuff right?). By reading the articles, it sounds like the devs have thought about these issues and/or they have already been raised by others. They seem to be fairly easy to deal with.

      I'm not necessarily on board with this proposed system either, but your issues seem like they've already been covered by the proposed design.

    5. Re:Serious issues with this by rnturn · · Score: 3, Insightful

      ``This is great if you have an external system to log to - if not, you're boned.''

      Seriously, how hard it is to set one of these up? Not very. How expensive is to do this? Not very. Are we going to toss out the current method of logging because of the folks who only have Linux running on a laptop and have that as their only computer?

      You certainly would not need a tremendously powerful PC to sit out on your network and do nothing but accept syslog messages from other systems.

      ``you can log to both the Journal and good old text based log files. That way you can still use your existing tools on the text file while still being notified of log file alteration''

      My understanding (someone correct me if I'm wrong on this) is that there will be only a single logging system, not one doing this Journal format and another for text logs. The text available from the Journal would have to come from a tool that uses certain new library calls to extract information from the Journal. Users would have to pipe the output of that, one supposes, into tools to search for error messages of interest. It's not terribly hard to use but...

      ``backward compatibility will have to be taken into account by the devs''

      Not necessarily. Several of the summaries I've read about this new logging system indicate the the format hasn't been agreed on and may change from time to time. And... there is no guarantee when they'll get around to documenting the format. Good grief! First we have to change all of our log file search scripts to use the new Journal dumping tool. Then the format changes so we have to modify our scripts again. And again, perhaps, whenever it suits Lennart. How nice!

      --
      CUR ALLOC 20195.....5804M
    6. Re:Serious issues with this by Anonymous Coward · · Score: 0

      This is great if you have an external system to log to - if not, you're boned.

      Everyone can have an external system to log to. In my case it's my OpenWRT router with attached usb disk, colo/hosting providers should be able to provide a central loghost. If a company has a single-device IT configuration they have more serious problems than logging.

      One of the big reasons for doing this is to be able to detect when the log has been altered

      And you can't do that by modifying existing tools? Like, say, add hashes to the already existing syslog?

      As has been stated above, you can log to both the Journal and good old text based log file

      Then of what use is the journal? Bear in mind that rsyslog already supports database backends, so fast-search by indexing has already been done.

      You should be able to read the files on other machines if you backed up your encryption keys

      No, you're missing the point. The binary format is undocumented and subject to change, they make no claims about backwards compatibility. So if you've lost the exact version of journald that created the logs, there is no guarantee that a different version will be able to succesfully parse the logs. Additionally, journald uses deduplcation, e.g. it replaces an application name by a dynamically generated token. Good luck browsing your logs if the token dictionaries have been lost.

    7. Re:Serious issues with this by Alsee · · Score: 1

      1.
      2.
      2.
      3.

      The entire argument is moot when your log file is corrupt.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    8. Re:Serious issues with this by anarcat · · Score: 3, Insightful

      First issue: This is great if you have an external system to log to - if not, you're boned. This new logging system seems to cover both cases.

      No, it doesn't: it does not protect you if you do not log to a another server or at least backup the hashes somewhere else. You still need a secondary server.

      Second issue: One of the big reasons for doing this is to be able to detect when the log has been altered to cover a crackers tracks. Obviously, a deleted log file is easily detected and a big indicator that your system has been compromised, so I'm not seeing your point here.

      Well, I was making a rather broad stroke on that one. As I explained earlier, just like with git rebase you can certainly tamper with the logs without being detected, if you are root, so this doesn't cover that case unless (again) you use a secondary server.

      Third issue: As has been stated above, you can log to both the Journal and good old text based log files. That way you can still use your existing tools on the text file while still being notified of log file alteration. I agree that a common format for log entries would be nice but may not be possible since not every application logs the same kind of data. Note also that this proposal allows for arbitrary key/value pairs so some standard conventions will probably come about after its been used for a while.

      Somebody else answered to this, but yeah: if you're going to file to logfiles anyways, why bother with the journal?

      Fourth issue: Not sure I understand what you are talking about here... Obviously, backward compatibility will have to be taken into account by the devs. You should be able to read the files on other machines if you backed up your encryption keys, etc. (you do backup that stuff right?). By reading the articles, it sounds like the devs have thought about these issues and/or they have already been raised by others. They seem to be fairly easy to deal with.

      Backward compatibility doesn't seem to have been taken into account by the devs. It's in the FAQ:

      Will the journal file format be standardized? Where can I find an explanation of the on-disk data structures?
      At this point we have no intention to standardize the format and we take the liberty to alter it as we see fit. We might document the on-disk format eventually, but at this point we don’t want any other software to read, write or manipulate our journal files directly. The access is granted by a shared library and a command line tool. (But then again, it’s Free Software, so you can always read the source code!)

      I'm not necessarily on board with this proposed system either, but your issues seem like they've already been covered by the proposed design.

      I disagree with this analysis. :)

      --
      Semantics is the gravity of abstraction
    9. Re:Serious issues with this by kangsterizer · · Score: 1

      I'll just add there are 2 common logging formats proposed to fix the formatting issue.
      One is CEE and the other is CEF. Can Google em up :)

      Systemd-journal's formatting is certainly horrific.

    10. Re:Serious issues with this by kangsterizer · · Score: 1

      Remember the last attempt to have some "binary hard to read" format designed to "be more secure"?
      Hello wtmp horror :-)

      Thanks god Zap3 (which is a "hack" tool) can wipe or edit entries at will, better than the non-existing tools to manage it ;-)

    11. Re:Serious issues with this by sentimental.bryan · · Score: 1

      Now, without getting into how much i dislike Pulseaudio (maybe because i'm an old UNIX fart, thank you very much), I think there are really serious issues with "The Journal", which I can summarize as such:

      1. the problem it's trying to fix is already fixed 2. the problem isn't fixed by the solution 2. it makes everything more opaque 3. it makes the problem worse

      The first issue is that it is trying to fix a problem that is already easily solved with existing tools: just send your darn logs to an external machine already. Syslog has supported networked logging forever.

      Second, if you log on a machine and that machine gets compromised, I don't see how having checksums and a chained log will keep anyone from just running trashing the whole 'journal'. rm -rf /var/log What am i missing here?

      Third, this implements yet another obscure and opaque system that keeps the users away from how their system works, making everything available only through a special tool (the journal), which depends on another special tool (systemd), both of which are already controversial. I like grepping my logs. I understand http://logcheck.org and similar tools are not working very well, but that's because there isn't a common format for logging, which makes parsing hard and application dependent. From what I understand, this is not something The Journal is trying to address either. To take an example from their document: MESSAGE=User harald logged in MESSAGE_ID=422bc3d271414bc8bc9570f222f24a9 _EXE=/lib/systemd/systemd-logind [... 14 lines of more stuff snipped] (Nevermind for a second the fact that to carry the same amount of information, syslog only needs one line (not 14), which makes things actually readable by humans.)

      The actual important bit here is "User harald logged in". But the thing we want to know is: is that a good thing or a bad thing? If it was "User harald login failed", would it be flagged as such? It's not in the current objectives, it seems, to improve the system in that direction. I would rather see a common agreement on syntax and keywords to use, and respect for the syslog levels (e.g. EMERG, ALERT, ..., INFO, DEBUG), than reinventing the wheel like this.

      Fourth, what happens when our happy cracker destroys those tools? This is a big problem for what they are actually trying to solve, especially since they do not intend to make the format standard, according to the design document (published on you-know-who, unfortunately). So you could end up in a situation where you can't parse those logs because the machine that generated them is gone, and you would need to track down exactly which version of the software generated it. Good luck with that.

      I'll pass. Again.

      Hear, hear. The biggest problem anyway is that people don't read their log-files. This Journal thing just seems to make them harder to parse.

    12. Re:Serious issues with this by harald · · Score: 2

      Wait a minute. I didn't log on to that system!

    13. Re:Serious issues with this by drinkypoo · · Score: 1

      1) doesn't solve the problem that the logs can be edited, it just raises the bar because now you have to hack two machines
      2) the problem isn't trashing of the whole journal. the problem is being hacked without knowing you've been hacked. you can keep your data stores safe by protecting access, but if you will later bring the data across a compromised computer then that doesn't help you.
      3) Named pipes.
      4) What kind of tool are you? You don't boot the system to do forensics. You image the disk and then load the disk image on another system. And why would you need to "track down" exactly which version of the software generated it? Lots of software upgrades won't alter the format at all, and the newest tool should always be capable of dealing with the data files from the oldest tool.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    14. Re:Serious issues with this by Anonymous Coward · · Score: 0

      Luckily, Unix also has the concept of pipes, so I guess it won't be any harder than 'journalcat | grep pattern' where journalcat is the tool that spools out the whole journal as text.

      How will "grep -r pattern /var/log work"?

    15. Re:Serious issues with this by Anonymous Coward · · Score: 1

      1) doesn't solve the problem that the logs can be edited, it just raises the bar because now you have to hack two machines

      Neither does this. This suffers from the same problem with keys that DRM does, you can't make unbreakable DRM if the user has the keys and they need the keys to watch, and you can't make unforgeable logs when the user needs the keys to write them.

      2) the problem isn't trashing of the whole journal. the problem is being hacked without knowing you've been hacked. you can keep your data stores safe by protecting access, but if you will later bring the data across a compromised computer then that doesn't help you.

      See 1.

      3) Named pipes.

      Hardly compares to the transparency of the current system

      Lots of software upgrades won't alter the format at all, and the newest tool should always be capable of dealing with the data files from the oldest tool.

      It is unproven software, it remains to be seen whether that will be true.

  20. postscript on signing log messages by digitalderbs · · Score: 1

    It occurred to me shortly after posting that a simple hash could easily be forged, and that a key signing of sorts would be needed to make it secure, though the system would have to be able to sign its own log messages without giving the hacker access to the signing key.

  21. I do (was: I don't know...) by Zero__Kelvin · · Score: 4, Insightful

    "It's even compatible with the standard syslog interface allowing it to either coexist with or replace the usual syslog daemon with minimal disruption.

    Your answer is right in the summary. I can use standard syslog in conjunction with it, and then have a process running in the background that notifies me if the integrity of the text file is violated, thereby getting the best of both worlds.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    1. Re:I do (was: I don't know...) by kestasjk · · Score: 1

      But you're forgetting the most important thing; is it writing to disk in ASCII encoding?!

      --
      // MD_Update(&m,buf,j);
    2. Re:I do (was: I don't know...) by Zero__Kelvin · · Score: 1

      What the hell are you talking about? What is "it" ? Who cares, and why? You might want to read this.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  22. Absurd by Anonymous Coward · · Score: 5, Insightful

    From the FAQ:

    we have no intention to standardize the format and we take the liberty to alter it as we see fit. We might document the on-disk format eventually, but at this point we don’t want any other software to read, write or manipulate our journal files directly.

    Not only does it generate logfiles that are not human-readable, they're also in a format that in two years not even their own tool will be able to read. If it is still around in two years, which I doubt.

    1. Re:Absurd by Anonymous Coward · · Score: 0

      Why? It fits perfectly into the Linux world: obscure, not compatible to itself in less than a month and yet another variation of something but still half-assed so the next variation has a chance to emerge.

      It's all idiots not understanding a thing and thinking they came up with the ultimate solution.

    2. Re:Absurd by caseih · · Score: 1

      No I don't believe so. I think this is only the journal we are talking about here, not the logged information itself.

  23. Use both by jbov · · Score: 1

    The summary states that it can be used with your usual syslog daemon. Therefore you can use your usual tools to analyze your logs, but you still have an audit trail to identify log tampering. The downside of this may be more disk i/o.

  24. Recalculate all hashes? by Anonymous Coward · · Score: 0

    Can someone explain to me why you can't simply edit the log entry you want to change, and then recalculate every hash for the rest of the file?
    Unless you want to change some log entry from months ago with gigabytes of log entries to re-hash this should be doable right?
    Unless you keep some additional copy somewhere to compare to, in which case the hash doesn't really add anything.

  25. Funny typo in the design docs by Superken7 · · Score: 1
    "journal all entries are cryptographically hashed along with the hash of the previous entry in the file. This results in a chain of entries, where each entry authenticates all previous ones. If the top-most hash is regularly saved to a secure write-only location, the full chain is authenticated by it." (emphasis mine)

    Nice security, erm, feature..?

    1. Re:Funny typo in the design docs by Superken7 · · Score: 1

      I'm thinking that maybe this isn't a typo, and its intended to just avoid reading. But how would you prevent it from being overwritten, thus producing a new, rebuilt, forged but apparently cryptographically correct hashed logfile?

    2. Re:Funny typo in the design docs by Anonymous Coward · · Score: 0

      chflags sappnd. And while you're at it, simply redirect your entire log to that location.

    3. Re:Funny typo in the design docs by Darktan · · Score: 1

      But how do you save it to a write only location? Easy, just use syslog and send it to a remote server.

  26. See: Integrity by Zero__Kelvin · · Score: 1

    http://www-cs-students.stanford.edu/~blynn/gitmagic/ch08.html If this doesn't explain why you are wrong, keep googling. You'll figure it out eventually.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    1. Re:See: Integrity by ultramkancool · · Score: 2, Informative

      Your hashes don't have to match anything. This does not apply. You can just recreate the entire syslog database.

    2. Re:See: Integrity by Zero__Kelvin · · Score: 1

      In theory theory always works. In practice it often doesn't. Integrity also means that all things appear to be normal. The events have to keep coming in and must be logged in the correct format. As this happens more hashes are being folded in. If you stop that process, it becomes obvious. If you don't, you cannot calculate all your modifications in real time. Do you really think that the creators of this tool haven't thought about all of this? Seriously?

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    3. Re:See: Integrity by ultramkancool · · Score: 0

      Syslog being down for seconds is not obvious, on the other hand it's very easy to say... inject into syslogd to hide your modifications in real time. I hook libc functions using trampolines to write LD_PRELOAD rootkits myself. I just don't get the point, it seems like a really shitty half-measure.

    4. Re:See: Integrity by Anonymous Coward · · Score: 0

      I highly doubt that events are coming in faster than I can rehash them.
      If that were the case the bottleneck in the system would be the logging in which case no one will want to use it.
      Even if I do stop logging and then simply replicate several minutes of log entries, no one will ever notice without explicitly inspecting the log files for such tampering.
      If you know enough about the target you could probably even generate believable log entries.
      The solution to this is to store the hashes at some other location, in which case you might as well forget about hashing and just send all the logs to the other location.

    5. Re:See: Integrity by Zero__Kelvin · · Score: 1

      "The solution to this is to store the hashes at some other location, in which case you might as well forget about hashing and just send all the logs to the other location."

      What a coincidence. It is almost as if you read the article. Sending hashes periodically is indeed the correct solution. Sending a hash periodically is far better than sending the whole stream, for what should be obvious reasons.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    6. Re:See: Integrity by alcourt · · Score: 2

      Expected rate of log messages from systems I monitor is low enough that ten seconds downtime of syslog wouldn't be noticed except for a few misbehaved systems. Temporary network disconnects, nothing interesting going on, etc. all makes logging faster than that cause an unacceptable volume of traffic. Yes, I could log all those hashes to a table with a mere two week retention instead of the full year required by PCI, but I don't think it would fly the way you intend.

      --
      "I may disagree with what you say, but I will defend unto the death your right to say it." -- Voltaire
    7. Re:See: Integrity by Zero__Kelvin · · Score: 1

      "Expected rate of log messages from systems I monitor is low enough that ten seconds downtime of syslog wouldn't be noticed except for a few misbehaved systems."

      Which is exactly the point. You can send the hashes, either separately, or in conjunction with your normal stream, and you'll know if you are missing something or something isn't quite right.

      "Yes, I could log all those hashes to a table with a mere two week retention..."

      Where did you get this imaginary limitation from. They are hashes. Disk space is cheap. Store them forever if you want.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    8. Re:See: Integrity by Anonymous Coward · · Score: 0

      So this stops the attacker rehashing the entire log file. Fortunately they don't need to do that anyway, they only need to rehash from the point they want to modify the file, which may well be after the last hash was sent unless you send a hash every minute.

      I accept that using hashes can provide a benefit if the hashes are sent elsewhere, I don't see why they can't be incorporated into the current syslog.

  27. Thanks by jbov · · Score: 1

    That's a little better. I don't see it as comparable to syslog with unix/linux shell tools. Then again, I'm a powershell noob and would miss my vim key bindings.
    I searched but couldn't locate any way to read the log files via the recovery console. Maybe (I hope) someone will enlighten me here.

  28. GNOME 3 crack by David+Gerard · · Score: 4, Insightful

    This is on the same crack as the rest of GNOME 3. They've invented the Windows event log, well done! Now I hand you a trashed system, but you can read the disk. You look into /var/log/syslog ... no, you don't. "We might document the on-disk format eventually, but at this point we don’t want any other software to read, write or manipulate our journal files directly. The access is granted by a shared library and a command line tool."

    Speaking as a sysadmin, I shudder at this incredibly stupid idea. Are they even thinking of how to get something actually readable in disaster?

    --
    http://rocknerd.co.uk
  29. Serioulsy? by cdukes · · Score: 5, Insightful

    Is this a joke? Or is it someone just trying to push their ideology of what they think should be done to the rest of the world to make their idea a standard?

    Doing something like this would be a sure way for Linux to shoot itself in the foot. For evidence, one only needs to look as far as Microsoft who insists on doing it their special way and expecting everyone else to do what they deem as "good". The concept of syslog messages are that they are meant to be 'open' so disparate systems can read the data. How to you propose to integrate with large syslog reporting/analysis tools like LogZilla (http://www.logzilla.pro)?

    The authors are correct that a format needs to be written so that parsing is easier. But how is their solution any "easier"? Instead, there is a much more effective solution available known as CEE (http://cee.mitre.org/) that proposes to include fields in the text.

    > Syslog data is not authenticated.
    If you need that, then use TLS/certificates. when logging to a centralized host.

    >Syslog is only one of many logging systems on a Linux machine.
    Surely you're aware of syslog-ng and rsyslog.

    Access control to the syslogs is non-existent.
    > To locally stored logs? Maybe (if you don't chown them to root?)
    > But, if you are using syslog-ng or rsyslog and sending to a centralized host., then what is "local" to the system becomes irrelevant.

    Disk usage limits are only applied at fixed intervals, leaving systems vulnerable to DDoS attacks.
    > Again, a moot point if admins are doing it correctly by centralizing with tools like syslog-ng, rsyslog and LogZilla.

    >"For example, the recent, much discussed kernel.org intrusion involved log file manipulation which was only detected by chance."
    Oh, you mean they weren't managing their syslog properly so they got screwed and blamed their lack of management on the protocol itself. Ok, yeah, that makes sense.

    They also noted in their paper that " In a later version we plan to extend the journal minimally to support live remote logging, in both PUSH and PULL modes always using a local journal as buffer for a store-and-forward logic"
    I can't understand how this would be an afterthought. They are clearly thinking "locally" rather than globally. Plus, if it is to eventually be able to send, what format will it use? Text? Ok, now they are back to their original complaint.

    All of this really just makes me cringe. If RH/Fedora do this, there is no way for people that manage large system infrastructures to include those systems in their management. I am responsible for managing over 8,000 Cisco devices on top of several hundred linux systems. Am I supposed to log on to each linux server to get log information?

    1. Re:Serioulsy? by Anonymous Coward · · Score: 0

      tools like LogZilla (http://www.logzilla.pro)?

      Offtopic - That's the first time I've ever seen a .pro TLD, which is interesting. Looking at your website and wikipedia's requirements for a .pro registry, it's not clear to me how Logzilla LLC qualifies. Care to share?

    2. Re:Serioulsy? by nevets · · Score: 1

      Is this a joke? Or is it someone just trying to push their ideology of what they think should be done to the rest of the world to make their idea a standard?

      Wow, that was my same response when I upgraded my box and Gnome3 was installed (removing my very customized setup of Gnome2).

      --
      Steven Rostedt
      -- Nevermind
  30. U don't know much about Windows, do you? by Anonymous Coward · · Score: 0

    Local Security Policy Tool/secpol.msc has MANY options 4 logging w/in its tree items!

    Follow them like so down its left-hand side pane:

    Security Settings
    Advanced Audit Policy Configuration
    System Audit Policies - Local Group Policy Object

    Beneath that last tree item in the left-hand side pane, are 10 major categories of possible auditing.

    Beneath those are 57 subitems for logging as well...

    * The rest can be done in other tools (e.g.-> like Windows Firewall logging for IP access etc.)

    APK

    P.S.=> The SAME can be accomplished from an AD Group Policy GLOBAL NETWORK LEVEL as well, using gpedit.msc/Group Policy Editor (so you don't have to manage EVERY SINGLE WORKSTATION NODE to do it, machine-by-individual-machine)!

    Programming custom apps to do logging via API calls to the EventViewer's easy as well...

    SO....There you go, "here endeth the lesson"

    ... apk

  31. Doesn't seem to be very useful by vadim_t · · Score: 1

    It seems pointless. If somebody already has enough privileges on your server to mess with the logs, how is a hash going to help? There's a whole bunch of things an attacker can do that makes this useless.

    Most obviously, they can corrupt or erase the contents of the file. Noticeable, but the traces of you accessing can be deleted, so that the admin can't figure out who did it.

    The attacker can save an old file, do whatever needs hiding, and replace the file with the old copy. Depending on how it works this may result in logging being continued to the replaced file, or the log daemon keeping to write into a now nameless file, while an old one is visible in the directory instead.

    The hash seems pointless. If the attacker can modify the logs directly, they likely have root access, which means they can debug any process, and subvert any cryptography that might be happening. They can also regenerate the log file with the correct hashes but with a few deleted lines, or replace the daemon with one that doesn't log some things.

  32. jobs. by mevets · · Score: 5, Funny

    Attitudes like yours cost the industry jobs. It is best for if we store data away into increasingly inappropriate places so that lusers have to pay us to get their own data.

    Hell, going back to standard data formats and reusable tools would be the death of a thousand increasingly bizarre specialty languages alone.

    As a penance, you should rewrite diff in python to work on sqlite databases. That should set the industry back another few years.

    1. Re:jobs. by Anonymous Coward · · Score: 0

      Hypercard is reborn!!!!

  33. If only his had been done before... Oh, it has. by tlambert · · Score: 2

    If only his had been done before... Oh, it has. It's called "asl".

    http://opensource.apple.com/source/syslog/syslog-132/

    -- Terry

  34. What else will he break by Anonymous Coward · · Score: 0

    Oh, look, Pottering is breaking something else. It must be a hobby of his.

    What Linux really could use for secure logging is mounting /var/log as an append-only file system. If you can only read from and append to a file, it makes it awfully difficult to tamper with it. http://www.freebsd.org/doc/handbook/securing-freebsd.html

    1. Re:What else will he break by amorsen · · Score: 1

      What Linux really could use for secure logging is mounting /var/log as an append-only file system. If you can only read from and append to a file, it makes it awfully difficult to tamper with it. http://www.freebsd.org/doc/handbook/securing-freebsd.html

      Truly append-only makes log rotation difficult, and without it you are not completely secure -- replacing a file is almost as easy for an attacker as in-place editing. Mandatory Access Control makes it possible to ensure that only the log rotation daemon can replace files and everyone else can only append to their log files. Both FreeBSD and Linux provide MAC.

      --
      Finally! A year of moderation! Ready for 2019?
  35. How this can be tampered with by anarcat · · Score: 1

    I can mostly agree with you. There is one thing you might be missing.

    [...]

    I think what you are missing is this replacement is intended to prevent "undetected" tampering with the logs. Currently, a cracker can delete the log entries that would identify his or her activities on the machine, thereby going unnoticed. Deleting the log files or destroying the tools, as you suggested, would certainly be a detectable sign that the machine was compromised.

    My point is: even with git if someone has access to the repository it *can* be tampered with. It's harder and may take longer than with a plain text file, but it's completely possible. With git, there's even an easy way to do it (git rebase) and I suspect that cracking toolkit will adapt and also make that easier. Note that I assume here that you save the first hash of the tree to a secure location, as documented:

    Inspired by git, in the journal all entries are cryptographically hashed along with the hash of the previous entry in the file. This results in a chain of entries, where each entry authenticates all previous ones. If the top-most hash is regularly saved to a secure write-only location, the full chain is authenticated by it. Manipulations by the attacker can hence easily be detected.

    If only the topmost hash is saved to a backup location, then I just need to reroll all the logs from that first topmost hash and tampering goes undetected. The only argument for this technique is that you could keep more than just the first hash (say N hashes), which we could argue goes back to logging to a different machine, for a sufficiently high N.

    --
    Semantics is the gravity of abstraction
  36. Ah, mere ignorant newbies... by Arrogant-Bastard · · Score: 0

    ...who mistakenly think they can fix something that's not actually broken.

  37. SQLite Logging by Doc+Ruby · · Score: 1

    I'd like to see an OS where all logging is records in a database. With encryption and access control, and replication to remote instances.

    --

    --
    make install -not war

    1. Re:SQLite Logging by alcourt · · Score: 1

      Replication is in syslog if you want.

      If you really want my wish list for syslog, it is to reexamine the facilities. We don't need uucp or news any longer, but it would be nice to offer support for extended facilities.

      Beyond that, everything I've ever found myself wanting is already in syslog-ng but one. I want a program, distributed with any log daemon, that will parse the configuration file and if given a message string, program or facility.priority pair, will tell me all destinations it would go to. Some of us have to automatically ensure that this or that custom log file is configured correctly.

      --
      "I may disagree with what you say, but I will defend unto the death your right to say it." -- Voltaire
    2. Re:SQLite Logging by Anonymous Coward · · Score: 0

      rsyslog has Postgres and MySQL backends. You can write your own SQL templates for other databases.

    3. Re:SQLite Logging by Doc+Ruby · · Score: 1

      Nice!

      --

      --
      make install -not war

    4. Re:SQLite Logging by Doc+Ruby · · Score: 1

      Does syslog or syslog-ng include a trigger pattern feature, where you set some rule against the syslog data (including across multiple entries) that then sets some other (alarm) state, which can send messages (email, wall, arbitrary executable)?

      --

      --
      make install -not war

    5. Re:SQLite Logging by alcourt · · Score: 1

      That's called context filtering, and is a standard feature of any serious log analysis tool. Okay, so Loglogic is not a serious log analysis tool. If you find yourself needing context filtering, odds are, you have sufficient needs to consider genuine log analysis tools (e.g. splunk, sensage, etc.). I've worked heavily with such tools and the real power is when you have a full year of forensic log storage to analyze and can fairly readily run very unusual reports on that data that you never thought was significant when you captured it nine months ago. Yes, contextual comprehension is normal.

      To answer the question you didn't ask, real time analysis and forensic after-action analysis are different enough areas as to warrant different tools. The best approach I've seen done thus far is to collect them at the same point and then split the log feed, sending one to a long term storage, after-action analysis tool, and a copy of such to a real time analysis tool. It may seem on first glance like they should be easily combined, but there are some incompatible optimizations for the two uses that have come out not only in my experience, but the experience of a number of other people I've worked with who do log storage/analysis for a living.

      Execution of arbitrary action to trigger alerts is very normal.

      --
      "I may disagree with what you say, but I will defend unto the death your right to say it." -- Voltaire
    6. Re:SQLite Logging by Doc+Ruby · · Score: 1

      All I want is realtime alarms sent when a log entry matches a pattern. Do I really need to buy a commercial log analysis tool, that does more than that? It seems to me it's more likely a free Perl module used in a simple script tha scans a logfile and emails to addresses from a config file matching condition tags. Or the DB rsyslog backends with a trigger that emails to addresses from a condition/address table. And instead of email, hitting an HTTP URL for some other mode of notification.

      --

      --
      make install -not war

    7. Re:SQLite Logging by alcourt · · Score: 1

      Depends on your scale. If you are talking 5k+ systems, then yes, you need something more serious. You could try and grow it at home, but expect problems when it grows or you add too many alerts. If you are talking about trivial usage (at most a few hundred systems, and none of them are badly misconfigured so as to be spamming the log daemons with dozens if not hundreds of messages per second), then you almost don't care what you use. Hardware can then overcome inefficient code.

      Real time analysis isn't my primary specialty (I do long term storage and forensic analysis mostly), but usually, one needs to concentrate the logs into an analysis engine that can do comparisons of log events from different systems (if condition A on system primary, and not condition B on system secondary, alert). Once that is done, store the event for long enough to understand any failures where alerts failed to go out so you can build better alerts for next time. Typically, that's order of magnitude one to two weeks, though I've heard of shorter. You run into the risk of not finding the key event before it expires if you go too short. If you have large numbers of clients or geographic distribution, then a series of log concentrators is important, especially if you want to put your main log storage systems in an isolated network for additional safety.

      If you just have a small number of systems, then it's relatively easy. If you have large numbers of systems, then that central analysis engine becomes a major bottleneck and that's where the commercial products shine. Obviously, if you have no cases where the logs of system 1 alter the interpretation of the logs of system 2, that makes it much simpler, and you can then parallelize your log analysis much easier. I rarely see that as a need.

      The act of invoking some action is the easiest portion of all. I've seen almost nothing (including vanilla syslog) that can't feed a line into a program that executes an alert action. If nothing else, use named pipes to a program that calls snmptrap or wget or curl or whatever your alert program requires for input.

      --
      "I may disagree with what you say, but I will defend unto the death your right to say it." -- Voltaire
    8. Re:SQLite Logging by Doc+Ruby · · Score: 1

      I don't see why at 5K+ hosts being logged I need more than the rsyslogd at each to a target MySQL backend, where I have triggers against alarm conditions and alert address URLs, with readonly replication to a live backup for redundancy. That seems a completely manageable scale.

      These commercial log analyzer apps seem to be useful for complex reporting, where their reports already implement what I'd have to implement in my DB queries and report formatting. But even there it seems likely that an existing package of MySQL report generators is what I'd want. Maybe not, but what I'm looking for here is simply pattern alarm/alert features, not real analysis. At the point where load scale is too large for MySQL, Postgres, Oracle etc is probably the way to handle the load, and possibly direct to those for any complexity in the distributed architecture.

      --

      --
      make install -not war

    9. Re:SQLite Logging by alcourt · · Score: 1

      All the commercial folks have gone away from standard relational databases for the log storage because it is suboptimal. Instead, a proprietary database optimized just for log analysis and retention is used. It's a standard sedan being used as a commercial truck. You can make it sort of work, but you'll feel the pain.

      My experience is based on an order of magnitude higher than the threshold I indicated, but I can tell we exceeded traditional databases around the 5k hosts level, and we aren't even doing complex log analysis. A few filters to identify specific log event types (e.g. sudo traffic is reformatted so that key items of the sudo become specific columns for easier searching.

      What made your needs more complex was the request for contextual filtering. I also assumed you were needing contextual filtering across multiple hosts. That's when it gets hairy and you really notice the difference with a proper tool.

      For low numbers of systems, splunk is great. When you have to go geographically diverse, my advice is to avoid splunk. They don't concentrate their log events into a single datacenter for cross-system reports and filters. (They tried to sell to us, and that was a deal breaker here.)

      As I said, for smaller numbers of systems, hardware can overcome less efficient code. It's when you try to scale up that you experience the pain, or you try and bolt on things like centralized log protection, long term retention of your alerts because the auditors want proof six months later you sent out an alert, etc. It turns out you hit that level surprisingly quick in our experience.

      And for the record, I'm quickly coming to the conclusion that rsyslogd is evil. We've blocked RHEL 6 certification on the use of rsyslogd alone because it messes with log output format and is so devilishly hard to auto-configure and validate that configuration is correct.

      --
      "I may disagree with what you say, but I will defend unto the death your right to say it." -- Voltaire
    10. Re:SQLite Logging by Doc+Ruby · · Score: 1

      Thank you for the insightful voice of experience :).

      --

      --
      make install -not war

    11. Re:SQLite Logging by pnakotus015 · · Score: 1

      All I want is realtime alarms sent when a log entry matches a pattern.

      SEC simple event correlator might be what you're looking for.

    12. Re:SQLite Logging by Doc+Ruby · · Score: 1

      That would do the job. Thanks.

      --

      --
      make install -not war

  38. syslog over a network by Anonymous Coward · · Score: 0

    "just send your darn logs to an external machine already"

    They are probably referring to not sending clear text over the network as syslog does. Yes you can setup an ssh tunnel, etc, but a pain.

    1. Re:syslog over a network by TruthSeeker · · Score: 1

      Yes you can setup an ssh tunnel, etc, but a pain.

      Or you can use, say, syslog-ng with SSL and a set of X.509 certificates.

      --
      I sense much beer in you. Beer leads to intoxication, intoxication leads to hangover. Hangover leads to sobering.
  39. /. wisdom by 21mhz · · Score: 1

    I like it how Slashdot is full of tech wisdom. Until there is a story on something you actually understand well, and then it's full of blithering idiots opening their mouths before spending like 10 minutes to learn.

    --
    My exception safety is -fno-exceptions.
  40. Text based secure syslog already solved by freddienumber13 · · Score: 1

    There are RFCs that cover the transmission of syslog messages in a secure fashion. 5424, 5425, etc.

    There are tools that store syslog messages - in plain text - in a secure fashion.

    syslog-ng is just one of them.

    This post is "old" and nothing more than a group of people reinventing the wheel.

    The *only* way to solve tampering with log data is to store it on another machine and hope hackers don't get to that.

    If a hacker gains access to a system with log files on it, the best you can do is make the logging tamper-evident. This means that if the hacker modifies the data, in any way, it can be detected. This includes hash recalculation.

    Making the system tamper-evident with hashes simply means that all hashes require a secret input and that the input is only ever stored on the system for the next entry. If you know the secret input for hash#0, then you can calculate the secret input for hash#n, but knowing the secret input for hash#n does not tell you what it was for hash#(n-1). Similarly, the secret input for hash#0 is not stored on the system.

    1. Re:Text based secure syslog already solved by rew · · Score: 1

      Exactly! You need to solve the problem at hand and not something unrelated.

      Provided they reach their goal of having a cryptographically secure log-message-chain, what do you do if your software reports: sorry, chain broken here? You know that your logfile was tampered with. So what?

      But with the binary format and the program that is required to read the binary format.... The hackers just replace the binary-format-reader and make it report: "all is fine". It's easy enough to do: the source is available....

    2. Re:Text based secure syslog already solved by ale2011 · · Score: 1

      Yes, besides RFC 5424..5427, there are also

      • RFC 5674: Alarms in Syslog
      • RFC 5675: Mapping Simple Network Management Protocol (SNMP) Notifications to SYSLOG Messages
      • RFC 5676: Definitions of Managed Objects for Mapping SYSLOG Messages to Simple Network Management Protocol (SNMP) Notifications
      • RFC 5848: Signed Syslog Messages

      I'm not sure why the design proposed by Lennart Poettering and Kay Sievers would be better than upgrading syslog() so as to cover those standardizations. Proposers of an enhancement should take the trouble to standardize it, beside coding, experimenting, and evangelizing it.

  41. Binary logs are retarded but... by Anonymous Coward · · Score: 1

    Even suggesting the move to binary logs is so stupid that its proponents should be shot to death...

    However you can have the best of both world:

    log message 1 in clear text + (CRYPTO HASH of this message + plus previous log messages)
    log message 2 in clear text + (CRYPTO HASH of this message + plus previous log messages).

    But binary logs. Really?

    Who's lacking neurons *that* badly?

  42. Lennart Poettering is harmful to Linux community by Anonymous Coward · · Score: 0

    Pulse Audio, systemd, Journal ...

    Pottering must be .. emmm... disabled to create software :)

  43. Why are you using linux then? by Anonymous Coward · · Score: 0

    This kind of nonsense has been standard operating procedure in the linux world for years. Adding unnecessary complexity to everything is what they do. That's why people who like unix are using openbsd, netbsd or plan 9.

    1. Re:Why are you using linux then? by David+Gerard · · Score: 1

      Unfortunately, workplaces tend to the least worst, i.e. Linux. (We were Solaris until Oracle bought Sun.)

      --
      http://rocknerd.co.uk
    2. Re:Why are you using linux then? by Anonymous Coward · · Score: 0

      Least worst? Linux is pretty worst, that's the point. Every workplace I've ever worked at has used OpenBSD and NetBSD, and two used plan 9 also. Not seeing the issue here.

  44. You've been rooted. by sgt+scrub · · Score: 1

    If someone with technical skills sufficient to break into a machine and effect syslog data has gained root on a machine, how is an alternative syslogd going to make it more difficult for them? If they have root an alternative logging daemon is not going to prohibit them from replacing any binary on the machine. It isn't going to prohibit them from using disk tools to make changes to inodes. It isn't going to effect any of the 10 or so things I can think of off the top of my head that can be used to cover your tracks.

    1) Access machine.
    2) Gain root
    3) Stop the alternative logging daemon
    4) Replace this binary alternative with my own that reports disk sector errors at the inode location of the log if a log file is deleted or replaced.
    5) Replace the disk tools, in addition to the usual replacements -- cat, zcat, grep, zgrep, w, last... - dropped with a rootkit.
    6) Replace the log files with random binary data.

    Or! You can use a network detection software to log connections to ports not running known services. Or! You can use tripwire. Or! You can send log data to syslogd like almost everyone here has suggested.

    Fuckholio'ing one of Linux's greatest attributes is unacceptable.

    --
    Having to work for a living is the root of all evil.
  45. Dubious project... by Junta · · Score: 3, Insightful

    If we were to accept a binary format, then at least it shouldn't be from a group that says up front:

    At this point we have no intention to standardize the format and we take the liberty to alter it as we see fit. We might document the on-disk format eventually, but at this point we don’t want any other software to read, write or manipulate our journal files directly. ... we don’t want any other software to read, write or manipulate our journal files directly

    This is absolutely unacceptable for projects in *nix land intending to serve such a central role as logging.

    Reading the actual original document, I don't think it focuses so much on security. But to the extent it does, it's pretty pointless. They make noise about an authenticated chain of entries so you can't just modify the middle, *but* that provides no benefit as the attacker can then just rebuild the chain from that point forward. Their answer is to send it to some place that cannot be modified once transmitted. This is exactly the same as remote syslog policies, no additional security, but added complexity for no gain.

    Additionally, they *could* have a system with plaintext and a binary format in place and I recommend they change their minds to do so. The binary blob can contain offsets into a corresponding text file. Thus the good old unix way (which the systemd people seem intent on destroying) is preserved while at the same time get their enhancements.

    They *do* have some valid points. Syslog can't cope with binary data, it doesn't provide a good per-user logging facility, large text files are hard to search, and syslog has insufficient service/event type facilities making complex analysis a requirement in some scenarios. Even in a simplistic case, I have been left at a loss for 'what string *should* I grep for?' Many services ignore syslog because of it's limitations as pointed out in the artcile, making things that much more complicated.

    But at the exact same time they bemoan so many services doing different logging, they propose making yet another facility and recommend keeping rsyslog running because they aren't going to handle syslog messages. They tell people 'tough you have to use systemd' and 'tough you must use our logging'.

    They dismiss java-style namespace management due to variable width, which I think is just going *too* far to acheive theoretical performance gains. They get *very* defensive about UUIDs, and I accept when managed correctly they are unique, *but* it adds a layer of obfuscation unless you have a central coordinating master map of UUID to actual usable names. Uniqueness is an insufficient criteria. Have both worlds. An application submits a message with both a human-readable namespace *and* a UUID. If your logging facility already has the UUID, ignore the namespace. If your hash table does not have that UUID, store a mapping between the UUID and namespace. Then your tool has the added bonus of having a way to dump a quick list of currently observed message types to search by.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  46. I am not sure how hashing is going to help by azgard · · Score: 1

    I am not sure how hashing log entries in sequence is going to help. If you were to tamper the logs, you could still recalculate the hashes since the first entry you modified.

    However, if you would add a hardware device, through which all the log entries would be filtered, and this hardware device would have a read-only register containing the last (chained) hash, then it could be made secure.

  47. Why not separate the MACs from the log file? by naasking · · Score: 1

    There's lots of flack over the binary log format. Syslog entries are pretty clearly delineated, so why not just store the hashes for each entry separately from the text-based log file? You can then just provide a tool to check the integrity, without losing any of the advantages of the current log format.

  48. Remote logging by xenobyte · · Score: 1

    We've had much success using something as simple and widely supported as a remote syslog server (with a twist - more later), you know the @ notation from /etc/syslog.conf.

    Using this you'll get a complete history of what the hacker does up until the time where syslog is stopped. The hacker can't mess with stuff on a different server so just let him delete/modify logs to his hearts content on the compromised server.

    Now, someone might argue that the hacker just grabs the logging server name from /etc/syslog.conf and attacks that was well. Well, good luck with that. We stream to a server that doesn't exist except as a honey pot, and let another server sniff the traffic and save it the usual way. But this might be overkill - we've had a dozen successful attacks and all deleted logs but none went after the remote server, nor bothered to kill off the syslog daemon.

    --
    "For every complex problem, there is a solution that is simple, neat, and wrong." -- H.L. Mencken (1880-1956) --
    1. Re:Remote logging by jgrahn · · Score: 1

      ... Now, someone might argue that the hacker just grabs the logging server name from /etc/syslog.conf and attacks that was well. Well, good luck with that. We stream to a server that doesn't exist except as a honey pot, and let another server sniff the traffic and save it the usual way. But this might be overkill - we've had a dozen successful attacks and all deleted logs but none went after the remote server, nor bothered to kill off the syslog daemon.

      Come on; it's not hard to secure a server if its single purpose is to be a syslogd sink. Ssh with public-key auth, few user accounts and nothing else running except syslogd -- how are you going to crack that?

  49. More Insanity From Certain Redhat Developers by Anonymous Coward · · Score: 1

    More insanity from Redhat developers.

    First there was NetworkManager, created back in 2004 (per wikipedia) but find someone that actually likes it. I remove that piece of junk software from every Fedora install since it appeared. NetworkManager is known for more issues across most Linux distributions that I have ever read, especially strangeness due to upgrades of that software.

    Then there is PulseAudio. I'm glad I never had to use any of my Linux boxen for audio use using PulseAudio since it's another piece of junk software that I remove...provided I don't load any "X" style desktops that seem to always require it.

    The Redhat developers decided that network interface naming needed to be fixed. They thought the OS software would get confused with multiple device names that were not reflected in the BIOS. That "genius idea" did not break anything in my world, but why do certain Redhat developers always stir up stuff that doesn't need stirring up? System admin work is hard enough, but having a vendor unilaterally decide/impose a new network device naming method for you? Geez!

    Then certain Redhat developers came out with "systemd" in Fedora. yet another piece of poorly documented crap. It seems to be a recurring pattern in Leo Poettering's work given "The Journal" proposal, not to mention the snarky remark in the FAQ on Google Docs that says "go read the source code" to learn the binary file format. When I reported bugs to the developers of "systemd" they acted like they were doing me a favor by fixing them. Geez! Every version of Fedora (all the way back to FC1 and before to Redhat 4.0) that I ever ran, installed, or upgraded would retain the run/stop settings of system services during upgrades...except for upgrading from F14 to F15. That upgrade messed up a few system services settings for me (lucky I check that stuff after upgrades and updates) and the "systemd" developer tried to tell me, "We don't retain those settings across upgrades so I'm doing you a favor by accepting your bug report and fixing it. Now give me brownie points in your bug report for doing this fix." That attitude from the Redhat Fedora developer community permanently pushed me away from supporting Fedora & Redhat in my personal use. Now I use ArchLinux and love it!!

    I really wish the Redhat Fedora developer community would work on real bugs (like the half-witted Marvell Thor SATA chipset implementation by the ATA/SATA subsystem maintainer [and Redhat developer]...and well-documented on the web) and not look for "imaginary" issues to stir up. Perhaps Redhat Fedora developers should focus on making their OS upgrade seamlessly across releases while retaining all of the user's settings across those upgrades. If redhat Fedora is really trying to move their OS into the desktop world, that is something that will be greatly appreciated by desktop admins & help desk staff. FWIW two other well-known non-Linux OS seem to get the system upgrade process right and without mucking up the current settings unless they absolutely have to.

  50. Don't do like Micro$oft!! by Anonymous Coward · · Score: 0

    Microsoft's logs are in binary format, and are a huge PAIN to deal with. Thankfully, based on the information posted about this, the old syslog daemon can still be used which is good. I am not overly concerned with security and logs, that's what SELinux is for. If the system is compromised, there are more problems to deal with. For me, I'm sticking to the same syslog daemon which has been around for decades and just works every time. Plus, having logs in ASCII text is a huge benefit to me.