Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Linux-Based Phone System Phones Home

Posted by kdawson on Sun Dec 16, 2007 08:20 PM
from the hard-to-keep-secrets-when-they-can-read-the-code dept.
An anonymous reader writes to let us know that users of Trixbox, a PBX based on Asterisk, recently discovered that the software has been phoning home with statistics about their installations. It's easy enough to disable, and not particularly steathy (beyond encrypting the data sent back), but customers in the forum are annoyed at not having been informed of the reporting. Trixbox is owned by Fonality, which makes customized PBXs (again based on Asterisk) for paying customers.
+ -
story

Related Stories

[+] Linux: Fonality Acquires Trixbox 50 comments
An anonymous reader writes "MySQL's Brian Aker has a good commentary on the big news in acquisitions today that Fonality has acquired Trixbox, the Linux Telephony distribution." From the article: "So why is this big news? Trixbox is the distribution for telephony on Linux today. They have put together a vertical Linux distribution dedicated to telephony. It combines Asterisk with a web based interface backed by MySQL, integrated into the SugarCRM solution. As Redhat today is the LAMP of the IT Enterprise and Web Framework, (Linux, Apache, MySQL, Perl/PHP), Trixbox is the LAMP stack of the Telephony market, Linux , Asterisk, MySQL, Perl/PHP."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Trick Box (Score:5, Funny)

    by Deathanatos (811514) on Sunday December 16 2007, @08:28PM (#21721488)
    A product named Trixbox is really a box of tricks...
    • Silly Rabbit, Trix are for Kids.
    • Re:Trick Box (Score:5, Informative)

      by Anonymous Coward on Sunday December 16 2007, @08:59PM (#21721684)
      I tried out Trixbox Pro not that long ago but was really turned off by their premise that you must have Internet access to properly configure your server (my VoIP server is NOT on the Internet nor will I do so for privacy and security reasons!). And their appliance is expensive and still needs Internet connectivity. While their old-school Trixbox CE product doesn't have this limitation development on it has slowed down despite their claims of "it's still in development, really!".

      AsteriskNOW isn't ready for prime-time yet, though it shows promise long-term.

      If you don't want to compile Asterisk yourself and yet you still want to use FreePBX (and you really should!), I highly recommend you check out Nerd Vittles, http://www.nerdvittles.com/ [nerdvittles.com] instead -- everything that Trixbox CE could have been.

      • Re: (Score:2, Informative)

        "If you don't want to compile Asterisk yourself..."
        If you wish, you can use Asterisk without compiling it yourself; several distros have versions of Asterisk in their repositories. I'm pretty much a Linux n00b but once I read which modules are prerequisites, Asterisk compiled easily with the usual ./configure, etc. Thanks for the tip on FreePBX.
  • So? (Score:4, Informative)

    by brad-x (566807) <brad@brad-x.com> on Sunday December 16 2007, @08:31PM (#21721512) Homepage
    The initial setup at the web GUI makes it apparent that it wants to send stats back to home-base. How this can take people by surprise is baffling.
    • Re: (Score:3, Insightful)

      Well, I have always found it interesting that people get up in arms over these types of things (with open source software). If people are that pissed, let them maintain their own distribution. I can understand if someone had paid for something that they may be mad about this sort of behavior, but people should be happy that someone has put together a great product for their use. I am running a trixbox at my office and may use this info to disable to call home; however, I have no problem with the company
      • How do you know it's not malicious? Being open source doesn't necessarily mean the right people are looking.
        • How do you know it's not malicious? Being open source doesn't necessarily mean the right people are looking.
          being opensource means that the source can be reviewed, that's a hell of a lot better than impossible to be reviewed now isn't it? now aside from that, there's the fact that there are people looking at the code, a lot of them- especially slashdotters that make a hell of a noise over things like this.
        • yeah... I thought of that a few seconds after clicking "Submit". Very valid point - I should have said open and transparent. I.E. the software functions as stated. I do believe there is an obligation to inform people that data is being gathered - my point was that if someone said "I am giving out this software that does X, but I will be gathering your IP address and browsing habits." I wouldn't complain about it. I may not run the software or may attempt to hack it to no longer do that, but I wouldn't
    • Many companies collect usage stats for many products. These are very useful for the ongoing design of the product or assessing impact of changes etc. By knowing typical usage patterns the engineers can better formulate optimisations or prioritise development tasks.

      So what if anonymous stats are collected?

      • by ScrewMaster (602015) on Sunday December 16 2007, @09:03PM (#21721710)
        Nah ... it's just that people don't bother to read what's in front of them. Had there been a big blurb during the software install that proclaimed "we collect anonymous usage statistics" nobody would have cared, but because it wasn't made sufficiently obvious people think there's something devious going on.
    • Re:So? (Score:4, Insightful)

      by syousef (465911) on Sunday December 16 2007, @09:14PM (#21721778) Journal
      The initial setup at the web GUI makes it apparent that it wants to send stats back to home-base. How this can take people by surprise is baffling. ...because of course you have read every word of every screen of every version of every installer you've ever used, and never just glossed over any detail. What's baffling is that comments like this get modded up.

      • Re:So? (Score:5, Informative)

        by QuantumG (50515) <qg@biodome.org> on Sunday December 16 2007, @09:18PM (#21721812) Homepage Journal
        Well that's your own stupid fault then isn't it?
      • > ...because of course you have read every word of every screen of every version of every
        > installer you've ever used, and never just glossed over any detail.

        Yes, of course.
      • Re:So? (Score:4, Insightful)

        by insertwackynamehere (891357) on Sunday December 16 2007, @09:53PM (#21722014) Homepage Journal
        If it really bothers you this much when usage stats are collected, then you can't really gloss over things like the TOS and EULA... you can't have it both ways.
        • If you install sufficient software it simply isn't possible to read all the EULAs. Anyone who says they do either doesn't install much, is paid to do little else, or is a liar.
        • No one reads those things, and no one is intended to. If they were intended to convey information, rather than obscure it, they would be no longer than a paragraph and in plain English.
          • Even Microsoft's EULAs are very short. They are in what was high school level english 30 years ago, can't speak to the abilities of today's younger generations. Yes, you are intended to read them; I do.
                • Re: (Score:3, Insightful)

                  d; if one can read and discuss Shakespeare or Melville, one can read and discuss that EULA.

                  Oh and by the way reading Meliville and Shakespeare is called getting an education. It serves a purpose to learn about other times, other places, other language and about heritage. In contrast, reading a EULA is just a complete waste of time. If one does not understand the difference, then one's education has failed one miserably.

  • eh? (Score:4, Insightful)

    by LingNoi (1066278) on Sunday December 16 2007, @08:42PM (#21721594)

    So what does it actually do? Let me explain. We are only looking at the number of phones (and types) that are connected to a system.
    So it's sending back some generic data with no personal information so they can do a best estimate of where they need to be spending their time.

    What's the problem here?
    • So it's sending back some generic data with no personal information so they can do a best estimate of where they need to be spending their time. What's the problem here? - LingNoi

      While it is pretty trivial for anyone with basic linux knowledge to disable it, the issue is that a) we didnt inform people well and b) we didn't make it easy to turn off. - kerryg

      The problem is that they forgot basic civility and politeness. They didn't ask for permission to collect information about my installation. I ma

    • Re: (Score:2, Interesting)

      H'm. Let's count the problems together: 1) They did not inform or ask their members that they would be collecting this information. Even the eeeeeeeeevil Microsoft/Apple/whoever we hate today notifies us that generic data is being collected. People tolerate generic data collecting; they don't tolerate duplicity all that well. 2) The data is encrypted, so there's absolutely no way to tell if what they're saying is true or not. 3) They've been doing this for months without anyone noticing it (and letting o
    • Re:eh? (Score:5, Insightful)

      by arth1 (260657) on Sunday December 16 2007, @09:02PM (#21721706) Homepage Journal

      So it's sending back some generic data with no personal information so they can do a best estimate of where they need to be spending their time.

      What's the problem here?


      First of all, your claim isn't true. Here's what it currently sends back the output of:

      /usr/bin/perl /var/adm/bin/recognition.pl
      /bin/uname -r
      /bin/rpm -q -a
      /sbin/lspci -vn
      /usr/sbin/dmidecode
      /usr/sbin/wanrouter version
      /usr/sbin/wanrouter hwprobe verbose
      /usr/sbin/asterisk -V
      /bin/cat /etc/redhat-release
      /bin/cat /etc/trixbox/trixbox-version
      /bin/cat /etc/trixbox/.regData
      Note that it sends the registration data on every request. Which means the other data isn't anonymous.

      But, and this is much more alarming, it also can execute arbitrary commands. It connects to the remote server, asks it what to execute, and then executes it. That's VERY scary, no matter what is currently collected. Imagine a hacker getting access to the server customers connect to.

      • But, and this is much more alarming, it also can execute arbitrary commands. It connects to the remote server, asks it what to execute, and then executes it. That's VERY scary, no matter what is currently collected. Imagine a hacker getting access to the server customers connect to.

        Does this software run setuid root?

        Of course, even if it is not, this is a huge issue.

      • But, and this is much more alarming, it also can execute arbitrary commands. It connects to the remote server, asks it what to execute, and then executes it. That's VERY scary, no matter what is currently collected. Imagine a hacker getting access to the server customers connect to.
        That's about as scary as a hacker getting complete access to the WindowsUpdate.com servers or some popular Linux distribution update servers, right?
      • if the data is encrypted then only those that know how to decrypt the data can read it, everyone else has no idea what that data is

        Not completely true. Once you dive into the source, you can verify whether the information that's being packaged is indeed the information they say they're collecting. Their EULA (apparently) says they're collecting the information, so you know they have it. But what of anybody who intercepts it? Granted, it's not particularly useful information, but it's good standard procedure to encrypt this sort of thing anyway, especially when the client has the benefit of the transparency of OSS.

  • Security Vuln (Score:5, Informative)

    by Anonymous Coward on Sunday December 16 2007, @08:42PM (#21721600)
    The issue here is not just the fact that it is phoning home - it is the method in which it is done. This has been reported as a security vulnerability to the voipsec mailing list. http://voipsa.org/pipermail/voipsec_voipsa.org/2007-December/002522.html [voipsa.org]
    • Mod parent up (Score:5, Informative)

      by Fnord666 (889225) on Sunday December 16 2007, @09:07PM (#21721754) Journal
      This is a key point. A cron entry runs a process on the PBX every 24 hours that connects out to trixbox and picks up an arbitrary list of commands. It executes those commands (under whatever authorities it wss installed with) and returns the results. Sure hope their server is up to date on patches. That assumes DNS sent back the right server to begin with and not a spoofed site with a "different" set of commands.
      In what universe does this seem like a good idea?
      • Re:Mod parent up (Score:4, Informative)

        by grcumb (781340) on Sunday December 16 2007, @09:37PM (#21721910) Homepage Journal

        This is a key point. A cron entry runs a process on the PBX every 24 hours that connects out to trixbox and picks up an arbitrary list of commands. It executes those commands (under whatever authorities it wss installed with) and returns the results.

        What a terrible design! I worked for a couple of years on a FOSS product whose commercial version phoned home by design. It was a small server that allowed remote configuration changes via our NOC. The idea was to provide basic systems admin functionality for multiple geographically dispersed servers. Man-in-the-middle attacks - in either direction - were one of the primary concerns, second only to the privacy of the customer.

        We vetted every byte, incoming or outgoing; we worried constantly about both sides of the the authentication process, addressed DNS poisoning and coped properly with pwned clients as well. We never ever passed anything but text between the server and the NOC. Even anti-virus signature updates were performed out-of-band with the 'phone-home' process.

        Allowing execution of arbitrarily defined scripts is a disaster in the making. The trust model is entirely wrong, for one thing. I understand now why the manufacturer didn't want to talk about, because no sysadmin in his right mind[*] would accept that someone outside the organisation should ever have the right to run arbitrary code on their boxes without prior vetting.

        *****

        [*] Unfortunately, 'sysadmins in their right mind' is a far-too-small subset of all sysadmins....

        • Allowing execution of arbitrarily defined scripts is a disaster in the making. The trust model is entirely wrong, for one thing. I understand now why the manufacturer didn't want to talk about, because no sysadmin in his right mind[*] would accept that someone outside the organisation should ever have the right to run arbitrary code on their boxes without prior vetting.

          Of course if said software was installed in the first place then the vetting process is obviously completely worthless anyway...
      • It's possibly worth noting here that there is precidence for this. I know of at least 1 large financial package ( which Cities use ) that does this in TSQL.

        Yes, that's right. This is the same software that pays my checks AND takes payments for city services. And the company wants to have our servers here connect up over http ( not https ) to pull sql scripts to run.
  • by sjames (1099) on Sunday December 16 2007, @08:49PM (#21721640) Homepage

    From the forum:

    The point is that people should have been given a means to easily opt-out of the data collection process which is something we totally overlooked and in seeing the reaction we realize that this was a big mistake on our part. While it is pretty trivial for anyone with basic linux knowledge to disable it, the issue is that a) we didnt inform people well and b) we didn't make it easy to turn off. We thank you for your support on this but anytime there is a more than a few people complaining about something it means we missed the mark on it. So, as a team and a company we fix it and learn from it. -- Kerry Garrison trixbox Community Director
  • by Rob from RPI (4309) <xrobau@gmail.com> on Sunday December 16 2007, @08:49PM (#21721642) Homepage
    And I'm somewhat annoyed by KerryG's assertion that "Both trixbox and FreePBX have phone-home mechanisms in them." Now, admittedly, I relinquished FreePBX at the beginning of this year due to personal commitments, but I have ALWAYS been dead against 'phone home' information. We DID have a rough idea of how many machines were actively being maintained by the 'hits' on the modules.xml file that contains the current version of all the modules and download links for it. That's it.

    The only other slightly information-divulging bit of information was the built-in IRC client did a 'uname -n' and specified what distro the client was running. It broadcast that in a 'notice' to the FreePBX channel. This was highlighted on the IRC page, with exactly what would be sent.

    FreePBX has NEVER 'phoned home'. I would be amazingly upset if it was doing so now. Trixbox, on the other hand, may do that, but please do NOT link the FreePBX project with it.

    --Rob
    • by Rob from RPI (4309) <xrobau@gmail.com> on Sunday December 16 2007, @08:53PM (#21721658) Homepage
      Note for those who may have missed the point of my post: Trixbox is Centos + Asterisk + FreePBX + a couple of other things. It's just a bundle of various open source applications on a CD. The main parts of Trixbox are Asterisk and FreePBX, with CentOS as the OS and kernel.

      So, when someone mistakenly says 'trixbox does...' they usually mean 'freepbx does...' as FreePBX is the GUI Trixbox uses to configure Asterisk.

      --Rob

  • by compumike (454538) on Sunday December 16 2007, @09:15PM (#21721782) Homepage
    We did it ourselves and saved >$100/month for a small business. Just use Asterisk [asterisk.org] (free and open source), buy some inexpensive but full-featured phones like the Grandstream GXP-2000 [grandstream.com] (about $80 each), and get a termination provider like VoicePulse Connect for Asterisk [voicepulse.com] ($11/month for four simultaneous channels, free incoming, and below $0.01/min for most outgoing). It took some work to get it all set up and working properly, but now is actually more reliable than the analog phones ever were. (We had phone company issues every few months... just awful.)

    --
    Educational microcontroller kits for the digital generation. [nerdkits.com]
    • Re: (Score:2, Informative)

      And I recommend that you do NOT get Grandstream phones.

      They're pieces of crap. Do yourself a favor and get yourselves phones intended for real business use.

      Cisco and Polycom make the later.
  • by Anonymous Coward
    Kerry has already addressed this in his blog:

    http://www.trixbox.org/trixboxs-new-hardware-audting-tool [trixbox.org]
  • Um (Score:4, Insightful)

    by Gordo_1 (256312) on Monday December 17 2007, @04:08AM (#21723458)
    Did anyone bother to notice that your mobile and landline phone companies know *WAY* more about you than this program could ever hope to collect? I mean, these guys bill you for every call you make, know exactly who you're calling and for how long, have been known to allow just about anyone in law enforcement to wiretap your line for even the flimsiest premise, yet the Slashdot crowd is more concerned with an open-source-based PBX collecting some high-level meta-data from users in an opt-out fashion?
    • Re: (Score:3, Insightful)

      Did anyone bother to notice that your mobile and landline phone companies know *WAY* more about you than this program could ever hope to collect ... yet the Slashdot crowd is more concerned with an open-source-based PBX collecting some high-level meta-data from users in an opt-out fashion?

      It is possible for a person to be unhappy about two different things. And I don't recall anyone saying anything about the phone companies, including whether they were more or less upset about this or that.

    • Re:Um (Score:4, Insightful)

      by Minupla (62455) <minupla AT gmail DOT com> on Monday December 17 2007, @10:05AM (#21725208) Homepage Journal
      Hrm, last time I checked, my phone company was unable to open a tunnel from the internal side of my corporate firewall back to them. Since the script allows them to execute *any* command and most people put their PBX inside their most secure corporate network segment, this would prove to be an issue. Leaving beside for the moment the issues of DNS poisoning, and someone hijacking the script.

      Min.
  • Our bias (Score:3, Insightful)

    by Minupla (62455) <minupla AT gmail DOT com> on Monday December 17 2007, @09:53AM (#21725062) Homepage Journal
    OK folks, time to check our bias level here. If Sony installed a script that logged into their website and downloaded a list commands to execute on your system to "collect usage data" would we be impressed? I didn't think so. We were very much up in arms about the Sony Rootkit, and should be about this too.

    So if an OSS project does the same why should be any less outraged? Its still a violation of any sort of professional ethics. It doesn't matter that the script is in clear text on the system, who here has the time to go through every script on a new installation of their favorite distribution?

    We trust the package suppliers to disclose anything we need to know about. If that trust is breached we call them to task on it.

    Well the trust has been breached in this case and the community needs to call the developer to task on it so that it's clear that this sort of behavior is unacceptable. I've read some comments that you're getting it for free. So it would be acceptable for Linus to start including arbitrary command execution backdoors into the kernel?

    Remember the Trojan Horse didn't have a price tag attached either!

    Min
  • by Fnord666 (889225) on Monday December 17 2007, @09:56AM (#21725124) Journal
    The folks at nerdvittles.com, an alternative asterisk distro, have weighed in on the subject with a blog post [nerdvittles.com] on how good of an idea this was. They provide a very succinct summary of their position in the following:

    This clever software should have been reviewed by senior management before it ever saw the light of day. The episode gives all of us a golden opportunity to stop and think about what we're doing and what our fundamental obligations are to those who use our code. Hopefully, Fonality will turn this BOT off... permanently! The problem, of course, is that it's hard to unring a bell. This BOT is already in the wild. Luckily there's a very quick solution in this case. Here's the command that should be added to tomorrow morning's Fonality script: rm -f /var/adm/bin/registry.pl. We'll all sleep better.

    The freePBX team has also commented [freepbx.org] on the issue. In short they want to make it clear that running arbitrary commands sent from the Fonality server is a trixbox/Fonality issue and has nothing to do with freePBX. FreePBX's "phone home" functionality is just a "check for updates" sort of thing.

    In the above thread it is mentioned that FreePBX phone's home as well. Instead of splitting hairs over definitions, let me make it perfectly clear what FreePBX does. Most of you are aware of our Online Module Repository that provides easy updates to new versions of FreePBX and its modules (vs. pulling tarballs manually).
    Of course if the modules are not digitally signed and verified, then a man in the middle attack is still possible and malicious versions of modules with a little "extra goodness" added could be sent to the pbx for automatic installation.
  • some of you might remember that trixbox started out as asterisk@home.

    Ive run A@H 1 and 2 and even trixbox... and i must say... ever since KerryG and fonality took full control and essentially "killed" the A@H branding/identity/ethic/attitude the projec has gone seriously downhill.

    Ive had run-ins with kerry before... and all ill say in this public forum is that the guy really isnt a positive influence.

    The forking of the porject into CE and Commercial versions was only exacerbating the underlying shift towards an essentially exploitive distro. Requiring a internet connection to trixbox in order to configure your own box? requiring a user account on their site to configure what is obstensibly supposed to be open source based projects? Maybe these actions arent WRONG per say... but cetainly the ethics are questionable.

    The truth is, ever since it went this way, ive actually decided NOT to upgrade my A@H 1.3 version. The bells and whistles arent really worth it.

    Im hoping some other distro, or fork will come along that remains true to the principals they started with.

    Its really sad to see, consdiering how excelent the work that went into A@H / trixbox is. These guys have done a wonderfull job packaging several complicated and time-consuming products together into an easy and accesable distro. However... somewhere along the way someone *cough* kerry *cough* fonality *cough* decided to push those efforts into LOCK-IN style profitability.

    (theres nothing wrong with getting commercial support pacakges... but forcing people to sign up to your organization and forking a far less than active sub-version on your comomunity is an insult)
    • Re: (Score:2, Insightful)

      So the fact that software installed on Linux will do what it is programmed to do is a reason to migrate away from Linux? I will consider migrating to something else when there are known and exploited holes in the security which allow websites to arbitrarily install software without user permission. Until that, you just have to research what software does to stay safe, or only install software from known and trusted sources. But if you really want to migrate away, don't claim that you are doing it to stay se
    • a) This isn't malware and b) FreeBSD can run Linux apps for the most part so once malware encroaches Linux, a lot of *nix systems will be in potential trouble.
    • now that Linux is becoming more popular [...] the countdown to my switch to FreeBSD started today,,,


      Indie Rock Pete? [dieselsweeties.com] Is that you? ;-)