Linux-Networking Digest #35

1999-07-28 Thread Digestifier

Linux-Networking Digest #35, Volume #12  Wed, 28 Jul 99 12:13:33 EDT

Contents:
  Re: diald goes up every 4 -5 min ([EMAIL PROTECTED])
  tcpdump and libpcap (Brad Barfield)
  How does it work? ("Neil Marko")
  Req: TeraTerm keymap for linux ("Zsolt Mate")
  Re: ifconfig - unbinding a IP from a NIC card? RH 5.2 ([EMAIL PROTECTED])
  Re: Netscape scraps Limux! ("Piotr Kaminsky")
  Re: 40Sec Delay When FTP gets the USER on MASQ:ed machines (Jesper Dybdal)
  Works statically, but can't get DHCP working ([EMAIL PROTECTED])
  Re: DHCP/Static IP not working ([EMAIL PROTECTED])
  Help with samba encrypted passwords (Spammo)
  How to config AnonFTP for default binary transfer mode? ("Steve Snyder")
  Re: PAM authenticating to Novell NDS or NT Domain? ("Doug")
  Re: How does it work? (Britt)
  Re: POP Mail? ([EMAIL PROTECTED])
  rsh, rcp Reliant Unix - Linux ("Roland Weber")
  Can browse some sites but not all. Why? (=?ISO-8859-1?Q?Einar_S=2E_Ids=F8?=)
  Re: 40Sec Delay When FTP gets the USER on MASQ:ed machines (Dave Perks)
  Re: ppp - ping OK but no telnet/ftp/netscape - answer. (Clifford Kite)



From: [EMAIL PROTECTED]
Crossposted-To: redhat.networking.general
Subject: Re: diald goes up every 4 -5 min
Date: Tue, 27 Jul 1999 13:09:42 -0400

Just tell diald to ignore winblows netbios requests!

In diald conf... filter
ignore tcp tcp.source=tcp.netbios-ns,tcp.dest=tcp.netbios-ns
ignore tcp tcp.source=tcp.netbios-dgm,tcp.dest=tcp.netbios-dgm
ignore tcp tcp.source=tcp.netbios-ssn,tcp.dest=tcp.netbios-ssn
 
ignore udp udp.source=udp.netbios-ns,udp.dest=udp.netbios-ns
ignore udp udp.source=udp.netbios-dgm,udp.dest=udp.netbios-dgm
ignore udp
udp.source=udp.netbios-ssn,udp.dest=udp.netbios-ssn
   

Then diald will not dial outside for winblows lookups

rob wrote:
 
 Hello all,
 
 Thanks for the advice so far recieved. I now have it down to every 15 min.
 
 that it dials out!
 
 here is the culprit accurding to tcpdump -i eth0:
 
 arp who has abby.chelsea.com tell barbie.chelsea.com
 
 arp reply abby.chelsea.com is at 0:0:b4:85:22:7c
 
 127.0.0.2.61076  204.209.196.5.domain:1251+ (46)
 
 127.0.0.2.61076  204.209.196.5.domain:1251+ (46)
 
 127.0.0.2.61076  204.209.196.5.domain:1251+ (46)
 
 abby.chelsea.com.137  192.168.1.255.137: udp 50
 
 barbie.chelsea.com.137  abby.chelsea.com.137:udp 62
 
 abby.chelsea.com.139  barbie.chelsea.com.: . ack 1 win 32736
 
 barbi.chelsea.com.  abby.chelsea.com.139: . ack 1 win 8508 (DF)
 
 It seems to play this scenario out every 14 or 15 minutes, over and over.
 
 abby is gateway print server firewall(ipfwadm) ip masq is enabled.
 
 barbie is win 95 with brwse access to abby with samba but"NO" permissions
 
 enabled . Print shares are available to barbie. I have 1 other linux box
 
 "carly" that is used spareingly as a www machine.
 
 I run RH 5.2 with a few added modules
 
  As I said in an earlier post I am very new to this and trying my best to
 
 solve my own problems. So if it is brutally simple to you guru's out there
 
 please be gentle!
 
 Thanks again for any time taken to help me out...
 
 Rob
 
 --  Posted via SearchLinux  --
   http://www.searchlinux.com

-- 

  Come Visit Our Website

http://www.freeyellow.com/members/creative-services

 Please Visit Our Sponsers (We get paid per visit)


--

From: Brad Barfield [EMAIL PROTECTED]
Subject: tcpdump and libpcap
Date: Wed, 28 Jul 1999 10:08:15 -0400
Reply-To: @cisco.com


Can anyone point me towards some good documentation on libpcap?  Also,
does anyone happen to know the file format of dump files produced with
"tcpdump -w"?  I need to convert from one file format to a tcpdump
(libpcap) compatible format.

thanks,
brad

--

From: "Neil Marko" [EMAIL PROTECTED]
Crossposted-To: comp.os.linux
Subject: How does it work?
Date: Wed, 28 Jul 1999 14:00:39 GMT

I have a simple 10base2 nework.  I am using Linux (Slack 4.0) as a router
and hence it has 2 NIC's in it and IPchain have been configured and are
working fine.  One NIC is to the Internet and one on my LAN.  When a
workstation (NT or 98) puts an Ethernet packet on the LAN with the tcp/ip
destination somewhere on the Internet, will the Linux machine read that
packet and route it IF I do not set the default gateway on the workstation
to be the IP address of the Linux LAN card?  What configuration needs to be
set to do this?  Is it related to "promiscuous mode?"

I want to do this to avoid have to have Linux route every packet on my LAN
(it is thinnet).  This only slows things down.  I want the LAN to function
even if the Linux box is not running?

Thanks,

Neil Marko




Linux-Networking Digest #35

1999-05-04 Thread Digestifier

Linux-Networking Digest #35, Volume #11   Tue, 4 May 99 06:14:05 EDT

Contents:
  Syntax for Fetchmail and Sendmail ("Frank Apap")
  Re: DHCP Core Dumps! (Bill Peters)
  tcp window size ("Gutterman Zvika")
  Re: kppp: connect before login  keep connection (DonJr)
  network failure upon recompilation ([EMAIL PROTECTED])
  Re: Help: Can tcpdump capture a UDP datagram refragmented by IP layer? 
([EMAIL PROTECTED])
  Re: Samba Server not in Network Neighborhood (Claus Flachenecker)
  HP 4MP cannot got "40 ERROR" using serial. ("Felix Leung")
  Re: NT faster than Linux? (Jamie)
  Re: viewing Linux Xserver Xfree86 on NT ? ("Larry Brasfield")
  Intel 82558 LAN Adapter (Matt Klein)
  Re: How to activate devices on Rehat? (Thomas Zimmerman)
  Re: Samba and Win '98 ([EMAIL PROTECTED])
  Re: Need recommendations on 10/100 NIC. (Clay Calvert)
  Help! Reverse DNS on Red Hat 5.2 ([EMAIL PROTECTED])
  Linux ppp server and win98 dialup client (Ronald Hovens)
  Re: serieller Remotezugriff auf DOS-Rechner? (Walter Loepsinger)
  Re: BOOTP relay and CIDR (Taisto Qvist)
  Re: ppp works but no ping (stephen)
  Re: Which NIC is good for Linux and Win98? (Bill Long)
  Re: Need recommendations on 10/100 NIC. (Jim  Laura Behning)



From: "Frank Apap" [EMAIL PROTECTED]
Subject: Syntax for Fetchmail and Sendmail
Date: Mon, 3 May 1999 20:00:43 -0400

What are the steps for setting up fetchmail and sendmail and what are the
syntaxes for using them.  I am new to linux and am trying to make a script
that :

1-Connects to a remote pop3 mail server.
2-Reads in new Mail.
3-Replies to the mail with a pregenerated "Thank you" message.
4-Fowards that mail to another email address of mine.

ANY info on this would be great..this is my task and I have little clue how
to start.  Thank you.

A reply through email would be great!

Thanks again.



--

From: Bill Peters [EMAIL PROTECTED]
Subject: Re: DHCP Core Dumps!
Date: Mon, 03 May 1999 23:14:07 -0700

John L. Papp wrote:
 
 I just got ASDL and installed RedHat 5.2 with ethernet support.  The
 kernel has no problem locating the NIC at the correct I/O and IRQ
 value.  However, DHCP fails at boot.  When I run the daemon from the
 command line (/sbin/dhcpcd), I get a core dump.  The NIC is a 3COM
 EtherLink III 3c509B-TPO 10BaseT.  I am currently using the 3c50x driver
 pre-compiled in the kernel.  I have no problem running the system out of
 NT and 98 and all the green lights are on telling me there is a
 connection when I try from Linux.  Since I am getting a core dump, I
 think I might have an installation problem.  The installed version is
 dhcpcd-0.70-2.  Kernel is 2.0.36-0.7.
 
 Any help would be appreciated.
 
 --
 John L. Papp
 Aerospace Engineer/System Administrator
 Computational Fluid Dynamics Research Laboratory
 e-mail:  [EMAIL PROTECTED]
 web:  www.cfdrl.uc.edu/~jpapp/

John:

Did you ever figure out why your dhcpcd was core-dumping?  I've had a
similar experience.  I have a Redhat 5.2 system  version 0.7 of 
dhcpcd.  I just had US West set up an ADSL line and they supplied me
with a Cisco 675 routing modem.  US West is making all their new 
customers connect with the Cisco set to PPP mode as opposed to Bridging
Mode like some friends of mine have.  When my system finishes booting,
dhcpcd is nowhere to be found, and when I run it with the -d option,
I find that it core-dumps like yours did.  If I run tcpdump, too, I 
find that the core-dump occurs after two pairs of "bootpc" and "bootps"
packets are exchanged.  Inside the packets I found the IP address it
was trying to give me, and if I set up a static IP with that address,
the network works.  But this PPP mode apparently turns the Cisco into 
a firewall, so I can't telnet from outside back to my Linux box, for 
instance.  (If I do, I get the cbos prompt that one gets when one 
talks to the Cisco through its Management Port.)  Since I was curious to
see if my dhcpcd was crashing because of some faulty setup of Linux,
I carried my computer over to a friend's house who had the same ISP
(uswest.net) but whose account was set up for Bridging Mode.  In that
environment, my dhcpcd runs perfectly.

If you or anyone else has a better solution than my kluge, I'd
appreciate hearing about it!

Bill Peters
Steward Observatory
University of Arizona

--

From: "Gutterman Zvika" [EMAIL PROTECTED]
Subject: tcp window size
Date: Tue, 4 May 1999 05:30:07 +0200

Is the a way to control the tcp windows size (Something like the solaris ndd
comand)
on a linux machine?
If not, is there an option to control it when compiling the kernel?

thanks.

__

Zvika.



--

From: DonJr donjr@[127.0.0.1]
Crossposted-To: comp.windows.x.kde,alt.os.linux.dial-up,comp.os.linux.setup
Subject: 

Linux-Networking Digest #35

1999-01-28 Thread Digestifier

Linux-Networking Digest #35, Volume #10  Thu, 28 Jan 99 17:13:38 EST

Contents:
  Re: DHCP Linux server and subnets help (Stephen Carville)
  Re: forward comm port over tcp/ip ? (Matt Kressel)
  Re: Some recent lessons for those going from NT to linux. ("Keith G. Murphy")
  Re: Masquerade and Static IP number ? (David Efflandt)
  Re: Am I under netbios and httpsd (on Linux) attack? ("donoli")
  Re: POP3 (Matt Kressel)
  Having trouble with simple filtering firewall on Linux...help(!) 
([EMAIL PROTECTED])
  help: ftp daemon for ftp accounts??? ([EMAIL PROTECTED])
  Re: PPP Setup for Uswest.net Dial in (Mike Horwath)
  Re: 2 Linux machines 2 nics and a hub and something is wrong? (Darren Ford)
  Re: My Stupid little routing tutorial - Works for me (HTML File - I hope) - 
mslrt.htm (0/1) (Dark Knight)
  Re: Routing questios (M. Buchenrieder)
  Re: HELP: pppd drops after exactly 1 hour - (long) (Colin Guillas)



From: Stephen Carville [EMAIL PROTECTED]
Subject: Re: DHCP Linux server and subnets help
Date: 28 Jan 1999 04:20:34 GMT

[EMAIL PROTECTED] wrote:
 
 I am setting up a DHCP server on Redhat 5.1 running
 ISC DHCPD V2-BETA-1-PATCHLEVEL-6

I'm using the same version so maybe I can help.

 Our network has a router that seperates our class C ip address in to 4
 segments.
 
 The subnetting of each segment occurs every so many IP numbers, fo example:
 
 xxx.xxx.xxx.32 is segment A with a mask of 255.255.255.224
 The port for that router segment is xxx.xxx.xxx.33 (i.e. the client's gateway
 for that subnet).
 
 and so on.
 
 I set-up the linux server on segment A, and configured a couple of clients to
 test it. They have no problems getting IP addresses and info from the server.
 But when I have a machine, on say segment C of the router, it doesn't work.
 

[conf file snipped]

 When monitoring the server in debug mode I notice it seems to only be
 listening to it's own subnet and none of the others.

DHCP cannot cross a router without help.  This is inherent in the
protocol.  You need to configure your router to pass the DHCP packets to
your server.  If that is not practical, then set up a DHCP-relay agent on
each of the subnets you are serving.  See "man dhcrelay" for help on
setting up a relay agent

-- 
Stephen Carville
[EMAIL PROTECTED]

Management: The art of hiring intelligent, skilled individuals and then
ignoring their advice.

--

From: Matt Kressel [EMAIL PROTECTED]
Subject: Re: forward comm port over tcp/ip ?
Date: Thu, 28 Jan 1999 19:42:26 GMT

Wolfgang wrote:
 
 ok, this is what my setup looks like: there is a 486 PC running
 linux with a modem connected.  I also hooked up my notebook
 to that machine with ethernet. I use this box for dialing out
 (ip masquearding), it just workes fine.
 What's missing is a posibility to use winfax with my notebook
 wihout running to the modem, plugging cables in and out and so on.
 I thought if there was program for win9x and linux that
 tunnels a comm-port over the network, why shouldn't it work ?
 It would look like that there is a virtual comm port on the notebook,
 say com5 or whatever, that transmits any i/o data over tcp/ip to a
 daemon listening on the linux machine. There again the data is
 forwarded to the real comm port with the modem connected - sounds
 reasonable, no ?
 Thanks for any suggestions on how to realize this idea.
 


Look into HylaFax.  It is a faxing server for Linux that allows remote
connections.  There is a Windows 9x client for Hylafax too.  It just
shows up as a normal printer under windows.

-Matt

-- 
Matthew O. Kressel | INTERNET: [EMAIL PROTECTED]
+-  Northrop Grumman Corporation, Bethpage, NY -+
+-  TEL: (516) 346-9101 FAX: (516) 346-9740 +

--

From: "Keith G. Murphy" [EMAIL PROTECTED]
Subject: Re: Some recent lessons for those going from NT to linux.
Date: Thu, 28 Jan 1999 15:26:29 -0600
Reply-To: [EMAIL PROTECTED]

Rich Mycroft wrote:
 
 Well, being in the newbie cateory thought I'd pass along three things I've
 learned in this last week.
 
 1)  Linksys cards do not seem to behave well under linux networking.  Stick
 with 3com or intel as these have been just fine.

Hmmm.  Had a devil of a time getting my 3Com 3c905b-tx working with
Linux (had to get the Becker driver off the web), but my Linksys Ether16
was easy to configure with Debian.  (I *did* need to run the included
SETUP.EXE from DOS to make it non-PNP).  They both seem to be running
flawlessly.

You make me curious: what problems have you had?  Far as I can tell, the
Linksys stuff is straight NE2000-compatible; they now even advertise
Linux-compatibility on the box.

--

From: David Efflandt [EMAIL PROTECTED]
Subject: Re: Masquerade and Static IP number ?
Date: Thu, 2