kjaer | What would you like to edit ? | 12:09 |
---|---|---|
sahafeez | https://help.ubuntu.com/community/LDAP-Samba_PDC_%28for_Linux_and_Windows%29#preview | 12:10 |
sahafeez | they forget a few little things, like make sure php is enabled ;) | 12:10 |
kjaer | That should definatly be added to the article. | 12:11 |
sahafeez | ok, doing it now | 12:11 |
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server | ||
sahafeez | ok, is it just me or does that doc above seem to require you to have a root user setup | 12:32 |
=== slackwarelife [n=slackwar@host93-116-dynamic.56-82-r.retail.telecomitalia.it] has joined #ubuntu-server | ||
sahafeez | ok, i just did something really dumb. i nuked my /etc/group file. | 01:10 |
sahafeez | can anyone pastbin theirs to me less the users. | 01:11 |
Nafallo | hmm | 02:23 |
Nafallo | I should have looked here earlier and mentioned group- :-P | 02:23 |
=== stratus [n=stratus@201.53.55.52] has joined #ubuntu-server | ||
=== r00tintheb0x [n=r00tinth@cpe-24-175-105-194.houston.res.rr.com] has joined #ubuntu-server | ||
=== bigredradio [n=bigredra@ip68-8-158-81.sd.sd.cox.net] has joined #ubuntu-server | ||
bigredradio | I'm trying to setup postfix thru webmin. It appears postqueue -p is hanging. Anyone run into this problem? | 05:46 |
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server | ||
=== ivoks [n=ivoks@17-103.dsl.iskon.hr] has joined #ubuntu-server | ||
=== h4wk0 [n=h4wk@84.13.246.109] has joined #ubuntu-server | ||
=== h4wk0 [n=h4wk@84.13.246.109] has joined #ubuntu-server | ||
=== [miles] [n=miles@bcn1.entorno.es] has joined #ubuntu-server | ||
=== vciaglia [n=vciaglia@host149-37-dynamic.10-87-r.retail.telecomitalia.it] has joined #ubuntu-server | ||
=== ||arifaX [n=||arifaX@inetpop1.witron.de] has joined #ubuntu-server | ||
=== [miles] [n=miles@bcn1.entorno.es] has joined #ubuntu-server | ||
=== ra1nb0w [n=ra1nb0w@host189-161-dynamic.56-82-r.retail.telecomitalia.it] has joined #ubuntu-server | ||
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-server | ||
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-server | ||
=== Kamping_Kaiser [n=kgoetz@gnewsense/friend/kgoetz] has joined #ubuntu-server | ||
=== TeTeT [n=spindler@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-server | ||
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-server | ||
=== Skaag [n=skaag@80.179.151.50] has joined #ubuntu-server | ||
Skaag | i've installed mysql-server-5 in my ubuntu server, and I told it to bind to all interfaces | 01:36 |
Skaag | but my other servers can't connect to it | 01:36 |
Skaag | any ideas? | 01:36 |
Nafallo | netstat -ltn | grep whatportmysqluses... | 01:38 |
Skaag | tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN | 01:38 |
Nafallo | Skaag: firewall? | 01:38 |
ivoks | so, you can telnet to 3306? | 01:38 |
Skaag | yes I can telnet and telnet connects | 01:38 |
Skaag | no firewalls | 01:39 |
ivoks | did you set up a user to be able to conect from other hosts? | 01:39 |
Nafallo | well, I use psql, so have no idea :-) | 01:39 |
Skaag | yes | 01:39 |
Skaag | actually! | 01:39 |
Skaag | ssh to that host does not work as well | 01:39 |
ivoks | not ssh | 01:39 |
ivoks | mysql user | 01:39 |
Skaag | so this now seems more like a general problem | 01:39 |
Skaag | yes there is a mysql user | 01:40 |
Skaag | darkstar is my new ubuntu-server machine | 01:40 |
ivoks | Skaag: does that user has % or localhost for host? | 01:40 |
Skaag | fry can not connect to darkstar | 01:40 |
Skaag | it has % | 01:40 |
Skaag | (any host should be able to connect) | 01:40 |
ivoks | oh, you said ssh doesn't work also... | 01:41 |
Skaag | yes | 01:41 |
Skaag | they are on the same switch | 01:41 |
Skaag | and there is no firewall | 01:41 |
ivoks | network problem? can you access to you network from that computer? | 01:41 |
Skaag | must be some networking issue | 01:41 |
ivoks | (ubuntu doesn't have ssh service by default) | 01:41 |
Skaag | the world can access both computers, and both can access the world | 01:41 |
Skaag | but not each other | 01:41 |
Skaag | I installed openssh-server | 01:41 |
ivoks | netmask? | 01:41 |
ivoks | can you ping/traceroute/nmap other host? | 01:42 |
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server | ||
Skaag | PING google.com (64.233.167.99) 56(84) bytes of data. | 01:48 |
Skaag | 64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=1 ttl=238 time=171 ms | 01:48 |
Skaag | this is for darkstar: inet addr:80.179.151.1 Bcast:80.179.151.255 Mask:255.255.255.0 | 01:49 |
ivoks | not google | 01:50 |
ivoks | other host | 01:50 |
Skaag | and this is for fry: inet addr:80.179.151.50 Bcast:80.255.255.255 Mask:255.255.255.0 | 01:50 |
ivoks | fry/darkstar | 01:50 |
Skaag | nmap from .50 to .1 correctly lists the open services | 01:50 |
ivoks | Bcast:80.255.255.255 - are you sure you want this?! :) | 01:50 |
Skaag | probably the problem then! | 01:50 |
ivoks | probably not, but still a bad idea | 01:50 |
=== dj-fu [i=aj@home.junglist.gen.nz] has joined #ubuntu-server | ||
=== joejaxx [i=joejaxx@fluxbuntu/founder/joejaxx] has joined #ubuntu-server | ||
ivoks | i guess it worked | 02:04 |
Kamping_Kaiser | when running fsck.ext3, is fsck.ext3 -fcvF a good thing to run? | 02:05 |
ivoks | well... | 02:08 |
ivoks | i don't see what harm it can do | 02:09 |
ivoks | except -f | 02:09 |
ivoks | don't fsck mounted volume | 02:09 |
Kamping_Kaiser | i ran with -D and was going 26 hours later, so i thought i'd check | 02:09 |
ivoks | heh | 02:09 |
ivoks | anyway... have a good day :) | 02:10 |
=== mzungu [n=mzungu@uu-041-207-070-172.africaonline.co.ke] has joined #ubuntu-server | ||
=== vciaglia [n=vciaglia@193.205.162.6] has joined #ubuntu-server | ||
=== vciaglia [n=vciaglia@193.205.162.6] has left #ubuntu-server [] | ||
=== Skaag [n=skaag@80.179.151.50] has joined #ubuntu-server | ||
Skaag | i'm back | 02:41 |
Skaag | buggery...! | 02:41 |
Skaag | ok so it was not a problem with the broadcast | 02:44 |
Skaag | I still can not connect from 80.179.151.2-255 -> 80.179.151.1 | 02:44 |
Skaag | or the other way around | 02:44 |
dj-fu | lol | 02:45 |
dj-fu | learn2netowrk | 02:45 |
Skaag | teach me oh master | 02:46 |
Skaag | 80.179.151.1 : eth0 = 212.199.212.220 (external nic) | 02:46 |
Skaag | the 80.179.151.1 is on eth1 and is an internal nic | 02:46 |
Skaag | ip_forward = 1 | 02:46 |
Skaag | and it works - hosts in the 80.179.151.1/24 network can access the internet, and be accessed | 02:46 |
Skaag | but they can not connect to 80.179.151.1 to services | 02:47 |
dj-fu | is it natted? | 02:47 |
dj-fu | what kind of network are you tryin to setup? | 02:47 |
Skaag | it's not natted | 02:48 |
Skaag | 80.179.151.x is a real network, routed through 212.199.212.220 | 02:48 |
dj-fu | ah | 02:48 |
dj-fu | acls, firewalling? | 02:48 |
Skaag | no firewall | 02:49 |
Skaag | no acls | 02:49 |
Skaag | I can ssh from the world to 80.179.151.1 | 02:49 |
Skaag | but not from the network | 02:49 |
Skaag | the network can also be ssh'd into | 02:49 |
Skaag | it's just between my ubuntu server and the rest of the boxes on that network | 02:50 |
dj-fu | checked your configure for netmask/network/broadcast settings? | 02:50 |
dj-fu | configuration* | 02:50 |
Skaag | yes they seem fine, I will show them here: | 02:50 |
Skaag | inet addr:80.179.151.1 Bcast:80.179.151.255 Mask:255.255.255.0 | 02:50 |
Skaag | this is for my ubuntu-server box | 02:50 |
Skaag | inet addr:80.179.151.50 Bcast:80.179.151.255 Mask:255.255.255.0 | 02:51 |
Skaag | this is for one of the other boxes | 02:51 |
dj-fu | and network address? configured that? | 02:52 |
dj-fu | nopaste your /etc/network/interfaces | 02:52 |
Skaag | ok | 02:53 |
Skaag | what's a paste server you prefer? | 02:53 |
mzungu | sorry guys - just to jump in - you have a whole class 'c' range? | 02:54 |
Skaag | yes | 02:54 |
mzungu | your mask is for 256 addys | 02:54 |
Kamping_Kaiser | /24 | 02:54 |
mzungu | lucky you! | 02:54 |
Skaag | yep | 02:54 |
Skaag | why? | 02:54 |
mzungu | sorry for interupting | 02:54 |
Skaag | that's ok | 02:54 |
mzungu | i thought that was possibly the mistake | 02:55 |
dj-fu | Skaag: rafb.net/paste is fine | 02:56 |
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server | ||
Skaag | http://rafb.net/p/nVMVNY78.html | 03:10 |
Skaag | two files in there | 03:11 |
Skaag | top one is the gateway | 03:11 |
=== ivoks [n=ivoks@38-51.dsl.iskon.hr] has joined #ubuntu-server | ||
dj-fu | Skaag: put network 80.179.151.0 | 03:19 |
dj-fu | in the client configuration at the bottom there | 03:19 |
Skaag | and broadcast? | 03:20 |
ivoks | still network problems? | 03:20 |
ivoks | network 80.179.151.0 | 03:20 |
Skaag | yah | 03:20 |
ivoks | broadcast 80.179.151.255 | 03:20 |
ivoks | netmask 255.255.255.0 | 03:20 |
Skaag | how do I apply this without rebooting the box? | 03:21 |
ivoks | /etc/init.d/networking restart | 03:21 |
Skaag | will it disconnect me? | 03:24 |
Skaag | ok it did not disconnect me | 03:24 |
Skaag | now what? | 03:25 |
ivoks | check status with ifconfig | 03:25 |
Skaag | looks mostly the same | 03:26 |
Skaag | the client can connect to other clients on the network, by the way | 03:26 |
Skaag | also, it used to be able to connect to this machine before it became an ubuntu-server | 03:26 |
ivoks | so, from other machine you can see open ports on ubuntu server? | 03:28 |
Skaag | yes if I nmap it | 03:28 |
Skaag | if I do networking restart on the ubuntu-server it tells me this: | 03:28 |
Skaag | * Reconfiguring network interfaces... | 03:28 |
Skaag | SIOCSIFFLAGS: Cannot assign requested address | 03:28 |
Skaag | SIOCSIFFLAGS: Cannot assign requested address | 03:28 |
Skaag | ...done | 03:28 |
Skaag | I think it does this for the eth1:5 and eth1:6 entries I have in there | 03:28 |
ivoks | Skaag: ok, so you can see open ports on ubuntu-server | 03:29 |
Skaag | and in dmesg, related to this, I get this: | 03:29 |
Skaag | [157270.606962] eth0: no IPv6 routers present | 03:29 |
Skaag | [157270.756498] eth1: no IPv6 routers present | 03:29 |
ivoks | Skaag: did you try telneting to those ports? | 03:29 |
Skaag | yah I can see the ports are open | 03:29 |
Skaag | yes, I can telnet but no communication occures | 03:29 |
ivoks | i see... | 03:30 |
Skaag | it accepts the connection and then drops it | 03:30 |
ivoks | could you comment out all other connections except the one you are trying to connect | 03:30 |
ivoks | ie dsiable eth1:x | 03:30 |
ivoks | and leave only eth1 | 03:30 |
Skaag | that will stop my mail services :-( | 03:31 |
ivoks | ok | 03:33 |
ivoks | could you then add output of ifconfig somewhere so i could take a look at it? | 03:33 |
Skaag | sure | 03:34 |
Skaag | http://rafb.net/p/HfNufi56.html | 03:35 |
ivoks | and which address doesn't work? | 03:36 |
ivoks | eth1:5? | 03:36 |
Skaag | any of them, from the network | 03:38 |
ivoks | and output of route -n is...? :) | 03:39 |
Skaag | route -n: | 03:46 |
Skaag | http://rafb.net/p/peGt1F12.html | 03:46 |
ivoks | i guess none of your servers trying to connect to ubuntu is on .60-.65 | 03:48 |
Skaag | no | 03:49 |
ivoks | this looks ok... | 03:49 |
ivoks | well... tcpdump? | 03:49 |
Skaag | ok | 03:49 |
Skaag | ok I used netcat | 03:50 |
Skaag | nc -l -p 70 | 03:50 |
Skaag | I then connected from fry -> darkstar | 03:50 |
Skaag | I type test on fry, I see it in darkstar! | 03:51 |
Skaag | I type ACK on darkstar, I do not see it on fry! | 03:51 |
ivoks | firewall, must be | 03:51 |
Skaag | there are the only rules in the FW: | 03:52 |
Skaag | Chain FORWARD (policy ACCEPT) | 03:52 |
Skaag | target prot opt source destination | 03:52 |
Skaag | DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:445 | 03:52 |
Skaag | DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:16536 | 03:52 |
Skaag | the other chains are ACCEPT and empty | 03:52 |
ivoks | this is forward, nothing to do with your problem | 03:52 |
ivoks | and on that non-ubuntu server? | 03:52 |
Skaag | there the FW is completely empty | 03:53 |
Skaag | and all on ACCEPT policy | 03:53 |
[miles] | guys, anyone with a large quanity of spam in one mbox? | 03:54 |
Skaag | I use Maildir | 03:54 |
Skaag | no mbox here | 03:54 |
ivoks | Skaag: could you upload your /etc/network/interfaces? | 03:54 |
ivoks | [miles] : i had, but killed it very nicely | 03:54 |
[miles] | lol | 03:54 |
[miles] | I've just setup a pyzor server | 03:55 |
Skaag | http://rafb.net/p/nVMVNY78.html | 03:55 |
[miles] | but I need submitters of hashes to it | 03:55 |
ivoks | i do it with postgrey | 03:55 |
Skaag | [miles] : I will be happy to help! I do have tons of spam somewhere | 03:55 |
[miles] | ok | 03:56 |
[miles] | In exchage, u can clear via the server if u wish | 03:56 |
[miles] | one moment | 03:56 |
ivoks | ubuntu is gateway? | 03:56 |
[miles] | ... | 03:56 |
Skaag | yes | 03:56 |
Skaag | clear? | 03:56 |
Skaag | ivoks: yes the gateway is the ubuntu-server | 03:57 |
Skaag | [miles] : let me know how to set it up | 03:57 |
[miles] | ok, back | 03:57 |
[miles] | Skaag: just do a simple : sudo apt-get install pyzor | 03:58 |
Skaag | I already have pyzor | 03:58 |
[miles] | ah | 03:58 |
[miles] | ok | 03:58 |
[miles] | well | 03:58 |
ivoks | Skaag: add network 80.179.151.0 to all your eth1* | 03:58 |
[miles] | do everything as normal user yeah | 03:58 |
Skaag | ivoks: ok sec | 03:58 |
[miles] | mkdir ~/.pyzor | 03:58 |
[miles] | then create a file called ~/.pyzor/servers | 03:58 |
ivoks | Skaag: and broadcast 80.179.151.255 | 03:58 |
[miles] | and put in it | 03:59 |
[miles] | 195.77.190.21:24441 | 03:59 |
[miles] | then do a | 03:59 |
[miles] | pyzor ping | 03:59 |
[miles] | and tell me the response | 03:59 |
[miles] | 1178200907,Thu May 3 16:01:47 2007,anonymous,212.199.xxx.xxxx,ping,'',200 | 04:02 |
[miles] | ok | 04:02 |
[miles] | cool | 04:02 |
[miles] | jeje | 04:02 |
Skaag | miles: | 04:02 |
Skaag | 66.250.40.33:24441 (200, 'OK') | 04:02 |
Skaag | 195.77.190.21:24441 (200, 'OK') | 04:02 |
[miles] | perfect | 04:02 |
[miles] | right, Skaag I'm gonna add authentification to it shortly | 04:02 |
Skaag | [miles] : you want to join forces on a project I am doing called DoNotPost.com? :) | 04:02 |
[miles] | but ftm, it's open ok | 04:02 |
[miles] | Skaag: tell me about it | 04:03 |
Skaag | ok the idea is that on the web page for that project, javascript produces a SHA-1 of your email address | 04:03 |
Skaag | so we never really keep email addresses of people | 04:03 |
Skaag | to this SHA-1 + password, you keep "bits" | 04:03 |
[miles] | k | 04:04 |
Skaag | such as: age below 18, age below 16, no spam at all, no pills, no pharma, no casino, etc. | 04:04 |
Skaag | then telemarketers can consult us with SHA-1's and get those bits | 04:04 |
Skaag | not really get, just ask the status of a specific bit | 04:04 |
ivoks | and spam whole world? :) | 04:04 |
Skaag | well, look at it this way..: | 04:05 |
[miles] | lol | 04:05 |
Skaag | they ALREADY have your email! | 04:05 |
=== [miles] head is spinning | ||
Skaag | at least if they come and ask, they might not email you | 04:05 |
ivoks | maybe, but i don't get spam | 04:05 |
Skaag | because they don't want complaints | 04:05 |
Skaag | you'r right, I don't get spam either :-) | 04:05 |
[miles] | Skaag: this is your company, NSA? | 04:05 |
Skaag | spamassasin, pyzor, and fuzzyocr are doing a great job | 04:05 |
Skaag | yes | 04:05 |
=== ivoks will stop helping you :) | ||
[miles] | Skaag: ok, 1st... lets try this server | 04:06 |
Skaag | ivoks: why? :) | 04:06 |
[miles] | Skaag: jeje, cos I must test it out... also, I'm not the owner of the company I work for.. just a SA and programmer | 04:07 |
[miles] | Skaag: but they're very very open to all my sugestions | 04:07 |
[miles] | Skaag: you have SA and a box full of spam? | 04:07 |
=== ivoks thinks spamers are worst than pedofils :) | ||
ivoks | so anyone helping them is spamer too | 04:07 |
ivoks | :D | 04:07 |
Skaag | I have the domain for a long time | 04:07 |
Skaag | I bought it around the time the US presented the DoNotCall law & program, remember that? | 04:08 |
Skaag | but I never really did anything with it | 04:08 |
[miles] | Skaag: can you do a report on your spam, and it should automatically report to my server | 04:08 |
Skaag | how do I do that? | 04:08 |
[miles] | Skaag: ok, you have an IMAP folder or mbox? | 04:08 |
Skaag | a Maildir folder | 04:09 |
[miles] | Skaag: the messages are in indervidual files? | 04:09 |
Skaag | with lots of email files in it | 04:09 |
[miles] | ok | 04:09 |
Skaag | yah individual files. | 04:09 |
[miles] | try this: | 04:09 |
[miles] | pyzor report </some/file | 04:09 |
Skaag | done | 04:10 |
[miles] | yep | 04:10 |
[miles] | worked | 04:10 |
[miles] | so | 04:10 |
Skaag | that's real spam | 04:10 |
[miles] | ok, now | 04:10 |
[miles] | if you have a folder full of it | 04:10 |
[miles] | do that for all the messages | 04:11 |
[miles] | u know I only get the hash yeah... | 04:11 |
[miles] | not the email | 04:11 |
Skaag | yah it's spam anyway who cares :) | 04:11 |
[miles] | ok, now to confirm it registered in our DB | 04:11 |
[miles] | with the same message, do: | 04:12 |
[miles] | pyzor check </that/file | 04:12 |
[miles] | Skaag: I'm just gonna run out to take a coffee.... I'll be back shortly ok | 04:14 |
Skaag | i'm going to report all my files | 04:14 |
[miles] | to my server? | 04:14 |
Skaag | yah | 04:14 |
[miles] | Skaag: ok, thank you | 04:15 |
[miles] | Skaag: can I query u when I come back? | 04:15 |
Skaag | 66.250.40.33:24441 (200, 'OK') 1 0 | 04:15 |
Skaag | 195.77.190.21:24441 (200, 'OK') 1 0 | 04:15 |
Skaag | what does this mean? | 04:15 |
[miles] | that means it registered in both servers | 04:15 |
[miles] | the message | 04:15 |
Skaag | sure man and my email is skaag@skaag.net if you ever need any help with this! | 04:15 |
Skaag | in case i'm not here when you'r back | 04:15 |
[miles] | ok nice | 04:15 |
[miles] | lionel: dude, wake up and read above :P | 04:16 |
[miles] | lionel: bonjour ;) | 04:16 |
lionel | hi ! | 04:16 |
lionel | I just arrived in from of my computer :) | 04:16 |
lionel | let me read :) | 04:16 |
=== kupesoft [n=dave@CPE00119583e9ae-CM0013718cb08a.cpe.net.cable.rogers.com] has joined #ubuntu-server | ||
lionel | [miles] : what I should see ? | 04:18 |
=== [miles] is now known as alive_and_k!ck!ng | ||
Skaag | he's gone to drink | 04:25 |
[miles] | lionel: you doing much anti spam fighting up there north of me | 04:25 |
Skaag | ah back | 04:25 |
[miles] | ayeeeee | 04:25 |
[miles] | Skaag: did you do reporting? | 04:25 |
lionel | I use amavis-new for antispam | 04:26 |
lionel | with pyzor, razor, spamassassi | 04:26 |
[miles] | ah ok | 04:26 |
[miles] | lionel: I've setup a pyzor server | 04:26 |
[miles] | lionel: I'm in need of hashes | 04:26 |
[miles] | lionel: of known spam tho | 04:27 |
Skaag | [miles] : do you see me reporting now? | 04:27 |
lionel | [miles] : I may have some :) | 04:27 |
[miles] | Skaag: no | 04:28 |
Skaag | [miles] : help me out, I did this but it wait for something: | 04:28 |
Skaag | find . -type f -exec pyzor report < '{}' ; | 04:28 |
[miles] | find . -type f -exec pyzor report < {} \; | 04:28 |
Skaag | ah without the ticks.. | 04:28 |
Skaag | bash: {}: No such file or directory | 04:29 |
Skaag | oops sec | 04:29 |
[miles] | :-\ | 04:29 |
Skaag | no, same problem | 04:29 |
Skaag | weird one | 04:29 |
[miles] | one sec | 04:29 |
ivoks | find . -type f -exec pyzor report < {} ';' | 04:29 |
[miles] | find . -type f -exec pyzor report {} \; | 04:30 |
[miles] | Skaag: ensure that it's not finding non-email files tho! | 04:30 |
Skaag | there's only email files in that directory | 04:31 |
[miles] | k | 04:31 |
Skaag | do you see reports now? | 04:31 |
[miles] | nope | 04:31 |
Skaag | so it's not working | 04:32 |
Skaag | pyzor needs the emails piped into it I guess | 04:32 |
[miles] | Skaag: whats pyzor showing u on screen? | 04:32 |
Skaag | with < | 04:32 |
Skaag | nothing | 04:32 |
Skaag | it waits for input | 04:32 |
[miles] | :-\ | 04:32 |
Skaag | from stdin | 04:32 |
ivoks | right | 04:33 |
ivoks | find . -type f -exec echo {} | pyzor report ';' | 04:33 |
ivoks | no | 04:33 |
ivoks | find . -type f -exec cat {} | pyzor report ';' | 04:33 |
ivoks | or xargs | 04:33 |
[miles] | or try pyzor report < *.eml for example | 04:34 |
[miles] | or whatever extension they have | 04:34 |
[miles] | lionel: anything you can supply me with? | 04:36 |
lionel | I have a folder full of spam. How can I help you ? | 04:36 |
lionel | (full meaning about 2500) | 04:37 |
[miles] | ok, lionel | 04:37 |
[miles] | is it in mbox format? | 04:37 |
lionel | non, it is a maildir | 04:37 |
[miles] | you got a pyzor client installed? | 04:37 |
Skaag | why would somebody use mbox format... so dangerous... | 04:38 |
lionel | yes ! | 04:38 |
[miles] | ok, if you add 195.77.190.21:24441 | 04:38 |
[miles] | to your servers file | 04:38 |
[miles] | then do a pyzor report < file | 04:38 |
[miles] | then do a pyzor check < file | 04:38 |
[miles] | Skaag: it's still used | 04:38 |
Skaag | yah I know, too bad for the users... | 04:39 |
[miles] | nod | 04:39 |
Skaag | I remember 6 years ago I had an mbox, it got corrupted and I lost mail | 04:39 |
[miles] | jeje | 04:39 |
[miles] | Skaag: you still can't get the mail hashes sent no? | 04:40 |
Skaag | still | 04:40 |
Skaag | but just a sec. | 04:40 |
[miles] | Skaag: did u try < * | 04:40 |
lionel | [miles] : running | 04:42 |
[miles] | lionel: ok, I'll look at the logs | 04:42 |
[miles] | lionel: mmm nothing | 04:43 |
[miles] | lionel: did u do a ping? | 04:43 |
Skaag | [miles] : yah <* will never work... | 04:43 |
Skaag | lionel: what did you use to send him the hashes? | 04:43 |
[miles] | Skaag: I ain't got any off him yet | 04:44 |
lionel | [miles] : rah, it took another server... | 04:44 |
[miles] | jeje | 04:44 |
=== [miles] knows Lionel will get it sorted... guru ;) | ||
[miles] | actually, lionel if u want to check also, you can... I'll be adding auth to it shortly, but if u create a user and key, I'll add it | 04:45 |
[miles] | same goes for u Skaag | 04:45 |
[miles] | lionel: with you being not so far away, it should be quite quick | 04:45 |
lionel | when I will try why it took the bad server, it should be quick :) | 04:46 |
[miles] | ? | 04:46 |
lionel | \o/ | 04:47 |
lionel | running on your server now | 04:47 |
[miles] | ah | 04:48 |
[miles] | now | 04:48 |
[miles] | yeh, that looks a frenchish IP if ever I saw one | 04:48 |
lionel | :) | 04:48 |
[miles] | u getting any time outs? | 04:48 |
lionel | I have seen none | 04:48 |
[miles] | jaja | 04:49 |
[miles] | I am | 04:49 |
[miles] | I'm reporting atm also from a mbox | 04:49 |
[miles] | lionel: hows france today, it's pissing it down and dark here in Barcelona | 04:50 |
lionel | same here | 04:50 |
[miles] | :-| | 04:50 |
[miles] | I was thinking of going to france last weekend, just to pass a night | 04:51 |
lionel | I am thinking of going to spain next week for vacations :) | 04:51 |
[miles] | ah yeah | 04:51 |
[miles] | which part? | 04:51 |
lionel | Sevilla :) | 04:51 |
[miles] | wooo nice | 04:51 |
[miles] | very very nice indeed | 04:52 |
[miles] | fly yeah? | 04:52 |
lionel | yeah, car is tooo long | 04:52 |
[miles] | nod | 04:52 |
[miles] | very very long | 04:52 |
[miles] | takes me 5 hours from here to Alicante / Valencia border | 04:52 |
[miles] | so, sevilla.. pfff | 04:52 |
[miles] | shit man | 04:52 |
[miles] | mmmm | 04:52 |
lionel | mappy.com told me 13h :-( | 04:53 |
[miles] | 24 years, 5 months, 3 days, 2 hours and 49 minutes | 04:53 |
=== [miles] prods Skaag | ||
=== [miles] prods him a bit more | ||
=== [miles] stops prodding Skaag | ||
[miles] | what I could reallllllllly do with, is a method of importing a pure hash file.. | 04:54 |
[miles] | you can create one with pyzor | 04:54 |
[miles] | but you can't import it from what I see | 04:54 |
[miles] | much easier than all this reporting malarky | 04:54 |
[miles] | for bulk | 04:54 |
[miles] | evening spam hash drops, etc | 04:54 |
[miles] | theres the digest command | 04:55 |
Skaag | sorry i'm back | 05:00 |
Skaag | what's up | 05:00 |
[miles] | I want your hashes | 05:01 |
[miles] | jeje | 05:01 |
Skaag | ;-) | 05:01 |
Skaag | i'm checking how to do this | 05:01 |
[miles] | lionel has just completed his I think | 05:01 |
lionel | [miles] : you're right :) | 05:02 |
Skaag | how? | 05:02 |
[miles] | Skaag: I have no idea what your doing wrong | 05:04 |
[miles] | can you paste bin the dir your trying to report , a brief sample of the filenames or somthing? | 05:04 |
[miles] | lionel: thanks for the reports btw | 05:06 |
lionel | [miles] : no problem. My pleasure :) | 05:07 |
[miles] | lionel: when u come to barcelona one day, I'll buy you a drink | 05:07 |
lionel | :) | 05:09 |
[miles] | lionel: you want to genkey ? | 05:11 |
[miles] | lionel: and I'll add u as an autharized user | 05:11 |
lionel | [miles] : why not! | 05:13 |
[miles] | lol | 05:14 |
=== ivoks [n=ivoks@21-211.dsl.iskon.hr] has joined #ubuntu-server | ||
Skaag | hey ivoks | 05:36 |
ivoks | hi | 05:36 |
[miles] | any python programmers here? | 05:38 |
=== ivoks hides | ||
[miles] | ivoks: | 05:39 |
[miles] | out u come | 05:39 |
[miles] | :-) | 05:39 |
ivoks | i'm not a python programmer | 05:40 |
ivoks | i just program in python stuff i need; i don't know it very well to call my self programmer | 05:40 |
[miles] | ivoks: mmm I program also, but not in python | 05:41 |
[miles] | ivoks: not overly keen on what I see of the language to be honest | 05:41 |
[miles] | ivoks: I'm trying to work out what parts of a email pyzor digests, and what it does not | 05:42 |
ivoks | no, i will not download pyzor source :) | 05:43 |
=== [miles] ssh's into ivoks box and wgets it | ||
[miles] | damn predigest command fails | 05:43 |
[miles] | on both my build, and ubuntu servers build | 05:44 |
ivoks | ok, i downloaded | 05:44 |
ivoks | so, what's on your mind? | 05:44 |
[miles] | ivoks: well | 05:44 |
[miles] | ivoks: I want to see how the hashes are created, so I can make other clients that can create the same hashes | 05:44 |
[miles] | ivoks: create a file, which I can then import into pyzor servers db | 05:45 |
ivoks | beh... | 05:45 |
ivoks | as i said, not a python programmer :) | 05:45 |
[miles] | ivoks: jeje | 05:45 |
[miles] | ivoks: me neither | 05:45 |
[miles] | ivoks: it's using sha1 | 05:45 |
[miles] | ivoks: http://pastebin.ca/469128 | 05:46 |
ivoks | ok... | 05:46 |
ivoks | it's opening /dev/random | 05:46 |
ivoks | generates salt out of it | 05:46 |
[miles] | http://milesbarry.info/COCINA.eml | 05:47 |
[miles] | ivoks: can you try pyzor predigest < COCINA.eml | 05:48 |
[miles] | please? | 05:48 |
[miles] | it *should* show the lines that have been hashed | 05:48 |
[miles] | but mine fails here as you saw | 05:48 |
ivoks | mine too | 05:49 |
[miles] | ivoks: see any reason why? | 05:50 |
[miles] | http://www.mail-archive.com/debian-qa-packages@lists.debian.org/msg17607.html | 05:51 |
[miles] | ah | 05:51 |
ivoks | there you go | 05:51 |
[miles] | mmm cunt is, I've applied other patches | 05:52 |
[miles] | :-\ | 05:52 |
ivoks | heh, i got something... | 05:52 |
ivoks | but i don't know if it is correct | 05:53 |
ivoks | http://pastebin.ca/469136 | 05:53 |
ivoks | i doubt that's what you are looking for | 05:53 |
[miles] | aye | 05:54 |
[miles] | done it, patched my desktop client | 05:54 |
[miles] | mmm | 05:57 |
[miles] | still dont see what part of the .eml it uses to hash | 05:57 |
[miles] | ivoks: wot u recon? | 05:59 |
=== nick58b [n=brand@cypher.nceas.ucsb.edu] has joined #ubuntu-server | ||
ivoks | i think i'm going to hit the bed now :) | 06:01 |
[miles] | shite, it's 18:00 | 06:01 |
[miles] | ok, thanks ivoks lionel Skaag | 06:01 |
ivoks | \wii [miles] | 06:01 |
[miles] | cuall2moro | 06:01 |
ivoks | oh lol | 06:01 |
[miles] | adios | 06:01 |
ivoks | time for bed :) | 06:01 |
=== asw [n=asw@karuna.med.harvard.edu] has joined #ubuntu-server | ||
=== vciaglia [n=vciaglia@87.19.156.152] has joined #ubuntu-server | ||
=== bensherman [n=sudo@pool-72-83-137-129.washdc.fios.verizon.net] has joined #ubuntu-server | ||
bensherman | Hi all. | 06:25 |
=== h4wk0 [n=h4wk@84.13.246.109] has joined #ubuntu-server | ||
=== vciaglia [n=vciaglia@87.19.156.152] has joined #ubuntu-server | ||
=== turox [n=chatzill@dslb-084-057-237-228.pools.arcor-ip.net] has joined #ubuntu-server | ||
=== bensherman [n=sudo@pool-72-83-137-129.washdc.fios.verizon.net] has left #ubuntu-server [] | ||
=== ScottK [n=ScottK@ubuntu/member/scottk] has joined #ubuntu-server | ||
=== ph1zzle [n=ph1zzle@74.92.202.169] has joined #ubuntu-server | ||
Nafallo | haha | 08:38 |
ph1zzle | hey all | 08:38 |
Nafallo | same people here :-) | 08:38 |
lionel | :) | 08:38 |
ph1zzle | I have a server running feisty, and I haev just setup lvm across three hard disks, I was wondering if there is a way I can make /etc/init.d/lvm recognize my setup and set it up for me upon system start? | 08:38 |
shawarma | ph1zzle: It's not working that way now, you think? | 08:39 |
Nafallo | ph1zzle: what version of Ubuntu is it? :-) | 08:39 |
ph1zzle | feisty | 08:39 |
ph1zzle | and shawarma no it is not | 08:39 |
shawarma | ph1zzle: What goes wrong? | 08:39 |
ph1zzle | I ran /etc/init.d/lvm start | 08:39 |
ph1zzle | and then I looked and the drive was not mounted | 08:39 |
shawarma | Is it in /etc/fstab ? | 08:39 |
ph1zzle | I am not even sure where I tell it to mount to | 08:39 |
ph1zzle | uh, no | 08:39 |
shawarma | then it can't know where to mount it. | 08:40 |
ph1zzle | if it was in /etc/fstab I though it might confuse mount | 08:40 |
shawarma | ADd it to fstab and that's it. | 08:40 |
Nafallo | ph1zzle: so your lvm isn't assembled when you arrive at the prompt? | 08:40 |
shawarma | No, that's where that stuff is. | 08:40 |
ph1zzle | Nafallo, I just set it up manually, I ran pvcreate/ vgcreate etc | 08:40 |
=== ph1zzle sets it up in fstab | ||
Nafallo | yea, so? that wasn't my question :-) | 08:40 |
Nafallo | and use UUID for LVM now btw :-) | 08:41 |
ph1zzle | so for the drive in fstab I just enter /dev/<vg>/<lv> ? | 08:41 |
Nafallo | it actually WORKS! :-D | 08:41 |
ph1zzle | How do I get the UUID ? | 08:41 |
shawarma | Nafallo: Why? | 08:41 |
ph1zzle | nm | 08:41 |
Nafallo | shawarma: because it TheRightWay(tm) ? :-) | 08:41 |
ph1zzle | I just got it with blkid | 08:41 |
=== slackwarelife [n=slackwar@host93-116-dynamic.56-82-r.retail.telecomitalia.it] has left #ubuntu-server [] | ||
shawarma | Nafallo: Meh.. The lvm path is almost a UUID. :-) | 08:42 |
=== slackwarelife [n=slackwar@host93-116-dynamic.56-82-r.retail.telecomitalia.it] has joined #ubuntu-server | ||
Nafallo | shawarma: :-P | 08:43 |
ph1zzle | I just added "UUID=6944090d-1ceb-4030-a757-9ead7bd52798 /home/data ext3 defaults 0 0" into fstab and re ran lvm and it still was not mounted | 08:43 |
Nafallo | shawarma: with UUID I wouldn't need to edit fstab if I want to rename vg och lv ;-) | 08:43 |
Nafallo | ph1zzle: sudo mount -a | 08:44 |
Nafallo | ph1zzle: lvm doesn't do mounting. | 08:44 |
shawarma | ph1zzle: lvm is not supposed to mount anything. | 08:44 |
ph1zzle | ok, that worked | 08:44 |
ph1zzle | now I am about to do a reboot, it should mount automatically after reboot? | 08:44 |
ph1zzle | oh and lvm is not in /etc/rc[*] .d | 08:45 |
Nafallo | yes | 08:45 |
Nafallo | no, lvm is in initramfs. | 08:45 |
ph1zzle | and lvm does not need to be in /etc/rc[*] .d? | 08:45 |
ph1zzle | oh ok | 08:46 |
ph1zzle | fair enough | 08:46 |
Nafallo | or no, it's not. | 08:46 |
Nafallo | it's in udev :-) | 08:46 |
=== ph1zzle waits for the reboot | ||
ph1zzle | ah | 08:46 |
Nafallo | or something like that :-) | 08:46 |
ph1zzle | ok | 08:46 |
ph1zzle | yeah ok, it workedlol | 08:46 |
ph1zzle | great, I appreciate the helpguys | 08:46 |
ph1zzle | *help guys | 08:46 |
Nafallo | np | 08:47 |
ph1zzle | is there a way to tell feisty server not to load ipv6 module? | 09:04 |
Nafallo | blacklist it | 09:05 |
ph1zzle | where? | 09:06 |
ph1zzle | I have done it about a year ago | 09:06 |
ph1zzle | but I am looking over etc atm | 09:06 |
Nafallo | /etc/modprobe.d/blacklist-ipv6 or something like that maybe? :-) | 09:06 |
ph1zzle | I just simply have to touch that file | 09:06 |
Nafallo | you have to write ipv6 in it to :-) | 09:07 |
ph1zzle | ok | 09:07 |
=== ra1nb0w [n=ra1nb0w@host64-12-dynamic.5-87-r.retail.telecomitalia.it] has joined #ubuntu-server | ||
=== totalcaos [n=totalcao@60-240-225-137-vic-pppoe.tpgi.com.au] has joined #ubuntu-server | ||
=== sahafeez [n=sahafeez@67.109.14.227.ptr.us.xo.net] has joined #ubuntu-server | ||
sahafeez | so now that i have a better understanding of ubuntu i figured i would do a new install and start fresh. booted the cd and told it to mount the existing lvm setup. it has been 20 mins now.. | 10:22 |
shawarma | sahafeez: Did you manage to salvage your group file? | 10:28 |
sahafeez | hum, no idea. just booted the install prg. and it asked me if i wanted to use the current lvm setup. it is the lvm delay bug i think. 3 mins per and 7 slices so.. | 10:28 |
shawarma | sahafeez: Er, no, didn't you talk about you nuked /etc/group yesterday? | 10:33 |
sahafeez | yes, got that back | 10:33 |
shawarma | 01:10 < sahafeez> ok, i just did something really dumb. i nuked my /etc/group file. | 10:33 |
sahafeez | yah. sorrry. long day and it is only 1333. i got that back | 10:33 |
shawarma | Good. Not just by copying it from another machine, I trust? | 10:34 |
sahafeez | yes, thats how. same ubuntu setup. same users | 10:34 |
shawarma | Well, if you're sure everything was installed in the same order on those machine, you should be fine. | 10:34 |
shawarma | Otherwise, you might run into... well.. funny issues along the way. | 10:35 |
sahafeez | hum, well i am nuking that box right now so it does not matter. i have found 4 docs on ldap+samba on ubuntu and they are all wrong or missing something. i have put together what works and i will write it up and add it to the wiki when done | 10:35 |
sahafeez | are the gid not the same per service | 10:36 |
sahafeez | ? | 10:36 |
=== ra1nb0w [n=ra1nb0w@host206-159-dynamic.56-82-r.retail.telecomitalia.it] has joined #ubuntu-server | ||
shawarma | sahafeez: No. | 10:38 |
shawarma | sahafeez: Not necessarily. | 10:38 |
sahafeez | wow. i would call that a bug | 10:38 |
shawarma | sahafeez: Some things run "adduser --system" or "addgroup --system" in their postinst script. | 10:38 |
sahafeez | in *BSD the gid for servers are standard for 90% of the stuff | 10:38 |
shawarma | 0-99 are always the same. | 10:40 |
shawarma | Stuff like root, bin, news, admin.. | 10:40 |
shawarma | Generally stuff that doesn't belong to one single service, but are more administrative in character. | 10:41 |
shawarma | http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.2.2 | 10:41 |
shawarma | There you go. | 10:41 |
sahafeez | ok, thank you for the information. i am looking forward to getting this up and running. i am hoping to cut over from the w2k3 box this weekend. | 10:41 |
=== totalcaos [n=totalcao@60-240-225-137-vic-pppoe.tpgi.com.au] has joined #ubuntu-server | ||
shawarma | Cool. | 10:42 |
sahafeez | we will see. i have even started on testing the groupware bit. | 10:43 |
=== nictuku [n=yves@201.15.115.140] has joined #ubuntu-server | ||
nictuku | do you guys know any software for sharing internet connection that's focused on non-technical users ? | 11:22 |
nictuku | I have a friend that lives in a Uni dorm with 100 computers, and they're all sharing an internet connection using a "Windows XP Server" | 11:23 |
nictuku | so I guess if there was a very simple program that let a person 1) setup a local IP network 2) distribute IP's 3) share connection in a safe way 4) let the "administrator" mark a checkbox that would activate a QoS fair algorithm 5) create nice usage statistics | 11:24 |
nictuku | if there isn't, I would consider creating one | 11:24 |
nictuku | it could be either a simplified control panel using PyGTK, or a web control panel | 11:25 |
sahafeez | 29mins to read the lvm. nasty bug. | 11:25 |
sahafeez | or buy a linksys for $40 | 11:26 |
nictuku | yeah, agreed, although a linksys router won't have a stochastic fair queueing algorithm | 11:28 |
sahafeez | depends. there is qos on some of them | 11:29 |
sahafeez | the $70 one | 11:29 |
nictuku | :-) | 11:29 |
=== dj-fu [n=aj@202.89.35.30] has joined #ubuntu-server |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!