/srv/irclogs.ubuntu.com/2014/10/10/#ubuntu-server.txt

crazyhead42Odd, I know I used sudo nano this time, and it still won't let me write the file.00:03
crazyhead42Why wouldn't I, being the first user and using sudo, be able to write a config file?00:06
sarnoldcrazyhead42: did nano give you an exact error message or just some "can't write" error message?00:09
crazyhead42"Permision Denied"00:10
crazyhead42[ Error in writing vsftpd: Persmission denied ]00:12
sarnoldcrazyhead42: what command did you use to start nano?00:13
crazyhead42sudo nano vstpd.conf00:14
crazyhead42I'd suspect it was because ftp is running, but that doesn't seem to be a problem in the instructions...00:28
sarnolddepends; linux won't let you modify a currently-executing binary file, but I doubt that was what you did with nano :)00:30
sarnold(of course you can -delete- currently executing binary files no trouble. and you can modify libraries used by processes and they'll probably just crash. go figure.)00:30
crazyhead42If it makes things more wierd/clear/muddled, I can't save it as vsftpd1.config either.00:36
sarnoldyou probably don't have write privileges to the containing directory, which makes me wonder if you did use 'sudo' to start it, since root can override permissions on anything .. except for e.g. a read-only mount00:37
crazyhead42huh... sudo apt-get seemed to work well.00:38
crazyhead42I'll try rebooting though. How do I do that by commandline?00:39
sarnoldsudo shutdown -r now00:39
leopardweasel1Does any one know why I would have a public IPv6 address during the installation of ubuntu server, but not after the installation?00:41
sarnoldleopardweasel1: check your /etc/network/interfaces to see if you've got the ipv6 configuration defined properly00:45
leopardweasel1sarnold: it is set up with the default "auto eth0" and "iface eth0 inet dhcp". It is my router for my home network.00:47
sarnoldleopardweasel1: aha; you'll need to add some 'inet6' stuff there too00:48
sarnoldleopardweasel1: check out interfaces(5) for details00:48
crazyhead42Negative. It still says permission denied.00:49
crazyhead42Could a too long string do it?00:49
sarnoldcrazyhead42: no; if you tried to give a file name too long it would probably be "File name too long" error message instead00:50
sarnoldcrazyhead42: what commands are you running?00:50
crazyhead42still sudo nano, but I accidently ctrl z'd out, and now it's saying no write permission00:51
sarnoldcould you pastebin the last ten or twenty lines of your history?00:52
crazyhead42No, I'd have to type them one by one.00:53
crazyhead42And they aren't all showing up...00:53
crazyhead42WTH?! I've got history missing now!00:53
sarnoldtry this; sudo apt-get install pastebinit ; history | tail -20 | pastebinit00:54
crazyhead42Won't help, this is not my server. My server is on another computer.00:54
crazyhead42Unless pastebinit is meant to protect my history from disapearing unexplanibly?00:54
sarnoldpastebinit just writes standard input to a pastebin site like paste.ubuntu.com. it saves you from having to copy-and-paste things by hand.00:55
crazyhead42Still would have to type it all out.00:55
sarnoldwhy?00:55
crazyhead42Two different computers.00:55
crazyhead42My server is one, which I don't have working to the point where I can even access it from here (I think. I'm not ruling out issues on this end.) and I'm using a pc to manage the irc.00:56
sarnold... oh crazy, you don't even have working networking on it??00:56
sarnoldwait now I'm really confused00:57
crazyhead42I can download stuff, but that's it.00:57
sarnoldyou said apt-get works... so how does -that- work but you can't ssh into it?00:57
crazyhead42I don't have access to it from my other computer. That's what I've been trying to fix.00:57
sarnoldcrazyhead42: install pastebinit, run the history | tail -20 | pastebinit, and then it'll give you an url like: http://paste.ubuntu.com/8528552/  that you'll have to retype. that's not the worst thing in the world...00:57
sarnoldcrazyhead42: and you can't just ssh into it?00:58
crazyhead421. not sure I know what that means.00:58
crazyhead422. I wouldn't rule out that I'm trying to set that up.00:58
sarnoldwhy bother with vsftp if you can't even ssh in? seems like worrying about paint scratches on a car when there's no engine installed :) hehe00:58
crazyhead42wait? I'm not trying to get an engine? What have I been trying to install? SEATWARMERS?00:59
sarnoldhehehe00:59
crazyhead42OH, and if I do have ssh on it, I might STILL be unable to access it. An engine is no good without being connected to the wheels.01:00
sarnoldah, that's a better analogy. you car's got an engine (kernel works, networking stack works), but without wheels (ssh) you can't drive it anywhere :)01:01
sarnoldso, can you ping your server's IP address from the computer you're using?01:01
crazyhead42Actually, the wheels here might be me knowing what I'm doing.01:01
crazyhead42No. Not without careful instruction.01:02
crazyhead42I don't even know if windows has the ability to ping.01:03
crazyhead42I'd ASSUME so, but I've never seen it.01:03
sarnoldrun "ip addr" or "ifconfig" on the servre; look for an ip address that's not 127.0.0.1. on the pc, type "ping ipaddress"01:03
crazyhead42I'm not the only one on the network...01:04
crazyhead42How do I avoid pinging my mom?01:04
sarnoldthat's fine, ping sends little tiny 56 byte packets by default. and windows ping juts sends four before quitting.01:04
sarnoldyou find the IP address of the server and ping that.01:04
crazyhead42That wasn't thourough enough.01:05
crazyhead42The National Policy Institute, estimates that the total cost of mass deportation would be between $206 and $230 billion, or an average cost of between $41 and $46 billion annually over a five year period01:06
crazyhead42Oops01:06
sarnoldcrazyhead42: okay, here's my ifconfig and ip addr output: http://paste.ubuntu.com/8530141/01:06
crazyhead42Microsoft Windows [Version 6.3.9600]01:07
crazyhead42(c) 2013 Microsoft Corporation. All rights reserved.01:07
crazyhead42C:\Users\####>ifconfig01:07
crazyhead42'ifconfig' is not recognized as an internal or external command,01:07
crazyhead42operable program or batch file.01:07
crazyhead42C:\Users\####>ip addr01:07
crazyhead42'ip' is not recognized as an internal or external command,01:07
crazyhead42operable program or batch file.01:07
crazyhead42C:\Users\####>01:07
sarnoldrun those commands on your server, not your pc01:07
sarnoldwindows has an 'ipconfig' command if you ever want it though...01:07
crazyhead42Oh. You want the one from the server.01:07
crazyhead42I actually have that stored, assuming it didn't change.01:08
crazyhead42192.168.1.255 is one of them01:08
crazyhead42oops... I probably shouldn't have posted that01:08
sarnoldthat's probably a broadcast address01:08
sarnoldif your netmask is 255.255.255.0, that's a broadcast address, it refers to all hosts on your local network.01:09
crazyhead42Okay, I'm getting several of them.01:09
sarnoldtwenty years ago you could use that to find all the computers o na network -- ping 192.168.1.255 -- and you'd get back responses from five, ten, twenty, or two hundred machines, all at once. :) but most computers don't reply to broadcast pings any more :(01:10
crazyhead42Okay... so now that I have a bunch of IP addresses, what do I do with them?01:10
sarnoldI'm surprised you have "a bunch" -- how many network cards does that machine have?01:11
crazyhead42There should only be one (and there is only one ethernet cord), but I can only tell the loopback apart from the other kinds.01:11
sarnoldyou're probably looking for eth0's ip address01:12
crazyhead42Okay, I know I used this comand previously, but I don't remember quite how it went. It was ip addr | [something] eth01:14
sarnoldgrep01:14
crazyhead42ummmmmmmmmmmmmmm01:15
crazyhead42lots of stuffes01:15
sarnoldhmm, and actually none of those are the ip address anyway..01:15
crazyhead42but I have to go, I need to make dinner.01:16
sarnoldtry this: ip addr | grep 19201:16
crazyhead42I have an inet and a grd01:28
crazyhead42inet ends with a number a slash then another number, the grd ends in 255.01:28
crazyhead42Is the inet the one I want?01:28
sarnoldyeah01:29
crazyhead42Okay, got it then. what is it I'm going to do with it?01:29
sarnoldping it from the windows machine and see if routing works between the two computers01:29
crazyhead42How do I ping with windows? Linux is easy, the command IS ping. No clue when it comes to the pc.01:30
sarnoldping01:30
crazyhead42do I include the slash and the numbers after it?01:31
sarnoldno, leave that part off01:31
crazyhead42four replys01:31
sarnoldsweet, success01:31
sarnoldokay, on the pc run "telnet ipaddress 22" -- that should give you some output like: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu201:32
sarnoldthis will see if openssh-server is installed and running01:32
crazyhead42false. Could not connect.01:33
=== peter is now known as Guest59771
crazyhead42TTL, what's TTL?01:33
sarnoldtime to live01:33
crazyhead42O.O tell me "live" is programer speak for something less disturbing01:33
sarnoldhehe01:34
sarnoldto ensure packets don't route around the internet forever, they each have a 'time to live' number embedded within them; every router subtracts one and then passes along the packet to the next hop. if any router ever sees it hit '0' it drops the packet on the floor.01:34
crazyhead42Oh. That is... a little disturbing in discription, but an acceptablle concept01:35
sarnolddns has a slightly different meaning for "time to live", but it'll make sense when you get there :) hehe01:35
crazyhead42Darn it. changing the nmber didn't fix it.01:35
sarnoldwhich numbre did you change?01:36
crazyhead42the 22. I used the number after the / and also 2101:36
sarnoldaha :)01:36
crazyhead4221 because I think I've seen it somewhere while reading the code.01:37
crazyhead42"code"01:37
sarnold22 is the listening port on the server; 22 is usual for ssh; 21 is usual for ftp, 23 for telnet, etc...01:37
crazyhead42yeah. It's probably the ftp I grabbed it from.01:37
sarnoldbut since you had a connection rejected, you probably don't have openssh-server installed and running; on the server, run 'apt-get install openssh-server'01:37
crazyhead42not something I'd doubt. But why wouldn't ubuntu server come with that?01:39
crazyhead42(This, by the way, is why people use macs and PCs, this is WAYYYY over my head.01:39
sarnoldcrazyhead42: okay, it's time for me to run, but once you've got openssh-server installed, install this onto your windows machine, and use it to connect to your server's IP address:  http://en.wikipedia.org/wiki/PuTTY01:40
sarnoldcrazyhead42: I'msurprised it isn't installed and running to be honest.01:40
crazyhead42Maybe it dissapeared when I purged samba. (which I later decided was a BAD idea)01:40
crazyhead42Do I need to restart before I can test this?01:41
sarnoldno01:41
sarnoldyou almost never need to reboot linux machines01:41
sarnoldI had one that was up and running for over a thousand days between reboots.01:41
sarnoldokay, off ;) have fun01:42
crazyhead42Oh, you have to go. Before you do, can you tell me if I at least seem intellegent on this thing? I don't know if I'm an intellegent beginner or some moron trying to use this wrong.01:42
sarnoldyou understand surprising things, don't know other things. it's not what I'd expect :) I've got good hopes for you.01:42
crazyhead42?? I'll ask you about that tomorrow then...01:43
crazyhead42Well, openssl-server didn't seem to change what happened on ping... is anyone on that can help me with the next step?02:48
crazyhead42Scratch that. I was typing in "ipaddress" instead of the ip address02:52
lkthomashey guys03:01
crazyhead42Hi, hope you're not looking for anyone.03:08
lkthomashuh03:10
lkthomasI am not :P03:10
crazyhead42Are you a helper, or someone who needs help?03:13
lkthomasI was having issue with locale and I fixed it. thanks for asking03:13
crazyhead42If you needed help, I'd just direct you to #ubuntu. I can't help you, I spent quite a while dealling with trying to connect to a server with ip address "ipaddress"03:16
SachiruWhat just happened?03:18
lkthomashuh ?! what happen ?!03:18
lkthomasI am wondering how you guys scale up syslog server03:19
lkthomasimagine 1000 servers have log almost every second03:19
lkthomasit send to one single rsyslog server03:19
lkthomasI would imagine it will be super busy03:19
=== Sachiru is now known as Guest2019
=== Sachiru_ is now known as Sachiru
Sachiru@lkthomas: That's easy. Don't send log to a single syslog server03:23
SachiruUse something like the ELK stack or Splunk03:23
lkthomashow does it help ?!03:24
SachiruReduce load03:24
SachiruHave three servers as log agents/collectors, and one as coordinator03:24
SachiruThen use something like Kibana or Splunk to do automated analysis03:24
lkthomasSplunk isn't free03:24
lkthomasany alternative ?03:24
SachiruLike email you when syslog from server 694 reports that apache is down03:24
SachiruELK stack03:24
SachiruElasticsearch-Logstash-Kibana03:25
SachiruAll free03:25
lkthomaslet me have a look, thanks03:25
Sachiruhttps://www.youtube.com/watch?v=Kqs7UcCJquM <-- ELK stack in action03:26
SachiruYou can even use ELK to create nice-looking NOC Dashboards, like the ones here: http://www.networkassassin.com/elk-for-network-operations/03:28
lkthomaslooks interesting03:28
crazyhead42YAY! I have a server now! <3 Now to spend some time compressing my stuff so it can transfer off my pc.03:28
lkthomasSachiru: seems I need to spend couple weeks to learn how to deploy it03:29
SachiruIntegrate ELK + Observium + some form of netflow analyzer + transparent net proxy with orionsniffer and you not only see network stats, but network usage as well03:31
SachiruAnyone tries to browse porn, it instantly shows up on the NOC dashboard as well as where he's getting it and what kind of porn he's looking at. Netflix on work network? Instantly see a breakdown of traffic on a per-protocol/per-application basis and pinpoint which guy is streaming Game of Thrones on his work PC03:32
SachiruI should know, that's what I have here right now.03:32
crazyhead42O.O Just one more reason NOT to use the school network03:36
SachiruGranted I have quite a big budget for IT03:36
SachiruRunning that level of monitoring is not cheap03:36
SachiruThen again, it's better to spend that much on monitoring than to lose even more due to slow network03:37
crazyhead42Are there any ways around this kind of monitoring?03:37
SachiruSure03:37
SachiruTor03:37
SachiruOr a VPN03:37
SachiruThey'd know that you're using Tor or a VPN, but not know what you're using it for03:38
SachiruBasically all they'd see is how much traffic is tunneled through Tor/VPN, but not what kind of traffic it is03:38
crazyhead42what are those?03:38
SachiruEven so, carrier-grade (ISP-grade) network monitoring tools can still sniff into Tor/VPN03:38
SachiruA VPN essentially creates an encrypted tunnel to a server on the outside of the network03:39
SachiruWhich acts as an exit point for your network activity03:39
crazyhead42so a proxy?03:39
SachiruA bit more and a bit less than a proxy03:39
SachiruMore in the sense that it tunnels EVERYTHING (proxies tunnel only HTTP traffic), and a bit less in that it's more detectable than using a proxy03:40
crazyhead42Is there any way for someone to grab my login information to, let's say my email, while I'm on their server?03:41
SachiruTor is VPN on steroids, creates multiple encrypted tunnels to multiple exit points, and selects across them at random, so few can know exactly which tunnel you're using at a given time.03:41
crazyhead42*network03:41
SachiruSure03:41
SachiruBut it's not easy03:41
crazyhead42Nice to know it's not as easy as I thought.03:41
SachiruWebmail is typically protected by HTTPS, so it takes immense computational power to crack03:41
SachiruIf you were at school and I wanted your webmail password, given a choice of buying $5 billion worth of servers to run a massive cracking array or hiring a $500 security guard to beat you up until you told me your password, you can imagine which approach I'd use03:42
crazyhead42even if I establish the connection through the network?03:42
SachiruAs for Tor: https://www.torproject.org/03:43
Sachiruthe thing is people who are extremely paranoid about netsec do not understand the idea behind cracking encryption and thus do not see why nobody would bother to crack their passwords via computers03:44
SachiruIt takes an immense amount of computing power to crack something like RSA, so typically governments and the like are the only ones capable of it, and even then they use it against targets where the money would be put to good use03:44
SachiruEven the government will not spend billions of dollars just to get your grandma's secret yogurt recipe03:45
SachiruAnd even so, if they really wanted your access details they'd use cheaper and easier methods, like blackmail or eavesdropping, to get it, instead of all this hypothetical supermachine cracking array03:45
SachiruIf someone says that it's not secure, my typical counterargument is this: "Let's say that the government DOES have that capability, my question is are you *that important* that the government would spend huge sums just to get at you instead of bigger targets like say the current leader of the Taliban?"03:46
SachiruEven on my current network I usually don't use the sniffing capabilities unless management asks me to03:47
SachiruToo many clients to keep an eye on that it's not worth my time to look at all of them03:48
crazyhead42I just thought because my computer has to talk to the external server to choose encryption type, the encryption type would be easily avalible.03:50
crazyhead42Is there a way to modify the configuration of my server to put deleted items in a trash file instead of perminintly deleting them the first time?03:56
SachiruWhat's your server?04:02
SachiruI mean, what services is it exposing?04:02
crazyhead42It's just a ftp server04:04
crazyhead42just got openssl working04:04
crazyhead42using filezilla as a go between.04:04
SachiruWhat's your FTP server?04:07
SachiruWhat software are you using to act as FTP server?04:07
crazyhead42Ubuntu server, openssl-server04:08
crazyhead42Or at least I think that's the active portion04:08
SachiruOpenSSL refers only to the SSL layer04:42
SachiruWhat FTP daemon are you using?04:42
crazyhead42Ummm... default?04:42
crazyhead42I've done no successful customizations beyond downloads.04:44
crazyhead42And I say sucessful because my write privliges don't seem to function, even as su + sudo combined04:48
Sachiruwait, you sudo as root?05:00
=== elliotd123_ is now known as elliotd123
=== kickinz1|afk is now known as kickinz1
Doc-SaintlyHow do I install offline?07:00
Doc-Saintlybleh. just strung a network cable across the floor. oh well07:19
Doc-Saintlythanks anyway07:19
=== kickinz1 is now known as kickinz1|afk
=== Lcawte|Away is now known as Lcawte
=== kickinz1|afk is now known as kickinz1
=== kickinz1 is now known as kickinz1|afk
=== markthomas|away is now known as markthomas
=== kickinz1|afk is now known as kickinz1
=== nath|off is now known as nathema
lordievaderGood morning.08:23
=== Lcawte is now known as Lcawte|Away
RepoxHi! I'm trying to understand the basics of UFW, and I'm hacing a little issue connecting from the outside. I've currently set UFW up so that all internal network has the access needed to reach eachother ( http://pastie.org/private/i07wxhnois18azddrjldg ) - and it seems like that works exactly as it should. But when trying to access with my-own-ip, I'm rejected for any other port than port 22.09:03
abhishekhow can I extend /opt partition09:20
abhishekI have storage via nfs09:20
=== Lcawte|Away is now known as Lcawte
lordievaderabhishek: Stop the nfs service, repartition your drive, start nfs service.09:25
vedic_Hi, I have purchased access to a dedicated server where the OS was installed by the company which do this business. I see there are several users listed which I think are not required on the server. for example: games, irc, whoopsie, landscape etc.09:32
vedic_Is the ok to remove those users?09:32
vedic_I also see they have enabled root login and created a directory in /home as: admintech. This admintech is not a user as "passwd admintech" doesn't allow to create password09:33
vedic_before disabling root, I want to disable all users which are not required. I will be ruuning a web server on this. Once that is done, create a user give password to it and then disable root so that I am not locked out. I hope this is correct process09:34
=== nathema is now known as nath|off
=== nath|off is now known as nathema
lordievadervedic_: Likely your hoster has someway of accessing and maintaining the server. It might be that some of the things you've listed are part of that.09:46
vedic_lordievader: It is not meant to be managed. I need to ensure that I give max security to server. The user admintech is actually the user. I have typo so it was not taking password. I have set password for that. The reason that comes to my mind on enabling root is that they09:48
vedic_are not used to Ubuntu. They have ready systems for CentOS, RedHat but not Ubuntu. That may be the reason to enable root09:48
vedic_But is there any use for these users: games, irc etc?09:49
vedic_I am not going to run any of these on that server09:49
lordievadergames and irc seem to be default users, perhaps from the legacy from the early days.09:50
lordievaderTheir shell is set to /usr/sbin/nologin09:51
lordievaderSo you cannot login as those users.09:51
vedic_hmm... that makes sense.09:52
vedic_Is there any way to check if the server was installed as minimal install option or not?09:56
lordievadervedic_: You mean with the mini iso?09:57
vedic_lordievader: nope. I mean during installation of ubuntun server, It gives modes in which to install. One of them is Minimal Install where the installer will install only the bare minimal packages09:58
lordievadervedic_: I suppose you can look at the package list to see fi there are optional packages installed.10:01
=== kickinz1 is now known as kickinz1|afk
vedic_If there is .local file along with .conf file for services like fail2ban, will .local take precedence?11:13
=== markthomas is now known as markthomas|away
=== Lcawte is now known as Lcawte|Away
=== nathema is now known as nath|off
jamespagezul, https://bugs.launchpad.net/horizon/+bug/1379761 fyi11:50
uvirtbotLaunchpad bug 1379761 in horizon "Asset compression does not happen unless debug mode is enabled" [Undecided,New]11:50
zuljamespage:  lovely12:07
zuljamespage:  did you see nova rc2?12:16
=== nath|off is now known as nathema
=== markthomas|away is now known as markthomas
coreycbzul, jamespage: I'll kick off the nova and neutron rc2's if you haven't already12:40
zulack12:40
jamespagecoreycb, awesome12:42
jamespagecoreycb, zul: ooo - just found a cracking neutron bug12:48
coreycbjamespage, oh?12:49
jamespagecoreycb, ovs agent explodes trying to management iptables12:50
zuljamespage:  that doesnt sound too cracking12:50
jamespagezul, https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/137977912:51
uvirtbotLaunchpad bug 1379779 in neutron "neutron-openvswitch-agent fails to apply iptables rules" [Undecided,New]12:51
zuljamespage:  you should really stop breaking things ;)12:52
jamespagezul, this is called *testing*12:52
jremydeatonquestion... if i run sudo tasksel, then select mail server, add my mail domain info in the "wizard", Should that work out of the box for sending and recieving?12:53
jremydeatonrunning a dev server so minimal config is ok12:55
jamespagezul, coreycb: hold fire on the neutron rc2, that needs some packaging fixes13:06
coreycbjamespage, ok13:07
jamespagecoreycb, zul: new for rc1 - https://github.com/openstack/neutron/commit/2562a9271c828e982a74593e8fd07be13b0cfc4a13:08
jamespagehmm its optional but it certainly would help with iptables management13:08
zuljamespage:  ipset is in universe13:09
jamespagezul, erm yes13:09
jamespagecraps13:09
jamespagezul, it would just be that new dependency13:13
zuljamespage:  want me to do the mir?13:13
jamespagezul, yes please; I'll handle the neutron bits13:13
jamespagecoreycb, i got neutron rc213:14
jamespage:-(13:14
coreycbjamespage, ok13:14
jamespagezul, will that land in jdstrands lap?13:17
zuljamespage:  i dont think so its pretty small https://bugs.launchpad.net/ubuntu/+source/ipset/+bug/137978913:17
uvirtbotLaunchpad bug 1379789 in ipset "[MIR] ipset" [High,New]13:17
zulits an iptables add-on13:18
jamespagegaughen, ^^ you should be aware of this discovery13:25
jamespagezul, some of your detail is wrong - its not python13:28
zulfixed13:29
coreycbzul, can you review? https://code.launchpad.net/~corey.bryant/nova/2014.2-rc2/+merge/23797613:38
zulcoreycb: uploading13:39
coreycbzul, thx13:39
jamespagezul, oo - its has DEP-8 tests!13:44
DammitJimI just updated my DNS servers in my /etc/network/interfaces file13:45
DammitJimhow do I kick the server for the changes to take effect?13:45
DammitJim/etc/init.d/networking restart doesn't do it13:45
jamespageDammitJim, you need to down/up the interface13:45
DammitJimoh, so one can't do that over ssh?13:46
jamespageusing ifdown/ifup13:46
jamespageDammitJim, hmm - well you probably can still13:46
=== nathema is now known as nath|off
DammitJimhow?13:47
jamespagezul, coreycb: neutron uploaded with the new ipset stuff enabled14:15
jamespageit will build fine but pulls a new runtime dep14:15
coreycbjamespage, ok14:16
=== esde is now known as Guest68239
=== Lcawte|Away is now known as Lcawte
ayr-tonUnder ubuntu 13.10 I tried a sudo do-release-upgrade --mode=server -d, but it says that theres no updates. I removed a bunch of files, but without success. Someone does know how to fix it?14:37
geniiayr-ton: Saucy is now End-Of-Life and it's repositories were archived to old-releases.ubuntu.com14:43
rbasaksmoser: for bug 1068756, is it even right that files are being placed that affect the system during the image build process, rather than in packaging?14:55
uvirtbotLaunchpad bug 1068756 in procps "IPv6 Privacy Extensions enabled on Ubuntu Server by default" [Undecided,Confirmed] https://launchpad.net/bugs/106875614:55
smoserrbasak, how would you propose to fix that ?14:59
smoserwe want "server specific config"14:59
rbasaksmoser: I don't know. But I think it's wrong to do it by effectively hacking the built image.15:00
rbasakMaybe a question for ubuntu-devel.15:00
rbasaksmoser: what if cloud-init had a setting to enable or disable privacy extensions, and you decided the default?15:01
smoserrbasak, we've done other "cloud specific config" before in image build process15:16
smoserwe definitely do want to limit it (and do).15:16
smoserand in that bug, one of the things i said was "figure out the right way to do this".15:16
rbasaksmoser: I'm fine with a hack in the meantime. Better modify the build process than have this bug languishing. But we should keep something open to fix it properly.15:18
rbasaksmoser: what do you think of cloud-init doing it?15:18
smoserwell, we want "server" fixed too15:19
smosergenerally the setting is silly15:19
smoserso cloud-init doing it is a fix for a subset of thigns.15:19
rbasakAgreed.15:19
coreycbzul, can you review please?  https://code.launchpad.net/~corey.bryant/keystone/2014.1.3-2/+merge/23800215:25
=== Lcawte is now known as Lcawte|Away
=== markthomas is now known as markthomas|away
zulcoreycb: yep right after lunch16:02
=== nath|off is now known as nathema
=== nathema is now known as nath|off
vedic_Has any used sendEmail (its sendEmail not sendmail). I am facing issue in sending email via smtp gmail on port 58716:31
vedic_Need guidance if you have used it16:32
geniivedic_: What does the bounce messaage say?16:34
vedic_ sendEmail[1530]: ERROR => ERROR => SMTP-AUTH: Authentication to smtp.gmail.com:587 failed.16:35
vedic_genii:16:35
geniivedic_: Are you using it with -xu username -xp password  ?16:35
vedic_genii: yea16:35
vedic_Same way as provided here (see first question in faq): http://caspian.dotconf.net/menu/Software/SendEmail/16:36
geniiHm16:36
geniivedic_: Could you give the exact type of way you are trying please? ( Just put sample stuff for the content/user/pass though of course)16:41
vedic_genii: sendEmail -f myemail@gmail.com -t youremail@gmail.com -s smtp.gmail.com:587 -xu myemail@incights.com -xp MyPass#% -u "Hello from sendEmail" -o tls=yes -m "How are you? I'm testing sendEmail from the command line."16:45
geniiI was thinking maybe tls was not specified but I see you do have it there16:47
geniivedic_: Have you tried putting the pass inside single quotes?16:49
genii( there might be something in it which is being parsed16:49
vedic_genii: wow. It worked16:49
vedic_:) big thanks16:50
geniivedic_: You're welcome :)16:50
zulcoreycb: buit fine?16:51
coreycbzul, yes16:52
zulcoreycb: done16:55
coreycbzul, thanks16:55
=== markthomas|away is now known as markthomas
=== a1berto_ is now known as a1berto
zartooshHI I am using ubuntu 14.04. how do I find out what HZ is set in my system? thanks17:43
lordievaderzartoosh: HZ? Do you mean the clock frequency of your CPU?17:44
rbasakzartoosh: the command "grep ^CONFIG_HZ /boot/config-`uname -r`" will tell you. Looks like 250.17:59
lordievaderAh that HZ...17:59
zartooshrbasak,  lordievader  thanks got it18:17
vedic_How to know if mta in installed?18:20
=== danwest_ is now known as danwest
vedic_Is it possible to have minimal install of Ubuntu server on the cloud? Minimal install doesn't provide ssh. If no ssh then how to access server on the cloud? I want to give instructions to my cloud provider to install bare minimal packages. Currently it has got yum, rpm, sendmail and a whole lot other packages18:37
RoyKsendmail?!?18:38
RoyKIIRC exim is the default, I prefer postfix18:39
vedic_RoyK: yea, I am surprised how they have installed. I now need to give them instructions to make minimal install. But would that be possible on Ctrls?18:41
vedic_typo: ... But would that be possible on cloud?18:41
RoyKwell, a cloud is just a bunch of VMs - everything's possible18:42
vedic_RoyK: hmm18:43
vedic_RoyK: are there any instructions on how to make minimal server install?18:45
vedic_I will send that link to them18:45
sarnoldvedic_: look into these http://cloud-images.ubuntu.com/releases/14.04/release-20140927/18:46
vedic_sarnold: I am not yet on AWS.18:48
sarnoldvedic_: scroll down.18:48
=== nath|off is now known as nathema
=== bilde2910 is now known as bilde2910|away
vedic_sarnold: I think if I install ubuntu-minimal and then remove all other packages except ubuntu-minimal that should do the trick.19:03
vedic_What do you thing?19:03
vedic_think19:03
sarnoldvedic_: seems complicated compared to just starting with a tiny starting point..19:04
vedic_sarnold: I already have access to VM and I will ask them to terminate this and create another one which will take at least 24 to 48 hours19:05
sarnoldvedic_: wow, I'm accustomed to a minute or two...19:05
sarnoldvedic_: if turn-around time really is so horrible perhaps it is worth doing some goofing around with package management yourself :)19:05
vedic_sarnold: because it is you doing it. In my case, I can't install OS. They do it for each VM and they have process to follow19:06
vedic_hmm...19:06
crazyhead42sarnold, which putty should I be downloading? even if I only look at the ones for windows that have "putty" in them, there are quite a few.19:07
sarnoldcrazyhead42: I think the "A windows installer for everything except puttytel" -- you might not need the others right away but it'd be nice to have them installed and available19:09
crazyhead42so I wn't need puttytel for anything?19:10
sarnoldprobably not19:10
qman__puttytel is a standalone telnet client, unlikely you'll need it19:11
crazyhead42oh, tel as in telnet.19:12
crazyhead42Oh, and sarnold, I figured out why I couldn't connect to my server yesterday.19:13
crazyhead42my ip address wasn't "ipaddress"19:13
sarnoldlol19:13
sarnoldyeah :)19:13
crazyhead42I'm still curious though, what is it that surprised you?19:14
sarnoldwell, this :) hehe -- you knew how to install an ubuntu machine, got packages downloaded and installed, but didn't know "ipaddress" meant "put in the ip address that we had talked about"  :)19:17
crazyhead42That I figured out after actually LOOKING at the code.19:18
crazyhead42Does PUtty support drag and drop file transfers?19:21
bekksNo.19:24
bekkscrazyhead42: For drag and drop file transfers, just use filezilla.19:24
crazyhead42drat. Is there a way to transfer a whole directory/folder?19:25
crazyhead42And that didn't seem to work..19:25
crazyhead42oh, there it goes.19:27
crazyhead42What should I do about the fact I can't edit config files?19:41
guntbertcrazyhead42: where?19:43
crazyhead42On my server, I tried to edit vsftpd.conf (using sudo nano, of course) and I didn't get write permissions19:43
crazyhead42Oh boy. What's the command for "this message begins with a /"?19:44
qman__What?19:45
crazyhead42I was going to type in the exact location of the file, but the system thinks I'm giving it a command.19:45
qman__Please pastebin your exact session, that doesn't make any sense19:46
geniiIs / mounted read-only or something?19:46
crazyhead42I can't "pastebin19:47
crazyhead42my other computer is a server, not a desktop.19:47
genii!pastebinit19:47
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com19:47
qman__You have putty, are you not using it?19:47
qman__Highlight the text in putty to put it on the clipboard19:48
crazyhead42Okay, we're on seperate waveleighnths here. 1. my commands are being entered into the server itself, partially because I don't get kicked off every time I type something in wrong. 2. I am not not sure I know what pastebin is, because I was thinking it was like a clipboard for pc.19:50
ikoniayou should not get kicked off if you type in a command wrong19:51
qman__Right, it would give you the error and return to the prompt19:51
crazyhead42I was using telnet. I JUST got putty, but I thought it was like filezilla19:51
ikoniaI doubt you are using telnet19:52
ikoniatelnet is not enabled by default19:52
crazyhead42I was accessing it on my pc manually.19:53
crazyhead42okay, so this is interesting. When I logged in, it said "failed to add entry for user lexi"19:53
crazyhead42GAH! Again with the identity!!!19:54
ikoniacrazyhead42: I think you need to address what you are doing19:54
ikoniacrazyhead42: 1.) telnet is not enabled - so I don't know what you where really doing19:55
ikonia2.) I think you need to try to describe your issue clearly with the correct information19:55
RoyKwhat does raspbian do so well with resizing the root that my ubuntu thing on this bpi cannot do?19:56
qman__resize2fs?19:57
RoyKpartition, not filesystem19:57
qman__I've always done that manually with fdisk, if not gparted for more complex changes19:58
=== nathema is now known as nath|off
crazyhead42Oh, that's not good...19:58
crazyhead42http://paste.ubuntu.com/8535205/ is my input19:59
crazyhead42Oh, oops, forgot a d19:59
RoyKqman__: so just changing the size with fdisk won't break anything?19:59
ikoniacrazyhead42: why is that bad ?19:59
qman__crazyhead42: in that paste, you aren't using sudo, which you need to do to edit system files19:59
crazyhead42I was getting a new file instead of a file with "(Warning: no write permission)"19:59
crazyhead42Well I was getting the same warning with sudo!20:00
ikoniacrazyhead42: that paste has nothing to do with a file20:00
qman__RoyK: as long as the starting point of the partitions stay the same, its ok20:00
ikoniacrazyhead42: that's just a login20:00
qman__RoyK: then do partprobe, then resize2fs20:00
ikoniacrazyhead42: explain your problem20:00
crazyhead42Yes, but I found the failure to add entry possibly relevant20:00
ikoniacrazyhead42: you're just saying "that's not good" and it's not making any sense20:00
ikoniacrazyhead42: you don't know what you are doing/saying20:00
ikoniacrazyhead42: you're saying "something's not good" when you don't know what it is or what it relates to20:01
ikoniacrazyhead42: just focus on your problem, what is the problem ?20:01
RoyKqman__: how do I change the end sector in fdisk? can't find it20:01
crazyhead42If I KNEW WHAT I WAS DOING, then I wouldn't be here. My problem is I tried to modify this file, using sudo, multiple times yesterday, but it wouldn't let me.20:01
qman__RoyK: have to delete and re-add20:01
RoyKqman__: sounds dangerous20:01
ikoniacrazyhead42: "wouldn't let me" means nothing20:01
ikoniacrazyhead42: 1.) what is the exact command you are running 2.) what is the error/problem you get20:02
crazyhead42Give me a moment to recreate it20:02
qman__RoyK: can be, backups are advisable, but as long as you get the starting sector right it works20:02
RoyKwell, it's just a tiny banana pi - seems like it's booting correctly20:03
qman__RoyK: it gets complex if there are other partitons after the one you want to expand20:03
RoyKnone there20:03
geniiikonia: I notice it says a rebbot is required on their paste.20:03
genii*reboot20:03
ikoniagenii: who's/where ?20:03
geniiikonia: On crazyhead42's paste, line 1920:04
RoyKqman__: ta-taa! :D20:04
RoyKqman__: I owe you a beer20:04
ikoniagenii: just because it's had updates applied and not rebooted yet20:04
geniiikonia: Does it remount ro until then?20:05
ikoniano20:05
ikonia(unless there is a problem)20:05
qman__RoyK: cool20:06
crazyhead42Huh, no argument this time. Why would it reject me on the server itself, but accept it when I'm doing it by remote? I should fix that...20:06
ikoniafix what ?20:06
ikoniathere is no problem20:06
ikoniait sounds like a simple user error20:06
=== JanC_ is now known as JanC
RoyKqman__: toys like a banana pi are nice :)20:07
vedic_genni: Any idea why fail2ban is failing to start when action = action_mwl and mta is set to sendEmail ?20:07
crazyhead42It allowed me to access it's configuration by remote. That's a security risk.20:07
vedic_genii:^20:07
ikoniacrazyhead42: what ????20:07
ikoniacrazyhead42: what was the command you did that is a security risk20:07
* RoyK just needs to print out a chassis for that20:07
vedic_genii: In sendmail-whois-line.conf I have set the sendEmail configuration20:08
guntbertcrazyhead42: you should really slow down, tell us the command you are using and the error message you got -20:08
vedic_sendEmail works from the cmd line20:08
vedic_genii: sendEmail works from the command line20:08
qman__Heh, I have a couple first rev raspi, and I got a robo3d but I haven't gotten it going yet20:08
crazyhead42Well it didn't give me one this time. for some reason it worked by remote. And the error I was getting on the machine was just "permission denied".20:08
qman__The laptop I tried to use the first time was too slow to keep up with it20:08
ikoniacrazyhead42: what is the security issue you have ?20:09
ikoniaeg what command do you think is a security issue20:09
geniivedic_: Apologies, work required me20:10
crazyhead42Not the command, but the access. I shouldn't have admin controls on my laptop.20:10
ikoniacrazyhead42: why not ?20:10
crazyhead42I'll have to see if I can lock it.20:10
ikonialock it ???20:10
ikoniawhat are you talking about20:10
ikoniaexplain the problem20:10
=== huats is now known as Guest27566
geniivedic_: As to your question regarding fail2ban, no idea20:11
qman__crazyhead42: working as designed, ssh is made for remote administration20:11
qman__crazyhead42: its as secure as your account20:11
vedic_genii: ok20:11
vedic_Can you suggest why fail2ban is failing to restart if I set action = action_mwl? The mta is set to sendEmail . I have configured sendEmail in sendmail-whois-lines.conf . The sendEmail lines in conf file works well when I try on cmd line20:13
geniivedic_: I'm not sure that sendemail is your actual MTA, it's probably underneath using something else like sendmail or exim, etc20:14
geniiBut just a guess20:14
ikoniasendmail isn't the default ubuntu mta20:14
vedic_genii: I have installed sendmail and postfix20:15
vedic_genii: I have UNinstalled20:15
ikoniayou can't have both20:15
vedic_:)20:15
vedic_I mean I have uninstalled. "Install" was typo20:16
ikoniaso what mta have you installed then20:16
phillwhi folks, https://bugzilla.redhat.com/show_bug.cgi?id=1151205 has two people reporting the bug as squashed as of todays updates.20:16
uvirtbotphillw: Error: Could not parse XML returned by bugzilla.redhat.com: HTTP Error 404: Not Found20:16
vedic_ikonia, genii: How do I check if I have mta20:16
vedic_I want to avoid sendmail as its not light weight20:16
vedic_I just need to sending. No receiving needed20:16
ikoniaphillw: what does a redhat bug hav eto do with ubuntu ?20:16
gQuigshi there.. in the 14.04 release notes here (https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes)    The "upgrade notes" under Apache 2.4 is a 404 link.. to the debian changelog.. is there a better place for it to be linked too20:16
gQuigs?20:16
phillwikonia: because it borked KVM in ubuntu :)20:17
ikoniaphillw: it uses different versions to redhat20:17
ikoniaso I don't understand why you are quoting the redhat bug, rather than the ubuntu one against the ubuntu version20:17
ikoniawhy are you logging bugs to redhat for ubuntu packages ?20:18
phillwikonia: do pay attention... ikonia oh, it does? funny that within 24 hours of raising a critical bug it has filtered through debian and ubuntu repos. I've had this once before with a kernel bug.20:18
ikoniawhat are you on about ???20:19
ikoniawhy are you logging ubuntu bugs to redhat ?20:19
phillwikonia: virt-manager is a red-hat maintained bug :)20:19
ikoniaRedhat does not make/maintain the ubuntu packages20:19
ikoniaphillw: no it's not20:19
ikoniaredhat maintain the upstream package20:19
ikonianot the ubuntu packages20:19
ikoniaso you should be logging the bug to ubuntu20:19
phillwikonia: indeed, and upstream uses red hat bugzilla20:20
ikoniaand it's for 14.10 ???20:20
ikoniawhat the devil are you doing ???20:20
ikoniayes, but you don't log it to upstream20:20
ikoniayou log it ot ubuntu - not upstream20:20
vedic_genii, ikonia: how about installing nullmailer . Looks like its the lightweight20:20
vedic_It should provide mta20:20
ikoniavedic_: never used it, no idea about it20:20
vedic_ok20:21
geniiHere either, I just use Postfix20:21
phillwikonia: you will just sit on it and register it up stream... It was registered upstream and solved within 24 hours. I fail to see what your issue is with me breaking a bit of good news and going into attack mode?20:22
ikoniawhat ?????20:22
ikoniayou have no idea what th eproblem was, what the fix was or where it came from20:22
ikoniayou're not breakign good news20:22
phillwikonia: I do, it is a GTK issue.20:22
ikoniaphillw: there is nothing in that bug to say it's a gtk issue20:23
ikoniaphillw: report the bugs to ubuntu20:23
ikoniaespecially for the dev release20:23
ikonianot to upsteam,20:23
phillwikonia: and, at the end of the day.... virt-manager now works in 14.10 - That is what I popped on here to say... nothing more.20:23
ikoniawho cares ?20:23
ikoniathis is not 14.10 support20:23
ikoniathat bug has nothing to do with this channel20:24
phillwikonia: so, no one here tests server 14.10?20:24
ikoniaand you're just not helping by bypassing the ubuntu QA process to go straight to upstream with an ubuntu issue on a development platform20:24
phillwI'll leave you with that thought.20:24
=== Lcawte|Away is now known as Lcawte
phillwikonia: (21:24:37) ikonia: and you're just not helping by bypassing the ubuntu QA process to go straight to upstream with an ubuntu issue on a development platform .. erm, I was.. the fix is out. As the dev team and testers use KVM expediting the bug was correct. As a qualified Red Hat person, I am fully allowed to use their system to report bugs that affect both rpm and deb systems. We are all Linux.20:39
rbergHi all, Can I use the newish xfs crc32 option with Precise and the Trusty HWE kernel? I hear it requires a updated mkfs.xfs.20:49
ikoniaphillw: what the hell are you on about "as a fully qualified redhat person" ??21:13
ikoniabugzilla is open to all21:13
ikoniayou need no qualifications to access it21:13
ikoniabut apply common sense, if the problem is with a re-release ubuntu package, follow the QA process to fix the package and then to upstream , not direct to upsteam where it may /may not be relevant21:14
phillwikonia: the application itself told me to report it upstream, it is a red hat project that gets ported over to debian.  As you lack common sense, do not reply when I use the correct way as per the application, to report a bug and have it fixed.21:33
phillwikonia: Oh, and for your information I wrote a lot of the pages on QA wiki and held sessions with people.21:34
phillwikonia: https://wiki.ubuntu.com/Testing/Activities/Classroom/Saucy/ you should read them, you will learn things21:36
ikoniaphillw: you are lost21:42
keithzgPshhh, who really gets lost these days? Ubiquitous GPS integration has pretty much eliminated that :P21:44
phillwikonia: nah, I know where I go to report issues, it is you who is lost thinking that ubuntu / debian fix bugs on virt-manager :)21:45
ikoniawhere did I say that21:46
geniiWow, this is still going on?21:46
ikoniayou should report it against the debian / ubuntu package and allow their maintainers to work with upstream / pull down a fix21:46
phillwikonia: no, you report the bug to where the application says to report it to.21:47
ikoniano you don't21:47
ikoniaas that's just a text file21:47
ikoniaor a line in the application21:47
ikoniathe fact that it's being packages/patched/not patched against different components/kernels/libraries by different distros makes going direct to upsteam unwise21:48
phillwikonia: well, I did and it is fixed within 24 hours... so, you do it your way and I'll follow the application bug reporting system https://bugzilla.redhat.com/show_bug.cgi?id=1151205 But, as you still go on and on... I only came on here to say it was bug fixed21:49
uvirtbotphillw: Error: Could not parse XML returned by bugzilla.redhat.com: HTTP Error 404: Not Found21:49
ikoniaphillw: that just doesn't seem plausable21:49
sarnoldikonia: .. and yet it worked.21:50
ikoniaphillw: as that would mean the upstream package would have to have been fixed, then the debian package sync it, build it and test it, then the ubuntu team build it test it all in 24 hours21:50
ikoniasarnold: possibly because it wsn't that bug21:50
ikoniaor it was patched or not21:50
ikoniawho knows as there was no ubuntu bug for it21:50
ikoniawhich is the point21:50
phillwikonia: nor does me plucking a fix for kernel from red hat and having it dropped into ubuntu kernel for a previous KVM issue... I'm a heavy KVM user :)21:50
ikoniaphillw: I don't know what a prevsious bug has anythig o do with it21:51
phillwikonia: it has to do with the fact I will chase a kvm bug down.21:51
sarnoldphillw: do you happen to use any qcow2 images? seen this? :)  https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/129223421:51
ikoniachase it down ???21:51
uvirtbotLaunchpad bug 1292234 in qemu "qcow2 image corruption in trusty (qemu 1.7 and 2.0 candidate)" [High,Confirmed]21:51
ikoniayou've not even logged an ubuntu bug for it21:51
ikoniaand you did nothing in that bug but cut and paste an error message21:52
ikoniathat's hardly chasing it down21:52
phillwikonia: it was marked as won't fix :)21:52
ikonia(although I appreiciate you logging a bug in general)21:52
ikoniaphillw: where was it marked as won't fix ?21:52
phillwikonia: that was not logged by me21:53
ikoniawhat wasn't ??21:53
ikoniayou've just posted a bug you logged21:53
ikonianow you're saying it was not logged by you ?21:53
sarnoldikonia: err, re-read. I posted a bug, I'm hoping phillw has seen it too :)21:53
ikoniaapologies, I don't understand21:53
ikoniasarnold: ahhh you're bug21:53
phillwikonia: no, the bugzilla bug21:53
ikoniaphillw: you didn't log the bugzilla bug ?21:53
ikoniasarnold: "your" bug sorry21:53
phillwikonia: https://bugzilla.redhat.com/show_bug.cgi?id=115120521:54
uvirtbotphillw: Error: Could not parse XML returned by bugzilla.redhat.com: HTTP Error 404: Not Found21:54
phillwwhich has gone fix released21:54
ikoniaphillw: you logged that didn't you ?21:54
sarnolddear uvirtbot -- when an url failed once, don't try again two minutes later. sigh.21:54
keithzgCan uvirtbot not handle https?21:55
keithzg(or maybe it's the http->https redirect that's screwing it up?)21:56
phillwikonia: try https://bugzilla.redhat.com/show_bug.cgi?id=115120521:56
uvirtbotphillw: Error: Could not parse XML returned by bugzilla.redhat.com: HTTP Error 404: Not Found21:56
ikoniaphillw: you've posted that url 3 times21:57
phillwit may be just my cache21:57
ikoniaphillw: I have that url21:57
ikoniait's still a "new" bug21:57
ikoniait's not closed / marked as fixed21:57
phillwread the notes :)21:57
ikoniaI do'nt undestand why you keep posting it21:57
ikoniaphillw: yeah the notes say nothing21:57
ikoniaapart from you saying it magically started working21:57
ikoniaand the bug still being open21:57
ikoniaapologies, I'm not getting the relevence21:58
phillwikonia: https://launchpad.net/ubuntu/+source/libvirt/1.2.8-0ubuntu1121:58
ikoniawe've probably monopolised this channel longer than we should have done as this channel isn't anything to do with bug reporting or 14.1021:58
ikoniaso apologies for that21:58
sarnoldoh, hehe, our very own debfx wrote the patch :)21:59
phillwsarnold: that is how it goes :)22:00
phillwikonia:  do accept the invite22:00
phillwsarnold: we are linux, and patch / fix things... I just find bugs :D22:01
ikoniaphillw: invite to what ?22:02
phillwikonia: there...22:02
ikonia?22:02
phillwikonia: try /j #phillw22:03
qhartmanI'm running bind9 for internal DNS and it's working swimmingly, but all my apple clients are causing a ridiculous amount of log spam (and needless queries to upstream servers) with all their bonjour discovery monkeybusiness. Anyone have a good pointer to a config that will handle these more gracefully?22:03
ikoniaphillw: no chance22:03
maxbqhartman: Not that I know anything about bonjour, but wouldn't you just need to set up some zone definition locally that the queries will fall into?22:07
geniiqhartman: This looks somewhat relevant http://support.apple.com/kb/ht378922:08
qhartmanmaxb, yeah, that's probably the solution, but the queries they are making are pretty non-sensical, it would take forever to pick them all apart. I'm hoping someone might have already compiled a bind config skeleton that could be a starting point22:09
maxbNonsensical?22:10
qhartmangenii, thanks for the pointer, but that would be the client-side stuff. I don't care if clients advertise, I just want my DNS server to correctly handle the queries it gets.22:10
* maxb just read http://www.dns-sd.org/serversetup.html out of curiosity - I don't see anything particularly bizarre there22:11
geniiqhartman: Ah, got it.22:11
qhartmanmaxb, I don't want to setup the clients to actually register services with my server, I'd have to touch hundreds of clients, most of which I don't own.22:12
maxbI understood that bit, but I don't understand what queries the clients would be making that would actually pose an annoyance22:13
qhartmanmaxb, here's an example: http://pastebin.com/8cq2SZ2822:15
qhartmanGetting hundreds of those a minute logged. I'm having a hard time figuring out exactly what it's asking for. It seems like it's asking an upstream server for something liek a reverse DNS request22:17
qhartmanI have reverse DNS for that block setup correctly and working for "normal" rDNS22:17
maxbUhm, is that a direct copy/paste? Has it really managed to swap the order of the some of the bytes in the name?22:17
qhartmanthat is a direct copy/paste22:17
maxb0.8.10.10 vs. 8.10.10.0 !22:18
maxbwow22:18
maxbI cannot conceive of any sane way one octet of an IP could be moved to the other end of the IP address22:18
qhartmanyeah, me either22:18
qhartmanthe longer you look at the logs, the less sense it all makes22:18
qhartmanI'm no bind/DNS expert, but I feel like I understand it pretty well, and this is just driving me nuts.22:21
maxb199.7.83.42 is l.root-servers.net. It doesn't even make sense that any of the _dns-sd stuff would even be being sent/received there22:21
qhartmanSo far the most useful advice I've found is "yeah, that's annoying" and "Adjust your syslog config to blackhole those messages".22:21
qhartmanright, and it shouldn't be, my server should be handling these requests, but since the requests seem so weird I'm having trouble piecing together somethign that would grab them22:22
qhartmaneven just something that would grab these and then send the client an error would be enough for me22:23
qhartmanThe errors are annoying themselves, but I'm more concerned about sending all the BS requests upstream. That's not very polite.22:23
maxbI'm a bit surprised they're going upstream at all. I thought modern bind knew to automatically blackhole in-addr.arpa queries for RFC1918 ranges22:24
maxbBut even if that isn't the case, it seems like you could easily stop it by having a local zone for 10.in-addr.arpa22:25
qhartmanhm, maybe it's not because I have setup reverse zones for those ranges?22:25
maxbI'm having difficulty understanding how "question section mismatch" could ever occur. At this point, I'd probably go to tcpdump/wireshark to verify for myself that the bytes on the wire really are what that seems to imply22:27
qhartmanhm, it looks like somebody removed the inclusion of the zones.rfc1918 config that blackholes those requests22:28
qhartmanbut they should still be getting grabbed by my real reverse zones....22:28
qhartman(Yes, I inherited this system)22:28
maxbIs it at all possible that there's some sort of insane network device rewriting your DNS queries between you and the root servers?22:30
maxb"question section mismatch" seems like it means "something insane is breaking the protocol"22:30
qhartmanI suppose it's possible, but if there is, it's something outside my control22:31
maxbI suppose it won't matter once you stop sending anything ending 10.in-addr.arpa upstream anyway22:32
qhartmanaha, I might have it22:32
qhartmanit looks like the reverse config for the 10.10.8 part of our network is busted22:33
qhartmannone of the hosts in that block are reversing correctly22:33
qhartmanalright, time to stare and compare22:33
qhartmanwheee22:33
qhartmanwheee... somebody created a zonefile for 8.10.10.10 but never enabled it in the config22:37
qhartmanwell that eliminated a ton of the bad traffic22:37
qhartmanwhee22:37
qhartmanthanks for talking it through maxb, I don't think I would have thought to check that22:38
qhartman(at least not for a long long time22:38
maxbA zonefile for a single IPv4 address? do you really mean that?22:39
qhartmanoh, no, too many 10's22:39
qhartmanyour fingers get on a roll22:39
sarnoldboy you're gonna love ipv6 :)22:40
qhartmanheh22:40
qhartmanI wish we had an actual reason to use it22:40
=== FreezingAlt is now known as FreezingCold
=== Lcawte is now known as Lcawte|Away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!