Re: [pptp-devel] RFC: required patch to pptp 1.0.3 for israeli adsl service

2001-11-13 Thread James Cameron

G'day mulix,

Thank you for your patch to pptp that adds support for Bezeq.

I'm the pptp-client project administrator, or release engineer, and I've
taken on the job in the past few months.

My comments on your patch follow:

- I'm wondering if the #define should be something other than Bezeq. 
Have you heard if any other implementations need this change?  Have you
any idea what software or hardware Bezeq is using to deliver ADSL?

- can this code change be added as a configuration option rather than an
#ifdef?

- changes are made to pptp_options.h for Bezeq, but some of them are
ignored by the struct pptp_out_call_rqst packet changes.  Would it be
possible to define additional constants so that the code that
initialises the struct has no #ifdef?  In other words, can the changes
be isolated somehow in order to simplify the code.

- do the changes to add pptp_set_link need to be #ifdef'd?  Has this
been tested with conventional PPTP environments?

- the changes to the error reporting are good, they improve the
situation.

Patch relative to current CVS is attached.  No significant changes made,
just made sure it applies cleanly.

-- 
James Cameron
http://quozl.linux.org.au/

Index: Makefile
===
RCS file: /cvsroot/pptpclient/pptp-linux/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile2001/05/11 07:48:14 1.4
+++ Makefile2001/11/13 03:33:49
@@ -1,10 +1,11 @@
 VERSION = 1.0.3
 VERSION_DEFINE = '-DPPTP_LINUX_VERSION=${VERSION}'
+COUNTRY_DEFINE = '-DPPTP_BEZEQ_ISRAEL=1'
 
 CC = gcc -Wall
 DEBUG  = -g
 INCLUDE =
-CFLAGS  = -O1 $(VERSION_DEFINE) $(DEBUG) $(INCLUDE) -DPROGRAM_NAME=\pptp\
+CFLAGS  = -O1 $(VERSION_DEFINE) $(DEBUG) $(COUNTRY_DEFINE) $(INCLUDE) 
+-DPROGRAM_NAME=\pptp\
 LIBS   =
 LDFLAGS= -lutil
 
Index: pptp.c
===
RCS file: /cvsroot/pptpclient/pptp-linux/pptp.c,v
retrieving revision 1.7
diff -u -u -r1.7 pptp.c
--- pptp.c  2001/08/06 07:31:50 1.7
+++ pptp.c  2001/11/13 03:33:54
@@ -49,6 +49,7 @@
 void usage(char *progname) {
   fprintf(stderr,
  %s\n
+ patched by mulix [EMAIL PROTECTED] for Israel\n
 Usage:\n
  %s hostname [[--phone phone number] -- ][ pppd options]\n
  \nOr using pppd option pty: \n
Index: pptp_ctrl.c
===
RCS file: /cvsroot/pptpclient/pptp-linux/pptp_ctrl.c,v
retrieving revision 1.4
diff -u -u -r1.4 pptp_ctrl.c
--- pptp_ctrl.c 2001/04/30 03:42:36 1.4
+++ pptp_ctrl.c 2001/11/13 03:34:03
@@ -205,13 +205,25 @@
   call-closure   = NULL;
   /* Send off the call request */
   {
-struct pptp_out_call_rqst packet = {
+struct pptp_out_call_rqst packet =
+#ifndef PPTP_BEZEQ_ISRAEL
+{
   PPTP_HEADER_CTRL(PPTP_OUT_CALL_RQST),
   hton16(call-call_id), hton16(call-sernum),
   hton32(PPTP_BPS_MIN), hton32(PPTP_BPS_MAX),
   hton32(PPTP_BEARER_CAP), hton32(PPTP_FRAME_CAP), 
   hton16(PPTP_WINDOW), 0, 0, 0, {0}, {0}
 };
+#else /* PPTP_BEZEQ_ISRAEL is defined */
+{
+  PPTP_HEADER_CTRL(PPTP_OUT_CALL_RQST),
+  0, /* hton16(call-callid) */
+  0, /* hton16(call-sernum) */
+  hton32(PPTP_BPS_MIN), hton32(PPTP_BPS_MAX),
+  hton32(PPTP_BEARER_DIGITAL), hton32(PPTP_FRAME_ANY),
+  hton16(PPTP_WINDOW), 0, hton16(PPTP_HOSTNAME_LEN),0, PPTP_HOSTNAME, {0}
+};
+#endif
 
 /* fill in the phone number if it was specified */
 if( phonenr ){
@@ -473,6 +485,22 @@
   }
 }
 
+static void
+pptp_set_link(PPTP_CONN* conn, int peer_call_id)
+{
+ struct pptp_set_link_info packet = {
+ PPTP_HEADER_CTRL(PPTP_SET_LINK_INFO),
+ hton16(peer_call_id),
+ 0,
+ 0x,
+ 0x};
+
+ if (pptp_send_ctrl_packet(conn, packet, sizeof(packet))) {
+ log(pptp_set_link() packet sending succesfull);
+ pptp_reset_timer();
+ }
+}
+
 void pptp_dispatch_ctrl_packet(PPTP_CONN * conn, void * buffer, size_t size) {
   struct pptp_header *header = (struct pptp_header *)buffer;
   u_int8_t close_reason = PPTP_STOP_NONE;
@@ -639,8 +667,21 @@
   if (call-state.pns == PNS_WAIT_REPLY) {
/* check for errors */
if (packet-result_code!=1) {
- /* An error.  Log it. */
- log(Error opening call. [callid %d], (int) callid);
+ /* An error.  Log it verbosely. */
+ unsigned int legal_error_value =
+  sizeof(pptp_general_errors)/sizeof(pptp_general_errors[0]);
+ int err = packet-error_code;
+  log(Error '%d' opening call. [callid %d],
+ packet-result_code, (int) callid);
+  log(Error code is '%d', Cause code is '%d', err,
+ packet-cause_code);
+  if ((err  0)  (err  legal_error_value)){
+log(Error is '%s', Error message: '%s',
+pptp_general_errors[err].name,
+

nobie questions(type of the filesystem)

2001-11-13 Thread uito

Hi list,

What is ext3 and ext2 filesystem. How it differ and which of them is better?

Thanks

  âÅÓÐÌÁÔÎÁÑ ÐÏÞÔÁ http://mail.Rambler.ru/
  òÁÍÂÌÅÒ-ðÏËÕÐËÉ http://ad.rambler.ru/ban.clk?pg=1691bn=9346

=
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: [pptp-devel] RFC: required patch to pptp 1.0.3 for israeli adsl service

2001-11-13 Thread Dani Arbel

James,
As one of the people that were involved in integrating support for Bezeq
ADSL I would like to answer one of your questions.

On Tue, 13 Nov 2001, James Cameron wrote:

 G'day mulix,

 - I'm wondering if the #define should be something other than Bezeq.
 Have you heard if any other implementations need this change?  Have you
 any idea what software or hardware Bezeq is using to deliver ADSL?


Bezeq are using common hardware: Orckit and Alcatel units. During debuging
the different models pptp sessions we found a few bugs in the pptp
implemetation at the ADSL modem side. Some of the patches are aimed to
bypass these bugs. So the answer is that it will probably solve problem
with other ISPs using the same equipment. On the other hand, once
implemented, the pptp is not fully compatible with the RFC . Maybe it
would make sense to make a #define per ADSL modem that is bugy.




 - can this code change be added as a configuration option rather than an
 #ifdef?

I think it would be possible. something like MS windowns compatibility
mode ...


 - changes are made to pptp_options.h for Bezeq, but some of them are
 ignored by the struct pptp_out_call_rqst packet changes.  Would it be
 possible to define additional constants so that the code that
 initialises the struct has no #ifdef?  In other words, can the changes
 be isolated somehow in order to simplify the code.

 - do the changes to add pptp_set_link need to be #ifdef'd?  Has this
 been tested with conventional PPTP environments?

 - the changes to the error reporting are good, they improve the
 situation.

 Patch relative to current CVS is attached.  No significant changes made,
 just made sure it applies cleanly.

 --
 James Cameron
 http://quozl.linux.org.au/
Dani


=
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: nobie questions(type of the filesystem)

2001-11-13 Thread Yedidyah Bar-David

STFW
(e.g., search ext2 ext3 on google)

Didi

On Tue, Nov 13, 2001 at 10:41:56AM +0300, [EMAIL PROTECTED] wrote:
 Hi list,
 
 What is ext3 and ext2 filesystem. How it differ and which of them is better?
 
 Thanks
 
   Besplatnaj pocta http://mail.Rambler.ru/
   Rambler-Pokupki http://ad.rambler.ru/ban.clk?pg=1691bn=9346
 
 =
 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]

=
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: [pptp-devel] RFC: required patch to pptp 1.0.3 for israeli adsl service

2001-11-13 Thread mulix

On Tue, 13 Nov 2001, James Cameron wrote:

 G'day mulix,

good day, james.

 Thank you for your patch to pptp that adds support for Bezeq.

thank you for maintaining pptp and thanks to the original author, for
writing it.

 - I'm wondering if the #define should be something other than Bezeq.
 Have you heard if any other implementations need this change?  Have you
 any idea what software or hardware Bezeq is using to deliver ADSL?

no idea, but i think dani answered this point.

 - can this code change be added as a configuration option rather than an
 #ifdef?

probably...
i'll grab the latest pptp cvs source and make a patch later today.

 - changes are made to pptp_options.h for Bezeq, but some of them are
 ignored by the struct pptp_out_call_rqst packet changes.  Would it be
 possible to define additional constants so that the code that
 initialises the struct has no #ifdef?  In other words, can the changes
 be isolated somehow in order to simplify the code.

would generating the packet at run time, based on the user supplied
command line options, be acceptable?

something like

struct pptp_out_call_rqst packet;
build_call_rqst_packet(packet);

where build_call_rqst_packet would build the correct packet, based on
whether the user supplied --bezeq or not.

this deviates from the common style in the code for packet construction,
which is the reason i didnt do it in the first place.

 - do the changes to add pptp_set_link need to be #ifdef'd?  Has this
 been tested with conventional PPTP environments?

since the only pptp environment i have is bezeq's adsl service, it
hasnt. i wrote this specific bit of the patch, based on packet dumps of
windows boxes. i remember set_link is defined in the rfc, but i dont
think it's required. it's been a while since i read the rfc, though.

 - the changes to the error reporting are good, they improve the
 situation.

good, that was the first thing we did ;)

 Patch relative to current CVS is attached.  No significant changes made,
 just made sure it applies cleanly.

thanks.
-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/





=
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: nobie questions(type of the filesystem)

2001-11-13 Thread Tzafrir Cohen

On Tue, 13 Nov 2001 [EMAIL PROTECTED] wrote:

 Hi list,

 What is ext3 and ext2 filesystem. How it differ and which of them is better?

This is not a newbies list. Please do the basic research before posting a
question here, otherwise you'll get answers like RTFM and STFW :(

See:

  http://www.iglu.org.il/mailing-lists/linux-il.html

  http://www.iglu.org.il/mailing-lists/gnubies-il.html

Regards

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=
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]




Prepare for the attack (Re: nobie questions(type of the filesystem))

2001-11-13 Thread Omer Zak

Now we have to prepare for the inevitable Clueless Newbie Whine about the
cruel and cold-hearted oldtimers, who refuse to fire their precious
neurons and answer seriously the newbie's question.

On Tue, 13 Nov 2001, Tzafrir Cohen wrote:

 On Tue, 13 Nov 2001 [EMAIL PROTECTED] wrote:

  Hi list,
 
  What is ext3 and ext2 filesystem. How it differ and which of them is better?

 This is not a newbies list. Please do the basic research before posting a
 question here, otherwise you'll get answers like RTFM and STFW :(
 --- Omer
There is no IGLU Cabal.  Plans to start one were scrapped due to the
unsolved problem of handling whining clueless newbies.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=
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]




VLM and Snapshot

2001-11-13 Thread ohad

Hello All,

 

Does anyone tired to use vlm + snapshot? Are they stable ?

 

Thanks,

 

Ohad Levy

Network administration, Manager

Infineon Technologies Savan

 


=
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: Prepare for the attack (Re: nobie questions(type of the filesystem))

2001-11-13 Thread Yotam Rubin

On Tue, Nov 13, 2001 at 12:30:17PM +0200, Omer Zak wrote:
 Now we have to prepare for the inevitable Clueless Newbie Whine about the
 cruel and cold-hearted oldtimers, who refuse to fire their precious
 neurons and answer seriously the newbie's question.

Flamebait.

-- Yotam Rubin



msg15172/pgp0.pgp
Description: PGP signature


article: MS promotes Linux from threat to 'the' threat - Memo

2001-11-13 Thread Tzahi Fadida

MS promotes Linux from threat to 'the' threat - Memo
By Thomas C Greene in Washington
http://www.theregister.co.uk/content/4/22770.html

Learn all about how microsoft conned JB Were Holding, a worldwide stock brokering firm 
into payin 400m$ instead of ibms linux solutions, and other companies.


* - * - *
Tzahi Fadida
[EMAIL PROTECTED]
Fax (+1 Outside the US) 240-597-3213
* - * - * - * - * - *


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: VLM and Snapshot

2001-11-13 Thread Eran Levy

Yes it is.
But its not a Novell mailing list. As I know, its LINUX-il mailing list ;)
There are so much Novell lists, why dont you ask you next question there? ;)

At 11:13 13/11/01 +0100, you wrote:
Hello All,



Does anyone tired to use vlm + snapshot? Are they stable ?



Thanks,



Ohad Levy

Network administration, Manager

Infineon Technologies Savan




=
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]

--
Best Regards,
Eran Levy.
This is Linux country. If you listen carefully, you can hear Windows 
reboot...
WebSite: http://levy.dyn.dhs.org


=
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: [pptp-devel] RFC: required patch to pptp 1.0.3 for israeli adsl service

2001-11-13 Thread Rein Klazes

On Tue, 13 Nov 2001 11:31:28 +0200 (IST), you wrote:


  - I'm wondering if the #define should be something other than Bezeq.
  Have you heard if any other implementations need this change?  Have you
  any idea what software or hardware Bezeq is using to deliver ADSL?
 
 
 Bezeq are using common hardware: Orckit and Alcatel units. During debuging
 the different models pptp sessions we found a few bugs in the pptp
 implemetation at the ADSL modem side. Some of the patches are aimed to
 bypass these bugs. So the answer is that it will probably solve problem
 with other ISPs using the same equipment. On the other hand, once
 implemented, the pptp is not fully compatible with the RFC . Maybe it
 would make sense to make a #define per ADSL modem that is bugy.

For what it is worth: pptp-linux is used to connect to Alcatel adsl
modems in many places. Here in the Netherlands the models Speedtouch
Home and Pro are used, both work flawlessly.

Rein.
-- 
Rein Klazes
[EMAIL PROTECTED]

=
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]




QT3 Installation

2001-11-13 Thread Yoav Bornstein

It's been a long time since my last msg here :)
I am attempting to compile QT3.
in 'gmake' ,kernel/qrichtext.cpp it seems like it gets stuck, and does 
not comply with the rest of the compiling.

Any idea why ?

Thanks in advance.



=
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: [pptp-devel] RFC: required patch to pptp 1.0.3 for israeli adsl service

2001-11-13 Thread Rein Klazes

On Tue, 13 Nov 2001 00:04:19 +0200 (IST), you wrote:


 +#else /* PPTP_BEZEQ_ISRAEL is defined */
 +{
 +  PPTP_HEADER_CTRL(PPTP_OUT_CALL_RQST),
 +  0, /* hton16(call-callid) */
 +  0, /* hton16(call-sernum) */

I don't understand why you need this: call-callid and call-sernum
*are* zero for the first and only connection pptp_ctrl can make.


 +  hton32(PPTP_BPS_MIN), hton32(PPTP_BPS_MAX),
 +  hton32(PPTP_BEARER_DIGITAL), hton32(PPTP_FRAME_ANY),
 +  hton16(PPTP_WINDOW), 0, hton16(PPTP_HOSTNAME_LEN),0, PPTP_HOSTNAME, {0}

^^
If I'm not mistaken you are filling the phonenumber field here. This
can be specified on the command line with the option --phonenumber. 
Perhaps some other fields that you require to be changed may be
specified this way as well?

 +};
 +#endif
 
  /* fill in the phone number if it was specified */
  if( phonenr ){

which is done here.


 @@ -473,6 +485,22 @@
}
  }
 
 +static void
 +pptp_set_link(PPTP_CONN* conn, int peer_call_id)
 +{
 + struct pptp_set_link_info packet = {
 +   PPTP_HEADER_CTRL(PPTP_SET_LINK_INFO),
 +   hton16(peer_call_id),
 +   0,
 +   0x,
 +   0x};
 +
 + if (pptp_send_ctrl_packet(conn, packet, sizeof(packet))) {
 +   log(pptp_set_link() packet sending succesfull);
 +   pptp_reset_timer();
 + }
 +}
 
 @@ -650,6 +691,7 @@
 call-peer_call_id = ntoh16(packet-call_id);
 call-speed= ntoh32(packet-speed);
 pptp_reset_timer();
 +   pptp_set_link(conn, call-peer_call_id);
 if (call-callback!=NULL) call-callback(conn, call, CALL_OPEN_DONE);
 log(Outgoing call established (call ID %u, peer's call ID %u).\n,
   call-call_id, call-peer_call_id);

Strange for the set-link-info message to be sent at a point in time
when pppd hasn't even been started creating one yet. The pptp server
that requires this, must be really broken.

Rein. 
-- 
Rein Klazes
[EMAIL PROTECTED]

=
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: QT3 Installation

2001-11-13 Thread Yoav Bornstein

I am afraid there are no more details to give. It looks like everything 
is fine until it reachs qrichtext.cpp, then it's just looks like it 
stuck in an endless loop or something (believe me, the computer worked 
on it all night).
I used the offical release which I've downloaded from ftp.trolltech.com.

I'll give some more details about my computer and distro :
IBM ThinkPad (Cel550,64RAM,...)
Mandrake 8.1

:)

Hetz Ben Hamo wrote:

Mind giving more details? what do u mean stuck? can u post the error?

Do u use the official 3.0 release or KDE's qt-copy from CVS?

On Tuesday 13 November 2001 20:08 pm, Yoav Bornstein wrote:

It's been a long time since my last msg here :)
I am attempting to compile QT3.
in 'gmake' ,kernel/qrichtext.cpp it seems like it gets stuck, and does
not comply with the rest of the compiling.

Any idea why ?

Thanks in advance.



=
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]







=
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: QT3 Installation

2001-11-13 Thread Tzafrir Cohen

On Tue, 13 Nov 2001, Yoav Bornstein wrote:

 Hetz Ben Hamo wrote:

 On Tuesday 13 November 2001 20:08 pm, Yoav Bornstein wrote:
 
  It's been a long time since my last msg here :)
  I am attempting to compile QT3.
  in 'gmake' ,kernel/qrichtext.cpp it seems like it gets stuck, and does
  not comply with the rest of the compiling.
 
 Mind giving more details? what do u mean stuck? can u post the error?
 
 Do u use the official 3.0 release or KDE's qt-copy from CVS?
 

 I am afraid there are no more details to give. It looks like everything
 is fine until it reachs qrichtext.cpp, then it's just looks like it
 stuck in an endless loop or something (believe me, the computer worked
 on it all night).
 I used the offical release which I've downloaded from ftp.trolltech.com.

What is the exact compilation command?
If all else fails: try strace-ing it.


 I'll give some more details about my computer and distro :
 IBM ThinkPad (Cel550,64RAM,...)
 Mandrake 8.1

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=
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: [pptp-devel] RFC: required patch to pptp 1.0.3 for israeli adslservice

2001-11-13 Thread Dani Arbel



On Tue, 13 Nov 2001, Rein Klazes wrote:

   On Tue, 13 Nov 2001 11:31:28 +0200 (IST), you wrote:


   - I'm wondering if the #define should be something other than Bezeq.
   Have you heard if any other implementations need this change?  Have you
   any idea what software or hardware Bezeq is using to deliver ADSL?
  
 
  Bezeq are using common hardware: Orckit and Alcatel units. During debuging
  the different models pptp sessions we found a few bugs in the pptp
  implemetation at the ADSL modem side. Some of the patches are aimed to
  bypass these bugs. So the answer is that it will probably solve problem
  with other ISPs using the same equipment. On the other hand, once
  implemented, the pptp is not fully compatible with the RFC . Maybe it
  would make sense to make a #define per ADSL modem that is bugy.

 For what it is worth: pptp-linux is used to connect to Alcatel adsl
 modems in many places. Here in the Netherlands the models Speedtouch
 Home and Pro are used, both work flawlessly.

With Alcatel modems, I found a bug in the unit for ISDN lines. The fix
(refering to ver. 1.0.1 of pptp )is
actualy trivial and will not make the code non rfc complient. I will see
if it is at all neede for the current version.

Dani


 Rein.
 --
 Rein Klazes
 [EMAIL PROTECTED]

 =
 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]



=
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: [pptp-devel] RFC: required patch to pptp 1.0.3 for israeli adslservice

2001-11-13 Thread Dani Arbel



On Tue, 13 Nov 2001, Rein Klazes wrote:

 On Tue, 13 Nov 2001 00:04:19 +0200 (IST), you wrote:


  +#else /* PPTP_BEZEQ_ISRAEL is defined */
  +{
  +  PPTP_HEADER_CTRL(PPTP_OUT_CALL_RQST),
  +  0, /* hton16(call-callid) */
  +  0, /* hton16(call-sernum) */

 I don't understand why you need this: call-callid and call-sernum
 *are* zero for the first and only connection pptp_ctrl can make.

This is done to bypass the bug in Orckit ATUR3 ADSL modem. It is indeed
non complient with the rfc .



  +  hton32(PPTP_BPS_MIN), hton32(PPTP_BPS_MAX),
  +  hton32(PPTP_BEARER_DIGITAL), hton32(PPTP_FRAME_ANY),
  +  hton16(PPTP_WINDOW), 0, hton16(PPTP_HOSTNAME_LEN),0, PPTP_HOSTNAME, {0}

 ^^
 If I'm not mistaken you are filling the phonenumber field here. This
 can be specified on the command line with the option --phonenumber.
 Perhaps some other fields that you require to be changed may be
 specified this way as well?

  +};
  +#endif
 
   /* fill in the phone number if it was specified */
   if( phonenr ){

 which is done here.


  @@ -473,6 +485,22 @@
 }
   }
 
  +static void
  +pptp_set_link(PPTP_CONN* conn, int peer_call_id)
  +{
  + struct pptp_set_link_info packet = {
  + PPTP_HEADER_CTRL(PPTP_SET_LINK_INFO),
  + hton16(peer_call_id),
  + 0,
  + 0x,
  + 0x};
  +
  + if (pptp_send_ctrl_packet(conn, packet, sizeof(packet))) {
  + log(pptp_set_link() packet sending succesfull);
  + pptp_reset_timer();
  + }
  +}
 
  @@ -650,6 +691,7 @@
call-peer_call_id = ntoh16(packet-call_id);
call-speed= ntoh32(packet-speed);
pptp_reset_timer();
  + pptp_set_link(conn, call-peer_call_id);
if (call-callback!=NULL) call-callback(conn, call, CALL_OPEN_DONE);
log(Outgoing call established (call ID %u, peer's call ID %u).\n,
  call-call_id, call-peer_call_id);

 Strange for the set-link-info message to be sent at a point in time
 when pppd hasn't even been started creating one yet. The pptp server
 that requires this, must be really broken.

This is the way Windows clients behave. We could recheck if it is realy
needed (again, was added to support Orckit ATUR3 modem).

Dani


 Rein.
 --
 Rein Klazes
 [EMAIL PROTECTED]

 =
 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]



=
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: Prepare for the attack (Re: nobie questions(type of the filesystem))

2001-11-13 Thread Official Flamer/Cabal NON-Leader

On Tue, Nov 13, 2001 at 03:12:32PM +0200, Yotam Rubin wrote:
 On Tue, Nov 13, 2001 at 12:30:17PM +0200, Omer Zak wrote:
  Now we have to prepare for the inevitable Clueless Newbie Whine about the
  cruel and cold-hearted oldtimers, who refuse to fire their precious
  neurons and answer seriously the newbie's question.
 
 Flamebait.

Since I neglect my duties, flame no worthless and shit-for-brains
newbie, in fact - ignore the list and its denizens but for my
general appreciations of Peter and some few others... Newbies
have a field-day. Only OZ does his patriotic duty...

M



=
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: QT3 Installation

2001-11-13 Thread mulix

On Tue, 13 Nov 2001, Yoav Bornstein wrote:

 I am afraid there are no more details to give. It looks like everything
 is fine until it reachs qrichtext.cpp, then it's just looks like it
 stuck in an endless loop or something (believe me, the computer worked
 on it all night).
 I used the offical release which I've downloaded from ftp.trolltech.com.

 I'll give some more details about my computer and distro :
 IBM ThinkPad (Cel550,64RAM,...)
 Mandrake 8.1

compiler version? this is very important, actually.
gcc -v should give you the details.

-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/



=
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]