Linux-Networking Digest #957, Volume #9 Thu, 21 Jan 99 07:13:38 EST
Contents:
Re: MSG_WAITALL and Error: Bad Address on recv() (Malware)
Re: FTP problem - RedHat 5.2 (Regit Young)
Re: NFS problem - RedHat 5.2 (Bill Unruh)
Re:linux newbie question (James Spooner)
Re: DOES LINUX SUCK (Sechylmanos)
Re: DOES LINUX SUCK (Sechylmanos)
Re: DOES LINUX SUCK (Sechylmanos)
SMP linux crashes badly ! (Fred)
Help with PPP Server setup (Greg Roberts)
Re: Multiple Servers under Apache (John O'Donnell)
Re: Security hole with WU-FTPD (Thomas Stieler)
Re: This is Linux, not Windows, so why not superior flexibility AND idiot-friendly?
(Phil Stripling)
Re: Why Does Linux Networking Suck So Badly ? ("Jay D Ribak")
irc server problems ([EMAIL PROTECTED])
Re: Login as root with telnet (Steve Ledford)
kernel: VFS: No free inodes - contact Linus (Matt Corddry)
Re: NFS problem - RedHat 5.2 ("greyman")
Re: Why Does Linux Networking Suck So Badly ? (Richard Steiner)
----------------------------------------------------------------------------
From: Malware <[EMAIL PROTECTED]>
Subject: Re: MSG_WAITALL and Error: Bad Address on recv()
Date: Wed, 20 Jan 1999 07:28:10 +0100
I am trying to write a communications program with a TCP-enabled piece
> of equipment, but I'm running into some problems.
>
> 1) It seems that the MSG_WAITALL flag is not defined in
> /usr/include/linux/socket.h. Is this flag not supported under
Here it is:
malware:/home/malware > grep MSG_WAITALL /usr/include/linux/socket.h
#define MSG_WAITALL 0x100 /* Wait for a full request */
This is a kernel 2.1.132.
Malware
------------------------------
From: Regit Young <[EMAIL PROTECTED]>
Crossposted-To: aus.computers.linux
Subject: Re: FTP problem - RedHat 5.2
Date: Thu, 21 Jan 1999 15:33:49 +0800
Does your particular ftpd needs a ftpuser file? Check the documentation that
comes with it.
Regit
[EMAIL PROTECTED] wrote:
> I've managed to setup a FTP daemon on the two Linux boxes I've connected via a
> private network. However I'm having this problem accessing the other Linux box
> via FTP. The problem is as follows:
>
> ftp fairlane
> Connected to fairlane
> 220 fairlane.fords.com.au FTP Server ..............
> Name (fairlane:root): ftp
> 530 User ftp access denied
> Login failed
>
> I only have two Linux machines connected to each other and I can't ftp both
> ways. Using either machine to access the other via ftp gets the above error
> message. I have setup a ftp account. I've also tried root and my personal
> account both getting the above message. I don't have a \etc\ftpusers file so
> I assume that no user accounts are denied at all. Also I've checked
> hosts.allow and that is set as ALL : ALL and nothing is in hosts.deny so
> what could be the problem? It seems strange that it didn't even ask me for
> the password before giving me the error message. I've installed wu-ftppackage
> on both machines as well. I was able to telnet to one other no problems and
> NFS works as well. So can anyone tell me what's going on? Thanks.
>
> Timbo.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: aus.computers.linux
Subject: Re: NFS problem - RedHat 5.2
Date: 21 Jan 1999 08:20:06 GMT
In <786im3$rop$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:
>So I guess I can successfully run NFS manually after boot time but how do I
>get it so that rpc.mountd & rpc.nfsd service is started automatically each
>time I boot?
>Is this correct? I thought this should be started in rc.d? Sorry for the long
>message..trying to give you as much info as I can. Thanks.
Yup. Start it in /etc/rc.d
So on my system
ls /etc/rc.d/*/*nfs*
/etc/rc.d/init.d/nfs* /etc/rc.d/rc3.d/S15nfsfs@
/etc/rc.d/init.d/nfsfs* /etc/rc.d/rc3.d/S60nfs@
/etc/rc.d/rc0.d/K20nfs@ /etc/rc.d/rc4.d/S15nfsfs@
/etc/rc.d/rc0.d/K95nfsfs@ /etc/rc.d/rc4.d/S60nfs@
/etc/rc.d/rc1.d/K20nfs@ /etc/rc.d/rc5.d/S15nfsfs@
/etc/rc.d/rc1.d/K95nfsfs@ /etc/rc.d/rc5.d/S60nfs@
/etc/rc.d/rc2.d/K20nfs@ /etc/rc.d/rc6.d/K20nfs@
/etc/rc.d/rc2.d/K95nfsfs@ /etc/rc.d/rc6.d/K95nfsfs@
Ie, you want to start up both nfs and nfsd (in runlevels 3-5). This
should have occured automatically when you told the installation program
you wanted to set up nfs (ie be a nfs server)
------------------------------
From: James Spooner <[EMAIL PROTECTED]>
Crossposted-To: nz.comp
Subject: Re:linux newbie question
Date: Thu, 21 Jan 1999 22:17:05 +1300
I wrote a little shell script for IPChains (found in 2.1 and 2.2 kernels,
also 2.0 with patch).
You can edit firewall rulesets then apply them, disable the firewall,
etc.. It's designed to fit into the FFS (slackware users need not apply),
and the debian init stuff.
James Spooner - [EMAIL PROTECTED]
===================================
I mess with computers.
On Thu, 21 Jan 1999, ian wrote:
>
>
> Haaino Beljaars wrote:
>
> > Hi,
> >
> > Since yesterday my RH 5.2 machine has a connection to the internet via a
> > cablemodem. All works fine. But, since I know that the internet isn't
> > safe these days I want to place some security on my computer before I
> > let it run 24 hours a day. So, I have installed a simple firewall to
> > ensure that nobody can get to my netwerk and so. But, I also know that
> > RH has some security holes on its own. What should I do the make my
> > machine run more securerely?
> >
> > Bye,
> > Haaino
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Sechylmanos)
Crossposted-To: comp.os.linux.advocacy,linux.redhat.install
Subject: Re: DOES LINUX SUCK
Date: Thu, 21 Jan 1999 00:38:46 -0800
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Sam) wrote:
> Oh, I understand COLA now, if you have a problem with Windows it's the
> operating system. if you have a problem with Linux it's the user.
>
> Logical.
>
> Sam
Basically, yes. Obviously there are going to be some problems here or
there that are not user error, but hey, lets face it, most Linux problems
(that I have run into at least) are due to USER ERROR. Misconfiguration,
lack of configuration, you name it. In all likelyhood, if something
doesnt work, it is due to something you did. If everything is configured
correctly, Linux will run until you break the box in half with a
sledgehammer. If it isn't, well, that is a whole new storybook...
sechylmanos
------------------------------
From: [EMAIL PROTECTED] (Sechylmanos)
Crossposted-To: comp.os.linux.advocacy,linux.redhat.install
Subject: Re: DOES LINUX SUCK
Date: Thu, 21 Jan 1999 00:55:33 -0800
In article <785ppc$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
<clip>
> > There are already such facilities for anyone who bothers
> > to bother.
>
> you must be really stupied.
Hmmmm... Maybe you should code yourself a SPELL CHECKER?
I'm sorry, that was juvenile... but then again, so was your response above...
<clip>
> >However, you don't want to do a damn thing,
> > not even the simple things. You have all the sincerity
> > of Ponzi.
> >
>
> and you have the IQ of a moron for not being able to comprehend anything
> more complicated than one little program in front of you and no more.
>
>
> Bob
Wow, once again more juvenile inflammatory statements. Seriously, if you
think that the "enhancements" you speak of are so easy to implement, then
by all means, write them. Otherwise this has really become a moot point.
sechylmanos
------------------------------
From: [EMAIL PROTECTED] (Sechylmanos)
Crossposted-To: comp.os.linux.advocacy,linux.redhat.install
Subject: Re: DOES LINUX SUCK
Date: Thu, 21 Jan 1999 00:47:50 -0800
In article <784eru$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> it is a matter of will. if programmers realy want to do such a system,
> they will do it. but programmers are lazy as a rule. if someothing works,
> then no they dont want to improve it. and they want to go do something else
> new.
>
> Bob
????????
Wow, that's funny. All the programmers I know are constantly trying to
achieve perfection in the software they write. They sleep very little to
find a means to that end. Lazy, well... I had no idea.
sechylmanos
------------------------------
From: Fred <[EMAIL PROTECTED]>
Crossposted-To: ";",comp.os.linux.hardware
Subject: SMP linux crashes badly !
Date: Wed, 20 Jan 1999 17:55:03 +0100
Hi all,
I'm running a dual PII 266 256 mg RAM ;-))))
ASUS P2B - DS
USR ISDN TA (hisax.o)
S3 virge DX
Ethernet clone 8029
AHA 1505
RedHat 5.2 / 2.0.36
15 Xconsoles connected
The kernel is compiled with SMP=1
Everything seemed to work fine ...
But when i've got a heavy load on eth0, the server crashes with the
following message flooding the screen :
eth0:Reentering the interrupt handler ! isr=0x1 imv=0x0
When working with a single processor kernel (SMP=1 commented), the
server is ok.
Any ideas ?
------------------------------
From: [EMAIL PROTECTED] (Greg Roberts)
Subject: Help with PPP Server setup
Date: 21 Jan 1999 08:11:55 GMT
Hi all. I'm currently pulling my hair out at the moment due to someone unknown
problem with a PPP server I'm currently working with. What's happening is
this. The machine is a 486DX, running RH5.2, kernel 2.0.34 (for the moment,
but was running 2.0.36). What's happening is that whenever someone dials
into the server, they connect fine, login with username/password ok, prompt
comes up, they type ppp, which is aliased to "pppd -detach", the PPP
string comes up, and the connection is made. I'm testing this under Win95,
using manual connection via terminal window, so when the PPP string appears,
I hit F7 to continue. Windows finishes making the connection, and everything
looks great - until I look at the stats reported by winipcfg. The subnet mask
is wrong, and the gateway is set to the IP that is given to the host, not
the actual gateway. So when I try to contact any machine other than the server
I get no response. I can only contact the server via IP, not hostname. Now
before anyone says check resolv.conf, that's fine. All the config is still
the same before the upgrade. The server was running RH4.1, but I wanted to
bring this up to match the other Linux machines, which are running RH5.2.
I've tried using kernel-2.0.34/36, both contain TCP/IP and IP forwarding,
but neither work. I'm using the same network configuration as used on the
old setup, so I'm sure it's not the kernel. So this brings me to here -
anyone out there got any idea what the hell is going on?!?! Needless to say
this is really starting to tick me off, so any suggestions/ideas will be
greatly appreciated. Please send replies to the E-mail address below.
Thanks,
==============
Greg Roberts
Computer Systems Officer
Dept. of Electrical & Electronic Engineering
The University of Western Australia
NEDLANDS WA 6907 Australia
Ph : +61-08-9380-7366
Fax : +61-08-9380-1065
Email : [EMAIL PROTECTED]
------------------------------
From: John O'Donnell <[EMAIL PROTECTED]>
Subject: Re: Multiple Servers under Apache
Date: Tue, 19 Jan 1999 11:51:31 -0500
[EMAIL PROTECTED] wrote:
>
> We have just migrated our server here from Netscape Enterprise under NT to
> Apache under Linux. I am wondering if there is any way to run multiple
> servers on one IP address. I have been told that although no official
> solution exists, it is possible. So, for example, the server is x.com, and I
> want to have server1.x.com and server2.x.com both with the same IP, 1.2.3.4
> while the DNS entry only points 1.2.3.4 to x.com
There is no solution like that that I am aware of. However my server
runs
multiple (aliased) IP addresses on the same box in conjunction with the
apache </VirtualHost> command to differentiate which site to launch.
I have done this on SCO and Linux with great success!!!
VirtualHost documentation can be found at
http://www.apache.org/docs/vhosts/index.html
and Linux IP Aliasing documentation can be found in section 6.5 of the
NET-3-HOWTO at:
http://metalab.unc.edu/pub/Linux/docs/howto/NET-3-HOWTO
Hope this helps :-)
Johnny O
--
John O'Donnell (Sr. Systems Engineer, Web master, Network Admin, etc...)
Voice FX Corporation
1100 E. Hector Street www.voicefx.com
Suite 416 www.getgrades.com
Conshohocken, PA 19428 www.gettranscript.com
Phone: (610)941-1000 www.getfinaid.com
E-Mail: [EMAIL PROTECTED] www.campusdirect.com
[ Remove "nospam-" from the e-mail address ]
------------------------------
From: Thomas Stieler <[EMAIL PROTECTED]>
Crossposted-To: comp.security.unix,redhat.networking.general,aus.computers.linux
Subject: Re: Security hole with WU-FTPD
Date: 20 Jan 1999 17:04:11 GMT
In comp.os.linux.networking Matthew Kirkwood <[EMAIL PROTECTED]> wrote:
> On 20 Jan 1999, Villy Kruse wrote:
>> >I have seen this happen before. In my case the hacker first broke into an NT
>> >machine (has microsoft ever made a product that was secure? ;-) ) then used
>> >SAMBA to access the server. I have disable this product and my hacker
>> >problems disappeared.
>>
>> Is samba able to access any directory other than those you specifically
>> specify as shares in the smb.conf?
> Sort of. Last time I looked it would happily follow symlinks outside the
> share's 'root' directory.
> A symlink to / allows access to the whole lot..
> Matthew.
I think, you can disable this with option wide links.
Set "wide links = no" and this solves your problem!
Also look for "root directory" option!!
Regards,
Thomas
--
============================================================================
Dipl. phys. Thomas Stieler [EMAIL PROTECTED]
Drittes Physikalisches Institut
B�rgerstr. 42-44 --- 37073 G�ttingen
Tel.:(0551)397742 --- Fax:(0551)397720
Privat:
Kurze Str.15/12 --- 37073 G�ttingen --- Tel.:(0551)485603
============================================================================
------------------------------
Crossposted-To:
comp.os.linux.misc,comp.os.linux.portable,comp.os.linux.powerpc,comp.os.linux.setup
Subject: Re: This is Linux, not Windows, so why not superior flexibility AND
idiot-friendly?
From: Phil Stripling <[EMAIL PROTECTED]>
Date: 20 Jan 1999 09:56:58 -0800
Peter McDermott <[EMAIL PROTECTED]> writes:
> Ian Payne <[EMAIL PROTECTED]> wrote:
>SNIP<
> > My job involves supporting several hundred desktop users who are NOT rocket
> > scientists. Some of them need desktop shortcuts to their applications, the
> > Start menu frightens them. Some of them still insist on File Manager because
> > "Explorer is too confusing".
>
> And I bet *some* of them still haven't learned how to trim a
_Exactly_, Peter. It cannot be better put.
--
Phil Stripling | Sorry for the munged replyto
The Civilized Explorer | line, but you know what.
http://www.cieux.com/ | needs to be removed
:->
------------------------------
From: "Jay D Ribak" <[EMAIL PROTECTED]>
Subject: Re: Why Does Linux Networking Suck So Badly ?
Date: Wed, 20 Jan 1999 12:28:44 -0500
Darren Greer wrote in message <[EMAIL PROTECTED]>...
>not mean it is better. Take PPP for example. Setting up a PP
>connection in Windows take only seconds to do. However, you will get
Sure it only takes a few minutes in Windows, but you are forgetting the
months spent troubleshooting the random and cryptic "DUN was unable to
establish a compatible set of networking protocols" message. I remember
when 95 first came out, there was a web site devoted to this error message.
It appears completely randomly, and for no obvious reasons. It will happen
on one call, then will work for 10, then happen again for 20. A tech at MS
has been quoted as saying "Oh, thats a generic error message we use to apply
to a bunch of different errors". 98 seems to have improved DUN a good bit,
but 95 is absolutely horrendous for this. And forget NT's client side RAS.
I think if someone did a long term study and compared the # of people having
issues with Linux dial up and with Windows dial up, I think the numbers
would be pretty neck in neck.
And, to answer the original poster's question, Linux networking does not
suck at all. It has nothing to do with Linux...it has based off of BSD
Unix networking. UNIX servers are used world wide for everything under the
sun and are proven to be much more reliable than NT. For this reason
alone, I would have to say that there is no possible way that Linux
networking can suck. Furthermore, I can set up a new Linux box and have
it configured and on the network acting as a sendmail/pop3/www/ftp/DNS/etc.
server in less than an hour. If you want to talk about just getting the
machine on the network and talking with the rest of the network, it can be
done in less than 2 minutes with a simple ifconfig and route add command.
Try to configure 95's Network Control Panel that quickly. The reboot alone
would take you 2 minutes. Hmm..that reminded me of another
subject....what kind of 'network operating system/server' is NT if it can't
even change its IP address or add additional IP's onto the interface w/o a
reboot??? Can you say 'high availability'? Not in the same sentence as
NT, thats for sure...
Jay R.
------------------------------
From: [EMAIL PROTECTED]
Subject: irc server problems
Date: Wed, 20 Jan 1999 18:06:51 GMT
I am trying to run an irc server off my Linux box at home and I am having all
kinds of problems. I got the ircd off the linuxberg.com website and compiled
and am actually able to start the server. Thing is...I connect to it and it
says I dont have authorization and does that everytime I try. I talked to an
irc admin and he looked at my ircd.conf and added something in the I-Lines but
that still didnt fix it. Any ideas?
Thanks
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Steve Ledford <[EMAIL PROTECTED]>
Subject: Re: Login as root with telnet
Date: Tue, 19 Jan 1999 21:09:50 -0600
OK, I received a tip from a guy at work and it worked. Here is is:
edit the file /etc/securetty and add a line, in my case, ttyp0. Lo, I
can now login over telnet as root.
One final nagging detail. When I logon at the console I can type "top"
and see all processes. However, when I login over telnet and type "top"
I only see the summary at the top but no items listed. What's up with
this? Are there other files that I need to change to get everything
setup beyond just login? A final note. I am launching telnet on my
Windoze PC by going to the run menu item and typing "telnet sloth". Is
this perhaps a display limitation of incomplete vt100 emulation on the
part of Windoze?
Steve Ledford wrote:
>
> I have a very annoying problem with my Linux (RH 5.1) setup at home. I
> have setup an old PC as a print server/internet gateway. It is headless
> (ie. no monitor) and I was planning on managing it across my LAN by
> simply telnet'ing into the thing. Well, telnet works just fine but my
> login as root is rejected every time. I can log in as one of the user
> accounts I set up and I can then 'su' to root but this is flat out
> annoying. What do I need to change on the box in order to enable root
> login over telnet?
------------------------------
Date: Thu, 21 Jan 1999 02:34:30 -0800
From: Matt Corddry <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: kernel: VFS: No free inodes - contact Linus
Well... the subject really explains my problem. I get hundreds of
thousands of these at console and in /var/log/messages.
I'm running a chat server on a 2.0.36 redhat box. It's a p2-450 with
512m of ram, an adaptec 7890 + quantum 4.5 lvd, and a tulip 21140 nic.
This error occurs when I start stressing my server, which involves a
large number of open tcp connections -- about 2300 or so. I run 40
'chatservers' on ports 5000-5039 to handle the load.
One of our developers modified the kernel to get more user processes and
open files (he followed instructions from the net... I can find out the
changes exactly if need be). A 'ulimit -a' spits out:
core file size (blocks) 1000000
data seg size (kbytes) unlimited
file size (blocks) unlimited
max memory size (kbytes) unlimited
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 1792
pipe size (512 bytes) 8
open files 2048
virtual memory (kbytes) 2105343
The status lines in 'top' looked like this as it was failing:
84 processes: 41 sleeping, 43 running, 0 zombie, 0 stopped
CPU states: 0.9% user, 21.3% system, 0.0% nice, 80.9% idle
Mem: 515440K av, 507048K used, 8392K free, 83040K shrd, 70420K buff
Swap: 128516K av, 88K used, 128428K free 7348K
cached
If anyone knows what's going on, I'd love some help here!
thanks in advance
matt corddry
[EMAIL PROTECTED]
------------------------------
From: "greyman" <[EMAIL PROTECTED]>
Crossposted-To: aus.computers.linux
Subject: Re: NFS problem - RedHat 5.2
Date: Thu, 21 Jan 1999 21:28:03 +1000
Bill Unruh wrote in message <786nvm$3ak$[EMAIL PROTECTED]>...
>In <786im3$rop$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:
>
[snip]
>>Is this correct? I thought this should be started in rc.d? Sorry for the
long
>>message..trying to give you as much info as I can. Thanks.
>
>Yup. Start it in /etc/rc.d
>So on my system
>ls /etc/rc.d/*/*nfs*
>/etc/rc.d/init.d/nfs* /etc/rc.d/rc3.d/S15nfsfs@
>/etc/rc.d/init.d/nfsfs* /etc/rc.d/rc3.d/S60nfs@
[snip]
>
>Ie, you want to start up both nfs and nfsd (in runlevels 3-5). This
>should have occured automatically when you told the installation program
>you wanted to set up nfs (ie be a nfs server)
>
You can automount a nfs filesystem in /etc/fstab with a line like:
eden:/doswin/kits /mnt/nfs nfs rsize=1024,wsize=1024 0 0
See 'man mount' and 'man fstab' for more detail of parameters for this file.
Greyman
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Richard Steiner)
Subject: Re: Why Does Linux Networking Suck So Badly ?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 21 Jan 1999 04:54:28 -0600
Here in comp.os.linux.networking, [EMAIL PROTECTED] (Sechylmanos)
spake unto us, saying:
>Linux IS user friendly, just to a different group of users.
Yay! I think you get it. :-) I wish more people would...
--
-Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Bloomington, MN
OS/2 + Linux (Slackware+RedHat+SuSE) + FreeBSD + Solaris +
WinNT4 + Win95 + PC/GEOS + Executor = PC Hobbyist Heaven!
Unable to locate Coffee -- Operator Halted!
------------------------------
** 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
******************************