Re: PPP without using a kernel module?

2008-09-28 Thread Geoffrey S. Mendelson

On Mon, Sep 29, 2008 at 12:37:14PM +1000, Amos Shapira wrote:

2008/9/29 Geoffrey S. Mendelson <[EMAIL PROTECTED]>:

I have a need to set up a VPN to a "virutal sever" which does not support
PPP in the kernel.
Is there such a thing as a USER SPACE only implementation of ppp?

There is one for SLIP (e.g. SLIRP), but I need ppp.


Does it HAVE to be PPP or can you make use of "VPN over SSH", for
instance (requires TUN kernel support)


So far, I have been able to get a SOCKS proxy using SSH to work, a freeware
socks capture program (freecap) to send traffic from programs that do not
support socks. 


The problem I have is that for "security reasons", a specific application does
not support proxies, although they claim it does. This is well documented
and has been reported as a "bug" many times. So my chance of anything 
happening is small, but unlikey.


The linux side is some sort of virtualized machine, which I have been told
is more like a jail, than a true independent VM.  It does not support 
PPP, thought from what I can see Slirp, which does runs under it will.


I have not been able to get a connection to work yet, though.

Whatever I can do, I have 100% freedom to implement over userspace, and
zero freedom to implement over kernel space without joining the development
team for the virtualization product. Since someone submitted PPP support
around two years ago to the project, but they declined to include it,
I don't think I would have more success.



Example ref: http://gentoo-wiki.com/HOWTO_VPN_over_SSH_and_tun

I'm not sure it's suitability for your requirements but maybe worth
investigation if you get stuck on the SLirp path for too long...


I'll look into it. 


Thanks,

Geoff.

--
Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: PPP without using a kernel module?

2008-09-28 Thread Amos Shapira
2008/9/29 Geoffrey S. Mendelson <[EMAIL PROTECTED]>:
> I have a need to set up a VPN to a "virutal sever" which does not support
> PPP in the kernel.
> Is there such a thing as a USER SPACE only implementation of ppp?
>
> There is one for SLIP (e.g. SLIRP), but I need ppp.

Does it HAVE to be PPP or can you make use of "VPN over SSH", for
instance (requires TUN kernel support)

Example ref: http://gentoo-wiki.com/HOWTO_VPN_over_SSH_and_tun

I'm not sure it's suitability for your requirements but maybe worth
investigation if you get stuck on the SLirp path for too long...

--Amos

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



slirp chicken and egg problem

2008-09-28 Thread Geoffrey S. Mendelson
Thanks for the suggestions and help, I'm further along, but here's were 
I'm stuck.


If I invoke pptp and connect to it from a windows machine, it makes
a connection and then passes control to pppd. On a regular system
pppd passes back a data stream that windows recongnizes as coming 
from pppd and starts communicating.


In my case, I can't run pppd because it calls the kernel ppp driver and
the kernel does not have it.

So I tried to replace pppd with Slirp. Slirp supports ppp. So I tell
pptpd to invoke slirp instead of pppd, and include ppp in the slirp options
file.

I start up pptp, and it waits. I connect from windows and it starts Slirp.
Slirp displays a message that it's starting and going into ppp mode.

Windows waits for a response from Slirp, as if it were pppd, and Slirp
waits for a response from Windows.

What do I do?

Thanks,

Geoff.



--
Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: PPP without using a kernel module?

2008-09-28 Thread sara fink
in google.com/linux you can find some results for userspace ppp.
http://www.google.com/linux?hl=en&q=userspace+ppp&btnG=Search

see if you can find something there.

On Sun, Sep 28, 2008 at 9:10 PM, Geoffrey S. Mendelson <[EMAIL PROTECTED]>wrote:

> I have a need to set up a VPN to a "virutal sever" which does not support
> PPP in the kernel.
> Is there such a thing as a USER SPACE only implementation of ppp?
>
> There is one for SLIP (e.g. SLIRP), but I need ppp.
>
> Thanks,
>
> Geoff.
> --
> Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>


Re: PPP without using a kernel module?

2008-09-28 Thread Tzafrir Cohen
On Sun, Sep 28, 2008 at 09:10:21PM +0300, Geoffrey S. Mendelson wrote:
> I have a need to set up a VPN to a "virutal sever" which does not support
> PPP in the kernel. 
>
> Is there such a thing as a USER SPACE only implementation of ppp?
>
> There is one for SLIP (e.g. SLIRP), but I need ppp.

Slirp does emulate PPP.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



PPP without using a kernel module?

2008-09-28 Thread Geoffrey S. Mendelson

I have a need to set up a VPN to a "virutal sever" which does not support
PPP in the kernel. 


Is there such a thing as a USER SPACE only implementation of ppp?

There is one for SLIP (e.g. SLIRP), but I need ppp.

Thanks,

Geoff.
--
Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Firefox chokes on YNET

2008-09-28 Thread Shlomo Solomon
I got several replies. Here's a summary of what worked or didn't.


On Sunday 28 September 2008, Ori Idan wrote:
> I think it is because of the the many flash adds they have.
> Use adblock to block these adds and it should work fine.
I installed adblock plus, but it didn't solve the problem. CPU use dropped 
only slightly, but adblock killed all the pictures and the icons at the top 
of the page (but only some of the flash!!) so YNET was not really usable.


On Sunday 28 September 2008, David Ronkin wrote:
> I had the same issue in Suse. After i installed the Flash blocker it
> disappeared:
> https://addons.mozilla.org/en-US/firefox/search?q=flash+block&cat=all
This did seem to solve the problem, but, although I agree there's to much 
flash on YNET, killing it all seems to be over-kill.


On Sunday 28 September 2008, Boaz Rymland wrote:
> To the best of my knowledge its not the flash objects on the page but
> rather the JS they use there. I was told once its the scrolling news
> thingy they use which eats the CPU.
I don't think that's true. After installing flash blocker, the scrolling news 
was also gone. Clicking on the location it usually appears re-enabled the 
scrolling news and CPU use only went up about 2%.


On Sunday 28 September 2008, Gal Gur-Arie wrote:
> If you'r using the extension of the HTML validator then disable it for Ynet
> it will help.
not installed


On Sunday 28 September 2008, Micha wrote:
> On Sun, 28 Sep 2008 07:44:08 +0300
<< snip snip >>
> I tend to see this mostly with weaker cpus where it comes into play. Also
> appears with explorer on windows, not only firefox. The issue is flash and
> ynet have a lot of them and they are very dynamic which take a lot of cpu.
As I mentioned above, the flash blocker did reduce CPU use, but my box is an 
AMD 4200 dual core. A few flash windows should not have any real impact on 
the CPU. In fact, with 10 - 15 tabs open (and many of them use flash), I get 
about 2% (or less) CPU usage. Opening YNET jumps that to 140% (as I wrote 
earlier - over 70% on each core). That really makes no sense. 


-- 
Shlomo Solomon
http://the-solomons.net
Sent by KMail 1.9.9 (KDE 3.5.9) on LINUX Mandriva 2008.1


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Firefox chokes on YNET

2008-09-28 Thread Micha
On Sun, 28 Sep 2008 07:44:08 +0300
Shlomo Solomon <[EMAIL PROTECTED]> wrote:

> I have firefox 2.0.0.16 on Mandriva 2008.1 - all packages up-to-date.
> 
> When I open YNET, CPU usage jumps to about 150% (AMD dual core - over 70% on 
> each core). Closing YNET brings thngs back to normal. Has anyone seen this 
> and/or any solutions?
> 
> BTW - I should mention that I have way too many FF extensions, but that 
> doesn't cause any problems on other sites, so I don't think there's any 
> connection.
> 

I tend to see this mostly with weaker cpus where it comes into play. Also
appears with explorer on windows, not only firefox. The issue is flash and ynet
have a lot of them and they are very dynamic which take a lot of cpu.

My current laptop can handle it, but my p-4 windows machine back home with
explorer chokes the machine on 100% cpu with about 5 ynet pages open and the
only option is to wait 5 minutes for each page to respond or kill explorer.

Try installing a flash blocker, it will seriously reduce the overhead

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: OpenMoko freerunner warning

2008-09-28 Thread Arie Skliarouk
Hi,

The phone (Israeli - suitable 900MHz model) is not available from the
primary site, but can be bought from koolu.com website (albeit with
different distribution in firmware).

http://shop.koolu.com/index.php?main_page=product_info&cPath=5&products_id=6

The site is official reseller of openmoko.com and do international shipping.

Do anyone has experience with them?

What is the status of freerunner certification in Israel?

-- 
Arie


Re: Firefox chokes on YNET

2008-09-28 Thread Gal Gur-Arie
If you'r using the extension of the HTML validator then disable it for Ynet
it will help.



On Sun, Sep 28, 2008 at 7:44 AM, Shlomo Solomon <[EMAIL PROTECTED]>wrote:

> I have firefox 2.0.0.16 on Mandriva 2008.1 - all packages up-to-date.
>
> When I open YNET, CPU usage jumps to about 150% (AMD dual core - over 70%
> on
> each core). Closing YNET brings thngs back to normal. Has anyone seen this
> and/or any solutions?
>
> BTW - I should mention that I have way too many FF extensions, but that
> doesn't cause any problems on other sites, so I don't think there's any
> connection.
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Sent by KMail 1.9.9 (KDE 3.5.9) on LINUX Mandriva 2008.1
>
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>


Re: Firefox chokes on YNET

2008-09-28 Thread Boaz Rymland
To the best of my knowledge its not the flash objects on the page but 
rather the JS they use there. I was told once its the scrolling news 
thingy they use which eats the CPU.


Ori Idan wrote:


I think it is because of the the many flash adds they have.
Use adblock to block these adds and it should work fine.

--
Ori Idan


On Sun, Sep 28, 2008 at 7:44 AM, Shlomo Solomon 
<[EMAIL PROTECTED] > wrote:


I have firefox 2.0.0.16  on Mandriva 2008.1 - all
packages up-to-date.

When I open YNET, CPU usage jumps to about 150% (AMD dual core -
over 70% on
each core). Closing YNET brings thngs back to normal. Has anyone
seen this
and/or any solutions?

BTW - I should mention that I have way too many FF extensions, but
that
doesn't cause any problems on other sites, so I don't think
there's any
connection.

--
Shlomo Solomon
http://the-solomons.net
Sent by KMail 1.9.9 (KDE 3.5.9) on LINUX Mandriva 2008.1


=
To unsubscribe, send mail to [EMAIL PROTECTED]
 with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]





--
ספרים וסיפורים שכתבתי: http://www.thestories.org