Article View: alt.privacy.anon-server
Article #81234Stunnel Banana Newsserver Configuration File [AUTHENTICATED]
From: BiKiKii-Admin
Date: Fri, 08 Aug 2003 20:46
Date: Fri, 08 Aug 2003 20:46
150 lines
6373 bytes
6373 bytes
-----BEGIN PGP SIGNED MESSAGE----- Zax, Below is a configuration file which allows only authenticated connections. The client only connects if it can verify the server certificate with a local copy. Also included is instruction for verifying the local copy's fingerprint. I suggest that you publish on your site the certificate fingerprint within a PGP signed message block. This would provide an additional level of authentication and reduce any potential MITM attack. PROMPT>openssl x509 -in publickey.pem -noout -fingerprint MD5 Fingerprint=5B:A7:99:D9:23:28:2E:03:9B:2F:A4:66:E0:EA:D8:80 PROMPT>openssl x509 -sha1 -in publickey.pem -noout -fingerprint SHA1 Fingerprint=8D:68:A6:AE:C8:37:BC:B1:3C:88:C1:A8:64:EA:68:32:98:4D:F1:6A If you do so just pick one, either SHA1 or MD5, and edit those instructions accordingly. Feel free to edit, modify, do whatever... I you have questions just ask. BiKiKii ################################################################ # # Stunnel Banana Newsserver Configuration File [AUTHENTICATED] # (verify peer with locally installed certificate) # ################################################################ # # NOTES # ## # FILES AND LOCATIONS # # Go to Stunnel.org and obtain the W32 binaries: # http://www.stunnel.org/download/stunnel/win32/ # (version numbers referenced herein are current as of 2003.08.08) # # Place the following four files in the same directory: # # From the /win32/ directory: # stunnel-4.04.exe # From either the /openssl-0.9.7b/ or /openssl-0.9.7b-bri01/ directory: # libeay32.dll, libssl32.dll and openssl.exe # # Rename "stunnel-4.04.exe" to "stunnel.exe" # # Copy and paste this configuration file into a text document # named "banana.conf" and place in the same directory. # # Have Stunnel use this configuration file by creating a # shortcut to stunnel.exe, name it "banana_news" # and make the shortcut's target: # [drive:][path]stunnel.exe banana.conf # # Run the following command: # # PROMPT>openssl rand -out bananarand.bin 2048 # # This will create a Banana randomseed file "bananarand.bin". # Stunnel will use it for seeding and overwrite on each run. # # Run the following command: # # PROMPT>openssl s_client -connect bananasplit.info:563 -showcerts -prexit > banana.pem # # This will request and save the Banana certificate to the file "banana.pem". # (You'll probably have to Ctrl+C to end the session.) # # Edit the banana.pem file so that the format is: # # -----BEGIN CERTIFICATE----- # MIIDJDCCAo2gAwIBAgIBADANBgkqhkiG9w0BAQQFADBwMQswCQYDVQQGEwJVSzEO # # [snipped] # # LyS8oWX6gYVOyAwOwBcMH6qaXXDa0C5unSXEJcODGMC6gF+6dxoEjA== # -----END CERTIFICATE----- # # # Verify the certificate fingerprint with that published by the holder. # # Display the certificate MD5 fingerprint: # # PROMPT>openssl x509 -in banana.pem -noout -fingerprint # # Display the certificate SHA1 fingerprint: # # PROMPT>openssl x509 -sha1 -in banana.pem -noout -fingerprint # ## # CLIENT CONFIGURATION # # In your Client create a server profile named "Banana" # with address 127.0.0.1 and port 119 # ## # USAGE # # Start Stunnel by activating the shortcut "banana_news" # Connect you client to the "Banana" server profile. # ## # COMMENTS # # If there are problems review the Output file "banana.log". # When proper opertion is confirmed, you many want to eliminate # or reduce the debug level/logging. # # For more information/options see: # # PROMPT>stunnel -help # # Every line with a " # " is a comment and may be removed. # The "actual" configuration file begins below. # ################################################################ # RNDbytes = 2048 RNDfile = bananarand.bin RNDoverwrite = yes client = yes options = ALL CAfile = banana.pem verify = 3 debug = 7 output = banana.log # [BANANA_NNTPS] accept = 119 connect = bananasplit.info:563 delay = no # ################################################################ -----BEGIN PGP SIGNATURE----- Version: N/A iQEVAwUBPzQL4PBluLRpZm7PAQEqrAgA39WcNGPbx97FJtMQfaAOA75sPhqTJ3xm HSE598IaLuxKpdl5FEDz/Yvp3RrhIcOYg+GXnTYJ89rtQwZbYoN4wZc+y9A/J7pB L1OuB+IUlx3yd6JXoA1Mi18FkgO71Ix0uksRpS573RlaqzAV0U2yN0aNT7UaFcxN ul16fBERabz4DkYwg6PnZFQuG1fsKT4CAleyPOfz1vVW1//oG+P4TCCs8a9SqdV/ mf5aSyLxUfdCUp/6MTxHbRMIhtCrmuJhwOMDQXGCRANehJDer8gUrmwtdNAF/toJ KshFKLduLItDFqenQt4fdChLXrnuMLB8uCoHP/Yr4zJicARfP5zCeg== =zepj -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<10657C5309F@bikikii.ath.cx>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.tiscali.ch!npeer.de.kpn-eurorings.net!newsfeed.eunet.at!newsfeed.eunet.at!anon.lcs.mit.edu!nym.alias.net!mail2newsReferences:
<a772322a666b39a16d038a141372faa3@rebleep> <bgs38g$1e3$1@bananasplit.info> <ukr4jvs5qbc9vi1nj88ri4bruv5rkfmlth@4ax.com> <1EE5AC55EAF@bikikii.ath.cx> <bgu26s$jhg$1@bananasplit.info>Show Full Headers
Complete Article Headers
Message-ID: <10657C5309F@bikikii.ath.cx> Subject: Stunnel Banana Newsserver Configuration File [AUTHENTICATED] Date: Fri, 08 Aug 2003 20:46:43 +0000 From: BiKiKii-Admin <Use-Author-Address-Header@[127.1]> References: <a772322a666b39a16d038a141372faa3@rebleep> <bgs38g$1e3$1@bananasplit.info> <ukr4jvs5qbc9vi1nj88ri4bruv5rkfmlth@4ax.com> <1EE5AC55EAF@bikikii.ath.cx> <bgu26s$jhg$1@bananasplit.info> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.tiscali.ch!npeer.de.kpn-eurorings.net!newsfeed.eunet.at!newsfeed.eunet.at!anon.lcs.mit.edu!nym.alias.net!mail2news Author-Address: Use-Author-Supplied-Address-Header <AT> [127 <DOT> 1] Author-Supplied-Address: remailer-admin <AT> bikikii <DOT> ath <DOT> cx Organization: BiKiKii Anonymous Remailer http://bikikii-remailer.noneto.com Comments: This remailer is a free service that allows individuals including crime victims, domestic violence victims, persons in recovery, and others, such as those living under oppressive regimes, to communicate confidentially in a manner that ensures their privacy under even the most adverse conditions. Please report problems or inappropriate use to the remailer administrator at <abuse@bikikii.ath.cx> X-Face: 18e<YzwG8P%6f#~&iq_>DyyW^c%J0A^h}`\1@bPk#Ccx9NH.8Ol;DC.of\x*>7dHM;luc)"c-}r-!D)/O?/[Of+I.$&,r0?Cv^7ma2m/;IF3L~+*)k,0:i$- Newsgroups: alt.privacy.anon-server Mail-To-News-Contact: postmaster@nym.alias.net Lines: 153