Linux-Networking Digest #259, Volume #10 Sat, 20 Feb 99 06:13:44 EST
Contents:
pppd REJ's prot c029, should NAK it (Phil Howard)
Re: Linux Users in Houston TX ("Andy Martinez")
Re: Get ethernet address (Philip Rademakers)
IPv6 on Redhat5.2 (Andrew Sim)
Re: Internet access to network vi linux box (Tobias Reckhard (jester))
Re: Ethernet Questions? (Tobias Reckhard (jester))
apache proxy module ("Chris Barton")
Re: where is ckermit-6.0.192-7.i386.rpm ([EMAIL PROTECTED])
Re: real mailserver? ("Cameron Spitzer")
Re: Multilink PPP in Linux with 2 x V90 = 105,333 bps? (Jason Clifford)
Re: SNA and Linux (Peter Baars)
Re: Help: Mail is ALMOST working! ("Jonas")
diskless machine, bootp+tftp, can it be done without nfs? ("Oscar Stiffelman")
~~ Funny Problems with LINUX/SAMBA ~~ ("Alvin")
Re: Poor man's failover? ([EMAIL PROTECTED])
Sendmail and domain masquerading ([EMAIL PROTECTED])
sendmail configuration (Torsten Mack)
Re: Machine name themes - what do you use? (Bill Voight)
Re: Apache/html question -> selection(redirection) on ip number (Ville Nummela)
Re: apache proxy module (Ville Nummela)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Phil Howard)
Subject: pppd REJ's prot c029, should NAK it
Date: Sat, 20 Feb 1999 08:54:23 GMT
Kernel is 2.0.36 with ppp driver compiled in.
Distribution is Red Hat 5.2.
Running pppd version 2.3.5.
When dialing up to an Ascend MAX 4000, I get a protocol code C029,
which according to RFCs is CBCP (Call Back Control Protocol). At
this point, pppd rejects the session and hangs up.
Switching to an older Slackware system with kernel version 1.2.13
and pppd version 2.1.2, this connection works fine.
Anyone have any idea why this won't negotiate? I would seem to me
that the appropriate action with be to NAK instead of REJ this.
/var/log/messages gets:
Feb 20 02:06:24 deneb pppd[1431]: pppd 2.3.5 started by root, uid 0
Feb 20 02:06:56 deneb pppd[1431]: Serial connection established.
Feb 20 02:06:57 deneb pppd[1431]: Using interface ppp0
Feb 20 02:06:57 deneb pppd[1431]: Connect: ppp0 <--> /dev/cua0
Feb 20 02:06:57 deneb pppd[1431]: not replacing existing default route to eth0
[208.152.116.17]
Feb 20 02:06:57 deneb pppd[1431]: local IP address 208.152.116.20
Feb 20 02:06:57 deneb pppd[1431]: remote IP address 206.97.149.3
Feb 20 02:06:57 deneb pppd[1431]: IPCP terminated by peer
Feb 20 02:06:57 deneb pppd[1431]: Unsupported protocol (0xc029) received
Feb 20 02:06:58 deneb pppd[1431]: LCP terminated by peer
Feb 20 02:07:02 deneb pppd[1431]: Modem hangup
Feb 20 02:07:02 deneb pppd[1431]: Connection terminated.
Feb 20 02:07:03 deneb pppd[1431]: Exit.
/var/log/debug (debug option used in pppd) gets:
Feb 20 02:06:57 deneb pppd[1431]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic
0x56ce677d> <pcomp> <accomp>]
Feb 20 02:06:57 deneb pppd[1431]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <pcomp>
<accomp> < 11 04 05 dc> < 13 09 03 00 c0 7b 6f 61 ec>]
Feb 20 02:06:57 deneb pppd[1431]: sent [LCP ConfRej id=0x1 < 11 04 05 dc> < 13 09 03
00 c0 7b 6f 61 ec>]
Feb 20 02:06:57 deneb pppd[1431]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic
0x56ce677d> <pcomp> <accomp>]
Feb 20 02:06:57 deneb pppd[1431]: rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <pcomp>
<accomp>]
Feb 20 02:06:57 deneb pppd[1431]: sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <pcomp>
<accomp>]
Feb 20 02:06:57 deneb pppd[1431]: sent [IPCP ConfReq id=0x1 <addr 208.152.116.20>
<compress VJ 0f 01>]
Feb 20 02:06:57 deneb pppd[1431]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr
206.97.149.3>]
Feb 20 02:06:57 deneb pppd[1431]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr
206.97.149.3>]
Feb 20 02:06:57 deneb pppd[1431]: rcvd [CCP ConfReq id=0x1 < 11 06 00 01 01 03>]
Feb 20 02:06:57 deneb pppd[1431]: sent [CCP ConfReq id=0x1]
Feb 20 02:06:57 deneb pppd[1431]: sent [CCP ConfRej id=0x1 < 11 06 00 01 01 03>]
Feb 20 02:06:57 deneb pppd[1431]: rcvd [IPCP ConfAck id=0x1 <addr 208.152.116.20>
<compress VJ 0f 01>]
Feb 20 02:06:57 deneb pppd[1431]: rcvd [CCP TermReq id=0x2]
Feb 20 02:06:57 deneb pppd[1431]: sent [CCP TermAck id=0x2]
Feb 20 02:06:57 deneb pppd[1431]: rcvd [IPCP TermReq id=0x2]
Feb 20 02:06:57 deneb pppd[1431]: sent [IPCP TermAck id=0x2]
Feb 20 02:06:57 deneb pppd[1431]: rcvd [proto=0xc029] 05 01 00 04
Feb 20 02:06:57 deneb pppd[1431]: sent [LCP ProtRej id=0x2 c0 29 05 01 00 04]
Feb 20 02:06:58 deneb pppd[1431]: rcvd [LCP TermReq id=0x3]
Feb 20 02:06:58 deneb pppd[1431]: sent [LCP TermAck id=0x3]
--
-- *-----------------------------* Phil Howard KA9WGN * --
-- | Inturnet, Inc. | Director of Internet Services | --
-- | Business Internet Solutions | eng at intur.net | --
-- *-----------------------------* phil at intur.net * --
------------------------------
From: "Andy Martinez" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: Re: Linux Users in Houston TX
Date: Fri, 19 Feb 1999 02:12:12 -0700
Even if I was qualified with Linux like I am in other
UNIX flavors, I would not submit myself to working
with such an ego maniac like this poster.
\t
------------------------------
From: Philip Rademakers <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.development.system
Subject: Re: Get ethernet address
Date: Fri, 19 Feb 1999 10:13:26 +0100
[EMAIL PROTECTED] wrote:
>
> Hi!
>
> Does anybody know how to get the ethernet address of a network card in a C
> program on Linux? I have code that does it on Solaris but unfortunately all
> the header files needed aren't there on Linux.
>
> Thanks.
>
Try the following ( pasted this from a C++ program so there are probably
a couple of includes too much for you ...). The code fetches the address
of interface "eth0". The result is in a 6-byte buffer.
#include <sys/socket.h>
#include <stdlib.h>
#include <iostream.h>
#include <net/if_arp.h>
#include <stdio.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <ioctls.h>
#include <string.h>
#include <unistd.h>
unsigned char ethernetAddress[6];
int fd;
struct ifreq ifr;
if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) {
perror("socket");
exit(1);
}
strcpy(ifr.ifr_name, "eth0");
if (ioctl(fd, SIOCGIFHWADDR, &ifr) < 0) {
perror("ioctl");
exit(1);
}
close(fd);
bcopy(ethernetAddress, ifr.ifr_hwaddr.sa_data, 6);
--
Philip Rademakers Tel: +32 2 724 86 81
SONY Digital Network Solutions Europe - Brussel
Sint Stevens Woluwestraat 55 Fax: +32 2 726 26 86
1130 Brussels - Belgium
Email: mailto:[EMAIL PROTECTED]
WWW: http://www.sonycom.com
------------------------------
From: Andrew Sim <[EMAIL PROTECTED]>
Subject: IPv6 on Redhat5.2
Date: Fri, 19 Feb 1999 17:17:59 +0800
Hello,
currently trying to setup Ipv6 on redhat5.2 in kernel release
2.2.1. For the important applications part "HOWTO-3" encountered the
following problem.
For the application "Net-tools"
[8] upon "make", encountered the following errors:
inet6_sr.c:"rt" isn't known
Even after editing lib/inet6_sr.c as taught, new errors occurred.
Anyone who has done the above in redhat5.2 before please advise :)
Thanx in advance...
Name : Shen Zhen Hua, Andrew
E-mail : [EMAIL PROTECTED]
Pager : (9)2646369
ICQ No : 17373423
National University of Singapore
Faculty of Engineering
Department of Electrical Engineering
_ _ _ ___, ___ ____ _ _ ____ ____ __ __
/_\ ( \| )| \( _ ) ( ___)( ) _ ( ) ( __)_ (_ _)( \_/ )
/(_)\ | || |) ||(_)< | _)_ \ \( )/ / _\__ ) _)(_ | |
(_) (_)(_|\_)|___,/(_)\_)(____) (__/ \__) (______/ (____)(_)\_/(_)
------------------------------
From: [EMAIL PROTECTED] (Tobias Reckhard (jester))
Subject: Re: Internet access to network vi linux box
Date: Fri, 19 Feb 1999 18:52:23 GMT
On Tue, 16 Feb 1999 09:57:09 -0000, "John Burton" <[EMAIL PROTECTED]>
wrote:
>Currently I have a small network of two machines, one running linux and one
>windows 95 & nt.
>
>Currently I have my modem for dialup internet access on my windows machine,
>but I'd like to move it to my linux machine and have the following work :-
>
>1. Be able to access the internet from windows via the linux box.
Use IP masquerading, it's Linux' n:1 NAT scheme.
>2. Run some sort of web cache on the linux box so that I can store web pages
>off-line but read them from windows.
You can use Squid, but it's not for offline use. Wwwoffle is an
offline web browser, but AFAIK you can't access the web online at all
if you use it, it only stores your requests and retrieves the pages
when an Internet connection exists. I could be wrong there, my
information about the program is from a magazine article only.
>3. Send news & mail indirectly fom the windows box via the linux box and
>store them there until I connect via the dialup account.
Sendmail, fetchmail and popper will handle mail. Sendmail is the mail
transfer agent, which will serve SMTP clients. Fetchmail will get your
email from your ISP's mail server and popper is the local POP3 server.
I use leafnode as an easily configurable news server for small sites.
It's not as powerful as a full-blown news server like INN, but it gets
its job done quite nicely and has some configuration options that are
especially handy for dial-up users.
Tobias
------------------------------
From: [EMAIL PROTECTED] (Tobias Reckhard (jester))
Crossposted-To: comp.os.linux.alpha
Subject: Re: Ethernet Questions?
Date: Fri, 19 Feb 1999 21:09:03 GMT
On Thu, 18 Feb 1999 05:03:24 -0500, [EMAIL PROTECTED] (Andrew C.
Ohnstad) wrote:
>But it happens when dragging and dropping in Explorer (several Samba
>Shares are mapped to drives) saving large files from within programs,
>etc.
>
>For goodness sake I really don't want to load NT on the Alpha, but
>7.31Kbps is totally unacceptable. The friggin file is just barely over 1
>Meg. 2 and a half minutes? I get better thru put from my T-1. Makes me
>want to just put all my machines on the Internet and transfer everything
>over FTP!!!
>
>This is really driving me nutso. I'll play with the card settings
>tonight until I get tired of rebooting. Anyone remember the Reg Key that
>the MTU is under?
I'm having asymetric behaviour in my home LAN, too, consisting right
now of two Windows boxes ('95 and '98) and a Linux server. The Windows
machines are a P90 and a P2/233, equipped with DEC 21041 compatible
PCI 10mbit Ethernet cards, the Linux box is a 486dx33 (8 megs RAM)
with an ancient WD8003 8-bit ISA NIC. Originally, we got something
like 20 to 40 kbytes per second reading and writing to the shares.
Then I fiddled around with some smb.conf settings (like socket
options, read raw, read prediction, send and receive buffers, etc..),
which improved the situation a bit, but not that much. The biggest
boost has been achieved by changing the settings of the NICs on the
Windows machines, I set the burst length to 4 DWORDS and the number of
receive buffers to 32. Now I get around 280 kbytes/sec when reading
the shares and around 340 kybtes/sec writing to them. Not that great,
but I attribute part of it to the lousy WD - I suppose I could test
that NE2000 clone that's in another computer and see if it's faster..
I also noticed strange behaviour when I was screwing around with the
may xmit option in Samba's (1.9.18p10, BTW and IIRC) configuration
file, I'd had it at 32768 and went down to 2048, achieving better
performance along the way, from 220 recv, 280 send at 32768 to 340
recv, 280 send at 2048. Then I modified the send and receive buffers
in the socket options and one of the transfer rates plumetted down to
80 (this is all in kybtes/sec). I changed the socket options again,
but the mediocre transfer rate remained.. Now I've got max xmit set to
65536, send and receive buffers at 8192 and the values I noted in
smb.conf are 340 recv, 290 send. I think I really should try that
other NIC..
Tobias
------------------------------
From: "Chris Barton" <[EMAIL PROTECTED]>
Subject: apache proxy module
Date: Fri, 19 Feb 1999 09:42:06 -0000
have apaches up and running on red hat 5.1, now i want to add the proxy
module, could any one of you kind people tell me how to do this.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,comp.protocols.kermit.misc
Subject: Re: where is ckermit-6.0.192-7.i386.rpm
Date: 14 Feb 1999 18:00:00 GMT
In comp.os.linux.setup Jack Bowling <[EMAIL PROTECTED]> wrote:
> On Thu, 11 Feb 1999 09:17:01, Jeff Silverman <[EMAIL PROTECTED]>
> wrote:
>> On behalf of the group and the planet: thank you, Frank, for a job well done.
> I echo this congratulation. When the annals of early computerdom are
> written, the people associated with the Kermit project will loom
> large, and none larger than Frank, Jeff, and Christine.
Hear Hear! I tell my students I use "kermit" from my home PC to
dial into a modem on campus and read my mail - If they say eh? I tell
them that I am not talking about kermit the frog but kermit the
communications program! Thanks to the kermit team - THE communications
program!
------------------------------
From: "Cameron Spitzer" <[EMAIL PROTECTED]>
Subject: Re: real mailserver?
Date: 20 Feb 1999 00:41:52 GMT
In article <[EMAIL PROTECTED]>,
Bernhard Dobbels <[EMAIL PROTECTED]> wrote:
>Is it possible to test if a the name after the at-sign is a real domain?
>If so, how can i do this?
>I know you can test these with whois, but i'm wondering if this can
>always succeed?
I've found the whois information is not always up to date.
Also, there are domains with no mail service, and mail
servers not associated with any domain name.
Use nslookup(8) to query a friendly name server. That will
tell you the actual DNS information.
bash$ nslookup -query=mx Kotnet.org
Server: localhost
Address: 127.0.0.1
Kotnet.org preference = 100, mail exchanger = mail.linux.student.kuleuven.ac.be
Kotnet.org preference = 200, mail exchanger = hal.ulyssis.student.kuleuven.ac.be
Then if you want to be sure, you can try to talk to the thing.
bash$ telnet mail.linux.student.kuleuven.ac.be smtp
Trying 134.58.2.18...
Connected to mail.linux.student.kuleuven.ac.be.
Escape character is '^]'.
220 looselava.linux.student.kuleuven.ac.be ESMTP
helo greens.org
250-looselava.linux.student.kuleuven.ac.be
250-PIPELINING
250 8BITMIME
mail from:<[EMAIL PROTECTED]>
250 ok
rcpt to:<[EMAIL PROTECTED]>
250 ok
data
354 go ahead
Subject: this should bounce back
From: [EMAIL PROTECTED]
bouncy bouncy
.
250 ok 919470950 qp 17651
quit
221 looselava.linux.student.kuleuven.ac.be
Connection closed by foreign host.
You have new mail in /u/cls/Mailbox
bash$
The new mail was the bounce message I expected, so I am now confident
the MX record I looked up was accurate.
Cameron
------------------------------
From: Jason Clifford <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.misc,comp.os.linux.questions,comp.os.linux.x,uk.comp.os.linux
Subject: Re: Multilink PPP in Linux with 2 x V90 = 105,333 bps?
Date: Sat, 20 Feb 1999 09:53:31 +0000
On Fri, 19 Feb 1999 [EMAIL PROTECTED] wrote:
> Care to explain how... EQL is NOT ML-PPP and the ML-PPP driver for
> linux only works in kernel 2.1.36-2.1.48 and was incompleate. do you
> know something we don't?
Going from the documentation in /usr/src/linux/drivers/net/README.eql that
is what it is billed as although I note that the documentation is old and
the utilities it refers to are not present on a standard RH system.
To be honest I have never set up EQL as I have never needed it.
Jason Clifford
Definite Linux Systems
http://definite.ukpost.com/
------------------------------
From: Peter Baars <[EMAIL PROTECTED]>
Subject: Re: SNA and Linux
Date: Fri, 19 Feb 1999 10:55:13 +0100
This is a multi-part message in MIME format.
==============4E46ADC8CC7589337B7C80BE
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
If you have TCP/IP installed on your AS/400 then there is nothing simpler. Just
open the 5250 emulator (most linux versions come with one) or download one from
Tucows, connect to the ip-number of the AS/400 port 23 and you are ready to go!
peter
[EMAIL PROTECTED] wrote:
> Hello, I would like to know if there is some tool that implements the IBM�s
> network protocol SNA in Linux. I need to connect a PC running Linux (SuSE 5.3
> or RedHat 5.1) with an AS/400. Thanks.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
==============4E46ADC8CC7589337B7C80BE
Content-Type: text/x-vcard; charset=us-ascii;
name="pbaars.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Peter Baars
Content-Disposition: attachment;
filename="pbaars.vcf"
begin:vcard
n:Baars;Peter
x-mozilla-html:TRUE
url:http://www.knoware.nl/users/pbaars
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;-1
fn:Peter Baars
end:vcard
==============4E46ADC8CC7589337B7C80BE==
------------------------------
From: "Jonas" <[EMAIL PROTECTED]>
Subject: Re: Help: Mail is ALMOST working!
Date: Thu, 18 Feb 1999 17:12:09 +0100
Have you installed IMAP rpm?
/Jonas
------------------------------
From: "Oscar Stiffelman" <[EMAIL PROTECTED]>
Subject: diskless machine, bootp+tftp, can it be done without nfs?
Date: Fri, 19 Feb 1999 22:55:52 -0800
Hi,
Is it possible to boot diskless (using bootp + tftp) but to not mount a
remote root file system?
I would like to send the root partition as a ramdisk image from the tftp
server to the machine. The way I am currently doing it is the machine
mounts a remote (NFS) root partition.
Thanks for any input,
Oscar Stiffelman
Stanford University Computer Science Department,
Genetic Programming, Inc.
------------------------------
From: "Alvin" <[EMAIL PROTECTED]>
Subject: ~~ Funny Problems with LINUX/SAMBA ~~
Date: Sat, 20 Feb 1999 08:53:42 +0800
Hi,
I have a win98 machine and a Linux redhat 5.1 box. I have Win98 setup to
log onto the samba server. I'm unable to log onto the server as it shows me
an error similar to "no domain to validate your password" plaintext password
is enabled on my win98 machine.
anyway, there is an OK button and a CANCEL button with the error dialog box,
if i hit on ok.....and wait a while, i'll get into windows 98.
Once there i'm able to see my home directory on the linux box inside the
network neighborhood.
I can also access my apache web server without a problem.
what am i doing wrong???
Thanks for your help.
Would appreciate if you can reply directly to me.
@lvin
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Poor man's failover?
Date: Fri, 19 Feb 1999 10:04:39 GMT
Really? First I've heard of this. (I seem to remember taking down
one box and putting another up in its place, without a reboot on
the clients.) The workstations are Win98.
Does anyone know specifics of this? Thanks!
In article <7ah268$t89$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
>
> But you must reboot your client machines; because your client's
> machine talks to the old mac(ethernet) address, it doesn't know that the mac
> has changed.
>
> > I run a small hodge-podge of computers loosely referred to
> > as a 'network.' We've got two servers, one in a dorm running
> > the local LAN, the other across campus (on a T1-connected
> > backbone) running our Internet services (web hosting, email).
> > The two are connected with a pair of 33.6 modems.
>
> > We're getting an xDSL line run into the dorm, and we're going
> > to at the very least move the cross-campus server into the
> > dorm. Since we'll have two relatively comparable machines,
> > and reliability and up-time are going to be imperative, what
> > I'm thinking of doing is this:
>
> > +-------------------------------+ +-------------------------------+
> > | EBHON SERVER | | SPRAWL SERVER |
> > | eth0 eth1 | | eth1 eth0 |
> > +-------------------------------+ +-------------------------------+
> > # # # #
> > # ################ #
> > # #
> > # ##############################################################
> > # #
> > # # +----------------+
> > # # ##################| xDSL interface |
> > # # # +----------------+
> > +--------------+
> > | HUB |
> > +--------------|
>
> > We're using a firewall, so all our local IP addresses are
> > 'generic' Class-C (192.168.x.x). The configuration would
> > be something like this:
>
> > EBHON SPRAWL
> > eth0 192.168.0.1 not assigned
> > eth1 192.168.1.1 192.168.1.2
>
> > Once a week or so, SPRAWL uses eth1 to mount whatever variable
> > directories are on EBHON (nfs) and does a backup to the
> > corresponding directories on its local filestructure. (EBHON
> > also has a tape drive.)
>
> > Additionally, SPRAWL would periodically ping EBHON using eth1.
> > If for whatever reason it got no response, it would bring up
> > its own eth0 as 192.168.0.1 and thereby pick up the network
> > traffic destined for the primary server.
>
> > I think I can do all of this with some fancy shell scripts
> > and creative use of cron. It's cheap, and it just might work.
> > But before I lose sleep and hair, is this a workable solution?
> > I know the hardware duplication is a bit extreme, but we've
> > had bad karma with hardware, and we've definitely got more
> > than a surplus of hardware...
>
> > Thanks all!
>
> > -------------------------------------------------
> > R. Christopher Harshman: [EMAIL PROTECTED]
>
> > -----------== Posted via Deja News, The Discussion Network ==----------
> > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
>
=================================================
R. Christopher Harshman: [EMAIL PROTECTED]
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED]
Subject: Sendmail and domain masquerading
Date: Sat, 20 Feb 1999 09:10:07 GMT
Hello.
I have a mercur mail server (for NT, which does SMTP & POP) on a private
network, behind a linux firewall which is also doing masquerading.
Outgoing mail is sent from the NT server to a relaying Linux box (the firewall
does not relay), through the firewall/masquerading box.
The problem is ALL outgoing mail always has the address "[EMAIL PROTECTED]"
irrespective of what is put in the "reply to" section of the pop client
software (Eudora Light). Foo.bar.com is the "real" internet domain and ip
address masking the private class C on the firewall/masquerade box.
How can I get sendmail to accept and print the addreses as presented in the
pop client?
Kiggundu
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Torsten Mack <[EMAIL PROTECTED]>
Subject: sendmail configuration
Date: Fri, 19 Feb 1999 12:54:22 +0100
I want to sendmail -q mails from /etc/mqueue to a smtpserver. Does
anyone have a srcipt to configure the sendmail.cf file for my purpose?
------------------------------
From: Bill Voight <[EMAIL PROTECTED]>
Crossposted-To:
vmsnet.networks.misc,microsoft.public.windowsnt.domain,comp.unix.solaris,comp.os.os2.networking.server,comp.os.ms-windows.nt.admin.networking,comp.infosystems.www.servers.unix,comp.protocols.tcp-ip.domains
Subject: Re: Machine name themes - what do you use?
Date: Fri, 19 Feb 1999 15:20:13 -0500
Reply-To: [EMAIL PROTECTED]
How about mythical people. Like Icarus and Daedalus for Sun boxes. The
guy who named our data warehouse boxes picked 'em.
BV
Stuart Summerville wrote:
> Hi peoples,
>
> Just curious to know what themes you use for machine names on your
> local networks. I've heard of or used some of the following: animals,
> fruits, alcoholic beverages, artists, movie stars, & musicians. What
> about you? I'm sure there's some birarre ones being used out there....
>
> Stu.
>
> ----------------------------------------------
> Stuart Summerville
> Home: [EMAIL PROTECTED]
> Work: [EMAIL PROTECTED]
> ----------------------------------------------
------------------------------
From: Ville Nummela <[EMAIL PROTECTED]>
Subject: Re: Apache/html question -> selection(redirection) on ip number
Date: Fri, 19 Feb 1999 13:50:36 +0200
On Fri, 19 Feb 1999, Bernhard Dobbels wrote:
> I want to do following:
> directory struct:
> /home/httpd/index.html -> just image to click on
> /home/httpd/intern/index.html -> only ip 10.*.*.*
> /home/httpd/extern/index.html -> only ip not 10.*.*.*
>
> so, i want to redirect to a certain directory based on ip-number of the
> requester.
> I wnat to do this without the requester notices.
> How can this be done?
I'm quite sure this can be done through the config files, but I've never
even tried that. But this is how I've done it:
That image in /home/httpd/index.html points to nph-something.cgi, which
is basically something like:
---8<-------
#!/bin/sh
if echo $REMOTE_HOST | grep yourdomain.com > /dev/null
then
echo HTTP/1.1 302 Object moved
echo Server: ViGe-o-matic/1.0
echo Location: http://www.yourdomain.com/intern/index.html
echo Content-Type: text/html
echo
echo \<head\>\<title\>Object moved\</title\>\</head\>
echo \<body\>\<h1\>Object Moved\</h1\>This object may be found
echo \<a HREF="http://www.yourdomain.com/intern/index.html"\>here\</a\>.\</body\>
else
echo HTTP/1.1 302 Object moved
echo Server: ViGe-o-matic/1.0
echo Location: http://www.yourdomain.com/extern/index.html
echo Content-Type: text/html
echo
echo \<head\>\<title\>Object moved\</title\>\</head\>
echo \<body\>\<h1\>Object Moved\</h1\>This object may be found
echo \<a HREF="http://www.yourdomain.com/extern/index.html"\>here\</a\>.\</body\>
fi
=====8<=====
Note! The above script is not secure in any way (anyone can have a host
like yourdomain.com.mydomain.com), but it should give you some clue any
way.
--
| ViGe / gasp inc. | http://www.lut.fi/~vnummela | [EMAIL PROTECTED] |
| IRC natura alienum est! Periculosum est! Delendum est! |
------------------------------
From: Ville Nummela <[EMAIL PROTECTED]>
Subject: Re: apache proxy module
Date: Fri, 19 Feb 1999 13:39:50 +0200
On Fri, 19 Feb 1999, Chris Barton wrote:
> have apaches up and running on red hat 5.1, now i want to add the proxy
> module, could any one of you kind people tell me how to do this.
You grab the latest apache package from www.apache.org, and read the
INSTALL and README files. It's all described there.
--
| ViGe / gasp inc. | http://www.lut.fi/~vnummela | [EMAIL PROTECTED] |
| IRC natura alienum est! Periculosum est! Delendum est! |
------------------------------
** 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
******************************