Linux-Misc Digest #480, Volume #24               Mon, 15 May 00 21:13:02 EDT

Contents:
  Re: WYSIWYG web page generator (JEDIDIAH)
  Re: Problems with ftp access to my server (Dances With Crows)
  Re: how www.netcraft.com works (Kari Pahula)
  IP to MAC address (Ravi)
  Re: WYSIWYG web page generator (Dances With Crows)
  Re: WYSIWYG web page generator (Patrick O'Neil)
  Re: 'Welcome' email for new users (Bastian)
  How to tell available Hard Disk space ("Frank J. Schmuck")
  Possible denial of service attack ([EMAIL PROTECTED])
  XMMS & Sound (=?iso-8859-1?Q?Beno=EEt?= Smith)
  Netscape RPM with strong encryption? (Richard)
  Makefile debugger? ([EMAIL PROTECTED])
  Re: site wide search capability (Oktay Altunergil)
  Re: Need input on developing a unified configuration program for linux (Christopher 
Browne)
  Re: Where to get Gozilla/GetRight-like program on Linux? (John Hong)
  Re: Anyone have a clue about PAM? (Ed Hurst)
  Re: Need help with internet connection! (Ed Hurst)
  Where to get Red Flag Linux? (HJL)

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

From: [EMAIL PROTECTED] (JEDIDIAH)
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: WYSIWYG web page generator
Date: Mon, 15 May 2000 22:55:59 GMT

On Mon, 15 May 2000 21:40:21 +0100, Mark Wilden <[EMAIL PROTECTED]> wrote:
>JEDIDIAH wrote:
>> 
>>         This is the point of view from which most of us justify our
>>         dislike of visual HTML authoring tools actually.
>
>However, when presented with an argument for using such tools that has
>nothing to do with that point of view, most of 'you' are strangely
>silent...

        Just when is the final output irrelevant again?
        
-- 

    In what language does 'open' mean 'execute the evil contents of'    |||
    a document?      --Les Mikesell                                    / | \
    
                                      Need sane PPP docs? Try penguin.lvcm.com.

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Problems with ftp access to my server
Date: 15 May 2000 18:58:24 EDT
Reply-To: [EMAIL PROTECTED]

[posted and mailed]
On Mon, 15 May 2000 20:23:27 +0200, Mads Kristensen 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>A couple of days ago my NT Webserver crashed AGAIN..  (Mabye it is to
>much too ask for when you let a NT control 35 websites :-)..
>So i installed Caldera OpenLinux 2.3 eServer, and after a couple of
>hours all my website were working again (and running 10 times faster I
>might add.)
>
>But now i have a problem with my ftp access. When i look at the log
>/var/log/secure it looks as if the computer only lets people in if
>they're from my own IP-net or if they have a resolved DNS record (what I
>
>mean is that while the IP 125.45.78.6 might not be granted access a DNS
>name me.here.com bound to the same address will work.)
>
>What do I do about that?

The first thing to do is decide who needs to get to your FTP sites.  If
you wish to allow access from absolutely everywhere, then you'd put this
line in the file /etc/hosts.allow :
ALL : in.ftpd        (replace with your ftp daemon; you may be using
wu.ftpd or pro.ftpd)

Allowing access from more restricted domains is similar:

*.blah.com  : in.ftpd
*.foo.edu   : in.ftpd
141.211.*.* : in.ftpd

You should also edit your ftp daemon's configuration file.  Since I don't
know which ftp daemon you're running, I can't be specific here about what
you need to do....

-- 
Matt G / Dances With Crows              \###| You have me mixed up with more
There is no Darkness in Eternity         \##| creative ways of being stupid?
But only Light too dim for us to see      \#| Beer is a vegetable.  WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL

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

From: Kari Pahula <[EMAIL PROTECTED]>
Subject: Re: how www.netcraft.com works
Date: 15 May 2000 23:12:29 GMT

[EMAIL PROTECTED] wrote:
>I was wondering how www.netcraft.com works. Is there a command like
>nslookup to view sites information (OS and webserver software).

Server's http server and OS name are returned in the server's HTTP
response.  Netcraft just connects via HTTP to the server you want,
queries this information and returns it to you.

You can test this manually by connecting to port 80 with telnet.
$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
HEAD / HTML/1.1
Host: localhost

This should give you a response like this:

HTTP/1.1 200 OK
Date: Mon, 15 May 2000 23:16:28 GMT
Server: Apache/1.3.12 (Unix)  (Red Hat/Linux)
Last-Modified: Wed, 01 Mar 2000 18:37:44 GMT
ETag: "10004-9cf-38bd6378"
Accept-Ranges: bytes
Content-Length: 2511
Connection: close
Content-Type: text/html

> Also I
>noticed on netcraft some sites note using "Linux" and some note running
>specific distribution, Where can we tweak it to only list using "Linux"
>thanks

You'll have to reconfigure your http server to do this.  Some
distributions apparently have their apache preconfigured to report
some fancy information.

If you really want to know how HTTP works, go to
http://www.w3c.org/Protocols/
and
http://www.ics.uci.edu/pub/ietf/http/ .

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

From: Ravi <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.networking,comp.os.linux.development.system,comp.os.linux.development.apps
Subject: IP to MAC address
Date: Mon, 15 May 2000 16:09:43 -0700

Hello Every one,


I was wondering if there is an API or an ioctl call in linux to which I
can pass on the IP
address of  machine and it can return me the MAC address of the machine
if the machine is
in the LAN. The API can try first a local ARP cache lookup and if the
address
is not present in the local cache it can broadcast the ARP request and
get the
response from the m/c and pass back the MAC address.


pls reply to e at [EMAIL PROTECTED]


Thanks
Ravi


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

From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: WYSIWYG web page generator
Date: 15 May 2000 19:24:40 EDT
Reply-To: [EMAIL PROTECTED]

On Mon, 15 May 2000 21:40:21 +0100, Mark Wilden 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>JEDIDIAH wrote:
>> 
>>         This is the point of view from which most of us justify our
>>         dislike of visual HTML authoring tools actually.
>
>However, when presented with an argument for using such tools that has
>nothing to do with that point of view, most of 'you' are strangely
>silent...

I'll bite, because I've seen this problem N+1 times:

"WYSIAWYG"[0] tools are easier to start off with.  They provide convenient
eye candy, and they make people think they're actually coding HTML.  Then
the strange problems start... like, oh, MS FrontRage's automatic
publishing thing smashing case in filenames, mangling relative links, and
so forth.  I've fixed a good many problems of this type, and done so by
pulling up the code with a text editor and manually fixing whatever the
Kewl Tool broke.

Most users are confused and frightened by that process.  They know nothing
about the actual code underneath the pretty GUI client, and they would be
completely helpless if their Kewl Tool broke, became obsolete, or wasn't
available for whatever reason.  This happens more often than you'd
think,[1] while vi and NOTEPAD.EXE are available everywhere.

People who know HTML can produce smaller, cleaner, better-looking HTML no
matter what tool they're using... and the GUI-fied tools actively
discourage people learning HTML.  It's like giving an 8-year old a TI-85
and saying, "Now you don't need to memorize the multiplication table," in
some ways.

Oh yes, the "preview" tool on all the GUI-fied HTML composers I've seen
generates something that's almost, but not quite, entirely unlike what you
see in Nutscape or Internet Exploder, and none of them have a preview mode
for Lynx!  (Not to mention that I think all wannabe Web designers should
view all their pages, with images turned on, at least twice from a noisy
33.6 dial-up connection, but that's another rant.[2])

[0] What You See Is ALMOST What You Get.
[1] Insert generic anti-MS rant, though the problems I've seen were mostly
due to NT misbehaving, not anything to do with FrontRage or I.Exploder.
[2] compaq.com used to have 40+ GIFs making up their front page.  Over a
T1, it took 20 seconds to load.  Many of these were graphical images of
text.  AAARGH!

-- 
Matt G / Dances With Crows              \###| You have me mixed up with more
There is no Darkness in Eternity         \##| creative ways of being stupid?
But only Light too dim for us to see      \#| Beer is a vegetable.  WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL

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

From: Patrick O'Neil <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: WYSIWYG web page generator
Date: Mon, 15 May 2000 17:38:33 -0600

There is nothing wrong with WYSIWYG web creation.  I see no way to
avoid the problems that people mention about the editors available
except to use standards.  You want to do a WYSIWYG page that uses
standards, then use Amaya.  It is the W3Cs editor/testor for 
html, etc.  If it isn't standards-based NOTHING is and any arguments
about it are invalid.  The W3C SETS the standards.

The web IS visual.  Whether you use lynx, netscape, kfm, or whatever,
you ALWAYS view a graphic/visual image.  Always.  Nobody browses by
looking only at page source.  They looked at the formatted output of
the html commands in the source.  That produces your layout in lynx,
netscape, etc.  If you use Amaya, then the page will display under
netscape, lynx, IE, etc...  

praedor

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

From: [EMAIL PROTECTED] (Bastian)
Subject: Re: 'Welcome' email for new users
Date: 15 May 2000 23:42:21 GMT

On Mon, 15 May 2000 22:52:11 GMT, sleddog wrote:
>How can I set things up so that a 'welcome' email message is sent to a
>new user when I create the account?
>
>RH 6.0 mail/news/file server, no X.
>
>-- 
>sleddog

Write a script (just a thought).

Bastian


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

From: "Frank J. Schmuck" <[EMAIL PROTECTED]>
Subject: How to tell available Hard Disk space
Date: Mon, 15 May 2000 20:10:34 -0400

The subject sez it all.

Thanks
Frank




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

From: [EMAIL PROTECTED]
Subject: Possible denial of service attack
Date: 16 May 2000 00:21:34 GMT

The following bugger appears to be unkillable. While enforcing
quotas will limit the max number of processes, I haven't been
able to kill any of them without a reboot. This is on a RH 6.0
Linux 2.2.5 box.

#include <stdio.h>
#include <signal.h>

int main( void ) {
sigset_t set;
struct timespec timespec = { 0, 0 };
sigfillset( &set );
while( 1 ) {
fork( );
sigtimedwait( &set, NULL, &timespec );
}
return 0;
}

Anyone have any ideas? Is this killable on a more recent kernel?
The above code appears to be attributed to [EMAIL PROTECTED]


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

From: =?iso-8859-1?Q?Beno=EEt?= Smith <[EMAIL PROTECTED]>
Subject: XMMS & Sound
Date: Tue, 16 May 2000 02:24:14 +0200

Greetings,

I recently installed XMMS, and I ran it using the Disk Writer Plugin as
my Output Plugin... Not only there is no sound, but MP3 files are played
3 times faster than their true length ! May I have forgotten something ?

I use a Sound Blaster 64PCI card, and at each startup the 'es1371.o'
module is loaded (I KNOW it's the right module). And I am running under
WindowMaker 0.62.1 (BTW, I know I need some WMSound thing to get system
sounds, but do I need it to get ANY sound with WindowMaker ?)

Any help would be appreciated. Thanks in advance.
-- 

Beno�t Smith
Just a Rhyme Without a Reason

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

Subject: Netscape RPM with strong encryption?
From: Richard <[EMAIL PROTECTED]>
Date: Mon, 15 May 2000 17:28:27 -0700

Anyone know if netscape-communicator with strong encryption is
available as RPM file? Redhat site doesn't give encryption level
for netscape RPMs.

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


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

From: [EMAIL PROTECTED]
Subject: Makefile debugger?
Date: Tue, 16 May 2000 00:24:53 GMT

Anyone know about a makefile debugger? (preferably graphical)

I'm actually trying to build gcc-2.95.2 using the Cygwin 1.0 Unix-like
environment under Windows NT 4.0 (just so you know). The makefiles of
course are quite large and complicated. I ran into a problem during the
build and would like to single-step, set breakpoints, etc. (all the good
debugging stuff). I know of a bash shell debugger, which was helpful for
debugging bash scripts, but now it seems I need one for makefiles.

I did a "man make" and saw no relevant options, and have scanned
Deja.com a bit and have not seen anything yet.

If you don't know, can you recommend a better newsgroup for this post?

TIA for any help
Chris


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Oktay Altunergil <[EMAIL PROTECTED]>
Subject: Re: site wide search capability
Date: Tue, 16 May 2000 00:30:19 GMT

This is not an ISP , this is a Linux community service (sort of). Although 
I am not 100% sure, most probably cgi IS allowed. So? What do I do? Is 
there a cgi script that does searching? Where do I find that?

Thanks for the info btw.

Oktay
Steve wrote:
> 
> 
> On Mon, 15 May 2000 17:36:21 GMT, Oktay Altunergil wrote:
> >Hi,
> >
> >I have a website hosted on linuxave.net and I am currently using 
> >searchbutton.com's search service to enable searching for keywords 
within 
> >my site. However searchbutton is a free commercial service that 
displays 
> >ads on the result page. I don't want to display ads on my linux site. I 
> >have access to the shell account at linuxave.net. Can I add this search 
> >capability to my website myself? What do I need to look for?
> 
> On your ISP/Webhosters website there should be information about running
> CGI.  Most ISPs don't let you run your own stuff only scripts and 
> utilities that they provide but you may be lucky and have a provider 
> that will let you use your own CGI, read their website to find out. 
> 
> -- 
> Cheers
> Steve              email mailto:[EMAIL PROTECTED]
> 
> %HAV-A-NICEDAY Error not enough coffee  0 pps. 
> 
> web http://www.ndirect.co.uk/~sjlen/
> 
> or  http://start.at/zero-pps
> 
>  10:14pm  up 19 days, 15 min,  5 users,  load average: 1.37, 1.20, 1.17


--
Posted via CNET Help.com
http://www.help.com/

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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup
Subject: Re: Need input on developing a unified configuration program for linux
Reply-To: [EMAIL PROTECTED]
Date: Tue, 16 May 2000 00:57:10 GMT

Centuries ago, Nostradamus foresaw a time when Mongoose would say:
>   I was going to allow remote administration of the system. I know
>this creates lots of security problems but none that can't be solved.
>
>   As for linuxconf... linuxconf is actually the reason why I'm making
>this program. Linuxconf is pretty messy and disorganized. But the main
>reason is that linuxconf only allows C++ modules to be added into the
>program, and they have to be written to work with a new interface
>users have to learn. I was going to write my program to allow modules
>in any language. As long as they can do STDIO. They just output their
>html page, the web server can serve it and then send data back to the
>program, using cgi. It won't matter what language its written in and
>the user will just have to learn html and cgi, which most people
>already know. As for the web server, I was going to write my own mini
>webserver, if there wasn't one already. Just enough to serve the pages
>on a different port. This way the user configuring their system
>wouldn't be required to have a web server installed, and I wouldn't be
>running through port80 creating and more security issues.

Have you looked at WebMin?  

<http://www.webmin.com/webmin/>

It looks like it is trying to handle many of the same things you are,
and has the merit that there are already a boatload of modules to help
manage different services in a modular manner.

Sounds to me like you should probably look into that, if you want to
do web-based interactive system reconfiguration.

If you want something scripted, you should look at Cfengine.
  <http://www.iu.hioslo.no/cfengine/>
-- 
Who's afraid of ARPA?
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/linuxsysconfig.html>

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

From: [EMAIL PROTECTED] (John Hong)
Subject: Re: Where to get Gozilla/GetRight-like program on Linux?
Date: 16 May 2000 01:02:32 GMT

YamYam ([EMAIL PROTECTED]) wrote:
: Hi there...
: The subject is enough to not explain any more.
: So where do I get a program on linux that can:
: 1. Resume broken downloads.
: 2. Find other mirrors for the downloaded file(s).
: 3. Switch between the other mirrors.

        Downloader for X does some of this quite well for http and ftp.  
I don't think it will search for other mirrors or alternative sites yet 
though.



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

From: Ed Hurst <[EMAIL PROTECTED]>
Subject: Re: Anyone have a clue about PAM?
Date: Mon, 15 May 2000 19:46:44 -0500

"Bruce D. Meyer" wrote:

> Any clue what might cause this error, or how to disable pam to prevent it?
>
> pam_parse: expecting return value; [...auth]
> unable to dlopen(/lib/security/required)
> adding faulty module: /lib/security/required

PAM is designed to allow various apps to operate with root authority, but
only after it checks to see if you have permission.  It's far more
complicated than simply file and directory permissions, and will ignore them,
too.  It works by checking to see what permission level the user has and
funneling the request for the app through various modules that may or may not
require you to type in root's password.  It's long and complicated, but what
you have here seems to be a corrupted module.  You need to re-install the PAM
package, and if necessary, from a fresh source.  You can only disable PAM by
uninstalling it.  Consider that PAM is one more way of keeping the crackers
out.

Ed


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

From: Ed Hurst <[EMAIL PROTECTED]>
Subject: Re: Need help with internet connection!
Date: Mon, 15 May 2000 19:57:41 -0500

billy wrote:

> Hi:
>    is it possible to install a free internet access( netzero, spyworld,
> ect.) on a linux system? can you explain how to do that please?
> thanks for your help.....
>

Go to their websites.  I've heard that NetZero will, but I know nothing of
Spyworld.

Ed


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

From: HJL <[EMAIL PROTECTED]>
Subject: Where to get Red Flag Linux?
Date: Tue, 16 May 2000 07:35:43 +0800

OK, I saw this report that Chinese was about to ban Win2000 and
use "Red Flag Linux" instead.

So where can we find "Red Flag Linux"?

Anybody?

Chester Lin
[EMAIL PROTECTED]
Taipei, Taiwan


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


** 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.misc) 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-Misc Digest
******************************

Reply via email to