Re: [gentoo-user] Properly handling missing files when downloading files from ftp:// via ISA proxy (emerge/wget)
On Sat, Sep 11, 2010 at 5:44 PM, Mick michaelkintz...@gmail.com wrote: On Friday 10 September 2010 17:13:44 Maciej Grela wrote: 2010/9/10 Paul Hartman paul.hartman+gen...@gmail.compaul.hartman%2bgen...@gmail.com : On Fri, Sep 10, 2010 at 9:43 AM, Maciej Grela maciej.gr...@gmail.com wrote: Hi, Is there any way to make emerge (wget) correctly behave when it tries to download a non-existing file from FTP in a network using ISA as ftp_proxy ? I have one of these at work and it's really annoying because of situations If you are allowed to bypass the proxy, try --use-proxy=off in your wget command line. Unfortunately proxy is the only way to access the Internet. It seems your FTP is proxied over HTTP and your client needs to support this. I'm not sure if wget supports HTTP proxies for FTP. Here is a document from Microsoft about configuring ISA and various clients: http://technet.microsoft.com/en-us/library/bb794745.aspx I'll read that, thanks. I think that you can try exporting your proxy's http address to ftp like so: # export ftp_proxy=http://my_proxy.com:1234; and then run emerge to see if you can get through. If your proxy requires a username/passwd you'll need to add these on the command line just as the handbook advises. -- Regards, Mick Hi You might find the problem is NTLM authentication. I have found net-proxy/*ntlmaps **to work around this issue.* * * *Kind regards* * * *Brett Freer* *www.rhapsody.com.au* * *
Re: [gentoo-user] script for sending mail with attachement?
Hi Jarry, mpack -s backup file.bak u...@somewhere.com Brett Freer On Wed, May 12, 2010 at 5:29 AM, Jarry mr.ja...@gmail.com wrote: Hi, my small mysql-database is archived every couple of hours, but all those backups (~5MB each) are still on the server, which I do not consider secure. I would like to have them sent to me per email. What I am looking for is some command-line mailer, which could be used in script-mode, and able to send attachements. Any ideas? Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
RE: [gentoo-user] Deny flash to a specific user?
Hi Mark, Why don't you try www.opendns.com? Kind regards Brett -Original Message- From: Mark Knecht [mailto:[EMAIL PROTECTED] Sent: Saturday, 22 November 2008 3:35 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Deny flash to a specific user? On Fri, Nov 21, 2008 at 8:22 AM, [EMAIL PROTECTED] wrote: Michael [19.Nov.2008 16:07]: On 10:05 Wed 19 Nov , Qian Qiao wrote: ... In that case, isn't putting 127.0.0.1 ADDRESSES_TO_BE_BLOCKED into /etc/hosts easier? Or just set up a proxy. No, perhaps not, considering the fact that there are so many sites with pron. Maintaining such a massive hosts file is a disaster and worse still the solution is not fullproof. But then, FWIW such problems seldom have foolproof solutions. Well, at least there is mvps [1] with a nice host-file, blocking mostly ads, banners etc., which I use myself without much trouble. While searching for a list of porn-sites to add to that list, I stumbled upon BadHosts [2], which includes several hosts-files, one of them entirely for porn-sites. The sites listed there might get you started, but as noted by Qian Qiao before, that list will never be complete or up-to-date. Besides, using an anonymizer to reach one of those sites will get you there anyway. You would have to block those, too. My opinion: If children are to be protected from that kind of content, seting up a public computer in a livingroom might be a better way (in conjunction with a host-file maybe for those nasty ads). But as soon as one starts blocking sites, the question will be where to stop. JP Thanks to all that have answered. I appreciate the responses greatly. Indeed the question was based around what to do with a kid that's not using his computer time appropriately. It has nothing to do with 'protecting' him via censoring or anything like that. It was more a matter of should he be playing Flash games or playing online videos of Star Craft games when he has homework to be doing. After thinking about it the decision in the end was to do nothing technical. Nothing technical is going to fix this problem other than him growing up a bit. Thanks again, Mark
RE: [gentoo-user] Office web filtering
Hi Stroller, I have found www.opendns.com to be a really good solution. However, it will be blanket cover for the whole lan and you won't be able to implement the time-based, or the user-based exceptions. Kind regards Brett Freer -Original Message- From: Stroller [mailto:[EMAIL PROTECTED] Sent: Sunday, 9 November 2008 4:37 AM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Office web filtering Hi there, Anyone got any suggestions regarding web filtering for a small office of a dozen employees? I'd assume Squid + Google-it-you-lazy-git, but there are a couple of requirements that make my request a little unusual. Firstly, instead of simply blocking pr0n allowing everything else, the site primarily wants to block Hotmail Facebook. I assume that what this _really means_ is that they want to block everything by default and add a whitelist of work-related sites (it's an estate agent, so http://rightmove.co.uk would be on the whitelist, for instance). Secondly, they want to perform the blocking for most of the day, but relax the restrictions between 11am - 11:15am 1pm - 2pm. And thirdly, the bosses want to be excluded from the filtering. One obvious way to do this is filtering by their MAC or IP address - none of the staff are geek enough to get around this but nevertheless it's a bit clumsy requires maintenance if the boss gets a new laptop. So what I'd prefer is really some kind of system that pops up a message this site cannot be displayed because it is in the filter category [pr0n|frivolous]; if you would like to see it anyway, please enter your username password. I used to work at a place that displayed a similar message allowed with a single click a user to submit to the admin websites that had been blacklisted in error; so I am sure something like this is possible, I just don't know if it's available in open-source. Thanks in advance, Stroller.
RE: [gentoo-user] Deny flash to a specific user?
Hi Mark, With www.opendns.com, you create an account, and choose your own rules. I think they have around 50 categories to start with. You can then extend it with your own personal white/black lists. You can't block the flash technology, but you can have a lot of success blocking unwanted website types. Kind regards Brett Freer -Original Message- From: Mark Knecht [mailto:[EMAIL PROTECTED] Sent: Sunday, 23 November 2008 12:31 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Deny flash to a specific user? Hey Brett, I already point my router at these guys. Is there something more I could be doing? I've decided that for the most part this is probably a futile undertaking. It turns out some of his online classes are using Flash and certainly a lot of video media as port of how they teach. With that in mind it's pretty difficult for me to block the technologies themselves as a 'policy' decision. That leaves me with trying to block web sites which turns me real-time policeman which I'm unwilling to do so I've let him know that I'm watching how he uses the machines. It hasn't worked in the past though... Cheers, Mark On Sat, Nov 22, 2008 at 12:53 AM, Brett Freer [EMAIL PROTECTED] wrote: Hi Mark, Why don't you try www.opendns.com? Kind regards Brett -Original Message- From: Mark Knecht [mailto:[EMAIL PROTECTED] Sent: Saturday, 22 November 2008 3:35 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Deny flash to a specific user? On Fri, Nov 21, 2008 at 8:22 AM, [EMAIL PROTECTED] wrote: Michael [19.Nov.2008 16:07]: On 10:05 Wed 19 Nov , Qian Qiao wrote: ... In that case, isn't putting 127.0.0.1 ADDRESSES_TO_BE_BLOCKED into /etc/hosts easier? Or just set up a proxy. No, perhaps not, considering the fact that there are so many sites with pron. Maintaining such a massive hosts file is a disaster and worse still the solution is not fullproof. But then, FWIW such problems seldom have foolproof solutions. Well, at least there is mvps [1] with a nice host-file, blocking mostly ads, banners etc., which I use myself without much trouble. While searching for a list of porn-sites to add to that list, I stumbled upon BadHosts [2], which includes several hosts-files, one of them entirely for porn-sites. The sites listed there might get you started, but as noted by Qian Qiao before, that list will never be complete or up-to-date. Besides, using an anonymizer to reach one of those sites will get you there anyway. You would have to block those, too. My opinion: If children are to be protected from that kind of content, seting up a public computer in a livingroom might be a better way (in conjunction with a host-file maybe for those nasty ads). But as soon as one starts blocking sites, the question will be where to stop. JP Thanks to all that have answered. I appreciate the responses greatly. Indeed the question was based around what to do with a kid that's not using his computer time appropriately. It has nothing to do with 'protecting' him via censoring or anything like that. It was more a matter of should he be playing Flash games or playing online videos of Star Craft games when he has homework to be doing. After thinking about it the decision in the end was to do nothing technical. Nothing technical is going to fix this problem other than him growing up a bit. Thanks again, Mark