Slashdot Mirror


P2P Meets Push

meonkeys writes "What if you could securely subscribe to a trusted P2P file broadcaster? Check out konspire! An interesting concept; implemented in C++ and controllable via a cool Web interface ala Mutella."

64 of 264 comments (clear)

  1. Five seconds for the lawsuits to hit by ites · · Score: 5, Funny

    Pushing files, huh? It's as bad as pushing drugs. Into jail, my little hacker-bee.

    --
    Sig for sale or rent. One previous user. Inquire within.
    1. Re:Five seconds for the lawsuits to hit by PMuse · · Score: 4, Funny

      "Konspire"? Speaking of lawsuits . . . Might want to give some thought to the product name here, guys. Image, image, image.

      --
      "We reject as false the choice between our safety and our ideals." --The American President (20.1.2009)
  2. Yes! by hipster_doofus · · Score: 3, Interesting

    Now I don't have to manually download crappy rips of my favorite songs, I can have them forced upon me! :-)

    Actually, this looks like a cool idea. The fact that it's a sourceforge project only makes it better!

    --
    Five Dolla Moddy-Moddy? ;->
    1. Re:Yes! by Phroggy · · Score: 4, Funny

      Now I don't have to manually download crappy rips of my favorite songs, I can have them forced upon me! :-)

      No, crappy rips of somebody else's favorite songs will be forced upon you.

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    2. Re:Yes! by nemski · · Score: 5, Funny

      Now I don't have to manually download crappy rips of my favorite songs, I can have them forced upon me!

      It's called radio.

      --
      Some people have a way with words, others not have way.
    3. Re:Yes! by moonbender · · Score: 3, Informative

      In fact, this already has been done in exactly that context - music distribution. (Hardly surprising since music distribution was the root of P2P filesharing after all.) The late AudioGalaxy - one of the P2P filesharing pioneers - had a system where you could set other users as friends, and join music clubs.
      Users marked up that way could put songs on your queue, and so you could get up in the morning to find your hard driver more or less full with new music you didn't actually request yourself, but which was "pushed" onto your computer by other users sharing your taste in music. It was a neat concept. Obviously, it had room for abuse - someone you prematurely gave permission could spam your hard driver with junk, but generally systems like this work fairly well since the community gets rid of such idiots pretty fast.

      --
      Switch back to Slashdot's D1 system.
    4. Re:Yes! by bathmatt · · Score: 2, Interesting

      With one major difference, clearchannel will not own all the push points :)

  3. MS already has this... by nevermodded5 · · Score: 2, Funny

    It's called "Automatic Windows Update". And boy it hasn't caused any problems at all, right guys?

  4. I liked it better... by Spazholio · · Score: 5, Insightful

    ...when it was called IRC. Seriously, this sounds like a traditional IRC channel with XDCC bots. Decentralized (many servers on the same net comprising a single channel) and varied (you can have many varied channels). I mean, it sounds like a cool idea, and a neat proof-of-concept, but is it really needed or useful?

    1. Re:I liked it better... by Divide+By+Zero · · Score: 4, Informative

      Seriously, this sounds like a traditional IRC channel with XDCC bots.

      The difference between this and IRC fserv bots is important: kast/konspire (I dont' know which - seems the two are related) are server push.

      On fservs, you still have to go out, look for what you want, try to figure out who has it, download it, and then see if it's what you want.

      The new tool in question delivers content to your computer without your interaction. The analogy to broadcasting was right on: Somebody else decides what you want to / get to see, then you tune in to the appropriate channel and the content is delivered without you having to do anything.

      It has a few inherent problems, absolute trust of the sender being the biggest that I can see. I have to trust whoever's running the channel not to send me kiddie pr0n and then call the FBI on me. Disk quotas (don't send me more than m megs per n hours, or perhaps don't let my incoming directory grow to larger than x megs) would be a good thing to have, and I don't know if it's been implemented here or not.

      It has potential, though. News services, shareware-of-the-day services, new-song-of-the-day services (generate buzz about new bands), etc etc. I'll look at it, but I'll be wary about it.

      --
      Dare to Hope. Prepare to be Disappointed.
    2. Re:I liked it better... by djdavetrouble · · Score: 2, Insightful

      Where have you been? IRC is still teeming with xdcc's and fserves that are serving releases that haven't hit the stores yet. Group releases are the best mp3s out there, ripped with pride into 192 bitrate full stereo, without any glitches. They are neatly packed into tar files with .sfv checksum files, named in a standard format and properly ID3 tagged.

      There are plenty of channels that serve specialty genres, punk, soul, hiphop, etc... The catch is that most of the xdccs are on r00ted boxes, and there is no question of the dubious nature of what transpires within the electronic space of IRC.

      Of course any mp3 that I download I have purchased in some form or another. I collect vinyl records, and ripping those in real time SUCKS.

      When the music industry gets their shit together (how long have we been waiting?) and will sell us a song for 50 cents, then all this nonsense will go away.

      --
      music lover since 1969
    3. Re:I liked it better... by Anonymous+Custard · · Score: 2, Insightful

      I have to trust whoever's running the channel not to send me kiddie pr0n and then call the FBI on me.

      If you were flipping channels and HBO showed a naked child that was later ruled to be kiddie porn, who would be legally responsible?

    4. Re:I liked it better... by Divide+By+Zero · · Score: 2, Insightful

      If you were flipping channels and HBO showed a naked child that was later ruled to be kiddie porn, who would be legally responsible?

      I don't know, I'm not a lawyer. But that's not my main concern.

      I'm not worried about seeing it, I'm worried about having a copy on my computer when the feds bust down the door, and they know it's there, and I don't cuz I haven't gone through this morning's downloads yet.

      "I swear to god, I didn't know it was even there!"
      "Of course not. You have the right to remain silent..."

      Possession is 9/10 of the law. If the TV saved a copy of the HBO kiddie porn, or a record that I "watched" it, I would be -really- careful about what I allowed it to automatically tape. But TV is a streaming medium, and doesn't tape without my knowledge and permission.

      This particular application doesn't rely on big businesses with reputations like HBO or Skinemax or even Channel 385 on some random satellite. This allows Joe Internetuser to create a channel. Freedom of speech, power to the masses. I'm all for it. But I'm still gonna be careful.

      --
      Dare to Hope. Prepare to be Disappointed.
  5. New Thinking by Mattygfunk1 · · Score: 3, Insightful
    runs on all modern computer platforms, requires no additional software to be downloaded or installed, has a graphical user interface, and was not written using java.

    I think that web based interfaces are severly underrated in their potential because of the reason mentioned. I love the new thinking being employed throughout this project.

    Cheap $3 hosting plans

    1. Re:New Thinking by Abcd1234 · · Score: 3, Interesting

      Heck, this is even more true if you leverage Mozilla and XUL. Yes, you are limiting yourself to a certain "platform" (the Mozilla platform), but you end up with something which is supremely portable (as much as Mozilla is portable) and incredibly powerful.

  6. Re:Wish List by Soothh · · Score: 2

    Adcritic.com is back, but as a sucky subscription service, if they left the site like it was i would have paid but i just dont like the looks of it now.

    --
    We have seen that living things are too improbable and too beautifully "designed" to have come into existence by chance.
  7. My long time dream by SpanishInquisition · · Score: 5, Funny

    now I don't have to search for porn, porn comes to me.

    --
    Je t'aime Stéphanie
    1. Re:My long time dream by Horny+Smurf · · Score: 3, Funny

      better than porn coming on you.

  8. Screw multimedia; how about software? by Sloppy · · Score: 5, Interesting

    I am not interested in "pushed" multimedia, but imagine having your Gentoo packages already pre-fetched for you, whenever there's an update? Emerge and it just starts compiling w/out the download step. Mmmm...

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    1. Re:Screw multimedia; how about software? by micromoog · · Score: 5, Insightful
      ...imagine having your Gentoo packages already pre-fetched for you, whenever there's an update? Emerge and it just starts compiling w/out the download step.

      Hmmm, sounds exactly like Windows Update.

    2. Re:Screw multimedia; how about software? by micromoog · · Score: 2, Informative
      no, W.U. has all three options:
      1. don't do shit
      2. download but don't install
      3. download and install.
    3. Re:Screw multimedia; how about software? by 42forty-two42 · · Score: 4, Informative

      You can crontab emerge --fetchonly -u world, that'll download updates automatically. But this system's more scalable.

  9. What? by BHearsum · · Score: 4, Insightful

    Am I to understand you start it up, go to bed, and wakeup to having a buncha unknown files on your computer? And this is a good thing?

  10. Oh, nice... by I'm+a+racist. · · Score: 2, Funny

    Great, so now the RIAA doesn't need to hunt people down, they can just subscribe for listings of all the evil pirates.

    --


    Down with Saudi Arabia!!!
    1. Re:Oh, nice... by micromoog · · Score: 4, Insightful

      Hell, with push technology, they could just create pirates on the fly as needed.

  11. The displacement of responsibility by _Sambo · · Score: 2, Insightful

    It looks like they're providing the interface but are trying to avoid any legal repercussions by placing all legal responsibility for those items transmitted on the owner of the "channel".

    Step 6 of their P2P path to success is: build trust for a channel owner's tastes over time (owners are completely responsible for what goes out on their channels)

    I wonder how effective this will be when the RIAA and the other big dogs come after them.

  12. Well, I think the idea might be by Nijika · · Score: 4, Insightful
    in this case that the files are distributed via P2P rather than from "bots". So content would assumably make it's way to you the same way you might download something from KaZaA, but you can verify the contents with a "trusted" signature. So you can download the file from multiple independant sources, but it's still valid at the end of the DL.

    I'm gonna try it now!

    --
    Luck favors the prepared, darling.
  13. Oh great, now the RIAA... by Anonymous Coward · · Score: 2, Funny

    Now the RIAA can just push files to other peers and start suing for billions!

  14. C++? by timeOday · · Score: 2, Insightful
    First off, let me state that I am a rather devout C++ developer with about 8 years experience developing in the language.

    But for server apps, I think it's the wrong choice. Let's face it, languages with security features are more suitable for servers. Bittorrent is in python. mldonkey is in objective-caml. And I'm sure there's something in java out there somewhere. No, I haven't seen any really professonal looking GUIs written in any of these languages, but I'd rather have the added security any day when it comes to promiscuous networking.

    1. Re:C++? by Mr_Silver · · Score: 5, Insightful
      First off, let me state that I am a rather devout C++ developer with about 8 years experience developing in the language.

      But for server apps, I think it's the wrong choice.

      Maybe, but my personal opinion is that in the end it's better to write an application in a language you know really well (but might not be the best thing) than write some hacky fudge job (which will no doubt be really flakey and possibly even more insecure) in a language you don't know just because it's the best one to use.

      --
      Avantslash - View Slashdot cleanly on your mobile phone.
    2. Re:C++? by Zathrus · · Score: 4, Informative

      Let's face it, languages with security features are more suitable for servers.

      Uh, exactly what security features are you looking for?

      I'm assuming you're going to be using the STL... if you're not, well then I hope you're not planning on using any Perl modules or Python libraries either, because otherwise you're really comparing apples and oranges (not that you aren't already, but that's another discussion).

      std::string and std::vector take care of most of the security concerns you might have -- presuming you use them properly of course. If you need to deal with pointers and std::auto_ptr isn't useful (which, in general, it's not) then use a smart pointer library -- I highly recommend Boost - I've used it's shared_ptr class and like it. In over a year of serious C++ development we've had exactly one memory related problem -- and that was from me misusing boost (and suspecting I was doing so during development but forgetting about it during testing).

      The general concerns with C/C++ are buffer overruns and other memory stomps. If you use the right libraries it's not an issue in either (go look at vsftpd's string functions for an example of what I'm talking about in C). If you're writing insecure C++ code then it's most likely because you're ignoring significant language features (like the STL). It's not a language issue.

    3. Re:C++? by cras · · Score: 4, Informative
      The general concerns with C/C++ are buffer overruns and other memory stomps. If you use the right libraries it's not an issue in either (go look at vsftpd's string functions for an example of what I'm talking about in C). If you're writing insecure C++ code then it's most likely because you're ignoring significant language features (like the STL). It's not a language issue.

      Yes, I fully agree. vsftpd is one of the best examples of how to write secure C. As for Kast .. I briefly checked the sources, it's using a lot of code such as:

      foo = new[ strlen(bar) + 100 ]; sprintf(foo, "stuff %s", bar);

      Which is safe only as long as you're careful. And was the author careful enough? No. I'm not touching this thing until the sprintf()s are gone.

  15. Re:Argh! by xchino · · Score: 2, Insightful

    Uh..sorry, but for Napster it had everything to do with the software being used, or more specifically the design of the software. It may make no difference to the RIAA, MPAA, or any of those agencies, but it sure as hell makes a difference to the courts, and this is where the battle is fought.

    --
    Everyone is entitled to their own opinion. It's just that yours is stupid.
  16. "potential for anonymity" by moonbender · · Score: 5, Insightful
    The background page notes on the topic of anonymity:
    anonymity of channel owners is possible even at a technical level, since it is difficult for a receiver in the network to tell which node originated a broadcast. Nodes cannot easily tell the difference between a node that originates a broadcast and a node that is simply passing on the broadcast originated by another node.
    So to any given node it is unknown whether the node it's receiving a transmission is the original distributor. But still, the node it is receiving from is a distributor - that's just as illegal, at least in the context of copyright protected works.
    Especially since in this network, whoever distributes a given file also requested it (at least that's what I am reading out of the documentation), in contrast to other networks, eg. freenet where the fact that you have data on your HD and distribute it to other people does not imply that you requested that data to be there yourself.

    (Note: I still think this is a pretty neat concept, though!)
    --
    Switch back to Slashdot's D1 system.
  17. Y'all don't seem to understand. by Elwood+P+Dowd · · Score: 2, Interesting

    This means that we firewalled users can give you pr0n. Now you will have more sources for pr0n. This is good, no?

    I'd love to share my stuff, but port forwarding is annoying, and I've only got one IP. This would allow me to share back.

    What I don't understand is... why doesn't gnutella support this sort of thing? How come I can't check with my ultrapeer to see if someone wants one of my songs? Would that require maintaining a heavier connection to my ultrapeer?

    I've got all this pr0n, and all this bandwidth... but no IPs to share it with.

    --

    There are no trails. There are no trees out here.
    1. Re:Y'all don't seem to understand. by medscaper · · Score: 3, Funny
      I've got all this pr0n, and all this bandwidth... but no IPs to share it with.

      *hands shaking...*

      Ok, write this down. 12.225.189.24

      I love you.

      --
      Any sufficiently well-organized Government is indistinguishable from bullshit.
    2. Re:Y'all don't seem to understand. by skwang · · Score: 3, Funny

      I've got all this pr0n, and all this bandwidth... but no IPs to share it with.

      I believe this is a first for humanity. Sort of like why you never hear the statement, "Man! What am I going to do with all these drugs?"

  18. What I would like to see.. by JeffSh · · Score: 3, Informative

    a combination of this and torrent.

    this system seems limited by linear pushing 1:1 host:client ratio, and this increases the output logarithmically.

    the problem they are going to run into is that 90% of users on the internet (atleast) have 256 kbps or lower broadband caps, and therefore the network will not efficiently use bandwidth if its 1:1 sends. .torrent makes use of a full upstream of a user to send data. this program does that too, but it does not distribute that users upload-ability accross any more than the one user.

    so anyway, this with .torrent mesh features would be really nice.

    1. Re:What I would like to see.. by br0ck · · Score: 2, Interesting

      Some problems with Konspire's prebroadcast/broadcast method would be solved by your idea. They currently use a source which sends to one client. Then the source and the client each send to one more new client. Propogation time could be exponential but, like you said, there could be problems getting files transferred in a minimum of time. If the initial client is on a 56k and the file is 400 mb, then the whole grid will be paused for hours. Also, each phase in synchronized, so any one very slow transfer can slow everyone else down. Another problem is that if one of the transferring node drops, the third level client can't just attach back to the server to get the rest of the file.

      In fact, if the main source server could just host .torrent files they could easily combine their push idea with Bit Torrent's swarm file transferring.

  19. unknown files.. by phorm · · Score: 2, Informative

    But from a "trusted" channel. A little better than MS's version of trusted (trust it or it won't work), and you can always unsubscribe from a channel that starts broadcasting content you don't like.

    I was thinking in terms of sharing common music interests (great for indie stuff), but I suppose you could start little clans for those who have certain fetishes in pr0n or gamez as well.

  20. upgrading gentoo by PhiberOptix · · Score: 5, Funny

    without konspire: 8 hours d/ling, compiling software
    with konspire: 7h55m compiling software

    Wohoo!

  21. pop lawsuits.... by dtimpson · · Score: 2, Funny

    mov p2p,files
    push p2p
    pop lawsuits

  22. Re:Argh! by caluml · · Score: 4, Interesting
    Shameless plug: You'll just have to make sure that you stay anonymous while sharing.

    (Any input given would be gratefully received btw)

  23. Cool legit use by pigscanfly.ca · · Score: 2, Interesting

    This sounds really cool . I my self write quite a few programs (all small time) if I could offload some of the bandwith requirements for updates amoung my users I could "push" an update every time that it is need rather than having them poll a central server and grab the file or bit torren (as it is currently) . It still remains to see just how stable this network is going to be but if it works it sounds fairly cool . The fact that it allready has signing built in for the chanel controller this saves me a bit of time . All in all good job! Of course there will be illegetimate uses (the 24/7 hard core porn channell comes to mind) but this looks like that it could be used by small companies (like me) to keep the updates flowing in a decentralized fashion to our customers/user without sucking up all our bandwith.

  24. maybe I've been surfing the web too long by bensej · · Score: 5, Funny

    But I refuse to download anything from a website with a black background.

  25. Karma to burn... by Eric_Cartman_South_P · · Score: 2, Funny
    In Soviet Russia, Porn browses you!

  26. Re:Same stuff Different Day. by jared_hanson · · Score: 3, Funny

    I'd like to request an invitation to your group. I have a great many high quality files, adequate bandwith, and I promise never to do anything to harm the group.

    Thanks,
    Hillary Rosen

    --
    -- Fighting mediocrity one bad post at a time.
  27. Baaaad name by shaneb11716 · · Score: 3, Funny

    So you call it konspire, eh? And this helps the P2P keiretsu allay the fears of the music industry that it's not all about ripping them off how, exactly?

    You P2P guys really crack me up.

    -Shane

    --
    I love teh int4rw3b!!!!!111one1
  28. Something I don't understand by zutroy · · Score: 2, Interesting

    I'm watching the "caught prebroadcasts" page on the web interface, and there's a channel called "TEST Kubrik movies" that's sending a new Kubrick movie out every, oh, 3 seconds. How is this possible? Did I misunderstand how the system works?

    1. Re:Something I don't understand by Jhan · · Score: 2, Informative

      Eh? That's me. I published four movies and set them to repeat weekly (sort of a stress test...). What are you seing?

      --

      I choose to remain celibate, like my father and his father before him.

  29. Retrograde step by Graspee_Leemoor · · Score: 3, Insightful

    This is a retrograde step.

    It turns p2p file downloading into a "tv-like" experience where you have to be online at the right time to get the file.

    Sure, you could probably script it so you get the files, but that makes it like tivo where you can watch programmes when you want but you have to remember to set it up so it records it in the first place.

    We have evolved beyond that. Now, with p2p you can search for and download whatever you want, when you want. OK, so someone still has to be sharing it, which is less likely with older stuff, but there are starting to be Farenheit-451-like sharers out there (myself included) who are keeping one thing (e.g. a favourite anime series) alive by always sharing it.

    Also, there is a significant barrier to adoption of a new p2p-like app. You have your p2p working fine, and downloading well, then you are expected to start using a new one. You don't know how it works yet, let alone how to optimize it or where to get what you want; you know that everyone else faces the same hurdles so there won't be much content for a while, if at all.

    This wouldn't be so bad if you could try out a new p2p app while using an old one, but you really need to dedicate all your bandwidth to a program to make the most of it.

    At the moment emule is where it's at (at least for me), and I won't stop using it unless everyone else does and the sources dry up.

    graspee

  30. Merge with bittorrent by Iakona · · Score: 5, Interesting

    The concept of konspire is really cool. It provides a good method of anonymity of the original sender. Pesonally I'd like to see it use the bittorrent method of file delivery because you have the potential of only having to send the whole file once, plus if konspire decides to send the file to a 28.8k modem user first, everybody else will have to wait until that user gets the file before they can receive it, where as bittorrent's method can send to many people simultaneously and still use less bandwidth. The problem with bittorrent is that you know who sent the original files, because you got the .torrent from them, so a combination of both technologies would rule!

    --
    I'm not a real doctor, but I recommend beer.
  31. Interesting legal implications by Julian+Morrison · · Score: 2, Insightful

    IANAL

    Queston for any reader who is: might this not excuse the computer owner from legal culpability, if it turns out he has recieved mp3s the RIAA don't like? He could just say "Hey, I subbed to the channel, but I don't control what goes out over it".

  32. p2p subscribing? by intermodal · · Score: 2, Insightful

    sounds like an even more illegal way to get MP3s, since now they're making money off it instead of simply sharing.

    --
    In SOVIET RUSSIA... erm...NSA AMERICA, the Internet logs onto YOU!
  33. When do we get "useful" P2P? by bigattichouse · · Score: 4, Interesting

    When does the technology get pervasive enough to start warranting more useful apps built on top of P2P? Like a way to post resumes, jobs, RFPs, etc.. and be able to query/respond... without needing the 400 job boards out there. Or code snippets, or news services that can survive massive overloads ala 9/11?

    --
    meh
  34. Not especially... by Kjella · · Score: 4, Interesting

    So to any given node it is unknown whether the node it's receiving a transmission is the original distributor. But still, the node it is receiving from is a distributor - that's just as illegal, at least in the context of copyright protected works. Especially since in this network, whoever distributes a given file also requested it (at least that's what I am reading out of the documentation), in contrast to other networks, eg. freenet where the fact that you have data on your HD and distribute it to other people does not imply that you requested that data to be there yourself.

    ...but as a direct consequence of knowing what is in your share, or at least the ability to know that (that is, only the things you're subscribing to). Open relays don't get sued for fraud, 0 day hacked warez servers don't get sued for piracy (arr!) and your DDoS host doesn't get sued for launching DoS attacks because they did not know what was being routed through them.

    Freenet is basicly trying to make everyone (except the inserter and the requester, which are difficult to find) be a common carrier (ISPs do caching, so the fact that Freenet caches stuff does not prevent this). Whether that argument will stand up in court is questionable, but this system certainly won't hold up to this defense.

    Kjella

    --
    Live today, because you never know what tomorrow brings
  35. what??? by zogger · · Score: 2, Funny

    what, you are against CAPITALISM??? You would dare "block business" in some cyber PROTEST?? You DARE to be exposed to anything but CLEARCHANNEL, the one true official approved source for audio entertainment and your security level approved news??????

    TERRORIST!

    You WILL be assimilated! Now go buy something, from one of our advertisers! That is your ONLY redemption at this point, and be aware, you just racked up several points in the list, you are now a "person of interest" in the database!

    ---the proceeding is a public service message brought to you by the Ministry of Love.

  36. Re:I just installed it... by Mantorp · · Score: 4, Funny

    according to the directions I think you're supposed to go to bed now

  37. Legal Uses by kstumpf · · Score: 3, Interesting

    I can think of lots of uses for this system (ie. other than MP3 and porn). The gaming community in particular could really benefit. I used to run a review site for user-created Half-Life maps called radium. I would have loved to have this around back then. I could have advertised a kast channel people could subscribe to to receive new maps as they came out. Could even push out a file with a link to the accompanying review, or maybe just send the review itself, or maybe just send a few screenshots and a summary and a download link.

    Anyways, I think its a really cool concept. Its been crashing on me a bit though, so hopefully it stabilizes and gains acceptance. :)

  38. Security features in a language? by Chazman · · Score: 4, Insightful

    Security features in a language attempt (poorly in most cases) to substitute for the programmer having an adequate security mindset. If you rely on the security features of a language, then you're screwed if they're broken. You're relying on the security auditing that has been performed on that language's features, and committing yourself to live or die by it. Have you personally verified that that language's seecurity features are designed well, and strong enough to meet your security requirements? Has someone you trust done so and published the results? If not, why are you relying on it?

    My advice is go the opposite direction. Learn about security from a programmer perspective. Accept only libraries and components that have been extensively audited by knowledgeable, trusted sources. Then build your server on top of them in a lower level language that affords you the ability to take direct charge of everything else. Make your server secure by thinking about security in every line you code.

    I use C, but the exact choice of language isn't important; the mindset and approach is. This advice applies equally to any other language: Check the return value from EVERY system call, EVERY resource allocation, and EVERY library call. Verify ALL inputs before using them, both for length and for sanity of contents. Before EACH time you write something to any kind of buffer, check that you won't write past the end FIRST. Do all of these things in every function of every module of every application. And if you rely on a language or library feature instead of doing it yourself, you'd better be damn sure that the language or library feature is doing it correctly and completely -- VERIFY this before you deploy your program.

    Some may call writing in C a security risk. Inherently, it isn't. C just gives the programmer more rope to either make a better knot or make a better noose, as they see fit. The first ten to twenty lines of nearly every C function I write go like this: return failure if this parameter isn't sane; return failure if that parameter isn't sane; return failure if any persistent context isn't consistent with how we were called; try to allocate all resources required for the function and return failure if any of those allocations failed. Some other languages may automate some of that. But as a security auditor, I'm going to want to see all that. If I can't see it, I'm going to want to examine in detail the implementation of the language features that do it implicitly. If I can't do that, then I can't consider the program secure. Using C helps me audit my code because it forces all security measures to be explicit and spelled out in detail. Yes, that's more work for the programmer. But it's less work and more certainty for the security auditor. That's a tradeoff I'm willing to make.

    --
    -----Chaz
  39. Microsoft security stance by vaxer · · Score: 4, Funny
    "Oh look," said the Microsoft [ mail | update | web ] client, "a rusted needle is sticking out of a pile of garbage bags!"

    "Needles," it reasoned, "often contain medicine."

    And, so reasoning, it jammed the rusty needle directly into its ass.

    Moral of the story:

    "Executable email messages are one of the worst ideas I've ever heard of. And that's saying something." -- Mark Wooding, in BUGTRAQ

  40. P2P RSS Channels by Orasis · · Score: 3, Interesting
    The Tornado client for the Open Content Network has support for P2P download channels based on RSS.

    Basically, you click on a link which will subscribe the peer to the channel, and the peer will automatically download/pre-cache any new items that are added to the RSS feed.

    You simply have to create an RSS feed and create a link that converts that feed into a channel that is subscribable via the Open Content Network. I've set up an example of a movie trailer RSS feed here And have linked it into the Open Content Network here.

  41. out of region sports by Mantorp · · Score: 3, Interesting

    This could be handy for people who can't watch their favorite teams because they don't live where the games are shown on TV. I'd love to have Tottenham games on my hd every Sunday morning. Or various European qualifiers they don't show on TV in the States.
    If someone can put Larsson's 2 goals from today somewhere I'd appreciate it too.

  42. Finally a P2P with encryption and privacy! by IdleTime · · Score: 2, Interesting

    From reading several of the comments here, it is obvious that people has no clue, nor even bothered reading about the program.
    The connections are encrypted and you can set up your own channels and only give the key to people you trust. You can also easily change the key to each channel in case you suspect a breech in security.

    I'm sure we will see a lot of use of this technology, think about it as a continued development of P2P and IRC concepts icnluding privacy and encryption which makes intercepting the transports useless unless you have the necessary keys, else you will have to retort to brute force and that may take awhile.

    --
    If you mod me down, I *will* introduce you to my sister!