[Leaf-user] Is there a SMTP wrapper, that can add AUTH to the SMTP stream.

2002-03-24 Thread Dmitri Gofmekler

Hello All,

The question is: need the wrapper, that could be placed into the LRP floppy
and act as SMTP relay, but authorize himself on the next SMTP server.
The problem is that email client programs that used does not support SMTP
auth and client has a dynamic IP address, but I need to direct all their
SMTP traffic thru my server, that opened for relay from unknown IP addresses
only with SMTP auth.


Thanks in advance,
Dmitri.


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



[Leaf-user] LEAF driver for Digiboard

2002-03-24 Thread Paul M. Wright, Jr.

Greetings!

I am trying to decide whether it is feasible to build an LRP-based terminal
server for access to the console ports of multiple routers at a remote site.
I have a Digi Acceleport 8r board and having it running under RedHat v7.0
but I'm lost when it comes to translating that setup to a LEAF box.

I searched the drivers section and didn't find a Digiboard driver but I may
have missed it.  If one doesn't already exist, how difficult is it to work
from the source code and create a package?

thanks!

paul


Paul M. Wright, Jr.
McKay Technologies
"making technology play nice"


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



[Leaf-user] porting scripts from ifconfig and awk to iproute and sed

2002-03-24 Thread Chad Carr

I am attempting to port freeswan scripts that use ifconfig and awk to use
iproute and sed instead.  I am posting these modifications to get input on
better ways of doing things, since I do believe that there are probably at
least 40-50 better ways to do it than I have come up with.

So far:

# get the physical device that leads to the default gateway
netstat -nr | awk '$1 == "0.0.0.0" && $3 == "0.0.0.0" { print $NF }'
# becomes this without netstat or awk
ip route | sed -e '/^default/!d' -e 's/^.* ([^ ]*) $/\1/'

and:

# set up some vars pertaining to $phys
eval `ifconfig $phys | awk '$1 == "inet" && $2 ~ /^addr:/ && $4 ~ /^Mask:/ {
gsub(/:/, " ", $0)
print "addr=" $3
if ($4 == "Bcast")
print "type=broadcast"
else if ($4 == "P-t-P")
print "type=pointopoint"
else
print "type="
print "otheraddr=" $5
print "mask=" $7
}'`
# becomes (something like) this without ifconfig or awk
eval `ip addr show dev $phys | sed -e '/^ *inet/!d' -e 's/^ *inet \(.*\)\/\(.*\) 
\(.*\) \(.*\) \(.*\) \(.*\) \(.*\)/addr=\1;mask=\2;type=\3;otheraddr=\4;/'`
# of course, the type and mask are not the right format

Please let me know if this way of doing things is completely braindead or not.
Coming from a perl background, I am not afraid of a regex or two, even
complicated ones.  I just am so unfamiliar with sed, I don't even have any
frame of reference.

Thanks in advance for your assistance.


---
Chad Carr [EMAIL PROTECTED] 
---

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] 3c509 and DHCP

2002-03-24 Thread Richard Burt

What has worked for me in the past is to use the 3c5x9cfg program to set the 
cards up manually.  Meaning turning off PnP and setting the I/O and irq 
manually, and obviously different for each card.  I have 2 of these cards 
running in an old Eigerstein box that only gets rebooted when there is a 
power outage.
Rich

>Greetings!
>
>I have a box running the latest release of Bering and it works fine
with
>some old NE2000 clone cards.  However, I'm running out of these cards
but
>have a good supply of 3c509b cards so I tried swapping them out and
enabling
>the proper driver.
>
>The card on the internal network works fine, but the card on the cable
modem
>side just will not get a DHCP address.  I receive a couple of console
messages:

-snip-

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] porting scripts from ifconfig and awk to iprouteand sed

2002-03-24 Thread Stephen Lee

On Sun, 2002-03-24 at 13:26, Chad Carr wrote:

> Please let me know if this way of doing things is completely braindead or not.
> Coming from a perl background, I am not afraid of a regex or two, even
> complicated ones.  I just am so unfamiliar with sed, I don't even have any
> frame of reference.
>
Have you looked at how Charles Steinkheuler does it for the Eigerstein
and Dachstein series?
http://lrp.steinkuehler.net/Packages/ipsec1.91.htm

Stephen



___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] porting scripts from ifconfig and awk to iproute and sed

2002-03-24 Thread Chad Carr

* Stephen Lee ([EMAIL PROTECTED]) wrote:
> Have you looked at how Charles Steinkheuler does it for the Eigerstein
> and Dachstein series?
> http://lrp.steinkuehler.net/Packages/ipsec1.91.htm

I'm sorry.  I may have forgotten to mention that I have begun with those
scripts, but they require ifconfig and mawk to function.  I am trying to
eliminate the need for those two utilities since Bering does not have them (and
I do not have room for them).

---
Chad Carr [EMAIL PROTECTED] 
---

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] IPSEC + Ethernet2Ethernet NAT gateway.

2002-03-24 Thread guitarlynn

On Saturday 23 March 2002 11:02, Dmitri Gofmekler wrote:
> Hello All!
>
> Is there any ready to use floppy images that includes LAN2LAN NAT
> Gateway and IPSEC (Client2LAN)?

I'm currently have a testing floppy image of Dachstein with IPSec. 
The weblet is the only package on the stock image I couldn't fit
on the floppy, so this is your best bet unless you use the Dachstein
CD version.

You can find it at http://leaf.sourceforge.net/devel/guitarlyhn
The new CVS version is linked there.

-- 

~Lynn Avants
aka Guitarlynn

guitarlynn at users.sourceforge.net
http://leaf.sourceforge.net

If linux isn't the answer, you've probably got the wrong question!

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] porting scripts from ifconfig and awk to iproute and sed

2002-03-24 Thread guitarlynn

On Sunday 24 March 2002 19:06, Chad Carr wrote:
> * Stephen Lee ([EMAIL PROTECTED]) wrote:
> > Have you looked at how Charles Steinkheuler does it for the
> > Eigerstein and Dachstein series?
> > http://lrp.steinkuehler.net/Packages/ipsec1.91.htm
>
> I'm sorry.  I may have forgotten to mention that I have begun with
> those scripts, but they require ifconfig and mawk to function.  I am
> trying to eliminate the need for those two utilities since Bering
> does not have them (and I do not have room for them).

Yes, Charles IPSec packeage requires the "ifconfig" and "mawk" 
packages. Charles coded a conversion from "ifconfig" to "iproute2"
in the "dhclient" package. I used much of his code to do the same
with my testing "udhcp" package, so you could take either of these
packages and find working ways to convert to iproute2. Mawk may
be more of a pain, as Sed is substantially not very compatible with 
Mawk/Awk as far as line editors go. Possible yes, but likely a real 
pain. I don't think anybody has attempted to do that yet, but many of
us would be more than happy to test it if you get something working.

I have an IPSec Dachstein floppy image in my LEAF/devel directory
that you could use, or replace Pump and dhcpd with my Udhcp package.
Udhcp is both a DHCP client and server with one binary and the 
footprint is 1/4 to 1/3 of Dachstein's dhclient and dhcpd you may
get the standard IPSec package to fit on the floppy if you strip the
disk of unused packages and use Udhcp.

Good luck!  ;-)

~Lynn Avants
aka Guitarlynn

guitarlynn at users.sourceforge.net
http://leaf.sourceforge.net

If linux isn't the answer, you've probably got the wrong question!

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



Re: [Leaf-user] porting scripts from ifconfig and awk to iproute and sed

2002-03-24 Thread Chad Carr

* guitarlynn ([EMAIL PROTECTED]) wrote:
> On Sunday 24 March 2002 19:06, Chad Carr wrote:
> > * Stephen Lee ([EMAIL PROTECTED]) wrote:
> > > Have you looked at how Charles Steinkheuler does it for the
> > > Eigerstein and Dachstein series?
> > > http://lrp.steinkuehler.net/Packages/ipsec1.91.htm
> >
> > I'm sorry.  I may have forgotten to mention that I have begun with
> > those scripts, but they require ifconfig and mawk to function.  I am
> > trying to eliminate the need for those two utilities since Bering
> > does not have them (and I do not have room for them).
> 
> Yes, Charles IPSec packeage requires the "ifconfig" and "mawk" 
> packages. Charles coded a conversion from "ifconfig" to "iproute2"
> in the "dhclient" package. I used much of his code to do the same
> with my testing "udhcp" package, so you could take either of these
> packages and find working ways to convert to iproute2. Mawk may
> be more of a pain, as Sed is substantially not very compatible with 
> Mawk/Awk as far as line editors go. Possible yes, but likely a real 
> pain. I don't think anybody has attempted to do that yet, but many of
> us would be more than happy to test it if you get something working.

Wow.  Good point.  I just ran across the 310-line awk rant from lines 144 to
453 in /usr/local/lib/ipsec/auto !  I may have to re-evaluate this effort.

> I have an IPSec Dachstein floppy image in my LEAF/devel directory
> that you could use, or replace Pump and dhcpd with my Udhcp package.
> Udhcp is both a DHCP client and server with one binary and the 
> footprint is 1/4 to 1/3 of Dachstein's dhclient and dhcpd you may
> get the standard IPSec package to fit on the floppy if you strip the
> disk of unused packages and use Udhcp.

I will check this out.  Thanks.

---
Chad Carr [EMAIL PROTECTED] 
---

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



[Leaf-user] bering beta4 & weblet (changed internal ip)

2002-03-24 Thread Kim Oppalfens

Hi all,


1)  I am testing a bering beta4 firewall. Everything works fine except
for weblet. Which I can't seem to access. I did change the internal ip
address from 192.168.1.254 to 192.168.0.1 I adapted the hosts.allow
accordingly and
Configured inetd.conf and sh-httpd.conf to run weblet on port 8008.
I used shorewall to open up weblet from inside to the firewall & the same
thing from outside the firewall (I know this is not a good idea, is just for
testing). I did this in the params file. 

When I try to access weblet from an inside machinge I get gateway timeout
error.

>From the outside I get page cannot be displayed.

Anybody any idea what I am doing wrong?


2) What would be the cleanest way to add iptable commands to the bering boot
process?


Kim

___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user



[Leaf-user] 3c509 and DHCP

2002-03-24 Thread Erich Titl

Hi

At 12:09 24.03.2002 -0800, you wrote:
>Greetings!
>
>I have a box running the latest release of Bering and it works fine with
>some old NE2000 clone cards.  However, I'm running out of these cards but
>have a good supply of 3c509b cards so I tried swapping them out and enabling
>the proper driver.
>...
>Is there something peculiar about these cards and dhclient?

I found that the 3c509 has it's own mind which ethxx it wants to be. So 
whatever you may think is eth0 it might not be. Try swapping the cables.

regards

Erich


THINK
Püntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024  8D8A B7D4 FF9D 05B8 0A16


___
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user