/srv/irclogs.ubuntu.com/2009/04/16/#ubuntu-classroom.txt

AJNpa80i know this probably isnt a tech support forum, i need to find someone who is pretty knowledgeable, and im guessing they dont hang out in the support channel troubleshooting 1300 users06:15
AJNpa80ok Im gonna throw this out there. I'm doing a wubi install on an averatec 3200. I'm getting the b43 phy0 ucode5.fw error on the first reboot. i know how to fix it in 3 diferent ways. it goes to bash after sitting for a minute or 5, i fix it over and over and changes are lost after reboot. i need to find out why the changes aren't saved even when i sync and reboot, also it would help to know how to start ubuntu from the bash 06:15
AJNpa80the changes are in memory should it not be possible to have them written before i boot in and finish the install. if anyone knows what i need please message me or email me. by the way i am using 8.10 xubuntu wubi, figured id try that to minimixe the possibility of problems just until i get it running once. the only distro that has ever booted on this turd was goblinx although i didnt get wireless working,(didn't try either) 06:15
AJNpa80b43 firmware didnt send it for a loop. if i can figure this out im gonna ditch windows altogether (i'm a semi newbie but i've tried several distros and setup several installations, my little personal laptop is the only on thats ever given me any problems but its helped me learn alot) thanks06:15
plusmo.06:25
\mSgon front page of digg07:15
maxbwindow level all07:50
emilienUbuntu-classroom just made digg front page.08:18
korhojoalol wut08:23
emilienhttp://digg.com/linux_unix/Announcing_Ubuntu_Open_Week_208:27
UbuntuNewbHello all! Is it too early to visit with some stupid questions?09:14
UbuntuNewbSometimes when I try to launch the synaptic package manager, it asks me for a password. The problem is that sometimes it won't accept my root-password, and sometimes it does. Like, 30 minutes ago It worked fine, now not at all. I know from experience that if I reboot, it will again accept my root password as the correct password. What can I do to fix this?09:25
MamarokUbuntuNewb: you mean root password or user password?09:27
Mamarokas there is not really a root password in X/K/Ubuntu09:27
Mamarokalso, are you using Kubuntu or Ubuntu?09:28
Mamarokoh, and anyway, this is not a support channel, you should ask in #ubuntu :)09:30
UbuntuNewbsorry, I had to run an errand. It is probably my user password. Ok, i will ask in #ubuntu. Thank you!10:44
lokeshgreetings earthlings...10:47
UbuntuNewbgreetings10:50
lokeshsup dude how are you this fine morning?10:51
UbuntuNewbfine fine. and you?10:51
lokeshyeah all good, just thinking about shopping :D10:51
UbuntuNewbI got probably the worst keyboard ever today though10:52
lokeshIts the one time in two weeks where I have to be frugal.. :P10:52
UbuntuNewbhehe10:52
UbuntuNewb*googling frugal*10:52
lokeshwhy worst keyboard, you got a nano keyboard?10:52
UbuntuNewbFrugal... "suppressing instant gratification by means of fiscal self-restraint"10:53
lokeshpenny pinching is probably what google will say.. ;) gotta look after the penies then the dollars take care of themselves ;)10:53
UbuntuNewbno, i got one of those silicone ones10:53
UbuntuNewbreally bad...10:54
lokeshnice! Have you seen those lazer projected virtual ones, me wants :)10:54
UbuntuNewbthat looks cool, but so did this... until i tried it...10:54
lokeshlol, I knw, they always make em look cool till you actually try one10:55
* lokesh whispers "and then you think silently why the hell did I buy this"10:55
UbuntuNewbXactly10:56
lokeshI've got a nano one on a tiny 7" laptop, its hell trying to type on a 7" keypad10:56
UbuntuNewbhaha... damn you ebay10:56
=== _Purple_ is now known as _Purple_away
UbuntuNewbi can only imagine...10:56
lokeshlol, I love eBay if you want a laugh you should check out the handhelds, the CnM Mini Book on eBay for 169.00 or buy direct from the supplier for 109.0010:57
lokeshits a no brainer10:57
UbuntuNewbso, lokesh, are you a seasoned linux user?10:57
lokesh6 years of Debian, Slack and Ubuntu ;)10:57
lokeshnot seasoned as such I am still getting to grips but got to admit its sweet10:58
UbuntuNewbebay, is great. but it's a curse aswell, i buy too much crap...10:58
lokeshmy mother is the same man, she buys nothing but Glass10:58
UbuntuNewbwell... I'm pretty new...10:58
UbuntuNewbI love it... but some things are difficult to gasp right off the bat...10:59
lokeshthey sell some nice stuff on eBay but you have to refine your searches10:59
lokeshI can help you out :) whats got you stuck?10:59
UbuntuNewbyeah... and i probably shoud efine my bain also... ;)11:00
UbuntuNewbwell...11:00
lokeshexplore the terminal app more, get into compiling packages without the aid of .deb files11:00
UbuntuNewbSometimes when I try to launch the synaptic package manager, it asks me for a password. The problem is that sometimes it won't accept my root-password, and sometimes it does. Like, 30 minutes ago It worked fine, now not at all. I know from experience that if I reboot, it will again accept my root password as the correct password. What can I do to fix this?11:01
UbuntuNewbprobably not my root pasw, but the user pasw... but still the same...11:01
lokeshhave you checked the security of your setup lately, do this open terminal and type: nmap -a -V localhost11:01
lokeshif you see loads of ports open you may have a problem11:02
UbuntuNewbok...11:02
UbuntuNewbhmmm... my terminal wont even launch...11:03
lokeshI got hacked a couple of months back and that pissed me off no end, all because I installed Wine-Doors11:03
lokeshand someone was deep inside my setup11:03
UbuntuNewbdamn...11:03
UbuntuNewbdon't likethe sound of that11:04
lokeshyou have to be really careful what you allow to run on linux..11:04
lokeshnow when I do nmap -a -V localhost it says no ports open ;)11:04
lokeshI went sick with security after I caught the turd..11:04
UbuntuNewbmy terminal wont even stat11:04
lokeshbad sign11:05
UbuntuNewbyure scaring me...11:05
lokeshrelax its probably nothing but no terminal is not good11:05
UbuntuNewbshould i uninstall wine?11:06
lokeshif you have it installed.. then thats up to you, wine is a crutch because it allows active X and windows scripting host11:06
lokeshwhich means they can hack it as though it was windows11:07
UbuntuNewbwell. i never got the damn thing to work properl anyway...11:07
lokeshhell yeah bin it.11:07
UbuntuNewbbut my problem is, i cant acess either the synaptic or terminal...11:07
lokeshthat sounds pretty shitty11:08
UbuntuNewbdamnit11:08
lokeshconsidering you are the root user or the next best thing down on the wheel, it shouldnt say no11:08
UbuntuNewbok.  i feel a reboot coming on11:09
lokesha complete re-install may fix that but you have to check all your settings with nmap to check you havent been hax0rs11:09
lokeshif you have launch tcpdump with tcpdump -i eth0 and see who and where11:09
UbuntuNewbok... so even if i remove wine, it can still be hacked11:09
UbuntuNewb?11:10
lokeshdepends what services you have left running11:10
lokeshssh is a bad one11:10
UbuntuNewbnow i REALLY feel like a newb11:10
lokeshbecause no one remembers to disable root login on ssh, they should go into ssh config and set rootlogin=no11:10
lokeshhow strong is your password?11:10
UbuntuNewbis there a guide for these things?11:11
lokeshcould it be guessed with a password brute forcer?11:11
lokeshits not a word from the dictionary is it?11:11
UbuntuNewbnot very stong...11:11
lokeshthats bad11:11
UbuntuNewbno... its more a made up word, upper and lower case11:11
lokeshyou need strong, your mobile phone number mixed with upper and lower case letters and numbers11:11
lokeshif its guessable they can break it11:12
UbuntuNewbok, didn't know it was such a hazard...11:12
lokeshit can be, it all depends on what services you allow and disallow. nmap -a -V will reveal what you have allowed inadvertantly to run11:12
UbuntuNewbok, so m cheklist is, diasable root os ssh, remove wine, nmap localhost...11:13
lokeshyeap, and run rkhunter11:13
lokeshrootkit hunter11:13
lokeshrkhunter -c (-c = check)11:13
UbuntuNewbok,  i can get that via synaptic right?11:13
lokeshyeap11:13
UbuntuNewbhow do i disable ssh root?11:14
lokeshk. hold on11:14
UbuntuNewbsorry, im really new to this.11:14
lokeshIn command shell, use pico or vi to edit sshd_config file by typing one of the following commands:11:15
lokeshpico /etc/ssh/sshd_config11:15
lokeshvi /etc/ssh/sshd_config11:15
UbuntuNewbok.11:15
lokeshScroll down the SSH server configuration file and locate a line like below11:15
lokesh#PermitRootLogin yes11:16
lokeshUncomment the line by removing the hash symbol (#), and then change the “yes” to “no”11:16
lokeshPermitRootLogin no11:16
UbuntuNewbok...11:16
lokeshSave the config file. In pico, press Ctrl-o, follow by Ctrl-x. In vi, type :wq and press Enter.11:16
lokeshRestart SSH server by typing the following command in command line, and press Enter11:16
lokesh/etc/rc.d/init.d/sshd restart11:17
lokeshthen if you need SSHd at root level you login and SU or SUDO to root11:17
UbuntuNewbok... *taking notes*11:17
lokeshgood security practice, ssh is a crutch if you leave it running without stuff like hostsdeny11:17
UbuntuNewbi have to reboot to be able to do this... since the terminal wont start11:18
lokeshyou can also turn it and meny services off by installing BUM11:18
UbuntuNewbbum available on via synaptic?11:18
lokeshyeap11:18
UbuntuNewbcool...11:18
UbuntuNewbscary stuff...11:19
lokeshI knw, but I am an out of work pentester so I always think of the worst first :)11:19
UbuntuNewbI thought ubuntu came "secured" out of the box...11:19
UbuntuNewbhehe11:19
lokeshmy mum uses windows vista shes got 486 trojans.. LOL I shit you not11:19
UbuntuNewbi believe you...11:20
lokeshand shes behind a VPN draytek secured router, how they got in, in my humble opinion, the browser is IE.. and even though shes protected, we de-militarised a zone for my brothers X-box11:21
lokeshx-Box pfft...11:21
lokeshmicrosoft shite11:21
UbuntuNewblol11:21
UbuntuNewbtrue11:21
UbuntuNewbthank you for your help... I have to reboot to get access to the terminal... will you be here in 5 minutes?11:22
lokeshyeah I'll hang around ;)11:22
UbuntuNewbcool.... cya in a sec11:22
lokeshk11:22
lokeshwb ;)11:27
UbuntuNewb*back*11:27
UbuntuNewbty11:27
lokeshyw :D11:27
lokeshhow that terminal commin11:27
UbuntuNewbrunnng11:27
=== _Purple_away is now known as _Purple_
UbuntuNewbpico... running11:27
lokeshok nmap -a -V localhost11:27
lokeshdo you see open ports if so which ones11:28
UbuntuNewbcommand nmap not found...11:28
lokeshctrl-C to command line break and launch a new process11:28
lokeshah you need to install it11:28
UbuntuNewbsynaptic running11:29
lokeshignore the LUA being unable to work, thats because the synapic packages are so out of date11:29
UbuntuNewbok...11:30
UbuntuNewbadding nmap, removing wine11:30
UbuntuNewbsheit wine...11:30
lokeshcool.. nmap is the shit ;)11:30
UbuntuNewbwhen writing "pico /etc/ssh/sshd_config"11:31
UbuntuNewbit opens an empty file...11:31
lokeshok, thats cool it means your not running SSH11:31
UbuntuNewb*happeh*11:32
lokeshmaybe, remember to check with rkhunter11:32
UbuntuNewbok...11:32
lokeshif it spits out one warning, thats cool, depending on what it is, if it spits out loads, you have a problem11:32
UbuntuNewbok... installing rkhunter...11:33
lokeshrkhunter -c11:33
lokeshafter .. ;)11:33
UbuntuNewbwhen i searched for bum in synaptic mgr. it foud some "editor"11:33
UbuntuNewbdo i search for "BUM" like that?11:34
lokeshyes graphical run editor11:34
lokeshthats the one11:35
UbuntuNewbcool...  I wasnt sure11:35
lokeshthen to lauch it type bum in terminal11:35
UbuntuNewbexcuse m writing... this keyb. is retarded11:35
lokeshlol all cool11:35
UbuntuNewbit skips every other letter11:35
lokeshwhat did nmap say about open ports? any of them open??11:35
UbuntuNewbso, bum  effectively closes services... or...11:36
lokeshallows you to control which services run at bot11:36
lokesh*boot11:36
UbuntuNewbchecking11:36
UbuntuNewb"-a" is ambiguous...11:37
UbuntuNewbnmap: option '-a' is ambiguous11:37
lokeshjust type nmap on its own and hit enter, it'll tell you the right way11:37
lokeshyou cant use nmap, thts evn worse!!!11:37
lokeshspeaking from a security stand point11:38
lokeshif its saying no, thats bad!11:38
UbuntuNewbit launches... but it wont diagnose...11:38
lokeshhold on I'll double check the commands11:38
lokeshah my bad its nmap -v -A localhost11:39
UbuntuNewbok11:39
UbuntuNewbrunning11:39
lokeshone of the cool things with running terminator in terminal I can split screens ;)11:39
UbuntuNewbcool11:39
UbuntuNewb25 open11:39
UbuntuNewb63111:39
UbuntuNewb590011:39
lokeshshit, thats not so good..11:40
UbuntuNewbi ran azureuz  vuze on 5900 i think... but its not running now11:40
lokeshobserve.. and I run deluge11:41
UbuntuNewbok... damnit11:41
lokeshAll 1000 scanned ports on localhost (127.0.0.1) are closed11:41
lokeshthats with me being in IRC too.. port re-directs ;)11:42
UbuntuNewbhow do i close them?11:42
lokeshgoogle each one slowly, but double check what they are by searching on google11:42
UbuntuNewbok11:42
lokeshif one comes up as a trojan port, then its re-install for you..11:42
lokeshI locked mine down11:43
UbuntuNewbok...11:44
UbuntuNewbgoogling11:44
UbuntuNewbhttp://ubuntuforums.org/showthread.php?t=33786811:45
UbuntuNewbipp, whats that, printer?11:45
lokeshno cups is printer11:45
lokeshpoint to point tunneling is my wild guess11:46
lokeshsome spotty kid with zits is shafting you slowly going hahaha, newb11:46
UbuntuNewbwell... im confusd... is there a firewall i could use... or something...11:47
lokeshdont feel bad about it tho, it happens to the best of us11:47
UbuntuNewb=(11:47
UbuntuNewbok...11:47
lokeshinstall crunchbanglinux... say goodbye to ubuntu.. although technically crunch is ubuntu but more secure, when you install stuff you have to know what the pro's and cons are11:48
UbuntuNewbwell, how do you use your computer if all ports are closed?11:48
lokeshalways read the security into11:48
lokeshmagic ;)11:48
UbuntuNewbhehe, ok11:48
lokeshthats why I am Uber Hacker :D11:48
UbuntuNewbok...11:49
UbuntuNewband im the uber newb11:49
lokeshlol, dont worry five years from now you'll be on par with me ;)11:49
UbuntuNewbby then you probably conqured the world11:50
UbuntuNewb:)11:50
lokeshIf only.. :)11:50
lokeshhack teh gibson!! :D11:50
UbuntuNewbhehe11:50
UbuntuNewbim running bum.11:50
UbuntuNewbwhat should and should not be enabled?11:50
lokeshdepends all the stuff you found with nmap, when you look up what each one is, you can choose to disable if its held in Bum11:51
lokeshrkhunter ftw ;)11:51
UbuntuNewbrunning rkhunter11:52
lokeshif it comes up in red, then you have a minor skiddie problem11:53
lokeshlol11:53
UbuntuNewb2 warnings.... unhide11:53
lokeshthats ok11:53
UbuntuNewb/usr/bin/unhide11:53
lokeshyou can ignore unhide11:53
UbuntuNewbwell, then its  green across the board11:53
lokeshthat goes away when you update rkhunter..11:53
lokeshthen your all good! congrats11:54
UbuntuNewbah...thanx.. sorr, was only half way11:54
lokeshloosing terminal sounds like an issue though, I would look into that11:54
UbuntuNewbstill running11:54
lokeshand synaptic11:54
lokeshcool11:55
lokeshif it shits about anything else tell me what and where11:55
UbuntuNewbok... 1 warning11:55
UbuntuNewb"/dev11:55
lokeshjust unhide?11:55
UbuntuNewbno, suspisous filetype...11:56
lokeshooh.. nah sounds ok, if your logs came up, syslog etc.. nah thats ok11:56
UbuntuNewbdoesn't specify which one...11:56
UbuntuNewbtotal : 2 suspect files....11:56
lokeshmines green across the board.. but research etc..11:56
UbuntuNewb0 rootkits11:56
lokeshthats cool, you seem to be clean11:57
UbuntuNewb*pheeeeeeeew*11:57
UbuntuNewbi got really scared there11:57
lokeshgoogle at which service is what and use bum to turn off the ones you dont want open to the world ;)11:57
UbuntuNewbthank you vey much11:57
lokeshyw11:57
UbuntuNewb:)11:57
lokeshI am a securty nazi .. :))11:58
UbuntuNewbcool, i wanna be one too11:58
lokeshlots of reading the man pages :)11:58
UbuntuNewbbtw, is there somekind of firewall that i could use?11:58
UbuntuNewblokesh? still there?12:01
UbuntuNewbI closed the 631 cups port with bum12:03
UbuntuNewb5900 is VNC12:03
UbuntuNewbremoving Krfb )VNC=12:04
lokeshyep still here sorry I got cut off12:04
CrusherUbuntuNewb: If you are looking for a simple firewall gui, try firestarter12:04
lokeshan its danny, you dont have to call me loki ;)12:05
UbuntuNewbnp. I thought I n00bd you 2 death12:05
lokeshnah dude, heh12:05
UbuntuNewboh Hai Danny, I'm Mac12:05
lokeshgufw or firestarter, depends if its gnome or kde12:05
lokeshI use OpenBox ftw12:05
lokeshpleased to meet you mac ;)12:05
UbuntuNewbthe pleasure is all mine, I assure you...12:06
UbuntuNewbI'm learning tons here12:06
lokeshwe should hook up and I could show you some crazy pentesting stuff ;)12:06
UbuntuNewbhaha.. cool, And I could teach you the rubriks cube! =)12:07
lokeshw3af... the web application attack and audit framework, sorry ubuntu, but people need to learn how to defend themselves againt the onslaught of script kiddies12:07
UbuntuNewb(changed to a real kayb. now) WOW what a dofference12:07
UbuntuNewbtrue true12:08
lokeshfirefox is the best most secure browser, google chrome reminds me of simon says.. LOL12:08
UbuntuNewbhaha it does12:08
UbuntuNewbI thought that first time I saw it also12:08
lokeshsimple simon, whats google trying to say we're all idiots.. pfft12:09
UbuntuNewbport 5900 was VNC...12:09
lokeshthe client or the server if its the server shut that off12:09
UbuntuNewbGoogle says... Browse!12:09
UbuntuNewbit is... I uninstalled the whole Krfb12:09
UbuntuNewbbut the port is still open12:09
UbuntuNewbcant find it in bum12:10
lokeshgoogle close port 590012:10
UbuntuNewbok12:10
UbuntuNewbGoogle says: close port 590012:10
lokeshwhen you really get into linux then you can start playing with dynamic honey pots.. honeyd.. :) I use it with snort12:11
lokeshthey dont know which service is what and when they fu** up I am watching them going ahhh!12:12
UbuntuNewbwhats that?12:12
lokeshhoneyd.. oh man, thats so cool12:12
lokeshyou have to read the wiki12:12
UbuntuNewbtell me12:12
UbuntuNewbok12:12
UbuntuNewbwiki honeyd?12:12
lokeshyou can set up a whole fake network of machines, and they connect, but when they do you know!12:13
lokeshand you can tempt them with fake stuff, here download this, fool12:13
lokeshlol12:13
lokeshit's uber pwnage, did you hear ubuntu servers got pwned, only because they where out of date Linux copies12:14
UbuntuNewbok12:14
UbuntuNewbno12:15
lokeshI complained recently due to the fact a lot of the stuff in the synaptic packge tree is out of date12:15
UbuntuNewbthat sound like fun, but a scary at the same time12:15
lokeshie: aircrack-ng rc1 should be rc3 its been years since anyone has updated the tree12:15
UbuntuNewbwhyś that? I mean, why so outdated?12:15
lokeshaircrack is for breaking security at the packet layer level, but still helps havng the current release to test security12:16
lokeshif its old then people fall into the negligent oh we know about that, yeah you did three years ago12:16
darth10aircrack is 2 text book for real attacks12:16
lokeshkarmetasploit, by metasploit LLC.. ftw12:17
UbuntuNewbcool12:17
UbuntuNewbI love that kind of stuff...12:17
lokeshme too, it makes me hungry for more12:17
UbuntuNewbrecently WPA-PSK was cracked, wan it?12:17
lokeshyes it was thats cowpatty12:17
Crusherlokesh: aircrack-ng is rc3 http://packages.ubuntu.com/search?keywords=aircrack&searchon=names&suite=jaunty&section=all12:17
lokeshthats jaunty12:18
lokeshnot intrepid12:18
Crusherintrepid is a stable release - stable releases never have the latest12:18
UbuntuNewbok, I try to understand.. interpd?12:18
UbuntuNewbaha12:18
lokeshclamAv on intrepid is still 0.94 oh are you enjoying 0.95 and what about the people with intrepid?12:19
CrusherUbuntuNewb: intrepid is the code name for the 8.10 release of ubuntu12:19
UbuntuNewbaha, stupid me, Iḿ just Jaunty! =)12:19
lokeshyes with no update to the anti-virus because we are unworthy12:19
UbuntuNewb9.04 beta12:19
Crusherlokesh: it doesn't stop you from updating it yourself if you want12:20
UbuntuNewbhehe12:20
lokeshlol, compile it yourself, time and configure it all by hand, no I'll stick with 0.94 besides viruses on linux12:20
lokeshno likelly12:20
Crusherlokesh: whats wrong with using the ppa?12:21
lokeshit just pisses me off that when you go to get the update oh jaunty has it but intrepid dosnt as we dont support you anymore12:22
Crusherlokesh: intrepid does get support still... it will for another year or so I think12:22
Crusherbut support means security and bug fixes, not latest versions.12:23
lokeshCrusher yeah but where is the AV update now, by the time all the intrepid users get it, it'll be out of date and version 0.9612:23
lokeshbit like aircrack, why have it hinging at version rc1 when rc3 has been out for years.. so stale12:24
CrusherI dont use clamav, so im not an expert on it but I would expect that it downloads virus definitions etc. itself12:24
lokeshthey need to update the package stream12:24
Crusherlokesh: rc3 came out in march this year...12:25
lokesh95% of all bug complaints are due to broken dependancies12:25
lokeshwakey wakey ubuntu && debain12:25
lokeshstop playing with jaunty.. besides jaunty is a resource hog12:26
lokeshKDE 4.. woo12:26
Crusherbroken dependancies usually happen when users run third party scripts, which is out of ubuntus control12:26
lokeshno nmap is broken at the moment because ubuntu repos are using 8.64 when 8.84 has been out for a while12:27
lokeshstale12:27
Crusherlokesh: Jaunty comes out in like a week12:27
maxbstale != broken12:27
Crusherexactly12:27
lokeshjaunty is nice but I'll stick with intrepid as I think intrepid on OpenBox is awsome12:28
Crusherlokesh: if you want the latest and greatest you should be using the development release12:28
UbuntuNewbNow, that was a quick shower12:28
lokesheverything worx the way I look for it too12:28
lokeshI doo @ crusher, you dont expect me to wait for their release LOL12:28
lokeshI patch my own stuff ;)12:29
maxbYou are, of course, welcome to stick with an older release, but if so, don't complain about packages being a bit stale.12:29
lokeshlol @ max I knw, downstream, but its just a question of knowing what you can update without it humping the kernel and what you cant12:29
UbuntuNewbIs really 9.04 that much of a recource stealer?12:30
lokeshlast week I discovered the merits of MIPS on the i386 under qemu along with AES-Loop12:31
CrusherUbuntuNewb: no12:31
lokeshnot really but if your like me you go for the minimalist custom approach12:31
UbuntuNewbWorks very well here... except for the fact that I have a low end computer12:31
lokesheverything goes faster12:31
lokeshmines a celeron12:31
UbuntuNewbok12:31
lokeshlol12:31
UbuntuNewbwell it's a settop box12:32
lokeshwith only 412mb of ram12:32
UbuntuNewb1.6 Ghz Atom12:32
lokesh1.4 ghz here ;)12:32
UbuntuNewbdamn..12:32
Crusherlinux is very resource friendly12:32
UbuntuNewbthat IS shy12:32
UbuntuNewbyeah, especially compared to bloated Vista12:33
lokeshI knw, I need to buy more but I am skint ;)12:33
lokeshbesides with my external SATA disk, I have 160G12:33
lokeshso far I've only used 11G12:33
=== john is now known as Guest41262
UbuntuNewbok. lol12:34
UbuntuNewbthen what's the rush! =)12:34
UbuntuNewbdanny, where you located? The states?12:34
lokeshone of my best mates is running risk disc's.. I feel behind in the times..lol12:34
lokeshnah UK12:34
UbuntuNewbk, then we're neighbours...12:34
UbuntuNewbSweden here12:35
UbuntuNewb*waving*12:35
lokeshcool, fancy a beer, I love sweden, girls in caloshes12:35
UbuntuNewbLOL!12:35
lokeshpigtails.. :D12:35
lokeshyah ich can unt beer..12:35
UbuntuNewbhehe... thatś germany12:35
lokeshlol I knw12:35
lokeshbut they get the gist12:35
UbuntuNewbfo sho!12:36
UbuntuNewbInstalled firestarter, GUI for iptables12:36
UbuntuNewbgonna close that 5900 port12:36
UbuntuNewbsomehow...12:37
lokeshlol, google is your friend, at the same time as being evil, google, google is evil12:38
UbuntuNewbevil friend12:38
lokeshthey're cookie expires 203812:38
lokeshCIA + Google = tracker12:39
lokeshI love firefox...12:39
lokeshbye bye cookie12:39
UbuntuNewblol12:40
UbuntuNewbCRTL + SHIFT + DEL12:40
lokeshhave you got the better privacy addon for firefox? bet you didnt know flash content leaves an unremovable cookie12:41
lokesh**bas**rds12:41
UbuntuNewbreally?12:41
lokeshyeap12:41
UbuntuNewbadding that now!12:41
UbuntuNewbI tried adding a while ago, but it only supported FF2.x12:42
Crusherlokesh: where did you read that?12:42
lokeshnah its 3 now along with noscript12:42
UbuntuNewbIt was a while ago..12:42
lokeshcrusher 16 years of internet use makes you pick these things up ;)12:42
Crusherlokesh: Im pretty sure flash doesn't leave an unremovable cookie12:43
UbuntuNewb*counting the years*12:43
lokesh*LSO cookie, see for yourself12:43
lokeshits removable but you have to remove it with the addon12:44
lokeshotherwise you are being tracked12:44
UbuntuNewb*looking over shoulder*12:45
lokeshits all commercial the internet is advertising.. thats where 95% of all the revenue comes from12:45
UbuntuNewbadded privacy addon12:45
lokeshinstall no script and no more advertising, you get to decide what is allowed and what is not12:45
UbuntuNewbcool12:45
lokeshalong with flash block ;)12:45
lokeshit pisses off the advertisers no end, but I will thank them for keeping their XSS out of my browser12:46
Crusherlokesh: They are hardly unremovable...12:46
UbuntuNewbdamnit, I can find any real guide on how to close port 590012:46
lokeshclick here to ignore this add, thats pretty anoying when you didnt even agree to popup adverts in the first plqace12:47
lokeshand those are flash ads12:47
lokeshhijacking your browser.. damn you microsoft12:48
UbuntuNewbhate those12:48
Crushernoscript is a great addon, makes browsing much nicer IMO12:48
lokeshyeap and keeps you safe from some of the stuff ;)12:48
lokeshalong with pref switch to hide your real browser ;)12:48
lokeshI am googlebot really honest !! LMFAO12:49
UbuntuNewbhehe12:50
UbuntuNewbhack teh gibs0n!12:50
lokeshlol12:50
lokeshor @ least hack googles CADIE.. :)12:50
lokeshsorry CADIE but you is windows whore, me linux.. asta la vista baby!12:51
lokeshROFL12:51
UbuntuNewbhehe12:52
* maxb is sceptical about the concept of an unremovable cookie12:53
lokeshit's removable but not easily without the addon12:53
lokeshlike the new chrome browser, did you notice the unique client ID attached?12:54
lokeshlike I said free software nazi, plus security guru.. I dont let a lot slip past me..12:54
lokeshgoogle can go and shove their google analytics12:55
UbuntuNewbhehe.12:55
maxbA cookie is just a piece of data. How can you make a dumb piece of data unremovable?12:55
UbuntuNewbI closed the 5900 port now. was the remote desktop12:55
lokeshits the way its gets buried in the broswer12:56
lokeshits removable but the only reason its there is to spy12:56
Crusherlokesh: rm -r .macromedia seems pretty simple to me12:56
lokeshspyware.. god damn you adobe12:56
lokeshlol12:56
Crusherand its not there just to spy... it has a legitimate purpose12:57
lokeshyeah but you need adobe if your going to visit OvGuide#12:57
Crusherand they can be disabled completely if so desired12:57
lokeshI live my online video along with my online radio.. but if its flash watch out12:57
lokeshbig brother is watching12:57
lokesh*love12:57
lokeshthats why I like deluge bit-torrent, you can download without the fear of some FBI agent turning up on your door, why, because its encrypted and has a block list12:58
lokeshMPAA, RIAA, bye!12:58
lokeshall you see is me getting an encrypted stream and you dont know what it is!12:59
UbuntuNewbbut can you use youtube then?12:59
UbuntuNewbits flash12:59
Crusherif you were worried about that you wouldn't be using bitorrent12:59
lokeshif I support the artist heh, ill buy their product not because of advertising12:59
Crusherencryption + blocklist arent perfect12:59
lokeshbut because I endorse what they're selling12:59
lokeshcomedy central pwns13:00
CrusherUbuntuNewb: dont worry about the "flash cookies"13:00
lokeshcrusher yeah but its encrypted so they know your downloading, but as to what it is they have no idea13:00
lokeshand on that note is it really any of their buisness?13:01
Crusherlokesh: all they need to do is connect to the same torrent as you and they can see your IP13:01
lokeshno, not with deluge, they cant :)13:01
Crusherummm, yes they can...13:02
Crusherunless your going thru a VPN or something13:02
UbuntuNewbip block tables are really not 100%13:02
lokesh;) proxy chains13:02
UbuntuNewbaha. you rasqal you!13:02
UbuntuNewbTOR?13:02
lokesh;)~ old devil with gray hair, no just proxy chains from synaptic13:03
Crusherproxy chains... not if you like to get your download anytime soon13:03
lokeshdepends on the proxy13:03
UbuntuNewbwhere do you get proxies then?13:03
lokeshlol, anonymise me etc, google search anonymous proxies13:04
lokeshalso used for hacking into something you shouldnt be in, when they check the logs "oh he was in taiwan!!"13:04
Crushergood luck finding one fast enough13:04
UbuntuNewbso you enter consecutive poroxies into proxychains?13:04
lokeshdepends.. tor is ok, but I dont really endorse it as i THINK it blows13:05
UbuntuNewbTOR = really reeally slow13:06
lokeshmeny is the time I went to watch a movie and its said, sorry your outside the US.. hello proxy and watch the flick13:06
lokeshfinding one fast ennough on a 25mb line... not an issue13:07
lokeshif I was dial up then yeah that would pose a problem13:07
Crusheryou mean the other way around?13:09
Crusherfinding a free proxy for 25mb is near impossible13:09
lokeshthe thing is, when you boil it all down the mentor last words hinge in your mind, you can stop one of us, but you cant stop us all...13:09
lokeshHack'The'Planet!!!!!13:10
lokeshBletchley park, colosus, yes but the NSA have echalon, carnivore, know what your exposed too, each day online, they want to build a profile.. dont let them13:12
lokeshnetwork ninja's smoke my ass ... :)13:12
sorenYet here you are, on a publically logged channel...13:13
lokeshlol13:13
lokeshfrom an IP that is local but not at the same time13:13
lokeshover 100 other people use this access point13:13
lokeshand what's wrong with being a hacker and not a script kiide?13:14
lokeshI dont do illegal.. if you want me to hack your girlfriends email the answer is NO!13:14
Crusheryou are mistaking hacking for cracking13:14
lokeshBlackhat 2 Whitehat13:15
lokeshI knw13:15
lokeshbut I am enlightened none the less :)13:15
Crusherlokesh: http://catb.org/jargon/html/H/hacker.html13:15
lokeshoh not the jargon file.. fu** no13:15
lokesh@ Crusher have you looked at the hacker crackdown by bruce sterling13:17
lokeshawsome boook13:17
Crushernope13:17
lokeshI have pwned meny of such books.. because reading them has expanded my mind13:17
lokeshits worth a read13:17
lokeshalong side terry pratchett because his books just make me LOL13:18
UbuntuNewbwhats  the equvalent command of ipconfig in ubuntu?13:18
lokeshifconfig13:18
lokesheg: ifconfig -a13:19
UbuntuNewbk... thx13:19
lokeshnp13:19
UbuntuNewbuhm... firestarter is warning me of a "hi" from my own ip??13:20
lokeshdid you google it ?13:20
lokeshlol, google is evil, but none the less if you dont know what it does, google it first13:21
UbuntuNewbok13:21
lokeshI feel bad, I just had to lock someone out of my house... I know this kid.. but he always wants from me.. :P13:23
lokeshfree tin of beans, not today13:23
UbuntuNewbeh... it seems like the whole internet is knocking on my door13:23
lokeshlol, thats because they all live in china or russia and they know where you are.. LMAO13:24
UbuntuNewbseriosly...   im getting hundreds of hits per minute13:24
lokeshchinese and russians are the worst13:24
lokeshthey are script kiddie central13:25
lokeshlater, I must hide my whereabouts for a while, or at least whilst this idiot is ringning my doorbell..13:26
lokeshbbl13:26
UbuntuNewblater13:27
Crusherlmao, that conversation was humerous13:28
UbuntuNewblol...13:37
UbuntuNewbcrushr...13:38
UbuntuNewbshould i be worried if my firewall says i get a lot of "hits"?13:39
Crusherno, its quite common13:40
Crusherepecially if you use peer to peer programs etc.13:40
Crusherfirestarter by default blocks everything I think, and will show lots of hits13:40
Crusherso you look at the logs and see if you want that port blocked or not, and open it up if you need to13:41
lokeshwb me.. :)13:41
lokeshI block them all, if you sniff me you get snort.. :)13:41
UbuntuNewbthx crusher13:42
Crushernp13:42
lokeshbut I am also behind very out-dated MESH linux on boxen that has linux SSH.. more fool them13:43
UbuntuNewbok.. but quie had and pointless to block he whole interne?13:43
UbuntuNewbinternet13:43
Crusheryou can still make connections out13:43
lokeshyour not blocking the whole internet, your blocking whats allowed local13:43
Crusherit just stops them from connecting to your computer13:43
* lokesh nods and agrees with crush13:44
Crusherusually you block everything and then whitelist what you want to let through13:44
UbuntuNewbok, how do i do that?13:45
lokeshcrusher can I hax0r your IP? I have to ask, as your probably better than me but If I find a security hole you can love me... feel the love!! LOL13:45
lokeshP.S the guy on my door went away @ last13:46
=== pleia2 changed the topic of #ubuntu-classroom to: Ubuntu Classroom || https://wiki.ubuntu.com/Classroom || https://lists.ubuntu.com/mailman/listinfo/ubuntu-classroom | Upcoming: 16 Apr @ 18:00 UTC: How-to update a package; 23 Apr @ 00:00 UTC Package testing: piuparts and VMs | Run 'date -u' in a terminal to find out the UTC time
UbuntuNewbyou got strangers knocking on yyour door?13:47
lokeshno some kid, I helped him out once, that to his mind means I help you out all the time13:47
lokesh:P13:47
CrusherUbuntuNewb: https://help.ubuntu.com/community/Firestarter has some information on how to use firestarter13:47
UbuntuNewbthank you13:48
lokeshhe can blow me.. with big hexadecimal chunks .. :)13:48
lokeshnice to see your going down the firewall path, but read the wiki on honeyd.. its worth it just to watch those idiots try to hack their way in13:49
lokeshfrom *china, russia! etc... blow me because I pwn yur lame PHP13:50
Crusherfirestarter is fine for a simple setup13:50
* lokesh nods13:50
lokeshhoneyd gets more complex ;)13:51
lokeshbut its worth it just to watch those idiots try, then you can hit them with strong swan.. ec13:51
lokeshacid base etc13:52
lokeshwelcome to acid, it will eat you alive.. :)13:52
UbuntuNewbanyone know anthing about oneswarm?13:52
lokeshstongswan, and aviod it if you can thats heavy13:52
UbuntuNewbas soon as I start it the events tab in firestater goes nus13:53
UbuntuNewbnuts13:53
CrusherUbuntuNewb: Thats normal at the start, once you idntify and whitelist the traffic you want to it stops going crazy13:53
lokeshits impossible to say, unless someone that knows looks at your set-up and says "why is that there?"13:53
lokeshRTFM..13:54
UbuntuNewbok... but i dont know all thse ip's... i haven't even added any friends yet...13:54
UbuntuNewbso if i whitelist it... then they g in...13:55
lokeshlol, your feeling out of your depth.. then back out and remove it13:55
lokeshits heavy stuff for sysman only13:55
CrusherUbuntuNewb: look more at the ports and work out what they are trying to connect to13:55
Crushernot individual IP's13:55
UbuntuNewbok, thnx13:55
* lokesh nods @ crush13:55
Crushermost of them are probably legitimate13:55
UbuntuNewbits the same port as i have set up in he application13:56
lokeshbut some wont be, you should see mine @ crush, I have a lot of local IP's that are skids and believe me its fun13:56
UbuntuNewbmaybe it's trying to connet to update severs?13:56
* lokesh laughs out load "welcome to ubuntu linux, the deep end on securing every desktop application!"13:58
UbuntuNewbthat's the way i feel right now13:58
CrusherUbuntuNewb: are they inbound events?13:58
lokeshtcp/ip13:59
UbuntuNewbit looks like they are13:59
UbuntuNewbinbound13:59
lokeshcrush he'll get it, it takes time, linux and the magic of, dosnt happen over night ;)13:59
CrusherUbuntuNewb: Ok, and what port number?14:00
UbuntuNewb4481114:00
UbuntuNewbno sorry, thats outgoing14:01
lokeshare you still using nmap -a -V localhost?14:01
UbuntuNewbyes14:01
lokeshmap those and mail them to enima@snakebite.com I'll mail you on how to close them one by one14:02
CrusherUbuntuNewb: basically, you want to try and find out what application/service it is and working out if you want to allow that service to talk to the internet14:02
UbuntuNewbwell. right now only port 25 isopen14:02
UbuntuNewbok. thnx.14:02
UbuntuNewbwell. i know what application it is. it is "oneswarm"14:03
lokeshah you've killed a lot of stuff then, port 25 is that SMTP or Telnet, I forget..14:03
UbuntuNewbyeah, closed them all one by one14:03
CrusherUbuntuNewb: and do you want to allow oneswarm?14:04
lokeshI hope thats not send mail, sendmail will fudge the worls14:04
UbuntuNewbtechnically, i'd like hat.14:04
UbuntuNewbbt i want to let my family and friends in... not a bunch of strangers...14:04
lokeshwhich color, black, gray, white or blue?14:04
UbuntuNewbblue14:05
Crusherok, if you want to only let family and friends in you need to find out each of their IP addresses and add them individually14:05
Crusherotherwise you add a rule to allow the service14:05
UbuntuNewbok...14:05
UbuntuNewbthat's a pain...14:06
UbuntuNewbsinse everyone got dynamic adresses...14:06
UbuntuNewbcan i add a dyndns as a rle?14:06
UbuntuNewbrule14:06
Crusheryeh, you can add a host14:06
UbuntuNewbonw swarm uses a lot of connections to allow decentralised tacking...14:07
UbuntuNewbtracking14:08
Crusheryes, it will be quite difficult to add individual IP's14:08
Crusherif it were me, i would just allow the service14:08
UbuntuNewbsince everybodys connctions are distributed through DHT14:08
UbuntuNewbok...14:08
UbuntuNewbso i right click one of the "hits"14:08
UbuntuNewballow connections form source?14:09
Crushertry right clicking on the service14:09
Crusheror the port14:10
Crusherbeen a while since ive used firestarter, lol14:10
UbuntuNewbok, i've allowed the "unknown service" on port xxxx for everyone14:11
Thawtlol, wht.. oh noooo!14:11
UbuntuNewb?14:12
Crusherok, does that reduce the noise in the event log?14:12
UbuntuNewbyep. to zero14:12
Crusher:)14:12
UbuntuNewbthank you14:12
Thawtyw14:13
Crusherso over time you will notice things in the eventlog, and you will have to work out if you want to allow them or not14:13
Thawtor you can kill syslog and let snort handle it all14:13
UbuntuNewbok. super...14:13
UbuntuNewbhank you...14:13
UbuntuNewbi just didn't like all those unknown ip's...14:13
Crusheryou get that with p2p applications14:14
Crusherlol14:14
Thawtheh, I have millions of them...14:14
UbuntuNewbbut I guess it's unavoidable with DHT14:14
=== Thawt is now known as lokesh
UbuntuNewbyeah...14:14
UbuntuNewbthanks14:14
UbuntuNewb*sigh of relief*14:14
lokeshnot so much of a newb now.. :)14:15
lokeshwelcome to the deep end14:15
UbuntuNewbhehe14:15
UbuntuNewb crash course in ubuntu14:15
Crusherthere is lots of documentation on the net to help you out14:15
lokeshnot so much just ubuntu ist jus linus14:15
UbuntuNewbi've learned a lot last 24hrs14:16
Crusherand ubuntu is pretty secure by default, so you don't need to worry about it too much14:16
Crusheras long as you keep your system upto date14:16
lokeshone last thing for you to learn, bash shell is ghey, korn shell is the shit14:16
lokeshend off14:16
lokeshLOL :)14:16
UbuntuNewbok,whats a shell14:16
Crusherlol14:17
lokeshterminal14:17
UbuntuNewbis it the command line?14:17
lokeshyes14:17
Crusheryes14:17
Crusherdont worry about it14:17
UbuntuNewbAH, AND i CAN CHANGE IT?14:17
UbuntuNewbsrrycaps...14:17
Crusherlol, most people use bash, its an excellent shell14:17
UbuntuNewb(hae this keyboard)14:17
Crusherno need to change it14:17
lokeshno but you can choose which one you would like to run, my suggestion, go out and buy Unix for Dummies14:17
UbuntuNewbok... seems to work fine for me as it is...14:18
UbuntuNewbi will14:18
Crusheryou can do most stuff using a GUI now days14:18
lokeshits worth having ;)14:18
UbuntuNewbi gotta read up on the basics14:18
lokeshyeah except pwn a shell from gui ;)14:18
lokeshspecial tilde ^14:19
Pollywogyou folks have been talking for 5 hrs?14:19
Pollywogdid I miss a class?14:20
Crusherno Pollywog14:20
lokeshwelcome to class, you are late, you get detention, write 1000 times I must not be late for class14:20
Pollywogk14:20
Crusherclass is in ~3 hours I think14:20
Pollywogk I thought so14:20
Crusher4.5 hours14:21
lokeshand shrinking14:21
Pollywognot 3.5?14:21
* Crusher shrugs14:21
Crusherits late14:21
Crusherlol14:21
UbuntuNewbhehe14:21
UbuntuNewb5 hours???14:21
UbuntuNewbgdamn14:21
lokeshwe've been at it all day explaining security to newb ;)14:22
UbuntuNewbAnd I was spposed to study...14:22
Pollywogoh that's right we have daylight saving time here, so it is more like 4.5 hrs14:22
lokeshstudy??14:22
UbuntuNewblol... hehe, im a student...14:22
UbuntuNewbI got an exam in java progamming soon14:22
lokeshwhat are you studing, dont tell me its VB or JS..14:23
UbuntuNewbmajor in computer science14:23
lokeshah heh, I have a GNVQ @ level 3, ++ a major in computer science.. suck it!! LOL14:24
lokeshthe SQL teacher loved me, System Manager was the default login, he squiled, you shouldnt be in there.. but I was .. :D14:25
lokeshstaff access to the whole college.. I bet that pissed them off14:26
UbuntuNewblol14:26
lokeshsome hacking tips, if your teacher logs in, shoulder surf his ID and Pass14:27
lokeshthen you have the answers to all the exams :_14:28
UbuntuNewbI wouldn't dare that14:28
lokeshI done it, they didnt even twitch, or know14:28
lokeshbecause their world is microsoft, but you come from a nix background, do it they never even notice, novel networks.. pfft14:29
lokeshthey need a sticky note to remind them of their pads14:30
lokesh*pass14:30
PollywogI guess they forget the name of their spouse or dog14:30
UbuntuNewblol14:31
lokeshI got pulled up one day by the network admin, and told do it again and youll go to the dogs.. I was the only guy in the class that knew anything14:31
lokeshhe was pissed at what I did.. oh they got what they deserved14:32
UbuntuNewbhaha14:32
UbuntuNewbyu're crazy14:32
lokeshtime + bomb + logic = duh14:32
lokeshnah just sick computer skillz :)14:32
UbuntuNewbI like turtles14:33
lokeshme too, they're vicious14:33
lokeshpeople make the mistake of thinking a turtle is slow, but no.. a turtle is vicious as hell... dont believe me offer it your finger!!!14:35
include_prlol14:35
Pollywogfrogs don't bite14:35
Pollywogunless you are a bug14:36
lokeshlol14:36
UbuntuNewbIm a bug14:36
UbuntuNewb:)14:36
lokeshI used to feed live bugs to my turtle.. oh yeah "jaws theme tune.. du duh!" it used to eat them alive..14:37
lokeshbig bath tub what was a terapin turned into a big sea water turtle14:38
lokeshit was funny you could throw the half stunned bug into the bath and watch the turtle go.. "ah... Dinner!!!"14:39
lokeshif you have a turtle, but him in a big space they need room to grow ++ give him rocks to climb on14:41
lokesh-- dont handle it with your hands unless your quick, they can steal a finger14:41
UbuntuNewblol14:42
lokeshyou wouldnt lol if one got a hold of your finger.. ;)14:43
lokesh**snap**14:43
lokesh***gone*** LMAO14:43
lokeshthe words F & U always follow.. LOL14:44
lokeshMy dad had a crab in a sea water aqarium.. it pwned him14:46
lokeshhe provoked it with a screw driver.. that was one piss crab14:46
lokesh*pissed14:46
lokeshit stole the screw driver and sat on the bottom of the tank, next day, the starfish was cut into four bits, the fish where all sliced.. etc, one piss*d crab14:49
lokeshand it escaped and ran around the house14:49
lokeshevil crab14:49
lokesh:P14:49
UbuntuNewbhehe14:49
UbuntuNewbi had crabs once...14:50
lokeshI fed it to the turtle.. LMAO14:50
lokeshso did I, but thats what happens when you visit a den of sin..14:51
lokeshsucky, sucky, i14:52
lokeshfive dollar...14:52
lokeshno, I'll stick to the turkish kebab from around the corner14:53
lokeshafter all its both beef lips.. oh sorry ladies.. :P14:54
Crusherlokesh: I don't think what your talking about is appropriate here, please stop.14:55
lokeshyou can label me as sick now.. :)14:55
UbuntuNewbok, i gotta run. Big thanks for all the help!14:56
lokeshsick puppy, pwning windowz, hold on is that microshite IIS 6 ah good for you eh heh, here comes the pentest14:56
lokeshlaters14:57
lokeshnewb14:57
UbuntuNewbthanx Danny!14:58
UbuntuNewbl8r14:58
=== jaldarondo is now known as include_pr
=== iaWeiP is now known as PieWai
include_prSo the class is today at 18:00 UTC15:41
include_pr?15:41
Pollywogyes15:41
PieWainice15:41
include_prcool thanks - looking forward to it15:42
Merrlinhello15:44
Pollywoghello15:46
include_prhello15:52
XaviOlaaa :D es mi primer vez aqui16:45
Xavique hacen ?16:45
MalMennao se passa nada16:47
MalMenlol16:47
XaviAlguien es de Mexico ?16:48
MalMenportugal16:48
XaviOK :)16:48
Xavicomo te llamas ?16:49
zeehi17:09
TheMadBeaverhi17:12
=== k00011 is now known as k0001
gtomyQUESTION: When will it start?: How-to update a package18:13
james_w45 minutes18:14
didrocksgtomy: you can install some packages and prepare your sources.list file during this time (http://blog.didrocks.fr/index.php/post/Packaging-training-session%3A-how-to-update-a-package)18:16
james_wgo didrocks!18:16
didrockshey james_w ;)18:17
didrocksjames_w: I will not explain how to update a package with bzr, not enough time for that :)18:17
james_wheh :-)18:18
didrocksjames_w: great talk last time (I read it today)!18:18
james_wthanks18:18
didrocksjames_w: see, dholbach already prepared my page: https://wiki.ubuntu.com/Packaging/Training/Logs/2009-04-16 :)18:19
huatshello didrocks18:41
didrockshey huats ;)18:41
rafaelmfdidrocks: I have one question, may I ask before classrom?18:52
didrocksrafaelmf: of course :)18:52
rafaelmfi need to do one package that configure my ldap base18:53
didrocksa new package?18:53
didrocksjust for configuring stuff?18:54
rafaelmfyes, so, when I ldapadd something that already exists i got a error18:54
PollywogI will need ldap for this class?18:54
PollywogI have not set it up18:54
k-shey guys18:54
rafaelmfa error (68), that stop installation of package18:55
didrocksrafaelmf: because you erase files from other packages?18:55
didrockshey k-s, Pollywog18:55
Ryback_hi everybody18:55
didrockswelcome Ryback_ :)18:56
Ryback_:-)18:56
rafaelmfdidrocks: no, this error code is from ldapadd(inside my postinst)18:56
padawan[B[A18:56
lfelipehey :)18:56
didrocksrafaelmf: you can launch your postinst file manually again, when the package has failed to install and try to set -x it18:56
didrocksrafaelmf: I don't know really well ldap related packages and configuration18:57
didrockshi lfelipe!18:57
rafaelmfdidrocks:  humm... set -x does what?18:57
padawan\clear18:57
didrocksrafaelmf: it will open in debug mode your shell and write line by line shell expansion, return code, etc.18:58
rafaelmfdidrocks: i think that is what i need to ignore return of error inside postinst script18:58
padawan>hello18:58
didrocksrafaelmf: also postinst files uses set -e to abort on error, if you just want to disable this, change the package in removing this set -e (even if postinst file, your package will be marked as being sucessfully installed)18:58
didrocksrafaelmf: is that clear?18:59
rafaelmfdidrocks: ldap is a example, actually I need just ignore this error, if a haven't this line "set -e" it could break?18:59
padawanhi all18:59
didrocksrafaelmf: yes, the script can break, but will be ignored by dpkg18:59
didrockshey padawan :)18:59
blfgomeshello everybody19:00
padawanlurking and listenig19:00
rafaelmfdidrocks: I think is that what I need, thanks, and  good class19:00
didrocksrafaelmf: thanks ;)19:00
didrocksDING DONG, it's classroom time :)19:00
francescomyep :-)19:01
didrocksjust to know a little about the audience, who is ready to update some packages? :)19:01
francescomme19:01
blfgomesI am!19:01
padawannot yet still learning the basics19:01
include_prFor sure19:01
TheMadBeavertotal package newbie19:01
PollywogI am ready19:01
gtomyyes19:02
PollywogI am on Intrepid but have Jaunty in virtualbox19:02
Pollywogwill I need Jaunty for this?19:02
didrocksgreat, some people there! For those who don't know the basics/can't practice, there will be a lot of copy/paste in pastebin so that you can follow the lesson :)19:02
didrocksPollywog: appart for last part, no, you can use your intrepid box19:02
gtomyI have hardy intalled19:02
gtomyinstalled19:03
didrockshardy has well be fine :)19:03
didrocksas*19:03
didrocksFirst and before the introduction, if not done yet, install theses packages :19:03
didrockssudo apt-get install build-essential devscripts ubuntu-dev-tools debhelper diff patch quilt fakeroot lintian libtool gnome-common gnome-doc-utils gtk-doc-tools.19:03
didrocks(without the final dot, of course)19:03
francescomdidrocks: already done19:03
didrocksYou should also have "deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted" in your /etc/apt/sources.list (and then sudo apt-get update).19:03
didrockstell me when I can begin my introduction during the download :)19:04
gtomydone19:04
didrocks(and yes, that's a bunch of packages ;))19:04
didrocksI will begin with a very generalist introduction so that people can follow what will be in this lesson19:05
didrocksAs most of user want to live on the edge about what best the Open Source community has to offer, we are going to see how to update a package to offer the very last release to all ubuntu users.19:05
didrocksFirst, be warned that once a release is out and for all supported releases (jaunty soon!), we never update a package to a new software version (appart from backports repository and ppa, when requested).19:05
didrocksWe only cherrypick bug and security fixes from a new release to adapt it an older version. This is intended to have as little breakage as possible.19:06
didrocksSo don't expect to have OpenOffice 3 in intrepid from the casual repositories, it will never happen. Jaunty, on the contrary, has it!19:06
Pollywogdoes this mean I should not report bugs in Intrepid's kmail?19:06
didrocksPollywog: I'm more a GNOME packager than a KDE one. If a major bug in kmail happens, yes, report it19:07
slytherinPollywog: you should provided it does not say "please update to latest version"19:07
didrocks(it's an extra bonus point if it's still happens in the last release)19:07
blfgomesdidrocks: which bugs should be fixed and which should be left for the next release?19:07
didrocksbut, it only concerns major crash/unusable version. If it's a major issue, no, it will not be updated19:08
didrocksblfgomes: minor issues19:08
didrocksfor instance19:08
didrocksICQ has changed its protocol recentely19:08
didrocksmaking it unusable fo pidgin19:08
didrockswith*19:08
blfgomesI see19:08
didrocksso, we reported the patch in pidgin for every supported version19:09
didrocksthat is to say, dapper, gutsy, hardy, intrepid… and jaunty :)19:09
didrocksthat's a lot of work, even for a minor patch19:09
blfgomes:)19:09
didrocksthat's why only major bugs are handled for stable releases19:09
didrocksblfgomes: does this answer your question?19:09
slytherindidrocks: with jaunty release gutsy will have end of life19:10
blfgomesyes, it does! Thank you!19:10
didrocksslytherin: yes, but we will have one more unstable version, so, no change for us :)19:10
didrocksToday, we are going to update gnome-terminal. We will see quickly what are the different steps we have to handle generally to update packages, but the best is, of course, to practice!19:10
slytherinright19:10
didrocksEven if I use bzr-buildpackage now to work on, we will not use it today. The Unstoppable James Westby has given a great rocking introduction on this last week (https://wiki.ubuntu.com/BeginnersTeam/FocusGroups/Education/Events/01172009).19:10
didrocksAlso, this lesson is not intended to teach you how to package. For this, see the corresponding courses in last developpers week session (https://wiki.ubuntu.com/UbuntuDeveloperWeek). Don't forget also the excellent packaginguide: https://wiki.ubuntu.com/PackagingGuide.19:11
didrocksWell, ready? Let's download the old version: mkdir gnome-terminal && cd gnome-terminal && apt-get source gnome-terminal19:11
didrocksThis will download the last release present in jaunty, which is 2.26.0.19:12
didrockstell me when it's ok :)19:12
didrocksRemember that you can interrupt the course at any level: even if you feel lost, we will find you! :-)19:12
francescomI'm ready19:12
blfgomesdone19:13
didrocks(let's wait for few seconds too ;))19:13
didrocksok, let's say that the others are too shy :) Let's get into the source package: cd gnome-terminal-2.26.019:14
Pollywogk I am ready too19:14
didrocksTo check if new release is available, if a debian/watch file is present, we just have to use: uscan --report --verbose.19:14
didrocksThe output should be something like this: http://paste.ubuntu.com/151393/. You can see there that a new version is available and corresponds to 2.26.1.19:14
didrockseveryone has something similar to the pastebin?19:15
Pollywogy19:15
Pollywogyes19:15
francescomyes, me too19:16
TheMadBeaveryup19:16
didrocksExcited by this new version? \o/ Let's get the new upstream code using uscan! This command just download the new archive, and extract its contents, whith the debian/ubuntu changes applied!19:16
didrocksso, just executes uscan this time, with no option :)19:16
Pollywogit is getting it19:17
didrocksThe output of the command is telling us that we have to do a "cd ../gnome-terminal-2.26.1" to get into the new package, let's do it (http://paste.ubuntu.com/151399/).19:17
didrocks(yes, you can see that I prepared most of the lesson yesterday ;))19:18
francescomdone19:18
Pollywogdone19:18
TheMadBeaverdone19:18
didrocksEasy, isn't it? Well, when the debian diff doesn't apply because of inline patch, it's getting more difficult, but most of packages are in good shape and every debian difference from vanilla version are in debian/ directory.19:18
blfgomesdidrocks: what does it do under the hood to apply the diff?19:19
didrocksblfgomes: it's downloading the vanilla tar file,19:19
didrocksthen, trying to apply ../gnome-terminal-2.26.0.diff.gz diff file19:19
didrocks(this file contains the debian diff)19:19
blfgomesand that's all?19:20
didrocksexactly :)19:20
blfgomescool19:20
didrocksit's also adding a new entry to debian/changelog19:20
didrockswe will see that later :)19:20
blfgomesok!19:20
didrocksNow begins the real packager work. We have to see what changed in upstream release reading the NEWS files (less NEWS and q to exit): http://paste.ubuntu.com/151409/19:20
Pollywogdo I need to apply a patch?19:20
Pollywogor was it done for me?19:20
blfgomesit was done for you19:21
didrocksPollywog: it was done for you19:21
Pollywogk19:21
didrocksPollywog: seing the debian/ directory?19:21
didrocksseeing*19:21
Pollywogyes19:21
didrocksthis folder typically contains the changes from upstream to ubuntu :)19:21
didrocksThis is mostly a bugfix release. We will see later what have been fixed. Now, let's discover what changed in configure.{ac,in} file: diff -Nup ../gnome-terminal-2.26.0/configure.ac configure.ac19:22
didrocksYou will get http://paste.ubuntu.com/151411/19:22
didrockshere are the changes from previous version to the last release19:22
didrocksWhat is important in it? m4_define([gt_version_micro] change from 0 to 1 is to tell that a new version is available (2.26.0 to 2.26.1). That's just tell that upstream does a good job.19:23
didrocksIf it's not present, there is for librairies something like SHVER variable that you have to change in debian/rules. In every cases, it's good to give a look at debian/rules to see if the version number is present or not.19:23
didrocksOk for everyone?19:23
blfgomesyes19:23
francescomdidrocks: how do you know that only that file is changed?19:24
didrocksfrancescom: no, I didn't say that :)19:24
didrocksI just say that we have to look at this file, it's different :)19:24
francescomdidrocks: ok thanks19:24
didrockswe will see why just after (all important changes for us are there)19:24
didrocksok for everyone, can we go on?19:25
Pollywogyes19:25
TheMadBeaverok19:25
padawanyes, following19:25
didrocksWhat is most important here is the GTK_REQUIRED and VTE_REQUIRED change. That means that we have to bump the dependencies version request of the package (it will request now 2.14.0 for gtk and 0.20.0 for vte librairies). This has to be changed in debian/control.in (or debian/control if there is not control.in file).19:25
didrocksYou can edit it with your prefered tool (vim ROCKS \o/) and change libgtk2.0-dev (>= 2.13.6) and libvte-dev (>= 1:0.19.1) to libgtk2.0-dev (>= 2.14.0) and libvte-dev (>= 1:0.20.0).19:26
blfgomesdidrocks: what's the difference between control.in and control?19:26
didrocksblfgomes: control.in will generate control file. It just contains some automatisation ($GNOME-TEAM is remplaced by the team in charge, it also list the last uploaders of the package…)19:27
blfgomesok19:29
didrocksSo then, as there is a debian/control.in file, we have to generate a new debian/control file from it. This is proceed by executing: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean19:29
Pollywogfrom which directory is that done?19:29
didrocksPollywog: from the source package one. You should list the debian/ folder from it19:30
slytherindidrocks: won't control file generate automatically when you do debuild -S (I don't have source right now).19:30
didrocksPollywog: basically gnome-terminal-2.26.119:30
Pollywogk19:30
Pollywogdone19:30
didrocksslytherin: most of the time, yes, when using bzr, it's good to generate it before19:30
didrocks(because you will commit the previous revision)19:31
didrocksFinally, inform of your change! dch -a and add to the file so that it will look like: http://paste.ubuntu.com/151422/. You see that the so kind uscan command has automatically created "gnome-terminal (2.26.1-0ubuntu1) jaunty; urgency=low" for us.19:31
didrockstell me when it's done :)19:32
Pollywogdone19:32
didrocks(this diff files between old and new configure.in files can also tell us from added/removed dependencies btw. There is no black magic there :D)19:33
didrockswe lost everyone but Pollywog? :)19:34
Railwe are here :)19:34
didrocksgreat o/19:34
didrocksOk, now that build dependencies are ok, we have to see if ubuntu/debian patches still apply to the new version. The what-patch commands tells us that this package use cdbs. Let's try using cdbs-edit-patch debian/patches/99_autoreconf.patch (the last patch in the queue).19:34
include_prwere here19:34
didrocksWe exited in error in the debian/patches/30_honour_point_pixel_sizes.patch (http://paste.ubuntu.com/151427/).19:35
didrocksThat can means two things: either upstream has integrated the patch (or we took previously the patch from upstream svn), or that the code has been slightely modified and we can't apply it easily.19:35
didrocksmean*19:35
didrocksLooking at debian/changelog has to be the first thing to do: http://paste.ubuntu.com/151431/19:36
didrocksIn this case, we see a bug report LP: #345189 associated to the patch. Looking at it (https://bugs.launchpad.net/bugs/345189), we deduce that the change is present upstream, looking at the Fix Released next to "gnome-terminal" upstream task.19:36
didrocksConsequently, we can safely remove the patch, "rm debian/patches/30_honour_point_pixel_sizes.patch".19:36
blfgomesquestion: should we always apply the last patch first?19:37
didrocksblfgomes: no, but it's a good way to lost the less time as possible :)19:37
didrocksyou can apply them one by one19:37
PollywogI thought patches had to be applied in the order they were issued19:37
didrocksbut if you apply the last one, it will try to apply all the others before, in alphabetical order (for cdbs, quilt is quite different)19:37
Pollywogissued > released19:38
didrocksso, you know if it crashed or not19:38
blfgomesoh, alright19:38
didrocksPollywog: when you apply the last patch in alphanumerical order with cdbs, it applies every others patches before19:38
Pollywogoic19:38
Pollywogdidn't know that19:38
didrocksthat's why when applying 99_… it first failed on 30_… :)19:38
didrocksSo, here, patch is integrated upstream. That's why we removed it. If it wasn't the case and the cause was that upstream changed slightely its code, we had to cdbs ....patch and adapt it to make it apply again.19:39
didrocksThat's why we have always to report our patch upstream (appart from specific ubuntu ones) :)19:40
didrocksit's good for them, less work for us, everyone wins \o/19:40
didrocksOk, bring this information to debian/changelog: dch -a and report the change to make it look like that: http://paste.ubuntu.com/151442/19:40
didrockstell me when it's ok :)19:41
PollywogI will have to come back to it later... ready19:41
blfgomesdone19:41
didrocksOk! Let's go on with next patch: $ cdbs-edit-patch debian/patches/99_autoreconf.patch again.19:42
didrocksThe last patch doesn't apply /o\19:42
didrocksThat's pretty normal: autotools/autoconf/autoreconf patch are different from others patches. They basically consist of generating configure scripts from configure.in, makefile.in one (like debian/control.in that generates debian/control file) and have to use generally the last revision of libtool to generate them19:43
didrocksWe have to exit first, without updating the patch: "exit 1"19:43
Pollywogare you in a chroot?19:44
PollywogI do not understand the exit 119:44
fenris-6 out of 478 hunks FAILED -- saving rejects to file configure.rej19:44
didrocksfenris-: yes, that's why I told it failed19:44
didrocksPollywog: cdbs-edit-patch basically copy your files and drop you in a subshell19:45
Pollywogoh19:45
didrockswhen exiting, it will diff /tmp/old /tmp/new > patch19:45
Pollywogic19:45
didrocks(exiting with 0, if you exit in error, like exit 1, it will change nothing)19:46
didrockslet me seek for a good introduciton about19:46
didrocksintroduction*19:46
didrockspatch system19:46
fenris-so : exit 1  ?19:46
didrocksPollywog: https://wiki.ubuntu.com/MeetingLogs/devweek0809/PackagePatches19:46
didrocksfenris-: as just told previously, "exit 1" prevent from refreshing the patch19:47
didrocksas it failed19:47
didrockswe will regenerate the patch from scratch19:47
didrocksthis only work for this package with a jaunty box unfortunately (you need to have the last libtool version)19:47
Pollywogty19:47
didrocksbut I pastebin the result, so, you can follow19:48
didrocksand as it is the last, but not least step, I have to show you this :)19:48
didrocksso, what you can do, is to remove the patch: "rm debian/patches/99_autoreconf.patch"19:48
didrocksFinally, $ "cdbs-edit-patch debian/patches/99_autoreconf.patch"19:48
didrocks(it again drop you to a subshell)19:48
didrocksand to generate the configure and makefiles: autoreconf19:49
didrocksso, this takes Makefile.in to create Makfile, configure.in to create configure, and so on…19:49
didrocksOnce done (ignore the warnings), exit 0 to refresh the patch and document the change: dch -a to get http://paste.ubuntu.com/151449/19:49
didrocksWe have almost finished: every patches applies and build-dependencies are ok. Normally, you testbuild at this stage, but we won't do it as we are running out of time and not everybody has been abled to do the previous steps19:50
Pollywogk19:50
didrocksOnce done, a good practice is to put changes from the upstream NEWS file in the changelog. So, get the changes following the given link in the NEWS file and report it to the changelog. Extra bonus point is given if you look at LP bugs corresponding to upstream correction and list them.19:51
didrocksIf this time-consuming work is well done, you will get this: http://paste.ubuntu.com/151454/19:51
didrocksYou can take a breath now! You have your new package updated! Think about testing it throughly and everything will be all right.19:51
didrocksNow, rooms for remaining questions , just fire up! :)19:51
e-jatsorry .. dc ..19:51
e-jatdidrocks: after exit 119:51
didrockse-jat: yes ?19:51
didrockse-jat: if you have a jaunty box, you can do:19:52
didrocks- rm debian/patches/99_autoreconf.patch19:52
didrocks- cdbs-edit-patch debian/patches/99_autoreconf.patch19:52
didrocks- autoreconf19:52
didrocks- exit 019:52
padawanI followed _some_ of this, thanks for your time and sharing wisdom Didier19:52
didrocksyou will generate a new autoreconf patch19:52
PollywogI have the logs to go over and the links you gave19:53
didrocksit was a please padawan. Take some time to look at basics for packaging first, hope you can refer to this afterwards :)19:53
padawanwilldo, see you all soon, gnight19:53
didrockspastebin are not removed generally19:53
didrocksbut be aware that few times after jaunty is out, this update 2.26.1 for gnome-terminal will be available19:54
blfgomesdidrocks: could you point us to a autoreconf/configuration files tutorial?19:54
didrocksso, apt-get source gnome-terminal will download 2.26.1 :)19:54
didrocksblfgomes: here is a great lesson about autools: http://www.lrde.epita.fr/~adl/autotools.html19:54
PollywogI thought it downloaded an older version19:54
didrocksautotools* sorry19:54
Raildidrocks: updating from upstream is OK, what about syncing from Debian?19:55
didrocksPollywog: yes, but when jaunty will be out, one of the first SRU will be this update :)19:55
Pollywogoic19:55
e-jatdidrocks: after exit 0 ?19:55
PollywogI understand now19:55
didrocksRail: it all depends on the "project"19:55
blfgomesdidrocks: thanks!19:55
didrockse-jat: just update the changelog19:55
didrockse-jat: logs will be available soon :)19:55
didrocksRail: in desktop team, generally19:55
didrocksas we are in advance from debian, why pushed changes back to debian with alioth svn19:56
didrocks(removing specific ubuntu changes)19:56
e-jatchangelog in which folder ? debian @ gnome-terminal ?19:56
didrockse-jat: debian/changelog19:56
Pollywogis alioth a PPA for Debian?19:57
didrocks(one sec)19:57
didrockse-jat: http://paste.ubuntu.com/152293/19:57
slytherinPollywog: nope, it is the service where many teams from Debian maintain the packaging bits in version control systems (svn).19:57
Pollywogoic19:58
didrocksthanks slytherin ;)19:58
francescomdidrocks: thank you19:58
didrocksPollywog: some non debian developper can gain commit access to this svn19:58
Pollywogic19:58
blfgomesone last question: why hasn't gnome-terminal been frozen yet?19:58
didrocksblfgomes: gnome-terminal is frozen19:59
didrockswe are at 2.26.0 in jaunty19:59
blfgomesbut you said there will be a 2.26.119:59
blfgomesin jaunty19:59
didrocksyou can see my pending request there : https://bugs.edge.launchpad.net/ubuntu/+source/gnome-terminal/+bug/36105319:59
slytherinblfgomes: most of the gnome packages have standing freeze exception. when I say gnome packages it means the ones identified as official modules of gnome.20:00
didrocksyes, once jaunty released, as GNOME 2.26.1 is mostly a bug fix, there is an exception for it20:00
didrockswe update it through SRU process20:00
blfgomesso, that would be a case of cherrypicking20:00
didrocksblfgomes: the changes between 2.26.0 and 2.26.1 is really tight20:00
didrocksmost of packages have only translation update, for instance20:01
didrocksthis one, bumping dependencies is really exceptional20:01
didrocksbut as it was a real good example to see a lot of things, I choose it as a candidate for this lesson :)20:01
didrocksdependency changes, patches that doesn't apply \o/20:02
blfgomes:)20:02
didrockswell, more questions or everything is clear in everyone's mind? :)20:02
didrocks(practice and you will learn :))20:03
Pollywogdidrocks: thanks for the presentation20:03
e-jat:)20:03
e-jatthanks didrocks20:03
didrocksagain, thanks to all the attendees :)20:03
blfgomesdidrocks: thank you, it was really great!20:03
Raildidrocks: tnanks!20:03
didrockshave a nice day/evening/night everyone ;)20:03
e-jatnite ...20:04
didrocksnext session for those interested will be "Package testing: piuparts and VMs" by dtchen. The 23rd April, 00:00 UTC.20:06
kklimondadamn, so late? :/20:07
GunbladeIVkklimonda, yup :)20:08
didrockskklimonda: yes, for me it will be 2 AM :)20:08
kklimondaoh well, there are always logs :)20:10
gtomydidrocks: thank you for your time!:)20:11
philipdate -u20:40
AKIDAf21:33
=== GunbladeIV is now known as GunbladeIV-
milesevdzaa22:29
* miles rawr22:30
thaishi22:58
\mSggreetings23:04
JCque tal23:35

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