Linux-Networking Digest #711, Volume #11 Tue, 29 Jun 99 00:13:43 EDT
Contents:
Re: mail problem: can't receive! (Ray Clouse)
Re: internet connection with Linux (Brutus)
Question (Duane Smith)
Best settings for 3c5x9cfg?? ("Chris")
Re: Simple network problem, maybe for you, not me!! (RAH)
Re: callerID ("Gene Heskett")
Re: Protocol features for Linux? (Jim Robertson)
[Fwd: IP Packet filtering ethernet bridge on Linux?] (Ben Russo)
Where can I find information on setting up Linux as a gateway ("Chris")
Re: IP Packet filtering ethernet bridge on Linux? (Preston F. Crow)
Re: apache cannot run cgi (Rik Sagar)
Re: Why not C++ (Christopher Browne)
Routing two Internet Networks ("T.J. Weber")
redhat 6.0 client to NT 4.0 MS Proxy (Andrei)
Re: Simple network problem, maybe for you, not me!! (Ricker)
Re: Why not C++ (Isaac)
----------------------------------------------------------------------------
From: Ray Clouse <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: mail problem: can't receive!
Date: Mon, 28 Jun 1999 19:16:34 -0700
==============40D4F6A9927A8CF8C641AE29
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Update:
When I do a ps ax, here's what it says for sendmail:
4647 ? S 0:00 sendmail: rejecting connections on port 25: load
average: 16
I've never seen this before. Help me!
Ray Clouse wrote:
> Something in my network security administration got screwed up and I can
> no longer receive mail!
>
> I'm on a cable modem and I have a dedicated box set up as my
> router/firewall. Let's say router.lan, and the remote is remote.lan.
> When I send an e-mail to [EMAIL PROTECTED], I get the following:
>
> remote:~ 2>mail -v [EMAIL PROTECTED]
> Subject: asdf
> adsf
>
> Cc:
> [EMAIL PROTECTED] Connecting to router.lan. via esmtp...
> [EMAIL PROTECTED] Deferred: Connection refused by router.lan.
>
> That occurs whether the user exists or not. Something got hosed up in the
> permissions, but I haven't found this addressed in the LDP or in Usenet or
> in the HOWTOs.
>
> Please reply here and to my work address. TIA.
>
> -------------------------------------------------------------------------
> Ray Clouse I'M HAPPY BECAUSE I EAT LARD.
> Cypress, CA USA
> Ray.Clouse AT boeing.com
> rclouse AT penguinpowered.com
--
=========================================================================
Ray Clouse I'M HAPPY BECAUSE I EAT LARD.
Cypress, CA USA
Ray.Clouse AT boeing.com
rclouse AT penguinpowered.com
==============40D4F6A9927A8CF8C641AE29
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Update:
<p>When I do a ps ax, here's what it says for sendmail:
<p> 4647 ?
S
0:00 sendmail: rejecting connections on port 25: load average: 16
<p>I've never seen this before. Help me!
<p>Ray Clouse wrote:
<blockquote TYPE=CITE>Something in my network security administration got
screwed up and I can
<br>no longer receive mail!
<p>I'm on a cable modem and I have a dedicated box set up as my
<br>router/firewall. Let's say router.lan, and the remote is remote.lan.
<br>When I send an e-mail to [EMAIL PROTECTED], I get the following:
<p>remote:~ 2>mail -v [EMAIL PROTECTED]
<br>Subject: asdf
<br>adsf
<p>Cc:
<br>[EMAIL PROTECTED] Connecting to router.lan. via esmtp...
<br>[EMAIL PROTECTED] Deferred: Connection refused by router.lan.
<p>That occurs whether the user exists or not. Something got hosed
up in the
<br>permissions, but I haven't found this addressed in the LDP or in Usenet
or
<br>in the HOWTOs.
<p>Please reply here and to my work address. TIA.
<p>-------------------------------------------------------------------------
<br>Ray
Clouse
I'M HAPPY BECAUSE I EAT LARD.
<br>Cypress, CA USA
<br>Ray.Clouse AT boeing.com
<br>rclouse AT penguinpowered.com</blockquote>
<pre>--
=========================================================================
Ray
Clouse
I'M HAPPY BECAUSE I EAT LARD.
Cypress, CA
USA
Ray.Clouse AT boeing.com
rclouse AT penguinpowered.com</pre>
</html>
==============40D4F6A9927A8CF8C641AE29==
------------------------------
From: Brutus <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: Re: internet connection with Linux
Date: 29 Jun 1999 01:30:56 GMT
James R. Barnett, Jr. wrote:
> Did you set up DNS Servers in the kppp setup? Or you can edit
> /etc/resolv.conf directly.
>
> JamesB
>
>
> > ------------------ Posted via SearchLinux ------------------
> > http://www.searchlinux.com
I used the kppp setup. The connection is made, I can see the current
connection rate, I just can't get any programs to use it.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: [EMAIL PROTECTED] (Duane Smith)
Subject: Question
Date: Mon, 28 Jun 1999 18:16:14 GMT
Does anyone know where to find the configuration file(s) for the Start
menu in the default window manager for RedHat Linux
I just installed XFCE and I want to add things like the Network
Configurator to my menu but I can't find them.
Are there config files for the menu that point to the binaries?
Thanks, Bill J.
------------------------------
From: "Chris" <[EMAIL PROTECTED]>
Subject: Best settings for 3c5x9cfg??
Date: Mon, 28 Jun 1999 22:23:58 -0400
Forgive my newbieness, but could someone explain
to me the differences in choosing "Server", "Windows, OS/2"
and "DOS" driver optimizations? To they really affect anything?
What about modem speed? What the heck is that all about?
Thanks.
Chris
------------------------------
From: RAH <[EMAIL PROTECTED]>
Subject: Re: Simple network problem, maybe for you, not me!!
Date: Mon, 28 Jun 1999 13:51:34 -0500
Aris Cruz wrote:
> How about more info.... Can you ping? IP masq? Dialup connection?
> Cable modem?
> root wrote:
> > Ok here it is. I installed RH 6.0, Mandrake 6.0, and COL 2.2. I can't
> > get any of them to work on internet if I install network support. I've
> > tried every class of IP . If I install without network support Internet
> > works fine on each except COL 2.2 which is a different matter. What am
> > I doing wrong? Is it best to install without network support and add
> > later. The network works great with Win98.
> >
>
> ------------------ Posted via SearchLinux ------------------
> http://www.searchlinux.com
Hardware: USR ext 56K (V.90) comm 1 - 3Com 3C509 ( non PNP) - Lets
start with COL 2.2 - if I install with the default network setup- that is IP
of
192.168.0.1 and the rest of the default settings of gateway, netmask, and
nameserver, as COL defaults to, and I choose a hostname as xxxx.yyyy.zzz,
I can't connect to the internet with Kppp. If I choose no ethernet and
default
hostname when I install I can connect every time. How do I IP masq? I want
to set up my Linux box as a server to 3 Win98, 95 machines using Samba.
Yes I'm a newbie coming from a OS/2 , WinNT, 98, and 95 world. I have setup
simple networks with OS/2 and WinNT, but this Linux is a tuffy. If someone
can
just point me in the right direction I will forever be grateful.
Thanks
------------------------------
Date: 28 Jun 99 21:26:21 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: callerID
Unrot13 this;
Reply to: <[EMAIL PROTECTED]>
Gene Heskett sends Greetings to Silviu Minut;
Thanks Justin, I didn't know it was there, the only search I did came up
blank, for 'callerID'.
SM> justin P wrote:
>> go to www.freshmeat.net and search for Caller ID
>> I saw something on there last week.
>> justin
>>
SM> Good idea! I've found it! Thanks!
>>
>> Silviu Minut <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]...
>> > Is there any callerID program for Linux?
>> >
>> > Thanks!
>> >
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040 50 megs fast/2 megs chip
Ch. Eng. @ WDTV-5 |A2091,GuruRom,1g Seagate,CDROM,Multiface III
|Buddha + 4 gig WDC drive, 525 meg tape
|Stylus Pro, EnPrint, Picasso-II, 17" vga
RC5-Moo! 690kkeys/sec isn't much, but it all helps
email gene underscore heskett at iolinc dot net
--
------------------------------
From: Jim Robertson <[EMAIL PROTECTED]>
Subject: Re: Protocol features for Linux?
Date: Tue, 29 Jun 1999 03:10:09 GMT
If you are interested in the response, please read the newsgroup.
Niclas Anderberg wrote:
>
> I am currently investigating the availability and functionality
> of a number of protocols for Linux. Please let me know if they are
> available (in any form, even outside the standard linux kernel),
> and if they aren't in the standard kernel then please tell me where
> I can find them (if you can).
>
> Transport Protocols
>
Yes to most of these.
[...snippage...]
>
> Thanks in advance for all your help, and please cc to the mailaddy
> above.
No to this.
Try looking at Caldera's website -- they have the stuff to support IPX
and such.
-- JRob
If I owned Hell and Texas I'd rent out Texas and move to Hell.
------------------------------
From: Ben Russo <[EMAIL PROTECTED]>
Subject: [Fwd: IP Packet filtering ethernet bridge on Linux?]
Date: Mon, 28 Jun 1999 18:55:34 -0400
This is a multi-part message in MIME format.
==============4A8B516C5B576D4991B20FF3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
==============4A8B516C5B576D4991B20FF3
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mozilla-Status2: 00000000
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 28 Jun 1999 18:54:41 -0400
From: Ben Russo <[EMAIL PROTECTED]>
Organization: United Messaging
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-22 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Gary Helbig <[EMAIL PROTECTED]>
Subject: Re: IP Packet filtering ethernet bridge on Linux?
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Thanks, but I was wondering if the "bridging" support in the
kernel took place at a layer above or below the ipchains support.
I really don't know if that is even pertinent (I am not a kernel hacker)
But if there was someone who was doing this out there who could
confirm it then I can put it in my rack elevations for my platform
diagrams... :)
Linux in production.
-Ben.
Gary Helbig wrote:
> Ben,
>
> If I understand what you're trying to do, all the Linux box would be is
> a firewall WITHOUT nat.
>
> Should be a piece of cake. I know ipfwadm can do the filtering you
> want.
>
> But I think you only need one Linux box (with two NICs).
>
> Gary.
>
> Ben Russo wrote:
> >
> > I have two linux boxes with two NIC's each
> > I want to set the boxes up as bridges, but filter the packets
> > passing through the bridges on qualities such as inbound
> > destination port and IP address.
> >
> > Both the internal and external networks are real routeable
> > Internet networks. I will be portwrapping the internal machines,
> > but want the additional security layer of firewalls.
> >
> > I also have two routers presenting an HSRP Virtual IP address,
> > and RIP broadcasts to the internal network.
> >
> > On the internal network I have 2 3Com SuperStack 10/100BaseT
> > 24 port ether switches.
> >
> > My internal network hosts will each have two nics, and be running
> > routed to listen to the RIP broadcasts from the routers.
> >
> > The switches should use "spanning tree"?? to find the HSRP address
> > in the case of a port tranceiver failure...
> >
> > In effect I want the two Linux boxes to act as packet filtering
> > cables between the routers and the switches.
> >
> > Is this possible? Is anyone doing it?
==============4A8B516C5B576D4991B20FF3==
------------------------------
From: "Chris" <[EMAIL PROTECTED]>
Subject: Where can I find information on setting up Linux as a gateway
Date: Sun, 27 Jun 1999 18:58:32 -0400
I have a 3pc network at home, and would like to share
cable modem internet across the 3 of them.
Where can I find information on doing this
besides the IP masq. How-To.
Thanks,
Chris.
------------------------------
From: [EMAIL PROTECTED] (Preston F. Crow)
Subject: Re: IP Packet filtering ethernet bridge on Linux?
Date: 29 Jun 1999 02:21:12 GMT
Ben Russo <[EMAIL PROTECTED]> writes:
>I have two linux boxes with two NIC's each
>I want to set the boxes up as bridges, but filter the packets
>passing through the bridges on qualities such as inbound
>destination port and IP address.
I don't think you can do that with bridging. As I understand it,
bridging acts on the ethernet level, while firewalling acts on the IP
level. When you do bridging, the IP level never sees the packets
(that's why you don't need to assign IP addresses to the cards when
doing bridging if you don't want to).
Perhaps there should be a kernel config option when you turn on
bridging and firewalling to ask if you should firewall bridged
packets, but that might require some significant reworking of the
network code, and might result in degraded performance for networking
in general.
You can do something very similar with Proxy ARP. (Look at the 'arp'
command.) The idea is to set up the routing and firewalling as if
hosts on both sides knew that you were acting as a router. Then you
advertise that the ethernet address associated with one of the local
cards is associated with the IP address of a machine on the network on
the other interface. This lets you have a similar effect to that of
bridging, except that the packets are processed by the IP layer. Of
course, this can be more difficult to set up.
--PC, hoping I understand all this correctly
--
Only be careful, and watch yourselves closely so that you do not forget the
things your eyes have seen or let them slip from your heart as long as you
live. Teach them to your children and to their children after them.
Remember the day you stood before the Lord your God... --Deut 4:9-10a
------------------------------
From: Rik Sagar <[EMAIL PROTECTED]>
Subject: Re: apache cannot run cgi
Date: Mon, 28 Jun 1999 18:42:18 -0700
And in perl that would be
print "content-type: text/html\n\n";
You might also want to check that you have set:
Options ExecCGI
in the:
<directory />
section of the http.conf file.
I also have an issue on one of my linux machines that requires I do a chmod 755 on
the .cgi file, otherwise it refuses to execute the script.
Rik.
Patrick wrote:
> when i type the location http://www.mysite.com/mmprood.cgi
> the browser shows me:
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was unable
> to complete your request. Please contact the server administrator,
> [EMAIL PROTECTED] and inform them of the time the error occurred, and anything
> you might have done that may have caused the error. More information about
> this error may be available in the server error log.
>
> in /usr/local/apache/logs/errorlog:
> httpsd: [Mon Jun 28 16:05:12 1999] [error] [client 202.53.128.2] Premature end
> of script headers: /home/www/mail/mmprood.cgi
>
> --
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Reply-To: [EMAIL PROTECTED]
Date: Tue, 29 Jun 1999 01:46:21 GMT
On Mon, 28 Jun 1999 19:43:39 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Look at the above, and what I quoted from Nathan Myers:
>
> "[...]Take for example Egcs. C and C++, same code generator,
> same optimizer."
>
>My point was that C++ output is still bigger than C, _for the exact same
>source code_, using the same code generator and optimizer.
...Which basically goes to say that the C++ implementation is not as
*mature* as the C implementation.
They may both share the same peephole optimizer; they may both share the
same RTL code generators.
But they manifestly *do not* share the same parse tree generator.
(That's kind of the point of them being separate compiler front ends.)
It is quite evident that the front ends generate code differently, and
this nicely explains the differences in behaviour.
It is manifestly true that G++ FE != GCC FE, and it is pretty evident
that the GCC FE is *vastly* more mature. Which strikes me as obvious; I
was using GCC (ANSI C) ten years ago, and considered it quite stable,
when G++ was not even worth considering.
All of this being said, it is possible for the code generator for C++
(particularly for EGCS) to persistently underperform the C code
generator, due to the following two factors:
a) They are separate.
b) C++ is a more complex language, thereby making it more difficult to
write a generator producing code that is both correct and efficient.
Don't misread that as a claim that the complexity makes it inherently
*impossible* to make a C++ implementation more efficient; it merely
indicates that it is a difficult task.
--
"I think it would be great if MS would make VB the favoured language
for Palm PC's. Then they'd have a shaky, bloated, slow OS running the
shaky, bloated, slow macro-apps." -- <[EMAIL PROTECTED]>
[EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/langc.html>
------------------------------
From: "T.J. Weber" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,linux.net
Subject: Routing two Internet Networks
Date: Mon, 28 Jun 1999 22:44:57 -0600
Reply-To: [EMAIL PROTECTED]
Hi, I have a question, and it might be fairly complex.
We currently have two Internet connections coming into our building. My
company hosts several web sites and does some Internet work. I'm trying
to get re-familiar with the route daemon, and the basics on configuring
routes.
We have two Internet connections, both T1, and for simplicity I'll use
local IP addresses.
ISP #1 -- 192.168.1.0/25 (default route)
ISP #2 -- 10.201.30.0/24 (new route, not configured)
So we have the two Internet connections, and the link from ISP #1 has
been working for over a year, just fine without problems. Now we have
our new, ISP, ISP #2 .... which I'm trying to routes set for all IP
addresses on 10.201.30.0/24 to go to the router, set to 10.201.30.1.
In a nutshell, I want all traffic with IP addresses on the
10.201.30.0/24 block to route through the router on 10.201.30.1, and all
the IP addresses on 192.168.1.0/25 to go through on 192.168.1.1. Here's
the diagram:
current default route: 192.168.1.1
10.201.30.0/24 --> 10.201.30.1 --> Internet
192.168.1.0/25 --> 192.168.1.1 --> Internet
What my current problem is that the IP addresses set on the
10.201.30.0/24 block get routed through 192.168.1.1, which is the
current default route. I've tried adding the network to Linux and
configuring the default route for that network, but it still doesn't
work. When I set a website to an IP on 10.201.30.0/24, all the traffic
goes out on 192.168.1.0/25.
Please advise if anyone has any thoughts on which commands I would issue
to route the traffic to the place I want it to go to.
Thanks in advance,
--t.j. weber
--
T.J. Weber | Providing your business with COMPLETE
Interplanetary Media | computer & Internet solutions!
phone: 847.205.5200 | ----- SARRZY INTERNET SOLUTIONS -----
fax: 847.205.5201 | web: http://www.ipmedia.net
e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
====================================================================
He's not dead, he's / You have the right to remain
electroencephalographically / silent. Anything you say will
challenged. / be misquoted and used against you.
====================================================================
------------------------------
From: Andrei <[EMAIL PROTECTED]>
Subject: redhat 6.0 client to NT 4.0 MS Proxy
Date: Tue, 29 Jun 1999 03:12:30 GMT
It appears that my problem should be straightforward to fix...
1. I can ping all hosts on my network, from all machines.
2. I would like to use my linux client for web access. My Windoze
clients are using WinSock Proxy. What steps do I need to take, to get
things running?
thanks,
Andrei
------------------------------
From: Ricker <[EMAIL PROTECTED]>
Subject: Re: Simple network problem, maybe for you, not me!!
Date: Mon, 28 Jun 1999 15:39:26 -0500
Andrey Smirnov wrote:
> What exactly do you mean by "networking"? What are you trying to accomplish?
>
> root <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Ok here it is. I installed RH 6.0, Mandrake 6.0, and COL 2.2. I can't
> > get any of them to work on internet if I install network support. I've
> > tried every class of IP . If I install without network support Internet
> > works fine on each except COL 2.2 which is a different matter. What am
> > I doing wrong? Is it best to install without network support and add
> > later. The network works great with Win98.
> >
Just a simple network with the Linux box as server to 3 Win98/95 machines
using Samba, of cource it also means internet support with the Linux machine.
------------------------------
From: [EMAIL PROTECTED] (Isaac)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.lang.c++
Subject: Re: Why not C++
Date: 29 Jun 1999 03:06:36 GMT
On 28 Jun 1999 18:34:13 -0700, Nathan Myers <[EMAIL PROTECTED]> wrote:
>Isaac <[EMAIL PROTECTED]> wrote:
>Curiously, the list above almost matches the chronology of the
>introduction of features, starting from C with Classes.
>As such, it's suspect.
>
I don't understand why this makes it suspect, but in any event
the list was my personal preference. Perhaps your list is better
but I don't think ALMOST matching some other list makes mine
suspect.
>Those most expert in C++ would list importance of features in
>an order more like this:
>
> Encapsulation (:=: Classes)
> Templates
> STL (and similar libraries)
> Exception handling
> Polymorphism (:=: inheritance)
> Namespaces
> Operator overloading
>
>Some people -- notably, the author of STL -- have no use for classes
>(inheriting or otherwise), and promote templates above all.
>
I'd consider this opinion valid, but if your goal is object oriented
programming, then why wouldn't a list which emphasizes those aspects
be reasonable?
I have no real problem with the higher position of templates on
the list. I suspect this would vary with the type of programming
being done, and I've only a couple or three years of experience using
C++. I find that using the containers in the STL encourages use of
polymorphism in my designs. I use that paradigm far more than
I write my own templates. Perhaps over time I'll write more
templates. My list is probably pretty close to the order of
presentation in my learning material which probably does make
the list suspect : }. On the other hand a lot of people found
g++ at least useful with buggy template instantiation, no STL,
and no namespaces.
>
>Reference arguments can prevent errors, because there is no such thing
>as a null reference. Anything that eliminates a likely error should
>not be dismissed lightly.
>
I agree. I think references have some code maintenance baggage attached,
but I'll agree that they can also be a plus in this area. The
negative baggage is why references are lower on my list.
>Most experts acknowledge that use of operator overloading is best
>restricted, in most programs, to operator= and construction/conversion.
>However, those overloads are extremely important. Some libraries make
>exemplary use of operators [], (), *, and ->. The rest may may be
>questioned, but where do you draw the line?
Agreed. I draw it pretty much where you do, but I note operator
overloading didn't make the expert's top five either. If I
were writing a matrix library or a complex number handling
package, I might have a more liberal opinion.
Isaac
------------------------------
** 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
******************************