*** hath|away is now known as hathawsh | 00:00 | |
*** drudi has joined #zope3-dev | 00:01 | |
*** hathawsh is now known as hath|away | 00:11 | |
*** tisto has quit IRC | 00:12 | |
*** dunny has joined #zope3-dev | 00:13 | |
*** hath|away is now known as hathawsh | 00:19 | |
*** aaronv has quit IRC | 00:26 | |
*** hexsprite has joined #zope3-dev | 00:37 | |
*** gary_poster has quit IRC | 00:40 | |
*** afd_ has quit IRC | 00:41 | |
*** redir has quit IRC | 00:42 | |
*** mcdonc has quit IRC | 00:42 | |
*** benji has quit IRC | 00:47 | |
*** J1m has quit IRC | 00:49 | |
*** fcorrea has quit IRC | 00:51 | |
*** nyo has joined #zope3-dev | 00:54 | |
*** trollfot has joined #zope3-dev | 00:54 | |
trollfot | Hi folks | 00:54 |
---|---|---|
*** gary_poster has joined #zope3-dev | 00:55 | |
trollfot | I have my signed commiter agreement, though the email address for posting it seems unexistant. Where should I send it to ? :) | 00:55 |
*** jamur2 has quit IRC | 01:00 | |
*** gary_poster has quit IRC | 01:09 | |
*** aaronv has joined #zope3-dev | 01:16 | |
*** aaronv has quit IRC | 01:17 | |
*** aaronv has joined #zope3-dev | 01:18 | |
*** aaronv_ has joined #zope3-dev | 01:20 | |
*** drudi has quit IRC | 01:20 | |
*** srichter has quit IRC | 01:22 | |
*** aaronv_ has quit IRC | 01:22 | |
*** aaronv_ has joined #zope3-dev | 01:22 | |
*** aaronv has quit IRC | 01:23 | |
*** aaronv_ is now known as aaronv | 01:23 | |
nyo | wtf, I can't send messages to zope-dev mailing lists | 01:23 |
*** danfairs_ has quit IRC | 01:28 | |
*** danfairs_ has joined #zope3-dev | 01:28 | |
*** nyo has quit IRC | 01:29 | |
*** nyo has joined #zope3-dev | 01:30 | |
nyo | who's the mailing list admin? :-) | 01:33 |
*** aaronv has quit IRC | 01:33 | |
*** aaronv_ has joined #zope3-dev | 01:34 | |
*** aaronv_ is now known as aaronv | 01:34 | |
*** aaronv_ has joined #zope3-dev | 01:36 | |
*** aaronv__ has joined #zope3-dev | 01:38 | |
*** aaronv has quit IRC | 01:38 | |
*** aaronv__ is now known as aaronv | 01:38 | |
nyo | When I try to send any message to any zope mailing lists (tried zope-dev and zope-web), I get permanent delivery failure (CIDR not allowed: 173.194.0.0/16 (state 14)) :( | 01:41 |
*** aaronv_ has quit IRC | 01:42 | |
*** aaronv has quit IRC | 01:43 | |
*** aaronv has joined #zope3-dev | 02:11 | |
*** danfairs_ has quit IRC | 02:12 | |
*** hathawsh is now known as hath|away | 02:14 | |
*** brandon_rhodes has quit IRC | 02:19 | |
*** hath|away is now known as hathawsh | 02:23 | |
*** dunny has quit IRC | 02:29 | |
*** redir has joined #zope3-dev | 02:39 | |
*** junkafarian has quit IRC | 03:01 | |
*** trollfot has quit IRC | 03:12 | |
*** hathawsh is now known as hath|away | 03:15 | |
*** dunny has joined #zope3-dev | 03:54 | |
*** mcdonc has joined #zope3-dev | 03:56 | |
*** srichter has joined #zope3-dev | 04:08 | |
*** ChanServ sets mode: +o srichter | 04:08 | |
*** brandon_rhodes has joined #zope3-dev | 04:11 | |
*** nyo has left #zope3-dev | 04:23 | |
*** davisagli has left #zope3-dev | 04:42 | |
*** davisagli has joined #zope3-dev | 04:42 | |
*** davisagli has quit IRC | 04:46 | |
*** sunoano has quit IRC | 04:49 | |
*** davisagli has joined #zope3-dev | 04:52 | |
*** sunoano has joined #zope3-dev | 04:52 | |
*** pcardune has quit IRC | 04:52 | |
*** aaronv has quit IRC | 05:08 | |
*** pcardune has joined #zope3-dev | 05:10 | |
*** matthal has quit IRC | 05:16 | |
*** brandon_rhodes has quit IRC | 05:32 | |
*** pcardune has quit IRC | 05:42 | |
*** jhauser_ has joined #zope3-dev | 05:46 | |
*** hexsprite has quit IRC | 05:52 | |
*** jhauser has quit IRC | 06:02 | |
*** jhauser_ is now known as jhauser | 06:02 | |
*** baijum has joined #zope3-dev | 06:21 | |
*** jhauser has quit IRC | 06:43 | |
*** danfairs has joined #zope3-dev | 06:48 | |
*** matthal has joined #zope3-dev | 06:53 | |
*** baijum has quit IRC | 07:20 | |
*** afd_ has joined #zope3-dev | 07:26 | |
*** jfkw has quit IRC | 07:31 | |
*** pcardune has joined #zope3-dev | 07:50 | |
*** matthal has quit IRC | 08:03 | |
*** baijum has joined #zope3-dev | 08:14 | |
*** pcardune has quit IRC | 08:15 | |
*** stub has joined #zope3-dev | 08:19 | |
*** JaRoel|4D has joined #zope3-dev | 08:31 | |
*** redir has quit IRC | 08:51 | |
*** jukart has joined #zope3-dev | 08:52 | |
*** alecm has quit IRC | 08:58 | |
*** __mac__ has joined #zope3-dev | 09:07 | |
*** dbfrombrc has joined #zope3-dev | 09:08 | |
*** zagy has joined #zope3-dev | 09:11 | |
*** dbfrombrc has quit IRC | 09:16 | |
*** povbot has joined #zope3-dev | 09:21 | |
*** reinout has joined #zope3-dev | 09:22 | |
*** El_Rolando has joined #zope3-dev | 09:33 | |
*** hath|away is now known as hathawsh | 09:39 | |
*** davisagli has left #zope3-dev | 09:44 | |
*** sweh has joined #zope3-dev | 09:46 | |
*** alga has joined #zope3-dev | 10:12 | |
*** El_Rolando has quit IRC | 10:13 | |
*** JaRoel|4D has quit IRC | 10:21 | |
*** markusleist has quit IRC | 10:23 | |
*** jpcw has joined #zope3-dev | 10:24 | |
*** malthe has joined #zope3-dev | 10:26 | |
*** afd_ has quit IRC | 10:26 | |
*** markusleist has joined #zope3-dev | 10:29 | |
*** goschtl has joined #zope3-dev | 10:29 | |
*** markusleist has quit IRC | 10:34 | |
*** afd__ has joined #zope3-dev | 10:47 | |
*** multani has joined #zope3-dev | 10:48 | |
*** tisto has joined #zope3-dev | 10:55 | |
*** JaRoel|4D has joined #zope3-dev | 11:15 | |
*** danfairs has quit IRC | 11:16 | |
*** matthal has joined #zope3-dev | 11:32 | |
*** hathawsh is now known as hath|away | 11:36 | |
*** tarek_ has joined #zope3-dev | 11:40 | |
*** hath|away is now known as hathawsh | 11:42 | |
*** matthal has quit IRC | 11:43 | |
*** junkafarian has joined #zope3-dev | 11:48 | |
*** markusleist has joined #zope3-dev | 11:52 | |
*** hathawsh is now known as hath|away | 11:53 | |
*** MJ has joined #zope3-dev | 12:02 | |
*** malthe is now known as malthe|away | 12:40 | |
*** sunoano has quit IRC | 12:51 | |
*** menesis has joined #zope3-dev | 12:52 | |
*** sunoano has joined #zope3-dev | 12:53 | |
*** ignas has joined #zope3-dev | 13:07 | |
*** menesis has quit IRC | 13:07 | |
*** menesis has joined #zope3-dev | 13:07 | |
*** stub has quit IRC | 13:08 | |
*** alga has quit IRC | 13:36 | |
*** reinout_ has joined #zope3-dev | 13:41 | |
*** reinout has quit IRC | 13:41 | |
*** nyo has joined #zope3-dev | 13:42 | |
*** reinout_ is now known as reinout | 13:42 | |
*** nyo has quit IRC | 13:48 | |
*** MJ is now known as MJ|lunch | 13:56 | |
*** nyo has joined #zope3-dev | 13:56 | |
*** aaronv has joined #zope3-dev | 14:00 | |
*** allisterb has quit IRC | 14:09 | |
*** MJ|lunch is now known as MJ | 14:27 | |
*** Aiste has joined #zope3-dev | 14:42 | |
*** mgedmin has joined #zope3-dev | 14:43 | |
*** alga has joined #zope3-dev | 14:48 | |
*** hazmat has quit IRC | 14:52 | |
*** benji has joined #zope3-dev | 14:55 | |
*** agroszer has joined #zope3-dev | 15:06 | |
*** agroszer has quit IRC | 15:17 | |
*** agroszer has joined #zope3-dev | 15:18 | |
*** projekt01 has joined #zope3-dev | 15:40 | |
*** drudi has joined #zope3-dev | 15:41 | |
*** ARiKA has joined #Zope3-Dev | 15:47 | |
*** fcorrea has joined #zope3-dev | 15:49 | |
*** redir has joined #zope3-dev | 15:51 | |
*** fcorrea_ has joined #zope3-dev | 16:00 | |
*** jamur2 has joined #zope3-dev | 16:02 | |
*** gary_poster has joined #zope3-dev | 16:02 | |
*** J1m has joined #zope3-dev | 16:05 | |
*** fcorrea has quit IRC | 16:17 | |
*** redir has quit IRC | 16:18 | |
*** yvl has quit IRC | 16:24 | |
*** baijum has quit IRC | 16:25 | |
*** shentonfreude has joined #zope3-dev | 16:28 | |
*** goschtl has left #zope3-dev | 16:33 | |
nyo | Anybody wants check out the zope.app.publisher refactoring results? It's in Sandbox/nadako/zope.app.publisher folder in svn. | 16:33 |
*** DrogoNevets has joined #zope3-dev | 16:39 | |
DrogoNevets | hi all, i am wanting to limit how many times users can login at once, how do i do this? | 16:39 |
*** jhauser has joined #zope3-dev | 16:40 | |
*** faassen has joined #zope3-dev | 16:41 | |
benji | DrogoNevets: I don't know of an out-of-the-box way | 16:42 |
DrogoNevets | benji: what about a walkthrough? We have our own PAU we've written authenticationg against a RDB so we can add something to that? | 16:43 |
benji | sounds like it might be tricky too -- will sessions expire after a while? will a user be able to expire other sessions that pushed them over the limit? etc. | 16:43 |
DrogoNevets | we thought of doing it via session too, but it is going to be running on multiple instances so the sessionw ould have to be the the same across the board | 16:44 |
*** baijum has joined #zope3-dev | 16:45 | |
nyo | faassen: hey there. do you have time to check out refactored zope.app.publisher as a steering group dude? | 16:47 |
benji | how secure does it have to be? I suspect you'll have to rely on cookies to identify the browser. Then if a request is made without an identifying token, and handing out a new one would push the user over their login limit you'd display an error instead | 16:48 |
*** lurkymclurkleton has joined #zope3-dev | 16:49 | |
DrogoNevets | needs to be a touch more than that unfortunatly | 16:50 |
DrogoNevets | but that was a good idea | 16:50 |
benji | "more"? more what? | 16:51 |
DrogoNevets | more secure | 16:51 |
DrogoNevets | sorry | 16:51 |
benji | If the token is reasonably time-limited, the only attack I can see would be if the user copied the cookie value to a different machine; is that an attack you're concerned about? | 16:52 |
DrogoNevets | thats not no (i assume) - but we need to ensure the user "bob" can login on comp a but not comp b if he is still logged in on comp a, but if her logs out on comp a he can log in on comp b | 16:54 |
DrogoNevets | does that make sense? | 16:54 |
faassen | nyo: yeah, I want to catch up on the mailing list. I've been slow in checking it and then last week lots of personal stuff happened, but I'll catch up later this week. | 16:55 |
benji | I think so. It sounds to me like the token-based approach plus keeping up with whether or not there is an outstanding token (login) would work. | 16:56 |
DrogoNevets | could you explain it a little more for me then please, not sure i understand? | 16:56 |
*** __mac__ has quit IRC | 16:57 | |
benji | When a request comes in you'd check to see if they have a non-expired token, if so, let them perform the request. If not, check to see if that user has already had a token granted, if not, give them one and let the request happen. If they have already been issued a token, but didn't present it in the current request, give them a message that says that they have to log out (or wait for the token to expire in X minutes). | 16:58 |
benji | You'd also need a log-out function that would clear the token and set the log-in count to 0. | 16:58 |
benji | for a small increase in security you could check not only that the user's token is valid, but that it was the most recently issued token (so they can't re-use tokens for the few minutes they remain valid) | 16:59 |
benji | plus you'd also have to add a step so that when the user presents an expired token but correct credentials you issue them a new token | 17:00 |
benji | and now that I think of it the "small increase in security" bit is actually required | 17:01 |
benji | there are likely corner cases I haven't considered | 17:01 |
benji | I'm just making this up off the top of my head :) | 17:02 |
DrogoNevets | thats fine, we're disscussing it now | 17:02 |
projekt01 | DrogoNevets, theres a simpler solution, just clear all existing tokens if a user will access the site, this will invalidate other open browser logins | 17:06 |
benji | the tokens are stored in browser cookies, how would one clear a cookie stored in a browser not currently making a request? | 17:07 |
projekt01 | clear the session token | 17:08 |
*** sweh has quit IRC | 17:08 | |
*** zagy has quit IRC | 17:09 | |
projekt01 | but, what about with browsers opening more then one tab? | 17:09 |
benji | DrogoNevets said that they don't have a common session store between processes, so -- if I'm understanding him correctly -- they don't have a way to do that | 17:10 |
projekt01 | I guess it's not possible at all with tabed browsers, beause they share the http cokies between tabs | 17:10 |
benji | true | 17:10 |
benji | I suspect they want to avoid users paying for one account and sharing it amongst many people, so tabs wouldn't be a worry. | 17:11 |
projekt01 | probably a ticket sysstem could work, but this means you have to use a ticket in each request/post/url etc. | 17:11 |
projekt01 | yup, whould be good to know what's the real requirements | 17:12 |
*** baijum has quit IRC | 17:13 | |
DrogoNevets | benji, your right, its an anti accoutn sharing thing the customer wants (as well as security) | 17:13 |
projekt01 | DrogoNevets, another solution could be to implement a session string, after login set this session string as a traverse part e.g. server/sessinID/app | 17:15 |
projekt01 | make sure you issue a new session string after each login end remove the old one per user | 17:15 |
benji | I suppose your customer isn't worried about users setting up an HTTP proxy that would let them share a single account. | 17:16 |
projekt01 | this whould invalidate access to users after the logged in with a new browser | 17:16 |
projekt01 | even tabed browser could work with such a url pattern | 17:16 |
DrogoNevets | tabs arent too much an issue, in fact i would say they have to be able to work, but issue with session string there are 5 servers so potentially 5 different sessions | 17:17 |
benji | unless a user copies the URL from one tab to another, then they would have two tabs using the same account | 17:17 |
projekt01 | share the sesisson with memcache could solve the problem | 17:18 |
benji | yep (as long as they aren't worried about the users copying the client ID cookie between browsers) | 17:19 |
projekt01 | benji, yes your right | 17:19 |
projekt01 | yes | 17:19 |
*** dbfrombrc has joined #zope3-dev | 17:20 | |
DrogoNevets | projekt01: how can we share the session? | 17:20 |
projekt01 | thre is a lovely.memcache package, thsi could be installed as a replacement for the zope session | 17:21 |
*** nyo has quit IRC | 17:21 | |
projekt01 | then the single memcache server will act as a session share | 17:22 |
benji | if the session is stored in ZODB, you can use ZEO so many web servers can connect to the same DB | 17:22 |
benji | or, since you already have a relational DB, you can put the session data there | 17:22 |
DrogoNevets | benji, yes we would be using zeo | 17:22 |
projekt01 | yes, true | 17:22 |
*** nyo has joined #zope3-dev | 17:23 | |
projekt01 | benji, are the session data shared asap or by the time given from a setting in the session container data? | 17:24 |
benji | ZEO will send out an invalidation message to all clients immediately, so all clients should see consistent session data | 17:25 |
projekt01 | benji, I mean with shared with all ZEO clients | 17:26 |
projekt01 | if the session data are not shared asap, it depends probably on which session persistent pattern your load balancer is using | 17:26 |
benji | I don't think I understand the question. Since the session data are persistent objects, if a change to them is commited to the ZODB, all ZEO clients will be immediately be told to discard the old version of the session data. | 17:27 |
*** redir_ has joined #zope3-dev | 17:27 | |
projekt01 | I think the session data container write session data to the ZODB only periodicaly, or not? | 17:28 |
*** srichter has quit IRC | 17:29 | |
projekt01 | otherwise we whould not need a session, we could use the principal annotation for store objects or properties??? | 17:29 |
*** faassen has quit IRC | 17:31 | |
projekt01 | benji, is there a difference in write data to ZODB and update objects in ZEO instances? | 17:32 |
*** projekt01 has quit IRC | 17:35 | |
*** lamike has joined #zope3-dev | 17:37 | |
benji | right, sessions are only checked to see if they have expired every so often, but if a user writes data to a session or explicitly removes it that change is seen by all clients immediately | 17:38 |
* benji needs to concentrate on some work stuff now. Good luck DrogoNevets. | 17:38 | |
*** nathany has joined #zope3-dev | 17:42 | |
*** hexsprite has joined #zope3-dev | 17:43 | |
*** davisagli has joined #zope3-dev | 17:54 | |
*** reinout has quit IRC | 18:00 | |
*** davisagli has quit IRC | 18:08 | |
*** jukart has quit IRC | 18:08 | |
*** afd__ has quit IRC | 18:20 | |
*** faassen has joined #zope3-dev | 18:31 | |
*** JaRoel|4D has quit IRC | 18:35 | |
*** hexsprite__ has joined #zope3-dev | 18:40 | |
*** pcardune has joined #zope3-dev | 18:44 | |
*** hexsprite has quit IRC | 18:46 | |
*** Aiste has quit IRC | 18:47 | |
*** davisagli has joined #zope3-dev | 18:50 | |
*** afd__ has joined #zope3-dev | 18:55 | |
*** runyaga__ has quit IRC | 19:02 | |
*** hexsprite__ has quit IRC | 19:03 | |
*** hath|away is now known as hathawsh | 19:04 | |
*** hexsprite has joined #zope3-dev | 19:04 | |
*** MJ has quit IRC | 19:05 | |
*** menesis has quit IRC | 19:25 | |
*** markusleist has quit IRC | 19:26 | |
*** jpcw has quit IRC | 19:32 | |
*** redir_ has quit IRC | 19:40 | |
*** nyo has quit IRC | 19:41 | |
*** alga has quit IRC | 19:42 | |
*** redir_ has joined #zope3-dev | 19:42 | |
*** pcardune has quit IRC | 19:43 | |
*** nyo has joined #zope3-dev | 19:45 | |
*** jpcw has joined #zope3-dev | 19:54 | |
*** hathawsh is now known as hath|away | 20:00 | |
*** srichter has joined #zope3-dev | 20:04 | |
*** ChanServ sets mode: +o srichter | 20:04 | |
*** alecm has joined #zope3-dev | 20:07 | |
*** hath|away is now known as hathawsh | 20:10 | |
*** nyo has quit IRC | 20:14 | |
*** jukart has joined #zope3-dev | 20:17 | |
*** junkafarian_ has joined #zope3-dev | 20:18 | |
*** fcorrea has joined #zope3-dev | 20:19 | |
*** afd__ has quit IRC | 20:20 | |
*** alga has joined #zope3-dev | 20:21 | |
*** junkafarian has quit IRC | 20:23 | |
*** junkafarian_ is now known as junkafarian | 20:23 | |
*** jfkw has joined #zope3-dev | 20:27 | |
*** redir_ has quit IRC | 20:27 | |
*** jukart_ has joined #zope3-dev | 20:30 | |
*** fcorrea_ has quit IRC | 20:32 | |
*** pcardune has joined #zope3-dev | 20:35 | |
*** fcorrea_ has joined #zope3-dev | 20:36 | |
*** junkafarian has quit IRC | 20:36 | |
*** jukart has quit IRC | 20:37 | |
*** jukart_ is now known as jukart | 20:37 | |
*** fcorrea has quit IRC | 20:39 | |
*** sunoano has quit IRC | 20:40 | |
*** gary_poster is now known as gary-lunch | 20:41 | |
*** DrogoNevets has quit IRC | 20:48 | |
*** sunoano has joined #zope3-dev | 20:54 | |
*** nyo has joined #zope3-dev | 21:07 | |
*** brandon_rhodes has joined #zope3-dev | 21:10 | |
*** mgedmin has quit IRC | 21:10 | |
*** zagy has joined #zope3-dev | 21:11 | |
*** elro has joined #zope3-dev | 21:17 | |
*** markusleist has joined #zope3-dev | 21:19 | |
*** gary-lunch is now known as gary_poster | 21:21 | |
elro | Is there a way to supply build arguments when using zc.recipe.egg:custom? I'd like to build lxml with `python setup.py bdist_egg --static-deps` | 21:22 |
*** redir_ has joined #zope3-dev | 21:24 | |
*** agroszer has quit IRC | 21:25 | |
*** redir_ has quit IRC | 21:29 | |
*** jukart has quit IRC | 21:35 | |
*** faassen has quit IRC | 21:51 | |
*** matthal has joined #zope3-dev | 21:54 | |
*** redir has joined #zope3-dev | 21:54 | |
*** hathawsh has quit IRC | 22:01 | |
*** drudi has quit IRC | 22:01 | |
*** tarek_ has quit IRC | 22:03 | |
*** tarek_ has joined #zope3-dev | 22:04 | |
*** __mac__ has joined #zope3-dev | 22:10 | |
*** drudi has joined #zope3-dev | 22:15 | |
*** shentonfreude_ has joined #zope3-dev | 22:16 | |
*** fcorrea_ has quit IRC | 22:18 | |
*** shentonfreude has quit IRC | 22:19 | |
*** davisagli is now known as davi|lunch | 22:28 | |
*** matthal has quit IRC | 22:37 | |
*** shentonfreude_ has quit IRC | 22:37 | |
*** zagy has quit IRC | 22:47 | |
*** davi|lunch is now known as davisagli | 22:48 | |
*** __mac__ has quit IRC | 22:48 | |
*** zagy has joined #zope3-dev | 22:49 | |
*** zagy has quit IRC | 22:50 | |
*** __mac__ has joined #zope3-dev | 22:50 | |
*** tarek_ has quit IRC | 22:50 | |
*** __mac__ has quit IRC | 22:51 | |
*** malthe|away is now known as malthe | 23:02 | |
*** ARiKA has quit IRC | 23:10 | |
*** ARiKA has joined #Zope3-Dev | 23:11 | |
*** fcorrea has joined #zope3-dev | 23:13 | |
*** pcardune has quit IRC | 23:29 | |
*** ARiKA has quit IRC | 23:29 | |
*** tisto has quit IRC | 23:33 | |
*** allisterb has joined #zope3-dev | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!