Re: off topic Question of the day..

2016-07-15 Thread John Hasler
Dennis writes: > BTW: one inch now equals 2.54 cm *exactly*, in case you haven't been > keeping up! (Used to be approx 2.54 cm.) This is what I mean by > arbitrary. Don't like the conversion ratio? Then just change it! It wasn't a change in conversion ratio. It was change in definition. Original

Re: off topic Question of the day..

2016-07-15 Thread David Wright
On Thu 14 Jul 2016 at 11:21:25 (-0500), Dennis Wicks wrote: > Doug wrote on 07/10/2016 10:22 PM: > >I've seen several places where this definition is shown, so it must be > >correct. > >If you Google > >for paper weight, there will be at least one site that mentions paper weight > >in > >pounds a

Re: What pkg provides openssl headers?

2016-07-15 Thread mudongliang
On 07/15/2016 05:14 PM, Nicholas Geovanis wrote: Hi - I'm somewhat new to debian. I'm building the nagios NRPE plugin on Debian Jessie. Its configure script fails the check for SSL header files with "Cannot find SSL headers". Which Debian package provides them? Thanks.Nick Please refer to

Re: What pkg provides openssl headers?

2016-07-15 Thread mudongliang
On 07/15/2016 05:14 PM, Nicholas Geovanis wrote: Hi - I'm somewhat new to debian. I'm building the nagios NRPE plugin on Debian Jessie. Its configure script fails the check for SSL header files with "Cannot find SSL headers". Which Debian package provides them? Thanks.Nick Maybe you need

What pkg provides openssl headers?

2016-07-15 Thread Nicholas Geovanis
Hi - I'm somewhat new to debian. I'm building the nagios NRPE plugin on Debian Jessie. Its configure script fails the check for SSL header files with "Cannot find SSL headers". Which Debian package provides them? Thanks.Nick

Re: using curl/wget to call logout

2016-07-15 Thread Bob
On Friday 15 July 2016 10:28 AM, Jonathan Dowland wrote: On Fri, Jul 15, 2016 at 05:40:40AM +, Bob wrote: I'm trying to use curl to call the logout function of a logout button already working through browser. snip already tried with curl -c my.cookie /home.jsp curl -X GET -c my.cookie /L

Re: C source

2016-07-15 Thread Nicolas George
L'octidi 28 messidor, an CCXXIV, Jonathan Dowland a écrit : > Interesting nuance, thanks! > > I wonder if this is why SDL recommends people just use "" for their > own headers. The best explanation I can come up with is that their examples where originally designed as test programs within the sou

Re: Crypto implementations (was: C source)

2016-07-15 Thread Nicolas George
L'octidi 28 messidor, an CCXXIV, Jonathan Dowland a écrit : > Do not CC me, I am subscribed to the list. This is clear in the CoC > for lists.debian.org, Not CCing this once. I recently explained in great length why this point of the CoC is broken and should be ignored. > an

Re: C source

2016-07-15 Thread Jonathan Dowland
On Fri, Jul 15, 2016 at 02:59:12PM +0200, Andre Majorel wrote: > The rule of thumb of using "" for application headers and <> for > system headers is valid. But a more accurate way to summarise > the difference would be that #include <> only looks at the > system directories. Interesting nuance, t

Re: Crypto implementations (was: C source)

2016-07-15 Thread Jonathan Dowland
Do not CC me, I am subscribed to the list. This is clear in the CoC for lists.debian.org, and it's prominently in the mail signature of my mail you replied to. On Fri, Jul 15, 2016 at 12:36:46PM +0200, Nicolas George wrote: > L'octidi 28 messidor, an CCXXIV, Jonathan Dowland a écrit : > > FWIW, la

Re: C source

2016-07-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jul 15, 2016 at 02:59:12PM +0200, Andre Majorel wrote: > On 2016-07-15 11:54 +0200, to...@tuxteam.de wrote: > > > As your includes are written above, the C compiler would look > > for a file md5.h in the current compilation directory: most > >

Re: C source

2016-07-15 Thread Andre Majorel
On 2016-07-15 11:54 +0200, to...@tuxteam.de wrote: > As your includes are written above, the C compiler would look > for a file md5.h in the current compilation directory: most > probably there isn't one, since whatever package you installed > will put it in a standard system location, typically u

Containers and chroot (was: openssh-server's default config is dangerous)

2016-07-15 Thread Nicolas George
Le quintidi 25 messidor, an CCXXIV, Stefan Monnier a écrit : > FWIW, I also find it disappointing that I can't do it in an etc file of > some sort. Yes, such an essential option should be integral to the system, not brought by an obscure package. That the package exists is still better than nothin

Re: using curl/wget to call logout

2016-07-15 Thread Justin Steven
>From Chromium's Development Tools (press F12) you can right-click a request in the Network tab and "Copy as cURL" Might help with handling cookies and other such things using curl -- Justin

Crypto implementations (was: C source)

2016-07-15 Thread Nicolas George
L'octidi 28 messidor, an CCXXIV, Jonathan Dowland a écrit : > FWIW, last time I wanted to do md5 in C, I copied the code into my own > project. I got it from the source to dpkg, which did the same thing. By doing that, you are depriving yourself of future bugfixes and improvements to that implemen

Re: C source

2016-07-15 Thread Thomas Schmitt
Hi, Pol Hallen wrote: > now I've many errors > alice.c:50:18: error: unknown type name ‘md5_context’ > alice.c:61:37: error: unknown type name ‘uint8’ This might indicate that openssl/md5.h is not the md5.h which is needed for your source code. If so, then was rather a red herring. (One can be r

Re: C source

2016-07-15 Thread Jonathan Dowland
On Fri, Jul 15, 2016 at 12:23:01PM +0200, Jens Sauer wrote: > I think you are missing dependencies from the ssl library. Have a look into > the docs [1]. Doesn't look like openssl to me. Openssl just happens to also have a md5.h header in it. signature.asc Description: Digital signature

Re: using curl/wget to call logout

2016-07-15 Thread Jonathan Dowland
On Fri, Jul 15, 2016 at 05:40:40AM +, Bob wrote: > I'm trying to use curl to call the logout function of a logout button > already working through browser. snip > already tried with > > curl -c my.cookie /home.jsp > curl -X GET -c my.cookie /Login.jsp?message=logout > > but no success. How c

Re: C source

2016-07-15 Thread Jens Sauer
I think you are missing dependencies from the ssl library. Have a look into the docs [1]. Your questions implies that you are not very experienced in C coding. Maybe you should ask yourself the question if starting with a complex and potential security risky api like openssl is the right thing for

Re: C source

2016-07-15 Thread Jonathan Dowland
On Fri, Jul 15, 2016 at 12:07:09PM +0200, Pol Hallen wrote: > alice.c:50:18: error: unknown type name ‘md5_context’ > void md5_starts( md5_context *ctx ) These aren't typedefs used by openssl. It looks like your code is designed to be used with a completely different md5.h. FWIW, last time I wa

Re: C source

2016-07-15 Thread Thomas Schmitt
Hi, i second tomás' assessment and proposal. Reco wrote: > #include with encased in 'less' and 'more' characters instructs > preprocessor to search header files system-wide. A search path can be > modified with -L flag. It is not a system-wide search, but rather a search iterating over a list o

Re: C source

2016-07-15 Thread Nicolas George
L'octidi 28 messidor, an CCXXIV, Pol Hallen a écrit : > #include > #include > #include > #include "md5.h" The fact that md5.h is included with double quotes instead of angle brackets means that it is a header local to the project, not a system header. Your .c file should come with the md5.h fil

Re: C source

2016-07-15 Thread Pol Hallen
sorry, my mistake about the package (I use debian testing) find /usr/include -name md5.h find /usr/include/ -name md5.h /usr/include/openssl/md5.h /usr/include/crypto++/md5.h #include now I've many errors thanks for help! alice.c:50:18: error: unknown type name ‘md5_context’ void m

Re: C source

2016-07-15 Thread Pol Hallen
#include I've same problem :-/ -- Pol

Re: C source

2016-07-15 Thread Reco
Hi. On Fri, Jul 15, 2016 at 11:34:38AM +0200, Pol Hallen wrote: > Hi, all > > I've this error: > > fatal error: md5.h: No such file or directory > compilation terminated. > > when I compiled a source C > > gcc source.c > > [...] > #include > #include > #include > #include "md5.h" >

Re: C source

2016-07-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jul 15, 2016 at 11:34:38AM +0200, Pol Hallen wrote: > Hi, all > > I've this error: > > fatal error: md5.h: No such file or directory > compilation terminated. > > when I compiled a source C > > gcc source.c > > [...] > #include > #include

C source

2016-07-15 Thread Pol Hallen
Hi, all I've this error: fatal error: md5.h: No such file or directory compilation terminated. when I compiled a source C gcc source.c [...] #include #include #include #include "md5.h" [...] I've openssl-dev installed, but I don't understand how to audit this error.. any idea? thanks fo

Re: no sound

2016-07-15 Thread Elimar Riesebieter
* Jesse Stephen [2016-07-15 00:31 -0400]: > I don't seem to have sound on mazzila. It works playing a dvd but not on > you tube If you're running pulseaudio use pavucontrol to choose an appropriate device. Otherwise run alsamixer and press to select your device. Elimar -- Numeric stability