[00:02] mindframe-: mrtg works great for that [00:08] sommer: I've written up what I've found so far: https://wiki.ubuntu.com/OnnoBenschop/ubuntu-server/cron-bug [00:09] cool [00:09] looks good [00:10] I'm just wondering if its something weird like, reboot - add script - fail, vs reboot - reload - add script - success - add script - success [00:11] have you tested cron.hourly? ...wondering if it may be effected as well [00:12] Hmm, I thought that I invented that on my system, hardy has it too :) I'll check. [00:21] sommer: So far two out of three act normally, but the one we care about missed the job by about 46 seconds, so I'll have to wait an hour :) [00:22] wow... maybe something with the hardware? [00:22] I'm beginning to wonder if its an anacron interaction. The hourly job doesn't use anacron. [00:22] ah... makes sense [00:23] As for hardware, the gutsy-server is a HP proliant, the gutsy-workstation is a Thinkpad and the hardy-server is a vmware-server [00:52] Good evening everyone. [00:52] What is the best way to go about setting up a proxy server in my home network in order to block certain sites from individual users? [00:52] evenin' :) (i'm thinking most of the room is fairly quiet...) [00:53] are you already running Ubuntu on a server, or server-esk box? [00:53] you'll need an authenticating proxy [00:53] Ubuntu on a desktop [00:53] All ubuntu machines. 5 in all [00:54] Over wireless [00:54] gregbrady, do you have one user per system? [00:54] is your router running ubuntu as well? or just 5 desktops [00:54] No the three of us have access to all computers, except one main one. [00:54] Router is a standard Belkin Pre-N [00:55] if you know exactly which websites you want to block, or exactly which websites you want to allow, squid will be the most popular proxy out there to learn [00:56] No, not exact websites. [00:56] But I guess I could build a list over time [00:56] if you want it to be a 'smart' filter that just blocks certain types of websites, that gets slightly harder, but still doable [00:56] dansguardian is the only filtering proxy i have used, so its the only one i can really recomend [00:57] Kamping_Kaiser, yup, I understand completely. I'm looking for something maybe more generic, if that makes sense. [00:57] same, dansguardian is a very nice key word based filter, but it usually is run with squid [00:57] andguent, i'm aware of it running with anything else [00:58] dansguardian just seems a bit daunting to install and manage. [00:58] gregbrady, are you after keyword filtering/sitelists, what sort uf stuff? [00:59] its not as hard as you think, exept it has the hidden overhead of needing to configure squid [00:59] Kamping_Kaiser, keyword and content [00:59] I would also like to monitor sites visited [01:00] all proxys will log [01:01] Yup, I know. [01:02] if you have a good guide, or are familiar with squid & dans, it can be 3 config files and maybe 10 lines of config entries, not bad for what it does [01:02] -no guide, and not familiar with squid or dans [01:03] 3 files? [01:03] squid.conf, dansguadian.conf, dansguardianf1.conf, ack, and /etc/default/dansguardian [01:03] ok, 4 :) [01:04] you dont /need/ to edit f1 *i havent* [01:04] i dont remember default/dans [01:05] going off of memory, its possible i'm wrong, anywho, the point is it isn't difficult at all [01:05] agreed on the point :) [01:06] trying to track down a good guide [01:06] Yeah, so am I! [01:07] https://wiki.ubuntu.com/EdubuntuProxy any help? [01:07] let me check. Be aware that I'm just running Ubuntu [01:08] eh, its all the same, just different software installed by default [01:09] That's my understanding. I'm relatively new so I just wanted to clarify. [01:10] as long as you can install dansguardian and squid, it really doesn't matter what you run it on [01:10] its actually possible to at least run squid on a commodity linksys router, but thats another project :P [01:11] Kamping_Kaiser's link looks good, I found this guide as well which keeps it short and sweet:http://www.brianmathis.net/2007/11/30/howto-squid-and-dansguardian-with-dapper/ [01:11] gregbrady: Just to break in here, but many domestic wifi routers have filtering capacity built in. [01:11] I feel like they are both missing a few httpd_accel lines for squid [01:13] owh, yes, but it is pay by the month on my router [01:14] gregbrady: Huh? In a domestic environment? How are you connected to the 'net? [01:14] owh rogers and a belkin router [01:14] gregbrady: The belkin router is in your home? [01:15] owh yes [01:15] Belkin Pre-N 530200 [01:15] gregbrady: Then my point still stands. Many domestic routers have filtering built in, that is, you can access their web interface and setup some form of URL filtering. Not all, but many. [01:16] gregbrady: Most of them are running some form of linux anyway :) [01:16] This one relies on a service that you subscribe to [01:17] * owh is googling. [01:17] gregbrady: I get no hits at all with that model number. [01:20] Sorry, Ubuntu froze and crashed. [01:20] :o [01:20] gregbrady: That sounds like a bigger problem than filtering. I've only had that happen with hardware faults. [01:20] yeah, first time for everything. [01:21] Too bad, I was doing a lot of long running processes in the background [01:21] Did you see my last comment: gregbrady: I get no hits at all with that model number. [01:22] owh, second please. I have about 5 process to get started again. [01:23] Man, and they were running for the last about 4 hours....... [01:26] Ok, back in business! [01:26] Belkin F5D8230-4 [01:31] gregbrady: http://whirlpool.net.au/index.cfm?a=h_view&model_id=327 - look for manual, click the link, look for manual, download. [01:33] owh, it only has them for win/mac [01:33] nope, found it [01:36] gregbrady: Integrated Parental Control Web Content Filter: Belkin Parental Control allows you to set up your own policies and block any website you want. There is also an optional reporting feature (fee-based) that allows you to get a report showing you every website that was visited from your network (refer to your Parental Control User Manual for more information). [01:36] exactly, fee based [01:36] gregbrady: Read it properly [01:37] owh, sorry page 10. Parental controls. [01:37] Let me make it clearer for you gregbrady: Integrated Parental Control Web Content Filter: Belkin Parental Control allows you to set up your own policies and block any website you want. [01:38] owh: I think he was looking for keyword/smart filtering of some sort [01:38] Parental control is free for 6 months, which includes blocking anysite [01:38] The last paragraph says what is included in the Parental controls, if subscribed to [01:39] owh, I could live with tracking and manual list creation if required [01:40] owh, maybe I'e misread it. [01:43] Is this a really unusual request for Ubuntu users to make? [01:43] Well, on a ubuntu-server group, yes :) [01:43] gregbrady, request what? [01:43] owh, could be. [01:44] Kamping_Kaiser, requesting an easy method for managing web access. [01:45] gregbrady: I'm more than happy to help getting squid and dansguardian up and running with you, i was just letting you check out alternate options in case they really did work for what you needed [01:45] andguent, nope, I understand your intent. [01:45] andguent, I guess I had hopes it would be easier. I've never tried this before [01:45] there may be other better ways to do it, but the squid and dans combo has been around for a while, and its the one i know [works] [01:46] i've heard smoothwall can be an easy install, but i've never used it [01:46] andguent, I will attempt to follow the directions I've already been given [01:47] the long and the short of it is that there is no harm in trying it, at least not until you start permanently forcing custom iptables entries at boot, then you just need to remember where you made that change 6 months ago :) [01:47] gregbrady: Everything in the manual indicates that the only part that is fee based is the reporting. I do not have access to the "Parental Control User Manual", but as the owner of the device you presumably do. [01:48] owh, nope and when you try to use the function, it asks you to login in and register, which of course does not work. [01:48] gregbrady: If your domestic router does what you need then that will be far simpler to implement than anything else - unless you already have a central gateway linux box. [01:48] owh, I agree. [01:48] gregbrady: Did you look on the CD that came with the device? [01:48] gregbrady: I can even try setting the same filter up here with you, i don't really have a need for it right now though [01:50] owh, I just googled and found out that that service no longer works. [01:50] owh, they were indeed subscription based, but it does not function anymore. [01:51] gregbrady: Then perhaps contact Belkin and ask them what you need to do to enable filtering. Perhaps they have a new firmware version for you. [01:51] owh, I tried to get help with them before with VPN and that was a useless adventure. No more Belkin products for me! But, I'm stuck with what I have at the moment. [01:52] andguent: I completely understand your response and it is correct if the router cannot do this, but only then. It might be a trivial thing to initially setup, apt-get install xyz, but maintaining it will be a challenge across several machines. [01:52] owh, exactly!!!!! [01:52] owh, that is why I wanted LSTP to work, but it does not work with a wireless server [01:53] Huh? [01:53] Says who? [01:53] I tried, with lots of help in the chatrooms, no luck [01:53] its all about deciding how complicated you want it, depending on the technical skill of those being filtered :) [01:54] gregbrady: There is no earthly reason that I can think of, other than perhaps available bandwidth that might cause issues. (Bugs not withstanding.) [01:54] I thought LSTP sounded like a dream to me. Maintain one main machine only......the rest are just thin clients with nothing to do on them. Simple in theory. [01:55] I suppose you could point all browsers at the same proxy server and lock that redirection down, then run the proxy/filter in one place and maintain it there. It will require that workstation to be on for anyone to browse, but it would work. [01:55] owh, the key issue is devices dont netboot [01:55] * netboot wireless [01:55] anyway. afk [01:55] Kamping_Kaiser: So, put an initrd on the device and get it to connect. [01:55] The whole thing is a lot more complex then I thought at first. [01:56] gregbrady: It always is, which is why I was diverting you toward fixing your router :) [01:56] owh, Oh, I understand you completely and it would be awesome! [01:57] owh, Ubuntu is so easy to upkeep on individual machines....if I could just manage net access at one point, that would be awesome. [01:58] gregbrady: As I said, configure one machine with andguent's assistance if so inclined, then redirect the proxy from all the other workstations to that same machine. Magic. [01:58] owh, or buy a proper router [01:59] gregbrady: You can often throw money at anything to solve a problem :) [01:59] owh, good point, but this decision is not trivial. I will have to maintain it as well. [01:59] afk for a bit, be back [02:00] owh, and this server has a bunch of hard drives in it that consume power.....more than a router I would imagine [02:01] gregbrady: By several orders of magnitude. [02:02] sommer: In case you're awake, the hourly jobs didn't run on hardy either. [02:08] owh, and I'm not really sure I understand exactly how the whole squid/dansguardian actually works, so if there is a problem it will be hard to fix. [02:09] owh, I like to understand the things I implement [02:21] gregbrady: a good policy [02:21] but nothing a bit of time and determination won't solve [02:21] squid is fairly straight forward once you do your config to your tastes [02:21] faulkes- no doubt, I'm investing now. [02:21] I havent used dans so [02:22] faulkes- I just have a problem blindly installing something. It may work, but as soon as there is a glitch, and there will be glitches, then the real nightmare starts [02:24] squid and dans maybe perfect, I just have to read more to understand [02:25] i love the way its set+forget after the iniital install [02:26] Kamping_Kaiser, I'm still reading..... [02:27] I have a problem where the ubuntu server network lags intermittently for 3 or 4 seconds, the server is primarily samba, I have changed every piece of hardware, any1 got any clues ? [02:27] gregbrady, not rushing you :) [02:27] Kamping_Kaiser, nope, none taken. I appreciate the help! [02:33] I'm back -- gregbrady: I'm more than happy to help with things, but it doesn't make sense for half a dozen people to all give you ideas at once :) I will keep quiet unless asked for something [02:37] andguent, thanks and no problem. I'm just doing some research here for my own peace of mind. [02:39] there are multiple ways on how to implement it, some are dead easy to revert (so easy that if you have 12 year olds+, it might not be effective..) [02:40] but definitely read what you need [03:00] afk. back as kgoetz in about 30 [03:18] Ok, trying to install [03:21] tons more to read in squid.conf! [03:21] gregbrady: Questions for you (if you want to do some design planning...) What would you consider the highest computer skill level of those being blocked is? (IE does this filtering config need to be protected by passwords) Are you sure that the proxy server box you are setting up will always be on and available? Will that box have a static IP address? [03:22] Skill level is minimal.....My son is 8. [03:23] The server can always be on [03:24] Server can be static, I don't see an issue there. [03:24] good good, if it hops around, family members will complain, including the one who shares your bed :) [03:24] hahahaha [03:25] although, i'm guessing most wives are more agreeable to porn filters then say.... rewiring all of the phones to go through voip, and then voip crashing.... [03:25] I don't care about porn for the wife. [03:25] I only need to protect my son. On all machines, except the server [03:26] yea, i know, but i'm sure she likes the idea... anywho, i'm getting us off topic [03:26] hahahah, for sure! [03:27] are you following a guide of any sort? most guides I have seen don't test things in phases very well, and you end up with a 4 part process that is broken somewhere in the middle :) [03:28] https://wiki.ubuntu.com/EdubuntuProxy [03:28] I've only installed the software and opened gedit [03:28] with squid.conf [03:29] ok good, I would say get squid.conf adjusted as needed, and then pause there to test it and verify functionality [03:30] I must read to understand what I'm adjusting though. I'm working on that now. [03:30] take your time [03:36] It says the default settings should be fine [03:37] only one way to find out for sure :) I usually adjust things, but lets try the easy way first [03:37] So just turn it on? [03:38] yea, lets try that start command, and see if manually pointing your browser to your proxy gets you any connectivity [03:38] failed [03:39] no worries. I've never had one single thing work out of the box with default settings. [03:39] squid failed to start? did it give a message? usually I would say avoid pasting numerous lines in a chat room, but we seem quiet enough in here tonight :) [03:39] * Starting Squid HTTP proxy squid * Creating squid spool directory structure [03:39] FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname' [03:39] Squid Cache (Version 2.6.STABLE14): Terminated abnormally. [03:39] CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys [03:39] Maximum Resident Size: 0 KB [03:39] Page faults with physical i/o: 0 [03:39] Aborted (core dumped) [03:39] FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname' [03:39] Squid Cache (Version 2.6.STABLE14): Terminated abnormally. [03:39] CPU Usage: 0.012 seconds = 0.004 user + 0.008 sys [03:39] Maximum Resident Size: 0 KB [03:39] Page faults with physical i/o: 0 [03:39] Aborted (core dumped) [03:40] ok, lets try what it asks then, do you have a line in squid.conf that starts with 'visible_hostname' ? [03:40] already working on that [03:41] back :) [03:41] excellent, forgive me if I ask silly questions :) [03:42] kgoetz: we are just starting into basic squid configuring, both of us got distracted a bit while you were out :) [03:42] andguent, no problem [03:42] ok, everything is commented out except the http_port line [03:43] i believe you can set visible_hostname to anything you want, just keep tinkering until squid restarts without complaining -- I could get my own squid started up here for good measure too.... [03:45] Can I assume you are familiar with http://paste.ubuntu-nl.org/ just in case we need to exchange config files? [03:46] I only used that once [03:48] andguent: cool. i'm trying to get setup here, and having tecchnical issues ;| [03:48] I'm not sure what the hostname should be [03:48] What format? In quotes? [03:48] shouldn't need quotes unless you have spaces or fancy characters [03:49] and the name is irrelevant? [03:49] I just put in a line on its own like this: 'visible_hostname goober' [03:49] yea, put it in as 'youPeskyKidsMadeMeResortToThisJustToShieldYourEyes' :) [03:49] ok, squid started [03:49] confirming now [03:50] keithclark@keithclark-desktop:~$ ps aux | grep squid [03:50] root 20819 0.0 0.0 4780 652 ? Ss 23:49 0:00 /usr/sbin/squid -D -sYC [03:50] proxy 20824 0.3 0.3 7000 4528 ? S 23:49 0:00 (squid) -D -sYC [03:50] 1000 20859 0.0 0.0 2976 756 pts/0 R+ 23:50 0:00 grep squid [03:50] via 'ps aux|grep squid' I assume? -- I have another confirm command to run: 'netstat -nltp|grep squid' [03:51] I get: tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 28667/(squid) [03:51] I guess that means no then [03:52] (Not all processes could be identified, non-owned process info [03:52] will not be shown, you would have to be root to see it all.) [03:52] check your logs too [03:52] your command output was good, but netstat should show one line.... hmm, maybe 'sudo netstat -nltp|grep squid' [03:53] yup.... [03:53] sorry, a home distraction.... [03:53] happens :) [03:53] ok, it was the tv [03:53] so, success at the moment [03:54] ok, i personally like to test every phase so we know if we are standing on good ground or not, point your firefox manual proxy through localhost port 3128.... I can find exact menus in a sec [03:54] Should I not set my ip as static now for this machine? [03:54] And, should I be using my laptop to try this out now? [03:55] eh, lets confirm squid first, setting static IP can be the next step [03:55] personally i'd think ip is first, sine you want squid to listen on it [03:56] currently, its listening on all IPs, squid won't even care if you hop IPs, it will only matter to other computers, and none of them know about it yet [03:57] In firefox, can you go Edit -> Preferences -> Advanced -> Network -> Settings -> Manual Proxy.... [03:57] remember this location, we will need to undo it later.... [03:57] not a problem [03:57] Check off "Use this proxy server for all protocols", and enter for HTTP proxy: localhost, port 3128 [03:58] then get a new tab up and just check your connection to google [03:58] localhost=ip of server? [03:58] you should actually be able to put that english in, exactly as spelled [03:58] IP would work too, but we might be changing that in a minute :) [03:59] ok, google works fine. how do I confirm it went through the proxy server? [03:59] I actually understand this so far! [03:59] try 'tail /var/log/squid/access.log' [04:00] it should show your page hit, and your IP among other things [04:00] yup, it worked [04:01] so really, at this point, if I changed my other machines to point to this proxy server, tracking would be working? [04:01] good good, in the end you will end up with two logs like that, dans will have its own [04:01] yes, at minimum, if you repeated the firefox proxy settings on every box, you could at least see what sites they are visiting [04:02] but note that squid usually logs time stamps in non-english format [04:02] Awesome, you are good. I actually followed this [04:02] andguent, I understand....I'm just happy with the progress [04:03] dans will have some easier logging to follow, i like to change date stamp to easier readable format, but thats later :) [04:03] now, I'm assuming, dansguardian sits between the proxy server and the net? [04:03] actually, the other way around, dans likes to get everything first, and then passes everything to squid [04:03] but close :) [04:04] That is what I meant [04:04] squid is mostly there for speed and redirection functionality [04:04] ah ok [04:04] internet to dans, dans to squid, squid to client, client to browser? [04:04] and viseversa? [04:04] either way, a static IP is a good idea before we get too far into this, feel free to undo your proxy settings in firefox before we forget about them... [04:05] mmmm, close... [04:05] ok, still learning [04:05] proxy reset [04:05] for outbound connections, the chain is workstation app (firefox) -> Dans on server -> Squid on server -> router -> internet, the return trip would be flipped [04:06] got you. [04:06] iptables redirects > firefox settings [04:07] yeah, this is where I get a little confused. [04:07] definitely an option, with an 8 year old though, we can get away with the easy manual proxy for now if we want [04:07] I would have thought that dans would be installed and configured first then? [04:07] i think of squid as being the foundation, start from the link closest to the internet, and test backwards from there [04:07] andguent: i'd think iptables would be easier overall, as you dont need to reconfigure each client [04:08] So far my son does not mean to do what he does. [04:08] I got you..... [04:08] Sorry, just trying to figure all this out as we go. [04:08] mmm, iptables will need to be run on each workstation, unless this server is becoming the router, either way we are touching each workstation [04:09] i just assumed the server would become the default route [04:09] ok, then the server will dole out ip addresses? [04:09] dns serving duties? [04:09] it can be, but that requires some advanced firewalling --- none of this is required, but can be done [04:10] you can leave dhcp and dns exactly as is if you want to keep it simple [04:10] no....the hardware firewall seems to be working....and I lend out some wireless to my neighbour [04:10] I dont' want his machine to be affected [04:11] * kgoetz bites back a suggestion involving more complexty [04:11] bad me! [04:11] kgoetz, please let me hear them [04:11] i would say keep things as is, make the changes that are easiest to undo :) run with it for a week, and then make it more complex :) [04:11] I will keep simple, but I want to hear options [04:12] or throw another nic in the server, install shorewall, pull the belkin behind the new router, and make it a transparent proxy for all :) [04:12] Maybe I should have said this....I have a neighbour that cant' afford the internet access, so I let him use mine via wireless. I don't want to change his settings. [04:12] set the gateway to be the default route for everything (so everything gets the option of using squid), and drop an iptables rule to route the neighbour through to th net directly not via squid [04:12] andguent, if I were to throw another nic in, I would just buy another router with everything built in. [04:13] if you have ubuntu (or really anything with iptables --- linux kernel 2.4 and up), its dead easy to force ALL port 80 outbound traffic to your filtering [04:13] you could, but running a full linux server as a router is a massive amount of power, not only knowing what websites people have been to, but who is hogging all of that download speed, monitoring all ports, not just web traffic [04:14] iptraf is your friend, but its only useful if your server sees the connections going out to the internet [04:14] andguent, yes, I understand the benefits. [04:14] either way, all of that stuff can be added later if you feel so inclined, not required for tonight :) [04:15] kgoetz: I agree you could definitely set his proxy box as the default gateway, but again, more complexity :) [04:15] hi all [04:15] i need to install my server without internet help! [04:15] my goal is to be able to get Matthew back online tomorrow with the least amount of trouble and the most amount of understanding so that I can manage it [04:15] But I would so enjoy learning more with you guys! [04:16] hello.. where can php.ini be located in gutsy? [04:17] DrIP: Any way the box can temporarily migrate to a place with internet? You probably don't need it for the cd installer, but its nice [04:17] kris_ph: 'locate php.ini' [04:17] gregbrady: are you ok setting the IP static or would you like help? [04:17] andguent: sadly, no... [04:17] andguent, just point me....I think I know. [04:17] i have resources to download a 'full dvd' if possiable [04:18] DrIP: how far can you install without the connection? a basic cd should work unless you know it will be missing software you want [04:18] Is it a good practice to hide the versions of apache and php in http head request? [04:18] it goes to about 83% [04:18] kris_ph: yes [04:18] gregbrady: if you have gui on that box, it may be easiest to just use network manager to set things, default gateway and dns server can both probably be your belkin [04:18] System, Administration, Network.... [04:19] DrIP: I got the list of php.ini already.. but the thing is.. which php.ini location I need to modify to hide php details? [04:19] gregbrady: IP address can be any similar address as the other units on your network, as long as the last number is different [04:20] kris_ph: usually /etc/php/apache/php.ini, but don't quote me on that :) [04:20] DrIP: I just want to modify expose_php to OFF.. [04:20] andguent: thanks.. [04:20] kris_ph: andguent should better hear that question :p i have yetr to get a working install of ubuntu server >.< [04:20] err yea [04:21] andguent: is there a dvd of server? [04:21] kris_ph: the real test is to figure out how to detect if that info is showing, adjust something, and see if the info dissapears [04:21] i can not use internet... it *has* to be a serile server [04:22] andguent: yeah.. I tested it already.. and I detected it that it is showing its apache version and php information.. [04:22] andguent: that's why I'm going to modify it.. ") [04:22] DrIP: any special software you will need to install? are you able to sneaker net any extra needed debs from another location? [04:24] andguent: i just need wireless for my internet... but i can't use ndiswrapper and the linksys WMP11 isn't supported :( [04:24] (and yes, i'm trying to get a server on wireless [04:24] ) [04:24] ok, I think it is set [04:24] should I logoff and back on to the network to be sure? [04:25] DrIP: http://www.ubuntu.com/getubuntu/downloadmirrors has dvd links at the bottom [04:25] ok, that did not work [04:25] ahhhh [04:26] gregbrady: can you get a second computer available for IRC and then break your server network settings again so we can see how far it got? [04:26] andguent: thanks :) [04:26] DrIP: np :) [04:26] I got as far as setting my static settings, then failure [04:27] system [04:27] admin [04:27] gregbrady: I'm assuming you are chatting from a different box then? is it still broken? [04:27] network [04:27] wireless connection [04:27] properties [04:27] uncheck roaming [04:28] yup, following.... if at all possible, it would be good if the sever was wired, but if it can't happen (and wireless has been working fine) then so be it [04:28] with you so far [04:28] again, server is wireless [04:28] Everything is wireless [04:29] it will work, as long as your wireless has been behaving :) [04:29] andguent: eep those dvds are all client :| [04:29] DrIP: oh really? bleh, i thought there was a server edition [04:29] My wireless has worked for over 4 years, it should be ok today [04:29] yea :( [04:29] how can i get my server installed without internet... [04:30] Is there anybody here who uses phpsysinfo? [04:30] brb... i need my lappy... [04:30] Then I find the Network Name, password type,password, I choose ip address subnet and so on [04:30] gregbrady: ok, where does the connection fail? [04:30] when I close and reconnect [04:31] It does not connect [04:31] you know what, this is probably a propriety driver problem [04:31] after hitting that reconnect, can you confirm the IP address was properly set via ifconfig? [04:31] that is why the lstp did not work [04:32] i couldn't tell you, it seems strange that any driver could do dhcp, but not static.... however it sounds like you have beat that bush to death already [04:33] bbl [04:33] i assume youve double checked your gateway address, and still can't ping your gateway or anything? [04:33] yup, all my wireless cards across 6 machines in total are not supported [04:34] I have to use ndiswrapper, I believe [04:34] that still should allow static IPs though... [04:34] ....should.. [04:34] No, I came across this before [04:35] belkin+linux=no good [04:35] well, then i guess we stick with dhcp then, put it back to roaming [04:35] can you sign into your router and see about setting a dhcp reservation? anything you can do to prevent your server from changing IPs the better [04:35] no, too much of a pain for me as administrator to redirect when my server decides to change the address [04:37] Belkin has very simple, easy to use hardware. Not powerful but very easy to setup under Windows, Unfortunately [04:37] any basic router should have that option, as long as you don't change routers you won't have a problem.... even if you do, if we keep the setup simple, you will just have to go into firefox and disable the proxy to bypass [04:41] I remember that Windows handles this problem......Belkin writes drivers for it, but not Linux. [04:41] i'm assuming you are able to web into your router? [04:41] yup [04:42] have you confirmed that you can't set a reservation for your server? [04:42] yup [04:42] (sorry if ive asked this before) [04:42] bleh [04:42] i've never seen one not have the option in years, but I will leave it to Belkin to prove me wrong :) [04:43] Well, if you hear of a Belkin again, don't waste your time helping them out. [04:44] we still can do the internet filter, i just don't know how often your server box changes IPs [04:44] There is no VNC option, LSTP does not work, no internet filters and also no static ips [04:44] It kind of makes it secure! [04:45] no VNC?? are you able to do file sharing at all or anything? [04:45] nope [04:45] no tunnelling [04:45] can you ping another workstation? [04:45] yes [04:45] sorry, no vnc over the wan [04:45] try setting up firefox on another computer to use your server's proxy IP... [04:46] just for kicks [04:46] that will work [04:46] but if I try to setup a vnc from outside, no go [04:46] no settings for it [04:47] ok, i misread you then, that would seem like a basic feature, but it shouldn't stop your internet filter project [04:47] no, it will work, but it is us the the dns server to have the same address, or me running around making changes [04:47] *up to the dns server [04:48] the dns server is allowed to change, that shouldn't affect the filtering [04:48] no, just he proxy settings of all clients [04:48] even if name lookups go direct to the internet, the actual page loading will still be filtered [04:48] ok, hang on then, I misunderstand [04:49] i'm not sure if i'm understanding you... heh [04:49] ok, sorry..... [04:49] I will hold my tongue a sec, mind explaining what you mean once more? [04:49] the server will not have a set ip address [04:49] how can my clients find it? [04:50] hahaha, you can answer now! [04:50] normally, computers don't change IP very often, even if using DHCP [04:50] it does happen, but it shouldn't be a regular thing [04:51] ok, maybe I misunderstood, let's carry on then!!!! [04:51] i'm looking into dhcp client man pages now to see if there is a way you can keep it asking for the same address [04:51] I will also reseach, but let's carry on for now, agreed? [04:52] another option is to see if name lookups work properly on your network.... samba style name broadcasts may take care of your problem (set proxy filter IP to server name) [04:52] yes, carry on we shall :) [04:52] I seem to also have a problem with samba name lookups....they take forever [04:53] ok, squid works, lets get dans up and running, going back to the guide it says change one line, i think i want to do slightly more then that... [04:54] get yourself into that dansguardian.conf, we can page down together, i agree that you want to loose the UNCONFIGURED line [04:55] ok, let me get that far. [04:56] shoot, I lost the address for the instructions after the network loss...do you have what I sent you? [04:56] yup [04:56] https://wiki.ubuntu.com/EdubuntuProxy [05:00] yup, I'm into the editing [05:01] ok good, loose the UNCONFIGURED line if you havin't already, some other options in here are good to know about, but not required [05:02] loglevel = 3 is sometimes excessive, you can bump it down, but you start loosing track of what websites people have successfully gotten to [05:02] remember your /var/log/squid/access.log -- exact same concept, but for dans [05:03] ok, so save it? [05:03] i actually recommend one other change [05:03] ok, no problem [05:03] about 5-6 pages down (depending on page size), track down virusscan = on [05:04] this is a nice feature when it works, but leaving virusscanning on can cause headaches, and since you are all ubuntu, who the heck cares about viruses anyway? :) [05:04] it is on [05:04] turn it off, earmark it as something to tinker with later [05:04] I will turn it off [05:05] ok, save, quit that file [05:05] ok, saved [05:05] one more file that the guide doesn't touch.... same directory dansguardianf1.conf [05:06] in here, note how many other directories dans checks, that first page worth is just an fyi for things to browse through [05:07] naughtynesslimit is something to note and tweak later, especially if while visiting medical websites, you and your wife get denied too often [05:07] file not found [05:07] mmmm... /etc/dansguardian/dansguardianf1.conf ? [05:08] nevermind......(turning red) [05:08] its all good :P I'm amazed I'm still typing this coherently :) [05:09] I'm sorry to keep you up...... [05:09] I owe you a few drinks of choice [05:09] no no, quite alright [05:09] would a LAMP server be suitable for usage as a file server? [05:09] amusingly enough, i havin't done this filter setup in a while, i need the practice [05:10] Wrathtide: it definitely can, but it will have extra programs running [05:10] as long as it is on a home network, and not exposed to the outside internet, it really doesn't matter either way -- do you trust the people on your network not to break your stuff? :) [05:11] I'm sorry guys, I appreciate the extra suggestions, but could we just keep it simple for tonight? We've been at it for hours....I'd love to learn further about all options though! [05:11] andguent: they would break it if they could :\ [05:11] inept fools, i just had to reformat the household pc [05:11] gregbrady: i'm assuming you got into dansguardianf1.conf? did you see my notes above? [05:12] oh yeah [05:12] and I'm ready [05:12] Wrathtide: in that case, just do the normal install, setup samba with password requirements or read only the whole way, drop the lamp [05:13] gregbrady: I have not experimented with bypass options, but it might be worth tinkering with later, especially if your wife doesn't have the sudo password on this box :) [05:13] she has sudo [05:13] andguent: right now i have FreeNAS running an ssh server which is giving me better speeds than cif/nfs [05:13] (and other tools) [05:13] and virusscan reappears in this file, turn it off again for good measure (i think turning it off once is enough, but lets kill it until its dead) [05:14] andguent: meh, ill just stick to freenas till i restore all the data back [05:14] Wrathtide: speed is good, if it does what you want, dont kill yourself on something new :) [05:14] =) [05:14] thanks [05:14] gregbrady: I think we are done with this file, save quit [05:14] done [05:15] ok, back to the guide, their next two steps sound good [05:15] start, ps aux, cross fingers (in no particular order) [05:15] sudo /etc/init.d/dansguardian start && ps aux | grep dansguardian [05:16] andguent...you are addressing whom? [05:16] gregbrady: you, sorry, i assumed the room went empty again :) [05:17] kgoetz: You still around? :) [05:17] ok, seems to have gone ok [05:17] good good, lets do my netstat test again: 'sudo netstat -ntlp|grep dans' [05:17] and now to test? [05:17] should give you 0.0.0.0:8080 [05:17] tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 27394/dansguardian [05:18] eeeeexcellent [05:18] I'm excited here! [05:18] go back to your firefox proxy settings, change the port from 3128 to 8080 [05:18] ok [05:18] after that, lets see if basic web visits still work [05:19] works ok....I hope that is a good thing! [05:20] if you have success, your web visit should be logged in two places: 'tail /var/log/dansguardian/access.log' and 'tail /var/log/squid/access.log [05:21] wooooooooooohoooooooooooooo [05:21] it might show a little differently, but your visit should get logged twice, telling you that your connection went through both programs [05:21] now for the real test: visit badboys.com [05:21] You are good! [05:21] you should get a big red NO SOUP FOR YOU message [05:22] Access denied [05:22] wonderful [05:22] you have a functioning internet filter [05:22] You are very very good! [05:22] :) I have practice [05:23] a few more tweaking files to consider... all in /etc/dansguardian: [05:23] I thank you for you understanding and putting up with my tantrums [05:23] andguent: sorry, yes i am [05:24] im/ rebuilding a system, so i'm paying attention to that [05:24] bannedexeceptionlist will cause some grief, will prevent you from downloading exe's, avi's, isos, and other sillyness, start commenting some of these out [05:24] kgoetz: no problem at all, just curious if anyone was watching [05:25] andguent: no, no one at all :) [05:26] gregbrady: Making sure you caught that file mention before I give more [05:28] andguent, you know what, I'm happy for today....thank you.......let's leave the rest until later! [05:28] exeptionsitelist is a good on too [05:28] incase it hasnt been meantioned ;) [05:28] definitely, i didn't want to dump my top 10 just yet, i think he might be off showing his wife or something :) [05:29] I hope it is ok if I come back here to learn again. You have been great. [05:29] bannedexceptionlist just drives me batty, especially on a network with hundreds of windows boxes and all I want is a stinkin driver download [05:30] yup yup, i probably will be around :) please read all of the file names in /etc/dansguardian and be aware they are there, if you want to block a site, or unblock a site, start there [05:30] like kgoetz mentioned, exceptionsitelist can be important (more so if you have windows boxes trying to hit updates.microsoft.com) [05:31] or archive.ubuntu.com ... [05:31] go nuts setting proxy server settings in firefox and see who hits the wall first :) I'm sure there are ways to be notified if someone gets a denied message [05:32] * kgoetz is afk for 20-3o min - getting mroe water [05:35] also note what is within ./phraselists/, there are a lot of naughty words in there. I hear there are massive updated lists you can track down from somewhere, but i never got that far, the current setup does fairly well [05:42] shoot, now all my machines have no wireless access [05:43] uhhh, don't know what to do for you there.... reset the router? [05:43] nope [05:44] everything we did today should be completely opt-in, its not going to take anything over automatically [05:44] I think I will reinstall Linux on all machines and not worry about networking....it is not it's strong point. [05:45] Everytime I try to share directories or files in linux it is just a hassle [05:45] ?? uhm, ok seems like a lot of work, sorry to hear that wifi is such a pain [05:45] maybe tomorrow night we can play with samba :) [05:45] No, wifi under xp is no problem [05:46] wifi always has ben (and will b for th forseable future) a pain [05:46] *sp [05:46] nope, worked under xp with no issues [05:46] i'm not talking about xp... [05:46] oh, sorry [05:47] andguent, I appreciate the try though! [05:47] I have a ton of re-installing to do before I sleep! [05:47] are you wiping linux off or something? [05:47] or just reinstalling fresh [05:48] I need the protection working [05:48] pity you hav to use samba. [05:48] ssh/nfs are so much easier [05:49] i've always found samba easier, but ive also been playing with it for roughly 7 years more [05:49] No, I must go back to Windows! [05:50] andguent: how can samba posably be easier then anything else :o [05:50] just keep one linux box for the filtering, you said wifi worked fine for 4 years!! [05:51] andguent, on your belief, I will keep linux until tomorrow [05:51] if it worked for 4 years, one night down is ok, really it is :) [05:51] No, one night of porn....remember the reason [05:52] Any OS can direct all sites [05:52] samba: set share level, create share, set perms on share, samba restart -- i do it in my sleep [05:53] This seems to be a real hurt point for linux....if a solution can be found, maybe we could take advantage of it! [05:53] andguent: nfs: add share to export, optional extra controls, nfs reload [05:54] kgoetz: i'm sure its very easy, i've just never had a need, yeay for lowest common denomenator [05:55] andguent: heh, no joke [05:55] shoot, my internet is down except for the server now [05:55] ssh is better [05:55] ? [05:55] but lets leave that alone [05:56] when you say down, you mean before or after firefox got additional proxy filter settings? [05:56] bbs [05:56] via sshfs? fun toys there.... [05:57] samba seems to be able to pay bills better, most business users want windows, don't care what the server is as long as it works, nfs is only for linux users really.. [05:58] Shoot, the connection does not even come up [05:58] gregbrady: revert all browser proxy settings before assuming the connection is down :) if one is up, something must be working [05:58] ?? [05:59] andguent: s/linux/unix [05:59] sshd+unix desktops vfs== win [05:59] kgoetz: i stand corrected [05:59] no browser [05:59] well, sit corrected... [05:59] new boot [06:00] nfs is only for *nix users really.. [06:00] Ok, none of my 5 machines boots to a workable network now. I'm offline [06:00] gregbrady: ? how are you chatting? [06:01] why? [06:01] are you using one of those 5 computers for irc? [06:01] Yes, the server [06:02] good point [06:02] so, when you say the network is down, have you tested anything other than firefox? can anyone ping google? [06:02] I cant' get on the net [06:03] what message do you get when you ping www.google.com [06:04] I get ping results [06:04] ok, if it gives you numbers, then your wireless is fine [06:05] ok, so now it works! [06:05] Why is that? [06:06] when you were using firefox to get to a site, what message was it giving? was it saying proxy unavailable, or malformed url? [06:06] unavailable [06:06] if you have any wireless weirdness, web browsing will now see the weirdness twice as often.... everyone has to go to your server, and then back out to the internet [06:07] there are too many possible reasons why it dropped [06:07] Ok, so the solution is? [06:07] but if pinging google.com works, and the web browser doesn't, double check to make sure both filtering programs are running [06:08] also keep in mind, if you restarted the server, it may take a minute for squid and dans to finish starting up [06:08] No, all works well on the laptop....it just took 15 mins [06:08] dansguardian has an awful lot of data to search through in its own phraselists, squid is anal about its cache files, they both double check stuff on startup [06:09] did this happen immediately after the server restarted? [06:09] Hello... is there a way to prevent users from accessing restricted sites with the use of proxysites like www.anonymouse.org? [06:10] stop users getting to those sites? [06:11] i dont think anonymouse is trying to offer that type of feature, but i only glanced at the page just now [06:12] heloo there [06:12] I will have to pay back somehow, thanks! [06:12] i was trying to install mysql 5.1 from source [06:12] grrr. now i'm having network issues *grin* [06:12] yeah.. preventing them going to restricted sites using anonymouse.. a good proxysite is www.proxycentre.com [06:12] but i always have problem [06:12] anybody can help me ? [06:13] if the user knows that site.. even if in your firewall you denied them accessing friendster.com or youtube.com... they could still be able to access those sites.. [06:13] depends on your proxy [06:14] gregbrady: good luck, i might be back on tomorrow night, or there should be hundreds of other people able to help, just don't install XP, its baaaad :) Goodnight everyone, good luck on your projects [06:14] I don't think so.. IPcap can't even filter it... [06:14] ipcap being IP level? [06:14] andguent, you are correct, I just got fustrated@ [06:14] did you get what I mean? [06:15] kris_ph: i'm not sure i did [06:15] pnukeid: try #mysql, or are you installing from ubuntu source? [06:16] no i try install mysql from source [06:16] pnukeid: try #mysql [06:16] ok thx.. [06:16] kgoetz: okay.. this is the case.. I want users in the LAN as well as in WLAN not be able to access www.friendster.com and www.youtube.com since it is an educational institution...but when they will now using proxysites like those ones I mentioned....well too bad..they could gain access [06:17] *know [06:17] may be in here have experience with my problem too [06:17] kris_ph: i havent tried going to proxy sites in dans, so i dont know if it would catch stuff [06:17] * kgoetz tries it out [06:18] kgoetz: okay..try it out.. and tell me what happens... [06:19] kris_ph: whats a proxy i can try and use? [06:19] kgoetz: in your router or in any firewall...try to deny users to access those sites... you try www.proxycentre.com [06:20] kgoetz: let's say... you block them accessing www.friendster.com then try to access www.friendster.com using www.proxycentre.com and tell me what happens.. [06:21] kris_ph: i cant see a place to put in a custom site. [06:22] kgoetz: ows.. I can't understand what you meant.. [06:23] kris_ph: i want to try and visit 4chan (i know my proxy will block that) - but i cant see a way to do that at proxycentre [06:25] kgoetz: in Enter the URL Address: you type the website URL ....then hit enter... and tell me what happens... [06:25] kgoetz: you could find Enter the URL Address: in the webpage of www.proxycentre.com [06:25] ah, i didnt see that option [06:27] kris_ph: dansguardian blocks this link (4chan) http://www.proxycentre.com/index.php?q=aHR0cDovL3d3dy40Y2hhbi5vcmcv [06:27] reason is: [06:27] ... has been denied for the following reason: [06:27] Weighted phrase limit exceeded. [06:28] "2008.3.15 16:56:26 - 192.168.0.2 http://www.proxycentre.com/index.php?q=aHR0cDovL3d3dy40Y2hhbi5vcmcv *DENIED* Weighted phrase limit of 50 : 240 " (i've cut off teh text it blocked on) [06:29] infact, using the proxy it was more sevearly blocked then without: " 2008.3.15 16:48:59 - 192.168.0.2 http://www.4chan.org/ *DENIED* Weighted phrase limit of 50 : 73" [06:30] kgoetz: you mean.. dansguardian was able to filter it? [06:30] kris_ph: i mean exactly that [06:45] * kgoetz wonders if he just shattered kris_ph 's filtering world [07:01] * kgoetz must have [07:49] anybody knows how to make a streaming server on linux using ipcam ? [08:02] Morning [08:06] Does anyone know if rsync 3.0 will make it into hardy? === MacKulkin is now known as MacKulkinn === MacKulkinn is now known as MacKulkinnn === MacKulkinnn is now known as MacKulkin === MacKulkin is now known as Mackullkin === Mackullkin is now known as MaccKulkin === MaccKulkin is now known as MaacKulkin === MaacKulkin is now known as MmacKulkin === MmacKulkin is now known as |Quest| === |Quest| is now known as MacKulkin === MacKulkin is now known as |Quest| === |Quest| is now known as MacKulkin [10:22] Evening... [10:22] Can anyone here recommend an SNMP tool that they actualll use? [10:22] (I am using cacti for some stuff..) === MacKulkin is now known as Mackkulin [11:48] Is there a way to automatically update the ubuntu box everyday by its own? [11:49] hey! [11:49] whats wrong with this interfaces config? http://pastebin.ca/ [11:49] errr...http://pastebin.ca/943568 [11:51] morning [11:51] hi [11:52] i get: SIOCSIFFLAGS: Cannot assign requested address [11:52] kris_ph: just install unattended-upgrade [11:53] what are the pros and cons with it? [12:44] pros you dont have to worry about it, cons you worry about it breaking your system [13:14] I've been receiving emails with these details: from Cron Daemon ; subject: Cron test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp; Message: /usr/share/sendmail/sendmail: line 875: /usr/sbin/sendmail-msp: No such file or directory [13:15] how would I solve it? I will not be using sendmail anymore... [13:18] > I've been receiving emails with these details: from Cron Daemon ; subject: Cron test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp; Message: /usr/share/sendmail/sendmail: line 875: /usr/sbin/sendmail-msp: No such file or directoryhow would I solve it? I will not be using sendmail anymore... [13:33] I take it you uninstalled sendmail via apt? === joerlend__ is now known as XiXaQ [13:35] dpkg -P [13:35] which should purge anything (like config files) which are still kicking around === cjwatson_ is now known as cjwatson [13:58] nijaba: gonna grab a new copy of the survey and go after some of the recently submitted bugs [14:29] hello... can anybody here point me to a link with guide on how to install fastcgi in ubuntu gutsy? [15:01] good morning all. [15:14] Is there a good dansguardian log analyzer out there? === joerlend_ is now known as XiXaQ [17:03] anyone here? [17:37] ahhhhh [17:37] anyone know how to fix the eyecandy stuff ? [19:19] Is there a way to set a computer running ubuntu up to use a proxy server, no matter what? I changed Firefox for my son, but then I see that he also uses other browsers, which defeat the purpose! [19:49] hey setting up dns here on my end my box's ip is 192.168.0.7 do I set that as nameserver in resolv.conf? [19:50] or do i set my isp's nameserver ip? [19:51] nevermind I got it [20:34] Hey every one, what is going on? Pretty quiet in here! [20:55] Kamping_Kaiser, this dansguardian is working wonders! Thanks! [21:17] hi, l'd like to now which more secure ubuntu or debian(not just out of the box), where security fixes comes faster or this same? I know ubuntu build with stack-protection features and have built-in apparmor support, when debian doesnt [21:20] or give me a link please for a objective comparsion [22:30] hi. [22:31] will hardy support xen out-of-box? [22:35] rgl, being a xen client? i belive so [22:35] takedown_, what sort of answer are you expecting in *ubuntu*-server? [22:36] afk. heading out [22:36] Kamping_Kaiser, being a dom0. the xen packages seem to live in "universe" rather than in the normal archive :/ [22:36] rgl, is dom0 a host or.../ [22:36] s#/#? [22:37] Kamping_Kaiser: idk, whatever [22:37] Kamping_Kaiser, dom0 is the host. domU is the guest(?). [22:37] rgl, host i'm not sure about, but i expect it will [22:37] rgl, I gather it's totally workable, just not the "supported" option. ubuntu are going with kvm, but nothing stopping you using xen [22:38] soneil, oh I found the https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Issue76 which says just that. thx. [22:54] ah here we are [23:03] how do I get the distro name plz? [23:04] alstone: Look in /etc/lsb-release