Re: entropy of RSA/DSA keys? Was: Re: [sage-devel] trac is overloaded?

2012-07-07 Thread David Roe
Off the top of my head I don't know how to phrase it in terms of entropy, but the density of semiprimes (ie RSA moduli) is about log log x / log x (see http://mathoverflow.net/questions/35927/asymptotic-density-of-k-almost-primesfor references and more results). At 2048 bits this gives a density

entropy of RSA/DSA keys? Was: Re: [sage-devel] trac is overloaded?

2012-07-07 Thread Dan Drake
On Sat, 07 Jul 2012 at 11:34AM -0700, Dima Pasechnik wrote: > perhaps it's time to disable password logins, and use RSA/DSA keys only? > Or even something even more serious? This is not directly related to the trac logins, but something I'm curious about: if I generate an ssh key, how many bits of

Re: [sage-devel] Re: Please test sage-5.1.rc1

2012-07-07 Thread Benjamin Jones
On Sat, Jul 7, 2012 at 10:36 AM, mmarco wrote: > Builds and passes the doctest in my gentoo box (intel core i7). > > -- > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For mor

Re: [sage-devel] trac is overloaded?

2012-07-07 Thread Dima Pasechnik
On Sunday, 8 July 2012 02:44:40 UTC+8, William wrote: > > On Sat, Jul 7, 2012 at 11:34 AM, Dima Pasechnik > wrote: > > > > > > On Sunday, 8 July 2012 02:01:14 UTC+8, William wrote: > >> > >> On Sat, Jul 7, 2012 at 10:48 AM, Volker Braun > >> wrote: > >> > On Saturday, July 7, 2012 6:40:

Re: [sage-devel] trac is overloaded?

2012-07-07 Thread Volker Braun
On Saturday, July 7, 2012 7:34:58 PM UTC+1, Dima Pasechnik wrote: > > perhaps it's time to disable password logins, and use RSA/DSA keys only? > +1 This is the only solution if you can't trust your users having random character sequences as passwords. -- -- To post to this group, send an em

Re: [sage-devel] trac is overloaded?

2012-07-07 Thread William Stein
On Sat, Jul 7, 2012 at 11:34 AM, Dima Pasechnik wrote: > > > On Sunday, 8 July 2012 02:01:14 UTC+8, William wrote: >> >> On Sat, Jul 7, 2012 at 10:48 AM, Volker Braun >> wrote: >> > On Saturday, July 7, 2012 6:40:48 PM UTC+1, William wrote: >> >> >> >> We were being hit by a DOS + portscan attack

Re: [sage-devel] trac is overloaded?

2012-07-07 Thread Dima Pasechnik
On Sunday, 8 July 2012 02:01:14 UTC+8, William wrote: > > On Sat, Jul 7, 2012 at 10:48 AM, Volker Braun > wrote: > > On Saturday, July 7, 2012 6:40:48 PM UTC+1, William wrote: > >> > >> We were being hit by a DOS + portscan attack from China all morning, > > > > > > You mean baidu.com ind

Re: [sage-devel] trac is overloaded?

2012-07-07 Thread William Stein
On Sat, Jul 7, 2012 at 10:48 AM, Volker Braun wrote: > On Saturday, July 7, 2012 6:40:48 PM UTC+1, William wrote: >> >> We were being hit by a DOS + portscan attack from China all morning, > > > You mean baidu.com indexing trac? ;-) No. There are details at sagemath-users. -- William > > > >

Re: [sage-devel] trac is overloaded?

2012-07-07 Thread Volker Braun
On Saturday, July 7, 2012 6:40:48 PM UTC+1, William wrote: > > We were being hit by a DOS + portscan attack from China all morning, > You mean baidu.com indexing trac? ;-) -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email

Re: [sage-devel] trac connection limit exceeded for non-superusers

2012-07-07 Thread William Stein
On Sat, Jul 7, 2012 at 10:30 AM, Volker Braun wrote: > I get the "connection limit exceeded" error occasionally from trac. Note > that we have postgresql limited to max_connections=50 (which are currently > all idle). We should probably decrease the number of trac server processes > that we allow

Re: [sage-devel] trac is overloaded?

2012-07-07 Thread William Stein
On Sat, Jul 7, 2012 at 10:25 AM, mhampton wrote: > I can't get on to trac, it keeps returning "OperationalError: FATAL: > connection limit exceeded for non-superusers". We were being hit by a DOS + portscan attack from China all morning, so that might be related. I'll restart the postgreSQL serv

[sage-devel] trac connection limit exceeded for non-superusers

2012-07-07 Thread Volker Braun
I get the "connection limit exceeded" error occasionally from trac. Note that we have postgresql limited to max_connections=50 (which are currently all idle). We should probably decrease the number of trac server processes that we allow and increase the postgresql connection limit. -- -- To p

[sage-devel] trac is overloaded?

2012-07-07 Thread mhampton
I can't get on to trac, it keeps returning "OperationalError: FATAL: connection limit exceeded for non-superusers". -Marshall -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For m

[sage-devel] Re: Please test sage-5.1.rc1

2012-07-07 Thread mmarco
Builds and passes the doctest in my gentoo box (intel core i7). -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group

Re: [sage-devel] Please test sage-5.1.rc1

2012-07-07 Thread Benjamin Jones
On Fri, Jul 6, 2012 at 2:05 AM, Jeroen Demeyer wrote: > Because many of the Sage testing machines (redhawk and all of Skynet) > are down, version sage-5.1.rc1 has been tested much less than usual. > > So, please build sage-5.1.rc1 and report unexpected problems, especially > if you have an unusual

[sage-devel] Re: homomorphisms between free modules over different rings

2012-07-07 Thread Maarten Derickx
And the following is even more worrying: sage: (GF(7)^2).hom([[20,0],[0,21]],ZZ^2) Free module morphism defined by the matrix [6 0] [0 0] Domain: Vector space of dimension 2 over Finite Field of size 7 Codomain: Ambient free module of rank 2 over the principal ideal domain Integer Ring -- -- T

[sage-devel] homomorphisms between free modules over different rings

2012-07-07 Thread Maarten Derickx
Dear All, Today I ran into some strange things concerning homomorphisms between free modules over different rings (QQ vs ZZ). Please geuss which two of the following commands execute without error (using sage 5.0): (ZZ^2).hom([[2,3],[3,6]],QQ^2) (QQ^2).hom([[1/3,1/4],[1/3,1/6]],ZZ^2) (ZZ^2).h

Re: [sage-devel] sage compiling problem AMD

2012-07-07 Thread Goutam Paul
Hi Jan, Thanks again, but I searched with error*.tgz from sage top level directory inside all subdirectories and found only one file error_AMD64K10h64SSE3.tgz Any clue what to do? On Fri, Jul 6, 2012 at 2:20 PM, Jan Groenewald wrote: > Hi Goutam > > On 6 July 2012 14:06, Goutam Paul wrote: >>

Re: [sage-devel] Re: Please test sage-5.1.rc1

2012-07-07 Thread Dima Pasechnik
Indeed, just try running make again. It won't rebuild the whole thing from scratch. On Saturday, 7 July 2012 21:00:39 UTC+8, Snark wrote: > > Le 07/07/2012 14:46, John W. Foster a �crit : > > mhe.c: In function �mhe_hashtable__�: > > mhe.c:214: internal compiler error: Segmentation fault

Re: [sage-devel] Re: Please test sage-5.1.rc1

2012-07-07 Thread Dima Pasechnik
OK, it looks strange. I have seemingly identically configured machine, and it works just fine. You might have better luck using gcc supplied by Sage, perhaps. Or that was a hardware problem that resulted in this crash... On Saturday, 7 July 2012 20:46:09 UTC+8, John Foster wrote: > > On Sat, 20

Re: [sage-devel] Re: Please test sage-5.1.rc1

2012-07-07 Thread Julien Puydt
Le 07/07/2012 14:46, John W. Foster a écrit : mhe.c: In function ‘mhe_hashtable__’: mhe.c:214: internal compiler error: Segmentation fault Does it still happen if you restart the compilation? Snark on #sagemath -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsub

Re: [sage-devel] Re: Please test sage-5.1.rc1

2012-07-07 Thread John W. Foster
On Sat, 2012-07-07 at 10:50 +0200, Jan Groenewald wrote: > Hi, > > On 6 July 2012 23:03, John Foster wrote: > > So, please build sage-5.1.rc1 and report unexpected > problems, especially > if you have an unusual system. Downloads at: >

Re: [sage-devel] Please test sage-5.1.rc1

2012-07-07 Thread David Joyner
On Sat, Jul 7, 2012 at 6:54 AM, Jan Groenewald wrote: > Hi David, > > On 7 July 2012 12:53, David Joyner wrote: >> >> On Fri, Jul 6, 2012 at 3:05 AM, Jeroen Demeyer >> wrote: >> > Because many of the Sage testing machines (redhawk and all of Skynet) >> > are down, version sage-5.1.rc1 has been t

[sage-devel] Re: [sage-support] Re: Sage fails to run python script correctly

2012-07-07 Thread Keshav Kini
Jan Groenewald writes: > Jeroen has ssh now, and one can setup key-based login. > I'm not sure why a reverse tunnel is necessary in this case. I don't know; it very well might not be necessary. Just a thought, if you're behind NAT or for some other reason can't publicly expose an sshd for Jeroen

Re: [sage-devel] Please test sage-5.1.rc1

2012-07-07 Thread Jan Groenewald
Hi David, On 7 July 2012 12:53, David Joyner wrote: > On Fri, Jul 6, 2012 at 3:05 AM, Jeroen Demeyer > wrote: > > Because many of the Sage testing machines (redhawk and all of Skynet) > > are down, version sage-5.1.rc1 has been tested much less than usual. > > > > So, please build sage-5.1.rc1

Re: [sage-devel] Please test sage-5.1.rc1

2012-07-07 Thread David Joyner
On Fri, Jul 6, 2012 at 3:05 AM, Jeroen Demeyer wrote: > Because many of the Sage testing machines (redhawk and all of Skynet) > are down, version sage-5.1.rc1 has been tested much less than usual. > > So, please build sage-5.1.rc1 and report unexpected problems, especially > if you have an unusual

Re: [sage-devel] Re: Please test sage-5.1.rc1

2012-07-07 Thread Jan Groenewald
Hi, On 6 July 2012 23:03, John Foster wrote: > > So, please build sage-5.1.rc1 and report unexpected problems, especially >> if you have an unusual system. Downloads at: >> http://www.sagemath.org/**download-latest.html >> --

[sage-devel] Re: Please test sage-5.1.rc1

2012-07-07 Thread Javier López Peña
Compiled and long tests pass in OS-X Snow Leopard 10.6.8 J On Friday, July 6, 2012 8:05:28 AM UTC+1, Jeroen Demeyer wrote: > > Because many of the Sage testing machines (redhawk and all of Skynet) > are down, version sage-5.1.rc1 has been tested much less than usual. > > So, please build sage-