🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
18 messages
18 total messages Started by Rockinghorse Winner Mon, 31 Jan 2011 21:46
[slrn]Any Way to Change User-Agent Header When Compiling?
#244633
Author: Rockinghorse Winner
Date: Mon, 31 Jan 2011 21:46
11 lines
1677 bytes
I'm a newbie at compiling from source. Just done it with 1 or 2
applications, including slrn. I think it would be cool to be able to change
the User-Agent header. Grepping my source directory, I cannot find a file
that has what I'm looking for.

*R* *H*
-- 
          Powered by Linux	        |/     2.6.32.26-175 Fedora 12 
 "No spyware. No viruses. No nags."     |/   2.6.31.12-0.2 OpenSUSE 11.2 
       http://www.jamendo.com           |/        
    "Preach the gospel always; when necessary use words."  St. Francis    
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244635
Author: Troy Piggins
Date: Tue, 01 Feb 2011 00:48
14 lines
1741 bytes
* Rockinghorse Winner wrote :
> I'm a newbie at compiling from source. Just done it with 1 or 2
> applications, including slrn. I think it would be cool to be able to change
> the User-Agent header. Grepping my source directory, I cannot find a file
> that has what I'm looking for.
>
> *R* *H*

Andrew has written a patch to achieve this but I can't seem to
locate it on the slrn site.  I'm sure he'll be along soon to help
you out.

-- 
Troy Piggins
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244639
Author: andrew
Date: Tue, 01 Feb 2011 05:55
18 lines
1761 bytes
On 2011-02-01, Troy Piggins <usenet-1102@piggo.com> wrote:
> * Rockinghorse Winner wrote :
>> I'm a newbie at compiling from source. Just done it with 1 or 2
>> applications, including slrn. I think it would be cool to be able to change
>> the User-Agent header. Grepping my source directory, I cannot find a file
>> that has what I'm looking for.
>
> Andrew has written a patch to achieve this but I can't seem to
> locate it on the slrn site.  I'm sure he'll be along soon to help
> you out.

http://www.andrews-corner.org/patches/custom_os.patch

Andrew


-- 
Do you think that's air you're breathing?
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244640
Author: Troy Piggins
Date: Tue, 01 Feb 2011 06:43
23 lines
2135 bytes
* andrew wrote :
> On 2011-02-01, Troy Piggins <usenet-1102@piggo.com> wrote:
>> * Rockinghorse Winner wrote :
>>> I'm a newbie at compiling from source. Just done it with 1 or 2
>>> applications, including slrn. I think it would be cool to be able to change
>>> the User-Agent header. Grepping my source directory, I cannot find a file
>>> that has what I'm looking for.
>>
>> Andrew has written a patch to achieve this but I can't seem to
>> locate it on the slrn site.  I'm sure he'll be along soon to help
>> you out.
>
> http://www.andrews-corner.org/patches/custom_os.patch
>
> Andrew

See?  Haven't seen or heard from you for ages, but knew you'd be
along to help   :)

How's things?

-- 
Troy Piggins
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244641
Author: Rockinghorse Winner
Date: Tue, 01 Feb 2011 08:46
27 lines
2340 bytes
* It may have been the liquor talking, but 
andrew <andrew@skamandros.invalid> wrote:

> On 2011-02-01, Troy Piggins <usenet-1102@piggo.com> wrote:
>> * Rockinghorse Winner wrote :
>>> I'm a newbie at compiling from source. Just done it with 1 or 2
>>> applications, including slrn. I think it would be cool to be able to change
>>> the User-Agent header. Grepping my source directory, I cannot find a file
>>> that has what I'm looking for.
>>
>> Andrew has written a patch to achieve this but I can't seem to
>> locate it on the slrn site.  I'm sure he'll be along soon to help
>> you out.
>
> http://www.andrews-corner.org/patches/custom_os.patch
>
> Andrew

Andrew, thanks a lot. Could you condescend to letting a newbie like myself
know how to apply the patch (this should come in handy down the line, too!).

*R* *H*
-- 
          Powered by Linux	        |/     2.6.32.26-175 Fedora 12 
 "No spyware. No viruses. No nags."     |/   2.6.31.12-0.2 OpenSUSE 11.2 
       http://www.jamendo.com           |/        
    "Preach the gospel always; when necessary use words."  St. Francis    
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244643
Author: andrew
Date: Tue, 01 Feb 2011 10:41
14 lines
1638 bytes
On 2011-02-01, Troy Piggins <usenet-1102@piggo.com> wrote:

> See?  Haven't seen or heard from you for ages, but knew you'd be
> along to help   :)
>
> How's things?

Keeping busy, glad to be a long way from the terrible weather in your
neck of the woods :)

Andrew

-- 
Do you think that's air you're breathing?
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244642
Author: andrew
Date: Tue, 01 Feb 2011 10:47
18 lines
1884 bytes
On 2011-02-01, Rockinghorse Winner <rwinner@remove_this.hmamail.com> wrote:

> Andrew, thanks a lot. Could you condescend to letting a newbie like myself
> know how to apply the patch (this should come in handy down the line, too!).

Easiest way is to change into the directory containing the (svn) slrn
source code and then run:

$ wget http://www.andrews-corner.org/patches/custom_os.patch
$ patch -p0 < custom_os.patch

and then compile as normal. The syntax for the .slrnrc file is suggested
at the top of the patch file itself. Have fun with it :)

Andrew

-- 
Do you think that's air you're breathing?
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244644
Author: Mike Yetto
Date: Tue, 01 Feb 2011 12:46
19 lines
2232 bytes
andrew <andrew@skamandros.invalid> writes and having writ moves on.
>On 2011-02-01, Troy Piggins <usenet-1102@piggo.com> wrote:

>> See?  Haven't seen or heard from you for ages, but knew you'd be
>> along to help   :)
>>
>> How's things?

>Keeping busy, glad to be a long way from the terrible weather in your
>neck of the woods :)

I don't know about elsewhere, but here in the New York Capital
District everyone's complaining about the snow without realizing
this is the first normal winter in several years.

Mike "it's *winter* people, it should snow" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244645
Author: Lewis
Date: Tue, 01 Feb 2011 13:11
27 lines
2766 bytes
In message <slrn20110201074434.991.twooffive@may.eternal-september.org> 
  Mike Yetto <myetto1@nycap.invalid> wrote:
> andrew <andrew@skamandros.invalid> writes and having writ moves on.
>>On 2011-02-01, Troy Piggins <usenet-1102@piggo.com> wrote:

>>> See?  Haven't seen or heard from you for ages, but knew you'd be
>>> along to help   :)
>>>
>>> How's things?

>>Keeping busy, glad to be a long way from the terrible weather in your
>>neck of the woods :)

> I don't know about elsewhere, but here in the New York Capital
> District everyone's complaining about the snow without realizing
> this is the first normal winter in several years.

> Mike "it's *winter* people, it should snow" Yetto

I don't mind snow. I mind the stupidly cold temperatures. It is
currently -22C here, and the 'high' for today will be -17 or so.

-- 
This wasn't a proper land. The sky was blue, not flaming with all the
colours of the aurora. And time was passing. To a creature not born
subject to time, it was a sensation not unakin to falling. --Lords and
Ladies
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244648
Author: Rockinghorse Winner
Date: Tue, 01 Feb 2011 17:34
25 lines
2297 bytes
* It may have been the liquor talking, but 
andrew <andrew@skamandros.invalid> wrote:

> On 2011-02-01, Rockinghorse Winner <rwinner@remove_this.hmamail.com> wrote:
>
>> Andrew, thanks a lot. Could you condescend to letting a newbie like myself
>> know how to apply the patch (this should come in handy down the line, too!).
>
> Easiest way is to change into the directory containing the (svn) slrn
> source code and then run:
>
> $ wget http://www.andrews-corner.org/patches/custom_os.patch
> $ patch -p0 < custom_os.patch
>
> and then compile as normal. The syntax for the .slrnrc file is suggested
> at the top of the patch file itself. Have fun with it :)

Sounds awesome. Thanks again. :)

*R* *H*
-- 
          Powered by Linux	        |/     2.6.32.26-175 Fedora 12 
 "No spyware. No viruses. No nags."     |/   2.6.31.12-0.2 OpenSUSE 11.2 
       http://www.jamendo.com           |/        
    "Preach the gospel always; when necessary use words."  St. Francis    
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244649
Author: andrew
Date: Tue, 01 Feb 2011 19:21
11 lines
1572 bytes
On 2011-02-01, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:

> I don't mind snow. I mind the stupidly cold temperatures. It is
> currently -22C here, and the 'high' for today will be -17 or so.

Don't complain it is 40 degrees Celsius here for several day running :(

Andrew
-- 
Do you think that's air you're breathing?
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244651
Author: Lewis
Date: Tue, 01 Feb 2011 21:39
20 lines
2462 bytes
In message <20110202062003.955@skamandros.andrews-corner.org> 
  andrew <andrew@skamandros.invalid> wrote:
> On 2011-02-01, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:

>> I don't mind snow. I mind the stupidly cold temperatures. It is
>> currently -22C here, and the 'high' for today will be -17 or so.

> Don't complain it is 40 degrees Celsius here for several day running :(

OK, I would rather have -22 than 40, as long as I can stay inside.

If I have to go out, I'd rather it be 40 than -22.

Currently it is up to -18! Woot.

-- 
The omnipotent eyesight of various supernatural entities is often
remarked upon. It is said that they can see the fall of every sparrow.
And this may be true. But there is only one who is always there when it
hits the ground. --Hogfather
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244652
Author: Rockinghorse Winner
Date: Wed, 02 Feb 2011 01:17
59 lines
3322 bytes
* It may have been the liquor talking, but 
Rockinghorse Winner <rwinner@remove_this.hmamail.com> wrote:

> * It may have been the liquor talking, but 
> andrew <andrew@skamandros.invalid> wrote:
>
>> On 2011-02-01, Rockinghorse Winner <rwinner@remove_this.hmamail.com> wrote:
>>
>>> Andrew, thanks a lot. Could you condescend to letting a newbie like myself
>>> know how to apply the patch (this should come in handy down the line, too!).
>>
>> Easiest way is to change into the directory containing the (svn) slrn
>> source code and then run:
>>
>> $ wget http://www.andrews-corner.org/patches/custom_os.patch
>> $ patch -p0 < custom_os.patch
>>
>> and then compile as normal. The syntax for the .slrnrc file is suggested
>> at the top of the patch file itself. Have fun with it :)
>
> Sounds awesome. Thanks again. :)

Ran into a problem applying patch. Here is the output I encountered:

File to patch: ./version.c
patching file ./version.c
Hunk #1 FAILED at 43.
1 out of 1 hunk FAILED -- saving rejects to file ./version.c.rej
can't find file to patch at input line 40
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------

File to patch: post.c
patching file post.c
can't find file to patch at input line 68
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------

File to patch: post.h
patching file post.h
can't find file to patch at input line 80
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------

File to patch: startup.c
patching file startup.c
Hunk #1 succeeded at 709 (offset -1 lines).



*R* *H*
-- 
          Powered by Linux	        |/     2.6.32.26-175 Fedora 12 
 "No spyware. No viruses. No nags."     |/   2.6.31.12-0.2 OpenSUSE 11.2 
       http://www.jamendo.com           |/        
    "Preach the gospel always; when necessary use words."  St. Francis    
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244654
Author: andrew
Date: Wed, 02 Feb 2011 05:48
27 lines
2259 bytes
On 2011-02-02, Rockinghorse Winner <rwinner@remove_this.hmamail.com> wrote:

> Ran into a problem applying patch. Here is the output I encountered:
>
> File to patch: ./version.c
> patching file ./version.c
> Hunk #1 FAILED at 43.

I have vague memories that you use Ubuntu? Perhaps try something like
the following:

$ sudo apt-get install build-essential subversion checkinstall
$ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
$ cd slrn
$ wget http://www.andrews-corner.org/patches/custom_os.patch
$ patch -p0 < custom_os.patch 
$ ./configure
$ make
$ sudo checkinstall --install=yes --fstrans=no

This will build a basic slrn without slrnpull, you will have to add a
few options to build with it. Hope this makes it a little easier?

Andrew

-- 
Do you think that's air you're breathing?
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244658
Author: Rockinghorse Winner
Date: Wed, 02 Feb 2011 05:59
36 lines
2807 bytes
* It may have been the liquor talking, but 
andrew <andrew@skamandros.invalid> wrote:

> On 2011-02-02, Rockinghorse Winner <rwinner@remove_this.hmamail.com> wrote:
>
>> Ran into a problem applying patch. Here is the output I encountered:
>>
>> File to patch: ./version.c
>> patching file ./version.c
>> Hunk #1 FAILED at 43.
>
> I have vague memories that you use Ubuntu? Perhaps try something like
> the following:
>
> $ sudo apt-get install build-essential subversion checkinstall
> $ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
> $ cd slrn
> $ wget http://www.andrews-corner.org/patches/custom_os.patch
> $ patch -p0 < custom_os.patch 
> $ ./configure
> $ make
> $ sudo checkinstall --install=yes --fstrans=no
>
> This will build a basic slrn without slrnpull, you will have to add a
> few options to build with it. Hope this makes it a little easier?

Actually I'm using Fedora 12. I've already compiled slrn with slrnpull
successfully. I was just trying to apply the patch. But thanks for your
help. I just wanted to spoof with it. 

*R* *H*
-- 
          Powered by Linux	        |/     2.6.32.26-175 Fedora 12 
 "No spyware. No viruses. No nags."     |/   2.6.31.12-0.2 OpenSUSE 11.2 
       http://www.jamendo.com           |/        
    "Preach the gospel always; when necessary use words."  St. Francis    
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244669
Author: Peter J Ross
Date: Wed, 02 Feb 2011 22:08
22 lines
2104 bytes
In news.software.readers on Tue, 1 Feb 2011 21:59:41 -0800,
Rockinghorse Winner <rwinner@remove_this.hmamail.com> wrote:

> I was just trying to apply the patch. But thanks for your help. I
> just wanted to spoof with it. 

Some people might think that spoofing headers is rather naughty. But
if you really want to do it, you'd be better off running a recent
version of Leafnode 2 with a script to modify the headers before the
article is sent upstream.

There's a lot more to spoofing than just changing the User-Agent line.
E.g., some newsreaders use "X-Newsreader:" instead, and all of them
have little quirks that make it usually quite easy to detect when
there's something funny going on.

/me waves to the slrn mafia and the benighted savages who use other
newsreaders.


-- 
PJR :-)
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244676
Author: andrew
Date: Wed, 02 Feb 2011 22:20
20 lines
2174 bytes
On 2011-02-02, Peter J Ross <pjr@example.invalid> wrote:

> There's a lot more to spoofing than just changing the User-Agent line.
> E.g., some newsreaders use "X-Newsreader:" instead, and all of them
> have little quirks that make it usually quite easy to detect when
> there's something funny going on.

I don't use my own patch as I felt a little uneasy about altering
headers in this way. I personally did it just for a little fun but I
could see all the other possibilities as well...

> /me waves to the slrn mafia and the benighted savages who use other
> newsreaders.

Good to see you back PJR :)

Andrew

-- 
Do you think that's air you're breathing?
Re: [slrn]Any Way to Change User-Agent Header When Compiling?
#244693
Author: Peter J Ross
Date: Thu, 03 Feb 2011 00:40
9 lines
1614 bytes
In news.software.readers on Thu, 03 Feb 2011 09:20:13 +1100, andrew
<andrew@skamandros.invalid> wrote:

> Good to see you back PJR :)

Thanks! It's good to *be* back!

-- 
PJR :-)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads