[06:07] <18WAFIP2Z> Morning everyone [06:08] good morning 18WAFIP2Z [06:08] and hi to everyone else [06:12] morning [06:24] hi superfly ThatGraemeGuy [06:30] hi Kilos [06:32] good morning superfly, Kilos [06:32] guten morgen mein her [06:32] hi inetpro [06:32] s/her/herr/ [06:32] morning ThatGraemeGuy [06:35] morning everyone [06:35] ya man him too [06:35] sorry, think tank in sleep mode === 18WAFIP2Z is now known as bduk1 [06:44] ietsie [06:44] hi bduk1 mazal [06:44] Morning everyone , all of the best for 2014 [06:44] More almal [06:45] ty same to you guys [06:45] Darem 'n nuwe LTS die jaar :) [06:45] Myne raak lank in die tand [06:45] lol [06:46] Myne het WEER vanself gebreek oom [06:46] Ander dag doen ek updates , toe hy klaar is toe is my bootloader weg [06:46] nee man [06:46] Symmetri1: I have a mac address for someone who is attacking our proxy [06:46] boot-repair fixes probs like that [06:46] so I blackholed the address [06:47] Symmetri1: any way I can take this further? [06:47] looks like you and mage must get together Squirm [06:48] their site was also compromised again [06:48] and ddos attacks here last night [06:49] new batch of clever kids with new toys [06:50] meh [06:51] it's annoying... [06:51] yeah [06:52] im using dd if=/dev/sr0 of=/tmp/cdimg1.iso to make an iso file of winme [06:52] then wanna unetbootin to usb and try install that way [06:54] Like I said, I've never been successful doing it that way. I've always had to use a CD [06:55] you cant get cdroms anymore and mine packed up [06:55] where does that dd command save the iso file to? [06:57] oh [06:57] I see [06:57] to /tmp/cdimg1.iso [06:57] ty [06:57] of is the Output File [06:58] if is the Input File [06:58] you can change of to where you want it [06:58] serious command that [06:58] I use it almost daily [06:59] oh yes now i see the path it uses [06:59] /dev/sr0 would be your cdrom [06:59] yeah [07:00] now, if you wanted to say write that ISO onto a Flash Drive, you'd use something like `dd =if=/tmp/cdimage1.iso of=/dev/sdb` where /dev/sdb is your flash drive [07:00] dd if=/tmp/cdimage1.iso of=/dev/sdb [07:01] cool ty so no need for unetbootin then? [07:01] unetbootin is an easy way of doing that command [07:01] whew the command is much easier than setting up unetbootin to do it [07:06] turns out if I drop that mac address I did drop, it drops all my outgoing connections :/ [07:08] yet it's not my NIC's mac address [07:08] * Squirm kicks the internet for being full of children [07:18] ouch [07:23] nope Squirm that dd made stick dont [07:25] hi [07:26] hi theblazehen [07:32] gosh darnit Monday [07:34] hi Vince-0 [07:35] Hi [07:36] hey Vince-0 [07:40] mazal, ek weet nie wat is fout by jou nie. my 12.04 is baie stabiel [07:40] moes wine gebruik om dit seer te maak [07:41] Gee hom vir my , ek breek hom gou gou :P [07:42] Squirm: if you're seeing a MAC address, it must be on your local network surely? [07:42] you can't see MAC addresses for devices not on your local subnet [07:43] mazal, wat breek? [07:43] ThatGraemeGuy: using tcpdump? [07:43] o ja bootloader [07:43] install boot-repair [07:43] Daai stabiele 12.04 van oom [07:43] you can even use it from live cd [07:43] Kilos: boot-repair? [07:44] Squirm: I'm not awesome at network stuff, but as far as I know you cannot know a devices MAC address if it isn't on the same physical network [07:44] Maaz, google boot-repair for 12.04 [07:44] Kilos: "boot - How do I fix booting process in Ubuntu 12.04 after the ..." http://askubuntu.com/questions/321225/how-do-i-fix-booting-process-in-ubuntu-12-04-after-the-windows7-removed :: "Boot-Repair - Community Ubuntu Documentation" https://help.ubuntu.com/community/Boot-Repair :: "How to Repair GRUB2 When Ubuntu Won't Boot" http://www.howtogeek.com/114884/how- [07:44] to-repair-grub2-when-ubuntu-wont-boot/ :: "how to recovery/repair Linux Ubuntu 12.04 BootLo… [07:44] i.e. layer 2 network [07:44] on of the first things i install but havent needed it here [07:45] Squirm: http://compnetworking.about.com/od/tcpip/f/convertmacipadd.htm [07:46] yeah, there is definitely no way to determine the MAC address that isn't on the same local network as you [07:48] hmm... so its one of his kids there [07:48] hi SubOracle [07:55] what's the problem with seeing mac address? [08:03] I think I stopped them [08:03] dropped all incoming traffic on our public NIC to the port [08:03] seems to have worked [08:04] Squirm, do you do that with a firewall? [08:04] yes [08:05] i see gufw gives option to allow only chosen incomings [08:05] cool ty [08:21] I just added an iptables rule [08:22] ok [08:22] the dd command to usb should be bootable hey? [08:23] i did dd if=/tmp/cdimg1.iso of=/dev/sdd but it dont boot [08:25] and using unetbootin boots to unetbootin default and keeps trying every 10 secs but i dont think it sees the setup.exe file or something [08:25] dont boot to winme [08:25] grrr [08:39] sjoe Squirm sitick has nothing on it after that dd command [08:39] hi Wraz [08:41] did you make sure your paths are correct? [08:41] and is /dev/sdd definitely your flash drive? [08:41] normally if you got wrong path you get a cant find [08:42] yip gparted and disk utility show it as /dev/sdd [08:48] then it should all work [08:48] weird [08:48] hi Squirm, Kilos [08:48] stick shows nothing on it [08:48] Maaz: coffee on [08:48] * Maaz washes some mugs [08:49] hi charl_ [08:49] how's it going [08:49] Maaz, coffee please [08:49] Kilos: Done [08:49] Kilos: then you're stuck with unetbootin [08:50] lol [08:50] maybe they both dont work with win stuff [08:50] ill try take the iso to win7 and use [08:50] um [08:51] burnaware [08:52] Coffee's ready for charl_ and Kilos! [08:53] Maaz, ty [08:53] You are welcome Kilos [08:57] Maaz: thanks [08:57] charl_: No problem [08:57] TIL bogosort is really slow.. [08:58] hi theblazehen [08:58] hey charl_ [08:58] lol, bogosort still running after 4 min on 5 element array.. [08:58] 5 seconds on a 4 element array [08:59] hahahaha [09:00] you have too much time on your hands :P [09:00] Lol yeah.. Was only like 15 lines of python though.. [09:02] STILL RUNNING!!1! [09:04] I'd assume it'd be a lot faster in C or something? Because then the whole array would fit in the L2 cache.. Hell maybe even L1 [09:04] OOh! got luck, 4 element array sorted in 9 seconds this time! [09:05] maybe you were using a bad randomisation algorithm [09:05] Using python's shuffle() [09:05] should be adequate [09:06] sounds like it got stuck in a bad state somewhere [09:06] But now I feel the need to do it in assembly.. [09:06] Yeah, but running on another machine now [09:06] lets see which gets there first :p [09:06] " The average swaps for Bogosort is (n - 1)n! " [09:06] So a shit ton.. [09:08] Mind checking the code charl_ ? [09:09] http://pastebin.com/HG7bV7Wy [09:13] I couldn't contain myself watching this video [09:13] https://www.destroyallsoftware.com/talks/wat [09:13] you guys talking about these issues [09:13] watch that :P [09:16] Squirm, funny? [09:16] very much so [09:19] Squirm, about to watch. You should watch this also then:https://www.youtube.com/watch?v=BBQ7ukwK56Q [09:20] it is sfw [09:21] yeah [09:33] looking [09:35] charl_, ty. Please don't judge the code quality.. [09:35] it's an experiment, you never nitpick the code of an experiment [09:35] yeah, ty :) [09:36] i don't see any real issues here [09:36] quickly scanning over it [09:37] ty. [09:37] what you could do just for interest is count how many times you execute shuffle [09:38] and display that as well [09:38] because that tells you more about (in)efficiency than the execution time [09:38] because execution time will vary depending on the system and current load from other applications [09:39] charl_, Ah, yeah ty :) Will do that after this sort is done [09:39] Getting 99.9% CPU load for python [09:41] Dual-core P4, 1MB L2 cache, 800MHz RAM [09:42] ok well that is also an ancient machine [09:43] hehe yeah :p Didn't get much better performance on an OpenVZ container on an i3 though [09:43] But think it's probably memory speed limited, right? [09:46] not sure, i'm not that familiar with openvz [09:49] yeah, but It'll be in general? Because it needs to fetch the elements of array out of RAM each time i'd assume, and that can take 10- 20 cycles IIRC [09:58] stuff could exist in cache too of course [09:59] but cache size is limited, so yeah [09:59] although, you are working with very small lists [10:00] yeah, but isn't python a bit inefficient with memory? [10:27] charl_, for some reason it was sorting a 9 element array ... [10:31] hi tinuva wb [10:31] when it wasn't supposed to? [10:32] for i in range(10) [10:32] range(10) returns [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] [10:33] so at the end it calls createx(9) which you then sort, so makes sense right? [10:40] charl_, I seem to be sorting an array of 9 when it should be 4 [10:40] Lemme just make sure [10:42] lemme pastebin log with more debugging [10:46] heh man the engineers here are about to discover that when Im the one training, you better be prepared to work === Symmetri1 is now known as Symmetria [10:46] from monday onwards, Im on a mission to turn the companies IP people into the best goddamn network engineers you can find [10:47] Symmetria, good luck man! [10:48] charl_, http://pastebin.com/ETE5xAqt [10:57] heh I was trying to explain to a network guy why you always wanted to send data with the largest packet size you could [10:57] he was having a hard time grasping that if you transmit a 10meg file over ethernet using tcp, with 64 byte packets, you're sending about 37 meg more data than if you use 128 byte packets [10:58] (and about 44meg more data than if you use 1500 byte packets) [10:58] To compensate for or to prevent packet loss? [10:59] its got to do with the header sizes actually [10:59] you have 52 bytes of header on a tcp packet [10:59] so 64 byte packets, you're only transferring 12 bytes of data per packet [10:59] or less than 20% of your throughput that is actual data [10:59] 128byte packets, you're up to 76 bytes of data which is well in excess of 50% [11:00] I have always wondered why it used more data to upload and download [11:01] ethernet tcp packet is 12 bytes ethernet header, 20 bytes IP header (IF there are no options) and 20 bytes tcp header (again if there are no options) [11:01] heh also explaining to people that the source address of a packet is almost never used for routing purposes seems to confuse people [11:02] routers (unless very specifically configured), never even bother about the source address when they actually route something [11:02] Makese sense. The destination is more important [11:04] heh, yes but it also opens some interesting security issues [11:05] which is why tcp does 3 way handshake and maintains state [11:05] with udp, which is uni-directional, because packets are transmitted and never have to be acknowledged [11:05] you can change the source address in the packet header, send the data out, the destination will get it, but the source it came from will NOT be where it thinks [11:05] * theblazehen facepalms [11:05] lol [11:06] I can ping flood you from any address anywhere in about 30 lines of C code :p [11:06] So... source spoofing? [11:06] yeah, just change the source address before you transmit [11:06] I can ping flood you from my IP in 1 line of bash... [11:06] Yeah, that ain't exactly impressive [11:06] theblazehen yes, but thats from your ip, its not from someoen elses :) [11:06] and the implications of that are more complicated [11:07] because if you have a network broadcast address thats open (ip directed broadcast) [11:07] I now spoof YOUR ip and start ping flooding the broadcast from you [11:07] the broadcast will take ping packets from you, and broadcast them out to a ton of pcs [11:07] those pcs will then reply... to YOU [11:07] so if Im sending 10k packets a second, to a broadcast with 100 pcs behind the broadcast [11:08] you're gonna be getting a million packets a second in fake ping replies aimed at you [11:08] and you're gonna die [11:08] Symmetria, yeah, t'was a joke [11:08] (the basis of a smurf attack) [11:08] :P gets even more interesting when you start spoofing mac addresses [11:09] hijacking peoples gateways is fun kthx [11:09] ooh? [11:09] theblazehen heh, if I send out packets which makes a router believe that your gateway is on MY mac address rather than its real mac address [11:09] then your packets are gonan gateway through me [11:09] some slightly complicated configurations later, and my pc can then route those packets [11:10] and I can man in the middle everything [11:10] ;p [11:10] So basically like ARP spoofing? [11:10] theblazehen basically [11:10] network hackery is fun ;p [11:10] yeah :) [11:10] lol I still wanna one day attempt to transmit packets with pre-loaded mpls labels [11:10] Hell, 2 years ago I had some fun with it at school :) [11:11] mpl labels? [11:11] and see what I can do to an mpls network thats badly configured [11:11] theblazehen heh, routing in an MPLS network isn't really done by source and destination ips through most of the network [11:11] what happens is basically this, you send a packet to destination X [11:12] the first router that gets the packet, looks up destination X and says, whats my remote point gateway for this and what label does that have [11:12] it then applies some labels and it switches it through the network using labels [11:12] and the routers inbetween that are doing the label switching are ignoring the source and destination of the packet entirely, it becomes entirely based on the label switching [11:12] read first paragraph on wiki, seems interesting [11:12] which is why you can run a core router in a network that only has your network egress points in its routing table [11:13] so that it can figure out the labels on them [11:13] it has no default route, it has no full routing table, but it knows how to switch [11:13] I can ping flood you from any address anywhere in about 30 lines of C code :p [11:13] yeah [11:13] you can do it in less lines btw [11:14] tinuva yeah you can :) but if you're doing it properly you need to do it with raw sockets [11:14] and raw sockets take a coupla lines of code to setup [11:14] also why write your own C code, if there is utilities available in most linux distros already allowing you to do that :P [11:15] tinuva lol, when I was doing that type of shit, I was doing it before code readily existed [11:15] tinuva, you can spoof IP with linux ping? [11:15] not normal linux ping [11:15] hping you can [11:15] most distros should have that [11:16] Awesome :) dl'ing [11:16] but just so you know...most SA adsl lines aint good enough to really abuse it :P [11:16] I know.. [11:17] I do have a vps with a gigabit line though.. [11:17] any vps provider allowing you to do gigabit is crazy [11:17] even the UK ones I find they rate limit the lower end VPS nics [11:17] Yeah, I know [11:17] heh tinuva ever seen this: [11:17] http://pastebin.ca/2530604 [11:17] pretty damned cheap as well [11:17] I wrote that back in 1999 [11:17] and most vps panels out there allow rate limiting on the nics out of the box [11:17] its horrible code but it works [11:18] and its truely evil [11:18] tinuva, believe me, the place that I got my vps wasn't the kind to look at the settings.. [11:18] Symmetria, yeah that will work :P [11:19] interesting that you use files for the input [11:20] i like piping more though [11:20] makes life easier to chain commands [11:20] tinuva, agreed [11:20] hell I pipe cat to grep... I love it too much [11:25] heh, I dont like vps's, they tend to limit how much data I can do to stupid low levels :p [11:25] so now I just got boxes at various isps that friends work at that are in the bottom of racks [11:25] ;p [11:29] lol its a slow day if I don't transfer a coupla hundred gig somewhere [11:29] ;p [11:29] Symmetria, nice :p Lol, 1 only have 1 TB data on that VPS [11:29] but cheap as shit [11:29] theblazehen haha lol that would not cut it for me ;p [11:30] lol see what I just pasted you :P [11:30] Symmetria, yeah. Only $11/year though.. 128 MB RAM, 5 GB disk space openvz [11:47] theblazehen: you are doing something strange there [11:48] theblazehen: if i understand correctly what you are trying to do, you should be defining x inside createx and returning it [11:49] charl_, Oh shit! Thanks! :D [11:51] theblazehen: also, you can, but you don't have to return x from bogo [11:52] theblazehen: the object that x references (the list) is mutated by the shuffle calls [11:52] ty [11:53] references are always passed by value in python but the object that is being referenced can be mutated at will [11:53] same as with java [11:53] that's why you need immutable objects like strings [11:53] Thanks :) [11:54] np [11:55] Either way it sorts a 9 element array in 2 seconds now ?! [11:55] that sounds more realistic [11:55] yep :) [11:56] btw related to the discussion above [11:56] i host with hetzner which doesn't have a limit on the amount of traffic you can push over the line in a month [11:56] however, your speed is reduced down to 10mbps after the first terabyte [11:56] unless if you pay extra [11:57] conidering how minimalist of a vps it is and that you only have 20gb storage space, it's unlikely that that would be a problem [11:57] unless if you use it for grid computing or something with massive calculations and results that need to be sent around [11:58] Become a tor node ;) [11:58] *massive amounts of [11:58] or seed popular (FOSS) torrents [11:58] yeah and get your ip banned from pretty much every site in the world and probably get your server taken offline by the hosting company [11:58] no thank you i stay the heck away from tor [11:59] enough people are seeding the torrents, i was downloading linux mint the other day at half a gigabit per second [11:59] charl_, I did it, and didn't get shit. And I dunno about you but I don't browse from my VPS.. [12:00] Although it sounds like a good idea, create socks proxy with SSH and use SSH compression [12:00] i have done it a lot when i sit on insecure wifi [12:01] charl_, I did it over port 53 when it was a paywall.. [12:01] yeah indeed you can pull out nice tricks like that [12:01] if the paywall doesn't do deep packet inspection of course [12:02] i used to do that myself in fact [12:02] Signal shit, so I'm lucky to get 10000 baud though. But only on the one wofo hotspot [12:02] wifi* [12:08] bbl [12:08] cya charl_ [12:48] Bye everyone , have a good evening [14:34] back [14:35] wb [15:15] thanks Kilos [15:16] hehe [15:35] have any of you people worked with this before? http://www.docker.io/ [15:39] charl_, heard good things about it, never used [15:41] i'm looking at it now, it looks interesting [15:42] maybe i just don't completely "get it" but i'm not so incredibly excited by this [15:43] charl_, yeah. Wasn't too impressed either at first, untl i started using turnkey linux images for things [15:44] it seems like they are building yet another level on top of the host that's already running inside a hypervisor [15:44] so you have hardware -> host / hypervisor -> VM -> docker [15:44] and then various things running on top of docker [15:44] charl_, I thought it would just be containers ? [15:45] Eg. hardware -> container [15:45] yes so you have hardware -> host -> hypervisor -> guest -> docker -> container -> application [15:45] not by the way i understand it but maybe i don't understand it [15:46] With my experience with OpenVZ the container shares the kernel with the host, basically an enhanched chroot [15:46] or bad jail [15:47] bsd* [15:47] yes that is exactly what it looks like to me [15:48] so you don't have a full VM, it's a bit like python's virtualenv [15:48] yeah [15:51] i don't know about this, i can't help but think we are abstracting things too far now [15:52] maybe if you use it as a replacement for virtualisation [15:52] i guess to some extent it does have advantages [15:54] yeah [16:11] w0000t [16:11] my cdrw is fixed [16:12] small piece of shiny stuff stuck on lazer [16:12] maybe bit off an old cd [16:13] charl_, look at dvdisaster. very lekker tool [16:13] in repos [16:14] * Kilos loves ubuntuand linux [16:18] oh that does look very nice indeed [16:19] saved a coupla cds already [16:19] actually saved the data and reburned new ones [16:19] now im sorry ive thrown so many away [16:20] hehe [17:24] hey whats news with schumi [17:25] ooh nice brand bokbier yum yum yum [17:25] "herfstbok" they call it here [17:27] beer? [17:27] yes [17:27] dunno how peeps can drink that without 90%lemonade in [17:27] this: http://nl.wikipedia.org/wiki/Brand_Dubbelbock [17:28] no man saving data [17:28] you can only buy it in the winter [17:28] oh just noticed there is no english translation in any case, never mind :P [17:28] never ever aquired a taste for beer brandy or whisky [17:28] but loved bacardi and coke [17:29] bacardi ... is that rum? [17:30] white rum ya [17:30] largest private brewery in the world i think [17:30] cuban? interesting [17:31] like colddrink [17:32] used to laugh. peeps drink and drink then fall off chair [17:32] very potent but tastes too lekker [17:33] what [17:33] that sounds like oktoberfest [17:34] in the morning it's just awesome, when there is still calm, peace and order (or some of it, in any case) [17:35] but in the afternoon here after lunchtime, "jetzst gehts los" [17:35] *jetzt [17:36] hehe [17:53] yesterday i went to liege in belgium, interesting city [17:53] took a bunch of fotos http://imgur.com/a/tF0Pz [17:53] some of them was on the way there and back though in NL [17:53] went through maastricht [17:58] you like exploring hey [18:00] i want to go to ghent next [18:01] what do you do at all these places? just look [18:01] take photos, look around, eat some food, explore shops, etc [18:01] whew [18:01] most of it is walking around, looking at landmarks, architecture, etc [18:27] inetpro, jy baie stil ne [18:28] in dutch we have a saying, when the cat is from the house, the mice dance on the table [18:28] http://nl.wiktionary.org/wiki/als_de_kat_van_huis_is,_dansen_de_muizen_op_tafel [18:28] kat is weg muis is baas [18:28] yes exactly [18:29] hehe [18:29] so when inetpro isn't looking let's do like at oktoberfest and dance on the table [18:29] haha [18:30] he active like he used to be, and says he is too busy but i think its old age catching up fast [18:30] he isnt active [18:31] unfit and getting fat too [18:31] * Kilos waits for ai! [19:04] night all. sleep tight [19:04] catch ya tomorrow [19:06] hmm... [19:09] hahahaha