[leaf-user] Bering: ifconfig needed for manual ipsec tunnels?

2002-08-25 Thread Tom Nisbet

I've just setup my first LEAF firewall and everything has gone smoothly

until IPsec.  When Freeswan starts, it prints the following:



ipsec_setup: Starting FreeS/WAN IPsec 1.98b...

ifconfig: not found

ipsec manual: fatal error in tunnel1: no IPsec-enabled interfaces found



I'm not sure if this means that ifconfig itself wan't found or if ifconfig

couldn't find something.  The Shorewall doc says that ifconfig isn't

needed, but it doesn't give any examples of manual tunnels.



Does anyone have any ideas?



The LEAF/Bering package is a great peice of work.  This definitely beats

way I did it last time: install Redhat, install FreeS/WAN, build a kernal...

With LEAF, the basic firewall was up and running within an hour of

downloading the package.



Thanks in advance for any suggestions,

Tom



[EMAIL PROTECTED]


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Bering: ifconfig needed for manual ipsec tunnels?

2002-08-25 Thread Jacques Nilo

Le Dimanche 25 Août 2002 22:35, vous avez écrit :
 I've just setup my first LEAF firewall and everything has gone smoothly

 until IPsec.  When Freeswan starts, it prints the following:



 ipsec_setup: Starting FreeS/WAN IPsec 1.98b...

 ifconfig: not found

 ipsec manual: fatal error in tunnel1: no IPsec-enabled interfaces found

If you really need manual IPSEC then download the ifconfig.lrp package from 
Charles site.
Or in the /lib/ipsec directory the following statement  of the manual script 
should be converted with its ip command equivalent. (ifconfig by default is 
not available in Bering)

snip
case $interfs in
'') interfs=`ifconfig |
awk '   /^ipsec/ { interf = $1 ; next }
/^[^ \t]/ { interf =  ; next }
/^[ \t]*inet addr/ {
sub(/:/,  , $0)
if (interf != )
print $3 @ interf
 }' | tr '\n' ' '`
;;
esac
snip
Chad: something to fix for the next release ?

Jacques


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] Bering: ifconfig needed for manual ipsec tunnels?

2002-08-25 Thread Chad Carr

On Sun, 25 Aug 2002 23:17:23 +0200
Jacques Nilo [EMAIL PROTECTED] wrote:

 case $interfs in
 '') interfs=`ifconfig |
 awk '   /^ipsec/ { interf = $1 ; next }
 /^[^ \t]/ { interf =  ; next }
 /^[ \t]*inet addr/ {
 sub(/:/,  , $0)
 if (interf != )
 print $3 @ interf
  }' | tr '\n' ' '`
 ;;
 esac
 snip
 Chad: something to fix for the next release ?

Oops.  Will do.


-- 

Chad Carr  [EMAIL PROTECTED]



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html