DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-10-25 20:42:34

mastervol
Member
Registered: 2008-09-06
Posts: 81

usenet autoposter with SSL

i was looking for a way to post automatically to usenet with ssl support:

newspost (usenet auto poster)
stunnel (encrypted transfer)

needed packages:
as described in this blog http://www.shadowandy.net/2008/08/addin … ns-323.htm i installed the following packages to compile newspost and stunnel:

via 'funpkg -i [packagename]
x:\ffp\pkg\additional\autoconf-2.61-2.tgz
x:\ffp\pkg\additional\automake-1.10.1-2.tgz
x:\ffp\pkg\additional\binutils-2.18.50.0.1-4.tgz
x:\ffp\pkg\additional\bison-2.3-3.tgz
x:\ffp\pkg\additional\fanctl-2-1.tgz
x:\ffp\pkg\additional\flex-2.5.33-5.tgz
x:\ffp\pkg\additional\gcc-4.1-2.tgz
x:\ffp\pkg\additional\gettext-0.17-2.tgz
x:\ffp\pkg\additional\kernel-headers-2.6.9.1-2.tgz
x:\ffp\pkg\additional\make-3.81-3.tgz
x:\ffp\pkg\additional\openssl-0.9.8h-1.tgz
x:\ffp\pkg\additional\patch-2.5.9-3.tgz
x:\ffp\pkg\additional\uclibc-0.9.29-7.tgz

extract and configure, make, make install (see documentation on project websites):
x:\ffp\pkg\additional\newspost-2.1.1.tar.gz
x:\ffp\pkg\additional\stunnel-4.26.tar.gz

stunnel.conf:

Code:

client = yes
;debug = 7

[nntps]
connect = news.newsserver.com:563
accept = 127.0.0.1:2000

configure stunnel:
./configure --with-ssl=/ffp

start stunnel:
./stunnel /mnt/HD_a2/stunnel/stunnel-4.26/tools/mystunnel.conf

post away using parameter: -i localhost:2000
manual can be found here: http://pwet.fr/man/linux/commandes/newspost

the only problem is that if you store your default settings with 'newspost -d' you newspost doesn't work anymore and you have to restart the box.
in other words: you have to use the settings (server, user, password, newsgroup, ...) in every newspost call

maybe newspost can be added to the ffp supported packages??

e.g.
newspost -y -n hr.test -s /mnt/HD_a2/upload/mp3/*.mp3 -i localhost -z 2000 -u username -p password -v
newspost -y -n hr.test -s /mnt/HD_a2/upload/avi/*.avi -i localhost -z 2000 -u username -p password -v
...

Last edited by mastervol (2008-10-25 20:43:43)


DNS-323     F/W: 1.06  H/W: ??  ffp: 0.5  Drives (normal mode): 1 x 1,5 TB Seagate SATA II ST31500341AS, 1 x 250 GB Western Digital SATA I

Offline

 

#2 2008-11-16 20:41:32

mastervol
Member
Registered: 2008-09-06
Posts: 81

Re: usenet autoposter with SSL

news:

ok after some testing i just discovered that bigger files (> 500K) seem to pose a problem.
small test files (~ 1-5 K) get posted via stunnel.

*update*
i tried another post app (ypost) it freezes as well .. seems to be a stunnel issue.
lets see what the devs of stunnel say.

Last edited by mastervol (2008-11-16 21:01:58)


DNS-323     F/W: 1.06  H/W: ??  ffp: 0.5  Drives (normal mode): 1 x 1,5 TB Seagate SATA II ST31500341AS, 1 x 250 GB Western Digital SATA I

Offline

 

#3 2008-12-28 19:09:24

mastervol
Member
Registered: 2008-09-06
Posts: 81

Re: usenet autoposter with SSL

still no luck
i can use stunnel to download via nzbget, but uploading is a no go:


From: '****' <*****@*******.*******>
Newsgroups: alt.b*********.********
Subject: 'test2.file.1.of.1'

1 File: 891 KB
UUencoding 891 KB total and posting to localhost

Posting in 1 second...
Connecting to localhost... done.
Logging on to localhost... done.
testfime - 891 KB (3 parts, 1.2 MB encoded)
Posting part 1 of 3 - 33% - 1.5 KB/second
WARNING: unexpected server response: 340 send article
Retrying
Socket error: Broken pipe


DNS-323     F/W: 1.06  H/W: ??  ffp: 0.5  Drives (normal mode): 1 x 1,5 TB Seagate SATA II ST31500341AS, 1 x 250 GB Western Digital SATA I

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB