Linux-Networking Digest #707, Volume #11         Mon, 28 Jun 99 18:13:30 EDT

Contents:
  Re: Setting up a News server (Ilkka Ollakka)
  Re: Need Help for new Kernel 2.2.7 (SuSE 6.1) ("Scott Grey")
  Re: Why not C++ (Greg Comeau)
  Re: Why not C++ ([EMAIL PROTECTED])
  Re: Linux to Linux SLOW ?? (Barnaby DiAnni)
  Re: Why not C++ (Greg Comeau)
  Re: Various network questions with Redhat (Monte Phillips)
  Re: Red Hat 6.0 HomeNet (Monte Phillips)
  cannot lock password file error (Neil)
  Re: Netscape has detected a /root/.netscape/lock file???? ("Bob Glover")
  Re: Why not C++ (Greg Comeau)
  Re: Why not C++ (Greg Comeau)
  Re: Why not C++ (Greg Comeau)
  Re: PROXY ([EMAIL PROTECTED])
  Re: Why not C++ (Greg Comeau)
  Wingate and squid proxy working together (Tom Lont)
  Routing with Sub-nets (Drewiske Kevin J)
  Re: SuSE 6.1 Dialup (Shonne)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Ilkka Ollakka)
Subject: Re: Setting up a News server
Date: Mon, 28 Jun 1999 18:01:26 +0300
Reply-To: [EMAIL PROTECTED]

On Mon, 28 Jun 1999 11:12:26 +0100, Dave Ewart <[EMAIL PROTECTED]> kirjoitti:
>Does anyone have any links to a "quick and easy" guide to setting up a news
>server (on a RH 5.2 Linux server)?

I use leafnode for picking up news, because I only have modem connection
to internet, But I think it's easy to get in operate as you want,for
online server too. Document are coming in the packet,I don't remember the
urls where you can get it,but it should be easy to find

Remove 'roskapostiesto' if you mail me..

-- 
Bypasses are devices that allow some people to dash from point A to
point B very fast while other people dash from point B to point A very
fast.  People living at point C, being a point directly in between, are
often given to wonder what's so great about point A that so many people
from point B are so keen to get there and what's so great about point B
that so many people from point A are so keen to get _____there.  They often
wish that people would just once and for all work out where the hell
they wanted to be.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

------------------------------

From: "Scott Grey" <[EMAIL PROTECTED]>
Subject: Re: Need Help for new Kernel 2.2.7 (SuSE 6.1)
Date: Mon, 28 Jun 1999 15:54:58 -0500

If that's not the problem then try

make bzImage


phon <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> you did type ' make dep ' , did you ? if not that's the problem
>
> "V.Baumann" wrote:
>
> > I have downloaded the new SuSE 6.1 kernel 2.2.7 which has an rpm-format.
Now
> > I need help to install these kernel into my system.
> >
> > After I had install the kernel with the rpm -Manager
> >
> > rpm -U [package-file]
> >
> > I try to take the make menuconfig command. But after take the settings
and
> > take the following commands
> >
> > make clean
> > make zImage or zlilo
> > make modules
> > make module_install
> >
> > I �ve got error messages, error 1 and error 2 and nothing happens.
> >
> > So I need help, what command is wrong or what must I do to get the new
> > kernel.
> >
> > Thanks
> >
> > best regards
> > Volker
>



------------------------------

From: [EMAIL PROTECTED] (Greg Comeau)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.lang.c++
Subject: Re: Why not C++
Date: 28 Jun 1999 16:05:33 -0400
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:
>On 27 Jun 1999 23:17:45 -0400, Greg Comeau <[EMAIL PROTECTED]>
>wrote:
>>This doesn't follow and so seems flawed.  Ok, for whatever reason, you
>>don't like or understand or need (whichever applies) C++.  However,
>>with your reasoning, doing the typedef would not be compelling either.
>>So why wouldn't you just use struct and not typedef?  For that matter,
>>why not just code in binary?
>
>The original poster said that, among other things, "structs as type
>names....make C++ better than C".  I interpreted his statement as
>meaning that, e.g.,
>
>    Vector *x;
>
>is better than
>
>    struct Vector *x;
>
>I merely pointed out that he can use a `typedef' to achieve this.

Thanks for trying to clarify, but I still find this flawed.
I mean, why would he do that?

Also, I would interpret his statement as:

    Vector *x;

is not only better than

    struct Vector *x;

but also better than a situation such as:

    typedef struct Vector Vector;
    Vector *x;

But this latter one is part of your point to the contrary,
which is odd -- as above, why would he do that? (besides C requiring it)

There _are_ compelling reasons to use typedef (and struct)
but the above should not have to be one of them.

If the C++ way is not better (not only does it support the C ways,
but a new way that's overwhelmingly used), then the word better has
no meaning.

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: [EMAIL PROTECTED] / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.com *** 

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: Why not C++
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Date: Mon, 28 Jun 1999 20:09:13 GMT

In comp.os.linux.development.system Nathan Myers <[EMAIL PROTECTED]> wrote:
: [EMAIL PROTECTED] wrote in message ...
:>In comp.os.linux.development.system Nathan Myers
:>
:>: Enough generalities.  Take for example Egcs.  C and C++, same code
:>: generator, same optimizer.  The last time you tried g++ was years
:>: and years ago.  It's time to look again.
:>
:>Using the latest egcs (from CVS) to compile a C program, with options
:>'-fno-exceptions -fno-rtti -O2', the C assembler output is still
:>smaller (in terms of # of instructions, not symbol length) while
:>producing the same results.

: Unsupported assertion noted (again).  

: What source code?  
: How _much_ smaller (if any)?  
: How _much_ faster (if any)?

: Without proof, this is just more FUD.


You cannot find a random C program and compile it yourself with g++?
Who is FUD'ing now?

A simple program is listed below.  I have used different setting per a
suggestion in this thread:

        $ cat > c.c
        $ cp c.c c.cc
        $ /usr/local/egcs/bin/gcc -O2 -fomit-frame-pointer -S c.c
        $ /usr/local/egcs/bin/g++ -O2 -fomit-frame-pointer -S cc.cc
        $ diff -u c.s cc.s | wc -l
            134

        $ /usr/local/egcs/bin/g++ -O2 -fomit-frame-pointer -fno-rtti -S cc.cc
        $ diff -u c.s cc.s | wc -l
            134

        $ /usr/local/egcs/bin/g++ -O2 -fomit-frame-pointer -fno-exceptions -S cc.cc
        $ diff -u c.s cc.s | wc -l
            66

        $ /usr/local/egcs/bin/g++ -O2 -fomit-frame-pointer -fno-rtti -fno-exceptions 
-S cc.cc
        $ diff -u c.s cc.s | wc -l
            66

The linecount for each diff is 95% new instructions added by the C++ compiler.

        Jeff


/**********************************************************************/

#include <stdio.h>

long boing (long foo)
{
        if (foo > 1)
                return (foo * boing(foo - 1));

        return 1;
}


int main()
{
        printf("hello world boing %ld\n", boing(42));
}



------------------------------

Date: Mon, 28 Jun 1999 11:05:13 -1000
From: Barnaby DiAnni <[EMAIL PROTECTED]>
Subject: Re: Linux to Linux SLOW ??

Thanks to all for the input.  
Answers and more info below.

Nicholas E Couchman wrote:
> 
> make sure you have the host names w/ associated IPs listed in
> /etc/hosts.  W/ redhat you can use linuxconf.
> --Nick

Yes both Linux boxes have each other in /etc/hosts.

mist wrote:
> 
> 
> Perhaps the Linux boxes are defaulting to using the route via eth0 and
> are going through the slower hub.  Try swapping the hubs or NIC cables
> around and seeing if the speeds change.  At the very least you might
> notice a problem when you set up the new routes.
> --
> Mist.

The traffic is definetely using eth0, the link lights on the 100Mbps hub
prove this.


Andrey Smirnov wrote:
> 
> What are default gateways on your linux machines?
> 
Box # 1
Kernel IP routing table
Destination     Gateway     Genmask         Flags   MSS Window  irtt
Iface
10.10.10.1      0.0.0.0     255.255.255.255 UH    0 0          0 eth1
127.0.0.1       0.0.0.0     255.255.255.255 UH    0 0          0 lo
10.10.10.0      0.0.0.0     255.255.255.0   U     0 0          0 eth1
x.x.x.0         0.0.0.0     255.255.252.0   U     0 0          0 eth0
0.0.0.0         x.x.x.1     0.0.0.0         UG    0 0          0 eth0

Box # 2

Kernel IP routing table
Destination     Gateway     Genmask         Flags   MSS Window  irtt
Iface
10.10.10.4      0.0.0.0     255.255.255.255 UH        0 0          0
eth1
127.0.0.1       0.0.0.0     255.255.255.255 UH        0 0          0 lo
10.10.10.0      0.0.0.0     255.255.255.0   U         0 0          0
eth1
x.x.x.0         0.0.0.0     255.255.252.0   U         0 0          0
eth0
0.0.0.0         x.x.x.1     0.0.0.0         UG        0 0          0
eth0



Daniel Wilson wrote:
>> 
> an amateurish suggestion -
> 
> perhaps one of the ports on your 100mbit hub is not working properly ?
> maybe try swapping the wires around see if that helps ?
> 
> **********
> Dan

The good ftp puts and get from and to the Win98 Machine verifies the
proper operation of the hardware.

I have noticed the following line in my logs.

Jun 27 07:21:37 box kernel: eth1: Transmit error, Tx status register 82.

I'm sure this is related but I wonder why this error only seems to
affect Linux to Linux tcp??  I would assume that a hardware error would
affect the Windows ftp session identically.

Thanks again and I'll be sure to post the fix when I find it. 

Barnaby

> Barnaby DiAnni wrote:
> 
> > Hello,
> > I have been puzzling over this for a few days
> > and I was hoping for solution from the group.
> >
> > Please select a fixed width font to make
> > sense of this :)
> >
> > !-----------------------+---------------------
> > !                  Cable Modem
> > !                       |
> > !              +--------+--------+
> > !              |   10Mbps HUB    |
> > !              |   Netgear EN104 |
> > !              +--+-----------+--+
> > !                 |           |
> > !      +----------+           +----------+
> > !      |                                 |
> > ! +----+----+  +-----------------+  +----+----+
> > ! |  eth0   |  |                 |  |  eth0   |
> > ! |Linux Box|  |   100Mbps HUB   |  |Linux Box|
> > ! |    eth1 +--+   Netgear DS108 +--+eth1     |
> > ! +---------+  |                 |  +---------+
> > !              +--------+--------+
> > !                       |
> > !              +--------+--------+
> > !              | Windows 98      |
> > !              +--------+--------+
> > !-----------------------+-----------------------
> >
> > Both Linux Boxes  are multihomed.
> > All eth1 links lights show a 100Mbps connection.
> > FTP puts and get from Win 98 to both Linux Boxes
> > are about 2400 Kbytes per second or faster.
> >
> > FTP puts and gets between the Linux boxes are about
> > 200 Kbytes per second??
> >
> > RX and TX activity is really on the 100Mbps hub.

------------------------------

From: [EMAIL PROTECTED] (Greg Comeau)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.lang.c++
Subject: Re: Why not C++
Date: 28 Jun 1999 17:05:17 -0400
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]> Johan Kullstam <[EMAIL PROTECTED]> 
writes:
>[EMAIL PROTECTED] (Nathan Myers) writes:
>
>> Thomas Steffen <[EMAIL PROTECTED]> wrote:
>> > C++ might not be a very elegant language, but it is
>> >fast, at least compared to other OO languages.
>> 
>> Its syntax isn't very elegant, but where did that come from?
>> It's fast compared to _any_ language, period.  People who say
>> it's slower than (e.g.) C are just spreading FUD.  
>
>C++ *is* slower than C.

I suspect there is some knee-jerking going on here.
Certainly C++ is not always fast compared to anything.
But certainly saying it is always slower than C is not the case either.

>not by orders of magnitude or even a factor
>of two, but if you feed code to both C and C++ compilers, the C
>compiler will optimize harder and generally make a better product.

This is a meaningless statement.  Certainly the general marketplace
has shown this to be not true.

>this is because C is more mature and that C++ code is potentially more
>complex which causes a more conservative compile.

This sounds to me like you have got your hands on a very good optimizing
C compiler that you are making sweeping conclusions from.

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: [EMAIL PROTECTED] / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.com *** 

------------------------------

From: [EMAIL PROTECTED] (Monte Phillips)
Subject: Re: Various network questions with Redhat
Date: Mon, 28 Jun 1999 20:03:15 GMT

Most obvious thing is the " sendmail won't get mail.."  You use
fetchmail for that.

 [EMAIL PROTECTED] wrote:
>The current Win95 box uses some mail-retrieval prgroam (Mdaemon, by
>the people that make WinGate), to dial into an ISP and retrieve all
>queued mail.
>Currently, we have the modem in the Linux box, and using some scripts,
>we can establish a PPP connection to the ISP. But the problem we're
>running into is that sendmail doesn't want to retrieve the mail. I
>don't know if it's a gateway problem or what I'm not doing properly.


------------------------------

From: [EMAIL PROTECTED] (Monte Phillips)
Subject: Re: Red Hat 6.0 HomeNet
Date: Mon, 28 Jun 1999 20:04:17 GMT

This site has a step by step howto for complete setup of samba.  steps
for both linux and the win machine.  (and they really work <G>)
http://www.sfu.ca/~yzhang/linux/samba/index.html
and this one as well
http://home.talkcity.com/MigrationPath/maguai/samba.html

These sites singly or in combination are nearly guaranteed to get you
networked.

 <[EMAIL PROTECTED]> wrote:
>I recently installed RH6.0 Server install on a workstation that I want to
>use as a server at home.
>It's my understanding that SAMBA is part of that install.  What steps do I
>need to take at the server level to ready it for sharing files and print
>services with my Win9x/NT workstations in my house.
>I already know how to configure the Windows side...I just need to know what
>I need to do on the RH6.0 server side.


------------------------------

From: Neil <[EMAIL PROTECTED]>
Subject: cannot lock password file error
Date: Mon, 28 Jun 1999 20:24:02 GMT

I am getting a message "cannot lock password file; try again later"
whenever I try to create a password on a new user account. I also cannot
log in under this username, and I am assuming it is because of this
error. Any help would be most appreciated.

Thanks
Neil

--

Network Administrator/
Jedi Knight Extraordinaire


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: "Bob Glover" <app1rtg_at_air.ups.com>
Subject: Re: Netscape has detected a /root/.netscape/lock file????
Date: Mon, 28 Jun 1999 20:13:28 +0100

First of all, it's a bad idea to run anything as root unless you absolutely
need to.  Do yourself a favor and create/use a user account.  This will
protect you both from those oopsies.  It will also help protect you from
various security vulnerabilities both known and yet-to-be-discovered.  For
example: if a user finds a way to execute a command of their choosing, and
you're logged in as a regular user, that would be bad, but if you're logged
in as root, it would be much worse.  So much for the sermon.

As for netscape, are you sure that there isn't a stray copy of it still
running somewhere on your computer.  Netscape is bad about that.  Try:

ps -aux | grep netscape

Happy Computing with Linux!

Ricker wrote in message <[EMAIL PROTECTED]>...
>Mandrake 6.0 - Netscape Communicator ver 4.6 - Anybody know what this is
>all about  .  If I right click any file in /root/nsmail Dir. it locks up
>machine, have to do hard reset.  I can delete the nsmail Dir. but
>Netscape puts it right back.  Everyting seems to work fine, just a extra
>click when I start Netscape.  Help please!!!
>
>Thanks,




------------------------------

From: [EMAIL PROTECTED] (Greg Comeau)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 28 Jun 1999 17:18:23 -0400
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]> Johan Kullstam <[EMAIL PROTECTED]> 
writes:
>[EMAIL PROTECTED] (Nathan Myers) writes:
>
>> Andi Kleen  <[EMAIL PROTECTED]> wrote:
>> >Well, the theory is that:
>> >  int f(vector<vector<float> > array) 
>> >is easier than
>> >  int f(float **array) 
>> >to handle for a beginner.
>
>(defun f (vec)
>  ...)
>
>is about as easy as it gets.  put in declares if warrented by
>profiling results.
>
>> No.  The theory is that 
>> 
>>   vector<float> vec;
>>   vector<vector<float > > array;
>>   array.pushback(vec);
>> 
>> is easier for a beginner to handle than
>> 
>>   int nelems;
>>   float *vec;
>>   float **newarray = realloc(array, ((nelems+1) * M) * sizeof(float));
>>   if (!newarray) { 
>>     abort(); /* ? */ 
>>   } else {
>>     memcpy(&newarray[nelems][0], vec, M * sizeof(float));
>>     array = newarray;
>>     ++nelems;
>>   }
>> 
>> This theory is correct.
>
>you forgot the freeing step.  -- and the debug the memory management
>step when you free the wrong thing or the right thing twice or forget
>to free it at all.  -- and the my memory is fragmented into oblivion
>after all these malloc/frees so now my performance is losing hard.
>
>the memory fragmentation problem pretty much precludes seriously using
>C++ for kernel work.  look to microsoft for examples of C++ in action.
>
>do you really mean that all this C++ incantation is somehow easier
>than
>
>  (let ((vec (make-array nelems :element-type single-float)))
>    ...)
>
>and then letting the garbage collector reap the results?
>
>C has the benefit of being rather lightweight and efficient.  C++ can
>be efficient when it comes to execution speed, but it is tedious to
>program in resulting in poor development speed and poor
>maintainability.

Are you _really_ concluding this from the examples above?
The C++ vector will go away.  It will no in the C case
(it sounds like you may be saying the opposite above, it's not clear).

>after using lisp's macros i don't know whether to laugh or cry when i
>think of C++ templates.

Ok, tell us why.

BTW, you guys are side-stepping the issue of C and C++ by bring in new
aspects (C++ vs Lisp for instance) and then slashing only C++ (and not C)
for it (assuming those aspects were even true of C and C++).  This is
misleading and biased.  Oddly though, it does show that folks don't want
the comparison between C and Language-X.

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: [EMAIL PROTECTED] / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.com *** 

------------------------------

From: [EMAIL PROTECTED] (Greg Comeau)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 28 Jun 1999 16:34:05 -0400
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:
>If I'm using a C library, my program might have to say:

C or C++ library

>some_function( &x );
>
>so, when debugging, I know right there that I can't assume x won't be
>altered. The same thing in C++ would be:
>
>some_function( x );
>
>but I don't know whether I'm passing by value or by reference or const
>by reference. I have to go and find the header, then look through it to
>find the prototype for that function. It would be useful if there were a
>syntax difference.

The above is flawed, because in both examples you need to go and find
the header, and in both examples you then need to look through it to find
the prototype for that function, so the above is a misguided argument.
In both examples it would be useful if there were a syntax difference.
Neither (x) nor (&x) is sufficient in either C or C++ from this perspective.

>It's only a development time problem of course, not a serious design
>flaw.

It's more that a development time issue.  Anyway, it's doubtful anything
about it is changing, so we'll need to settle on good support tools to help
out with this, and more.

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: [EMAIL PROTECTED] / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.com *** 

------------------------------

From: [EMAIL PROTECTED] (Greg Comeau)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 28 Jun 1999 17:22:42 -0400
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:
>On 26 Jun 1999 11:10:23 -0700, Nathan Myers <[EMAIL PROTECTED]>
>wrote:
>>Classes are not a very powerful feature; you can emulate them pretty 
>>well in C.  Exceptions are quite powerful, though of limited use.
>
>You can emulate classes and inheritance but doing so requires ugly
>preprocessor hacks that make the code less understandable.  If you
>know of another way, then please let me know.
>
>>Far more powerful than either are templates.
>
>I believe that these can also be emulated to a certain extent via the
>preprocessor.

IMO, only the simplest of classes or templates can be hacked via
the preprocessor. 

>But in all honesty, weren't C++ templates one of the
>things to avoid when using g++ because of its buggy implementation?  I
>realise that egcs may have finally overcome this obstacle, but this
>has only come about recently.

Lots of stuff has continually been wrong in/with g++, not just templates,
and egcs has finally overcome lots of that, only recently.  So this is not
a templates specific point you make.

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: [EMAIL PROTECTED] / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.com *** 

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: PROXY
Date: Mon, 28 Jun 1999 21:22:42 GMT

On the win box go to control planel, network,
TCP/IP properties, set gateway to the IP # of the
linux box. If you have the linux box files
correct this sholud be all you need.

Also there is a program call "Sqiud" I know it
comes with Mandrake 6.0 CD". This is a proxy &
cache program. After it's install, go to
/etc/squid/squid.conf and commet out the 2 lines
under "user rules" Is set to auto start at boot.
Set the proxy on your browser to the linux box IP
adress and the port to 3128.

Good Luck!


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: [EMAIL PROTECTED] (Greg Comeau)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 28 Jun 1999 17:12:20 -0400
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]> Jeffrey L Straszheim <[EMAIL PROTECTED]> 
writes:
>Nathan Myers wrote:
> 
>> Tristan Wibberley  <[EMAIL PROTECTED]> wrote:
>
>> >If I'm using a C library, my program might have to say:
>> >  some_function( &x );
>> >so, when debugging, I know right there that I can't assume x won't be
>> >altered. The same thing in C++ would be:
>> >  some_function( x );
> 
>> False.  The same thing in C++ would be the same thing, period.
> 
>> It is possible to declare non-const reference arguments in C++,
>> but that doesn't mean one finds it unexpectedly, in good code.
>
>Ah, but one doesn't always have the luxury of working with good code.
>This is a wart on C++. Not a major wart, granted, and certainly one
>which is easily avoided by a healthy degree of idiom, but I've seen
>commercial libraries that modified reference variables.
>
>I expect this is a C++ culture issue more so than a technical issue.
>In Eiffel, for instance, one can write functions with side effects;
>however, such is considered well outside of accpeted Eiffel practice.
>And it turns out that I have yet to come accross any moderately serious
>peice of Eiffel code which did not follow the idiom. The idiom is
>presented as a central aspect of the language and the Eiffel community
>has maintained it. C++ has not done so for the case of non-constant
>reference function arguments.

I agree the situation stinks somewhat, but your argument is misguided
in the sense that you have effectively biased your argument against C++
by presenting some Eiffel situation, when the point about was some
(possible) C and C++ difference, and you left C out of it (IOW, maybe
you have a point, but you changed the subject!).

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: [EMAIL PROTECTED] / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.com *** 

------------------------------

From: [EMAIL PROTECTED] (Tom Lont)
Subject: Wingate and squid proxy working together
Date: Mon, 28 Jun 1999 21:36:55 GMT

Hello,

We have an intranet of 240 pc's (domain sneek.nl). We're using Wingate
3.0 proxy on an NT box to connect to the internet and Squid proxy on a
Linux box to cache a private network (gemnet.nl). The default proxy
server on a Windows client is Squid. What I want squid to do is to
service only domain gemnet.nl, if another domain is requested, it must
ask Wingate to connect to the internet and get the requested WWW
pages. In other words how can Wingate and Squid work together and
"help" each other. Wingate is defined as a parent/no-query.

I hope you can help me out.

Tom Lont
Gemeente Sneek, Holland

------------------------------

From: Drewiske Kevin J <[EMAIL PROTECTED]>
Subject: Routing with Sub-nets
Date: Mon, 28 Jun 1999 14:48:34 -0500

I'm trying to set up subnets using a box running RedHat 5.2.  The RedHat
box has two Intel EtherExpressPro 10+ ethernet cards.  
Eth0 is 192.168.2.1
Eth1 is 192.168.1.2

I am able to ping Win95 boxes on either subnet, but I cannot ping from one
sub-net to  another.  The DOS ping error message is "Destination host
unreachable".

Physically, all computews are still interconnected at the network hubs.  I
cannot seperate the wire until I get this up and running.  (or it this the
problem).

In looking at the IP-Subnetworking Mini-HOWTO, I cannot find what is
wrong.
/proc/ksyms has "001454c0 ip_forward_R49a0223d"
and
/proc/sys/net/ipv4/ip_forward is "1"

My route table shows:
=======
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.2.0     *               255.255.255.224 U     0      0       16
eth0
192.168.1.0     *               255.255.255.224 U     0      0        7
eth1
127.0.0.0       *               255.0.0.0       U     0      0        7 lo
default         earth.wrwwlc.co 0.0.0.0         UG    0      0       13
eth0
=======
where earth.wrwwlc.com = 192.168.2.1 and 192.168.1.2


ifconfig is showing:
========
eth0      Link encap:Ethernet  HWaddr 00:A0:C9:74:E0:DD
          inet addr:192.168.2.1  Bcast:192.168.2.31  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:21467 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6091 errors:0 dropped:0 overruns:0 carrier:1
          collisions:8
          Interrupt:10 Base address:0x300

eth1      Link encap:Ethernet  HWaddr 00:A0:C9:8F:24:6A
          inet addr:192.168.1.2  Bcast:192.168.1.31  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10506 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1615 errors:0 dropped:0 overruns:0 carrier:1
          collisions:2
          Interrupt:11 Base address:0x310        
========

Can anyone see what my problem is?

Future plans call for a DSL line to be used as a gateway, incorporating a
Firewall/Proxy server, so I'd like to get this all incoroporated in one
shot --- if possible.


Thanks for your time,
 Kevin Drewiske

*******************************************
  Water Works and Lighting Commission (http://www.wrwwlc.com)
      Engineering Intern


------------------------------

From: Shonne <[EMAIL PROTECTED]>
Subject: Re: SuSE 6.1 Dialup
Date: Mon, 28 Jun 1999 21:09:04 GMT

How is SuSE as a webserver?

In article <7l6moh$pps$[EMAIL PROTECTED]>,
  Paul Trost <[EMAIL PROTECTED]> wrote:
>
> waco wrote:
> > I was wondering if it is possible to use WVDIAL instead of the usual
> > diald/pppd/script combo to automatically dial the internet?
> >
> > From SuSE 5.3 to 6.1, they dropped the old style combo and opted for
> > WVDIAL, although all the old utilities are still there.
> >
> > If I DIR the /ETC directory, the WVDIAL.CONF is owned by Dialout.
> >
> > SuSE 6.1 using 2.2.7 kernel....
> >
> > Any help would be appreciated...
> >
> >
> >
> > J,
> >
> >
> Wvdial works great. I use it on my SuSE 6.0 webserver. Whenever I get
> disconnected wvdial will redial. I tried messing with the ppp-up, ppp-
down
> with no success. I eventually said screw it and started using wvdial.
>
> Paul
>
> ------------------  Posted via SearchLinux  ------------------
>                   http://www.searchlinux.com
>

--
yes, Linux works.  Good.  Damn Good.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to