Article View: alt.privacy.anon-server
Article #307269Re: building mixmaster 4096 in debian buster
From: Anonymous
Date: Sun, 05 Jan 2020 18:18
Date: Sun, 05 Jan 2020 18:18
121 lines
6480 bytes
6480 bytes
> > has anyone done it?
> > tried with openssl 1.0.1u with no success following this guide:
> > https://www.inwtx.net/mixmaster/Debian9+.html
>
> Yes, I did that under Windows 10, with a Debian subsystem,
> and it worked fine.
>
> If you post the error messages the ./INSTALL command gives
> Elvis or inwtx will probably help you.
I set up a clean buster VM with libvirt, upgraded the packages,
created a new user mixmaster4k and then followed the guide:
https://inwtx.net/mixmaster/Debian9+.html
when I launch Install, it complains about undefined reference to RAND_cleanup and AES_ctr128_encrypt,
which I can see is in /usr/local/include:
grep -r AES_ctr128_encrypt /usr/local/include/*
/usr/local/include/openssl/aes.h:void AES_ctr128_encrypt(const unsigned char *in, unsigned char *out,
here's the log:
mixmaster4k@buster-test:~/mixmaster4096$ ./Install
Mixmaster directory? [/home/mixmaster4k/Mix]
Do you want to set up a remailer? [y]
You can either compile your secret passphrase into the binary
or you can set it in your config file. Note that the former does not
really increase security as the passphrase can still be discovered by
running something like `strings mixmaster'.
Most users should answer `n' to this question:
Do you want to compile the passphrase into the binary? [n]
Please enter a passphrase for your remailer (it will be
stored in mix.cfg in clear).
testpassword
Looking for libz.a...
Found at /lib/x86_64-linux-gnu/libz.so.
Looking for libpcre.a...
Found at /lib/x86_64-linux-gnu/libpcre.so.
Looking for libcrypto.a...
Found at /usr/local/lib/libcrypto.a.
Warning: This version: 1000115F of OpenSSL is untested.
Continue anyway? [y]
Looking for libncurses.a...
Found at /lib/x86_64-linux-gnu/libncurses.so.
Checking for IDEA support...
tmptst.c: In function 'main':
tmptst.c:5:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
exit(0);
^~~~
tmptst.c:5:3: warning: incompatible implicit declaration of built-in function 'exit'
tmptst.c:5:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
tmptst.c:2:1:
+#include <stdlib.h>
int main() {
tmptst.c:5:3:
exit(0);
^~~~
/usr/bin/ld: /tmp/ccnjSwE4.o: in function `main':
tmptst.c:(.text+0xb): undefined reference to `idea_cfb64_encrypt'
collect2: error: ld returned 1 exit status
NOTICE: Your version of OpenSSL has been configured without IDEA support. That is OK.
testing for setenv()...
In file included from /usr/include/endian.h:60,
from /usr/include/x86_64-linux-gnu/sys/types.h:193,
from /usr/include/stdlib.h:394,
from tmptst.c:2:
/usr/include/x86_64-linux-gnu/bits/byteswap.h: In function 'main':
/usr/include/x86_64-linux-gnu/bits/byteswap.h:34:1: error: invalid storage class for function '__bswap_16'
__bswap_16 (__uint16_t __bsx)
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/byteswap.h:49:1: error: invalid storage class for function '__bswap_32'
__bswap_32 (__uint32_t __bsx)
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/byteswap.h:70:1: error: invalid storage class for function '__bswap_64'
__bswap_64 (__uint64_t __bsx)
^~~~~~~~~~
In file included from /usr/include/endian.h:61,
from /usr/include/x86_64-linux-gnu/sys/types.h:193,
from /usr/include/stdlib.h:394,
from tmptst.c:2:
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h:33:1: error: invalid storage class for function '__uint16_identity'
__uint16_identity (__uint16_t __x)
^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h:39:1: error: invalid storage class for function '__uint32_identity'
__uint32_identity (__uint32_t __x)
^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h:45:1: error: invalid storage class for function '__uint64_identity'
__uint64_identity (__uint64_t __x)
^~~~~~~~~~~~~~~~~
done
Generating Makefile.
Compiling. Please wait.
gcc -I/usr/include -I/usr/local/include -DUSE_ZLIB -DUSE_PCRE -DUSE_AES -DUSE_NCURSES -DHAVE_NCURSES_H -DUSE_SOCK -DSPOOL='"/home/mixmaster4k/Mix"' -g -Wall -DNDEBUG -c -o mix.o mix.c
mix.c: In function 'mix_upd_stats':
mix.c:985:28: warning: pointer targets in passing argument 1 of 'download_stats' differ in signedness [-Wpointer-sign]
download_stats(statssrc->data);
~~~~~~~~^~~~~~
In file included from mix.c:12:
mix3.h:130:5: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
int download_stats(char *sourcename);
^~~~~~~~~~~~~~
mix.c: In function 'mix_config':
mix.c:746:3: warning: 'strncat' specified bound 4096 equals destination size [-Wstringop-overflow=]
strncat(SECRINGNEW, ".new", PATHMAX); SECRINGNEW[PATHMAX-1]='\0';
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc mix.o rem.o rem1.o rem2.o chain.o chain1.o chain2.o nym.o pgp.o pgpdb.o pgpdata.o pgpget.o pgpcreat.o pool.o mail.o rfc822.o mime.o keymgt.o compress.o stats.o crypto.o random.o util.o buffers.o maildir.o parsedate.tab.o rndseed.o menu.o menusend.o menunym.o menuutil.o menustats.o main.o -ldl -lz -L/lib/x86_64-linux-gnu -lpcre -L/lib/x86_64-linux-gnu -lcrypto -L/usr/local/lib -lncurses -L/lib/x86_64-linux-gnu -o mixmaster
/usr/bin/ld: crypto.o: in function `buf_aes_ctr128':
/home/mixmaster4k/mixmaster4096/Src/crypto.c:579: undefined reference to `AES_ctr128_encrypt'
/usr/bin/ld: random.o: in function `rnd_final':
/home/mixmaster4k/mixmaster4096/Src/random.c:69: undefined reference to `RAND_cleanup'
collect2: error: ld returned 1 exit status
make: *** [Makefile:39: mixmaster] Error 1
Error: The compilation failed. Please consult the documentation (section
`Installation problems').
Remove the old Makefile? [y]
Technical Details
Message-ID:
<af9fff05a1a3cead3375a097f7e8a0cf@remailer.paranoici.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<20200104212441.00007031@mailchuck.com>Show Full Headers
Complete Article Headers
Message-ID: <af9fff05a1a3cead3375a097f7e8a0cf@remailer.paranoici.org> Subject: Re: building mixmaster 4096 in debian buster Date: Sun, 05 Jan 2020 18:18:17 +0000 From: Anonymous <nobody@remailer.paranoici.org> References: <20200104212441.00007031@mailchuck.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: alt.privacy.anon-server Organization: dizum.com - The Internet Problem Provider X-Abuse: abuse@dizum.com Injection-Info: sewer.dizum.com - 194.109.206.211