
July 7th, 2008, 03:55 PM
|
|
|
get RSS from behind firewall/proxy ?
Hi
I am trying to get fetch rss from news sites from behind our corporate
proxy/firewall but no php function has
worked - I have tried curl etc but simply get no response. These
scripts work fine at home so I have to believe it is due to our
restrictive network - any ideas ???
Thanks
Tim
|

July 7th, 2008, 10:05 PM
|
|
|
Re: get RSS from behind firewall/proxy ?
On Jul 7, 9:50*am, TMN <nash....@gmail.comwrote:
Quote:
Hi
>
I am trying to get fetch rss from news sites from behind our corporate
proxy/firewall but no php function has
worked *- I *have tried curl etc but simply get no response. These
scripts work fine at home so I have to believe it is due to *our
restrictive network - any ideas ???
>
Thanks
Tim
|
My experience with RSS is that CURL should work straight away, which
further reinforces your theory. I would suggest having a conversation
with your network admin. Figure out for sure if he's blocking RSS
feeds, and if so why. Maybe he can make an exception for your app.
If that's not an option, I'm really not sure what to tell you. I do
know that CURL should be able to do anything your web browser can do.
Back in High School I used to get through the firewall by using
babelfish as a proxy...maybe you could try that?
|

July 7th, 2008, 11:45 PM
|
|
|
Re: get RSS from behind firewall/proxy ?
Greetings, TMN.
In reply to Your message dated Monday, July 7, 2008, 18:50:57,
Quote:
I am trying to get fetch rss from news sites from behind our corporate
proxy/firewall but no php function has worked - I have tried curl etc but
simply get no response.
|
If you can access these RSS feeds from your regular browser - you have wrong
setup for cURL.
Quote:
These scripts work fine at home so I have to believe it is due to our
restrictive network - any ideas ???
|
Read my comment above - you haven't done enough testing.
Especially cURL can use proxy connections.
--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>
|

July 8th, 2008, 01:35 AM
|
|
|
Re: get RSS from behind firewall/proxy ?
TMN wrote:
Quote:
Hi
>
I am trying to get fetch rss from news sites from behind our corporate
proxy/firewall but no php function has
worked - I have tried curl etc but simply get no response. These
scripts work fine at home so I have to believe it is due to our
restrictive network - any ideas ???
>
Thanks
Tim
>
|
Can you access them from the your machine with any software? If so, you
have a programming problem. The firewall doesn't distinguish between
Curl and an RSS reader.
If you can't access then with any other software, chances are it is the
firewall - and you'll have to talk to your network administrator to get
access.
Good luck.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
|

July 8th, 2008, 08:25 PM
|
|
|
Re: get RSS from behind firewall/proxy ?
On Jul 7, 6:34*pm, AnrDaemon <anrdae...@freemail.ruwrote:
Quote:
Greetings, TMN.
In reply to Your message dated Monday, July 7, 2008, 18:50:57,
>
Quote:
I am trying to get fetch rss from news sites from behind our corporate
proxy/firewall but no php function has *worked - I *have tried curletc but
simply get no response.
|
>
If you can access these RSS feeds from your regular browser - you have wrong
setup for cURL.
>
Quote:
These scripts work fine at home so I have to believe it is due to *our
restrictive network - any ideas ???
|
>
Read my comment above - you haven't done enough testing.
Especially cURL can use proxy connections.
>
--
Sincerely Yours, AnrDaemon <anrdae...@freemail.ru>
|
Just use an online RSS news reader like Google Reader, it does
everything through port 80 so it won't be blocked.
|

July 9th, 2008, 12:05 AM
|
|
|
Re: get RSS from behind firewall/proxy ?
..oO(netstreamer)
Quote:
>Just use an online RSS news reader like Google Reader, it does
>everything through port 80 so it won't be blocked.
|
Normal RSS also works on port 80, it uses plain HTTP.
Micha
|

July 9th, 2008, 08:05 AM
|
|
|
Re: get RSS from behind firewall/proxy ?
AnrDaemon,Jerry
You guys are right - I can get the feeds in my browser.
But I have tried all the curl options I could find including:
curl_setopt($ch, CURLOPT_PROXY, 'fakeproxy.com:1080');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'user:password');
If you could give me some other pointers I would be gratefull !
Thanks
Tim
|

July 9th, 2008, 10:15 AM
|
|
|
Re: get RSS from behind firewall/proxy ?
netstreamer
I need to save the feeds for other purposes....
Tim
|

July 9th, 2008, 10:45 AM
|
|
|
Re: get RSS from behind firewall/proxy ?
TMN wrote:
Quote:
AnrDaemon,Jerry
>
You guys are right - I can get the feeds in my browser.
But I have tried all the curl options I could find including:
>
curl_setopt($ch, CURLOPT_PROXY, 'fakeproxy.com:1080');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'user:password');
>
>
If you could give me some other pointers I would be gratefull !
>
Thanks
Tim
>
|
Not knowing your network setup, it's almost impossible to give you a
good answer. But to start, what is your current code and the proxy
setting in your browser.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
|

July 10th, 2008, 03:55 PM
|
|
|
Re: get RSS from behind firewall/proxy ?
>
Quote:
I have no idea how your proxy is set up, so I have no idea how you need
to authenticate it. *The same is true for anyone else here.
>
You need to talk to your sysadmin and find out what's required for proxy
authentication.
|
Thanks - but how does my browser do it - all it knows is the proxy
address and my credentials ?
Tim
|

July 10th, 2008, 05:35 PM
|
|
|
Re: get RSS from behind firewall/proxy ?
TMN wrote:
Quote:
Quote:
>I have no idea how your proxy is set up, so I have no idea how you need
>to authenticate it. The same is true for anyone else here.
>>
>You need to talk to your sysadmin and find out what's required for proxy
>authentication.
|
>
>
Thanks - but how does my browser do it - all it knows is the proxy
address and my credentials ?
>
Tim
>
>
|
Tim,
There could be several ways, depending on your setup. For instance, you
might send a plain text userid/password. You could have an SSL
negotiated userid/password. You could have a client certificate... The
list goes on.
You really need to be talking to your sysadmin!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
|

July 11th, 2008, 08:35 AM
|
|
|
Re: get RSS from behind firewall/proxy ?
On Jul 10, 6:22*pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
Quote:
TMN wrote:
Quote:
Quote:
I have no idea how your proxy is set up, so I have no idea how you need
to authenticate it. *The same is true for anyone else here.
|
|
>
Quote:
Quote:
You need to talk to your sysadmin and find out what's required for proxy
authentication.
|
|
>
Quote:
Thanks - but how does my browser do it - all it knows is the proxy
address and my credentials ?
|
>>
Tim,
>
There could be several ways, depending on your setup. *For instance, you
might send a plain text userid/password. *You could have an SSL
negotiated userid/password. *You could have a client certificate... The
list goes on.
>
You really need to be talking to your sysadmin!
>
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
|
I am going to do that - thanks again for your help.
Tim
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over network members.
|