Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Howto: SSL Usenet and Grabbit


You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion

Howto: SSL Usenet and Grabbit
Reply
 
Thread Tools
Old 02-05-2008, 18:24   #1
cf.mega poster
 
dragon's Avatar
 
Join Date: Jan 2004
Posts: 3,042
dragon has entered a golden reputation era
dragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation era
Howto: SSL Usenet and Grabbit

For those of you that don't want to shell out for one of the paid for Usenet clients Grabit is a great free alternative application for grabbing stuff off Usenet.

You can download it from http://www.shemes.com/

One feature that grabit however lacks is the ability to use an SSL encrypted connection which for those of you would prefer to use SSL for whatever reason but don't want to buy a newsreader here's a workaround to use Grabit over a SSL connection.

I used to use linux and the newsreader I used at the time didn't support SSL either, however after some searching I found out about a neat little program called Stunnel which is a Proxy that takes The Unencrypted traffic and encrypts it using SSL, it worked perfectly.

There is a windows port of stunnel and with a couple of quick changes to the configuration it works great with Grabit.

Here's how you set it up.

1) Download and install Grabit if you aren't already using it.

2) Download the latest Stunnel from http://www.stunnel.org/download/binaries.html

3) Install Stunnel

4) Click the option on the start menu to "Edit Stunnel.conf" (Note: vista users with UAC enabled need to right click and "Run as Adminstrator" or you won't be able to save the changes)


Find the lines

Code:
; Use it for client mode
;client = yes
Replace with

Code:
; Use it for client mode
client = yes
debug = debug
Then above the line
Code:
; vim:ft=dosini
Add the following

Code:
[usenet]
accept = 127.0.0.1:119
connect = Server.Address:563
(replacing server.address with the address of your Usenet providers server and if Necessary 563 for the port used for their SSL service. (563 is the default Usenet SSL port))

Find the lines

Quote:
[pop3s]
accept = 995
connect = 110

[imaps]
accept = 993
connect = 143

[ssmtp]
accept = 465
connect = 25

;[https]
;accept = 443
;connect = 80
;TIMEOUTclose = 0
And remove them (we don't want it listening for other connections, could be a security risk)

5) Start Stunnel, you should get a new Icon in your system tray, clicking it will display the stunnel log

6) Start grabit and set your newserver to 127.0.0.1 port 119 but set the username/Password/ Maximum connections as directed by your service provider.

7) Try and connect all going well what should happen is grabit will connect as usual and you should see some Output in the log from Stunnel.


This of course doesn't apply just to Grabit it should work with any application where you want to connect to an SSL enabled service where the application doesn't support SSL.

Note: The connection between the Application and Stunnel will still be unencrypted but as your only connecting back to yourself (127.0.0.1) It should be fairly safe.
__________________
It's Not a Bug It's a 'Feature'

Last edited by dragon; 02-05-2008 at 19:07.
dragon is offline   Reply With Quote
Old 02-05-2008, 19:09   #2
Eric Cartman Wannabe
 
punky's Avatar
 
Join Date: Jun 2003
Location: Cockney geeza land
Age: 27
Services: c:\> net start punky
Posts: 11,836
punky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quads
punky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quadspunky has a fine set of Quads
Re: Howto: SSL Usenet and Grabbit

Excellent find mate

Given the expected increase of Deep Packet Inspection by ISPs, now is a good time to use it
__________________
"We're not here for a long time, we're here for a good time" - Mike Ness (Social Distortion)
"Reach for the sky, 'cause tomorrow may never come" - Reach For The Sky (Social Distortion)
punky is offline   Reply With Quote
Old 02-05-2008, 19:24   #3
cf.mega poster
 
dragon's Avatar
 
Join Date: Jan 2004
Posts: 3,042
dragon has entered a golden reputation era
dragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation era
Re: Howto: SSL Usenet and Grabbit

Thank's no problem.

Basically followed a tut for the linux version but changed it slightly to work with the windows version of stunnel
__________________
It's Not a Bug It's a 'Feature'
dragon is offline   Reply With Quote
Old 28-06-2008, 12:14   #4
cf.member
 
Join Date: Jan 2007
Posts: 1
franchise_mark is an unknown quantity at this point
Re: Howto: SSL Usenet and Grabbit

A big thank you from me too. This helped solve my problem with Grabbit, and (with very minor amendments) it works with Xnews as well.

Thanks again.

Mark
franchise_mark is offline   Reply With Quote
Old 28-06-2008, 12:33   #5
cf.geek
 
brundles's Avatar
 
Join Date: Jan 2006
Location: Berkshire
Posts: 867
brundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud ofbrundles has much to be proud of
Re: Howto: SSL Usenet and Grabbit

Not to steal dragons thunder for an excellent post, but another free option is ninan - it supports SSL and runs on most platforms as it's JAVA based.
__________________
brundles is offline   Reply With Quote
Old 28-06-2008, 15:35   #6
cf.mega poster
 
dragon's Avatar
 
Join Date: Jan 2004
Posts: 3,042
dragon has entered a golden reputation era
dragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation eradragon has entered a golden reputation era
Re: Howto: SSL Usenet and Grabbit

Quote:
Originally Posted by brundles View Post
Not to steal dragons thunder for an excellent post, but another free option is ninan - it supports SSL and runs on most platforms as it's JAVA based.
It's not my Thunder anyway, I'm not the first person to write up how to do it.

Infact what I didn't relise when I posted it here is someone had already written up pretty much the same thing over at the grabit forums for a while.

I based my write up on one of the tutorials for using Stunel with Pan on linux.

Although thanks for the info regarding ninan, might have to have a try of that later.
__________________
It's Not a Bug It's a 'Feature'
dragon is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 07:39.


Links
Google
 
Web www.cableforum.co.uk


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Copyright © 2003 - 2008, Cable Forum.
(s204569790.onlinehome.info)