Question : Sonice Wall / Cisco VPN compatibility

Greetings:

I am attempting to connect via a SonicWall VPN to a client of ours.  We use an ASA firewall here at the office.  I get authenticated to the VPN but I do not recieve an address.  It's been proven that the SonicWall VPN works fine outside of the office.  Are there ports that need opened on a ASA firewall to get the IP Address from the SoniceWall, or ports from the SonicWall that need opened in general?

Thanks,
Bill

Answer : Sonice Wall / Cisco VPN compatibility

1) Is this actually a hanging session? I don't assume so, because there is a ttsession present, which will keep the script from doing anything.  Furthermore, the basic xterm is not a child of init but of gsl_09.07.007 which seems to be the "normal" situation.

Could it be that the problem arises the very moment this obscure gsl_09.07.007 vanishes and leaves xterm orphaned?

2) No wonder that the script fails, with all those extra linefeeds! Where do they come from?

#!/bin/ksh
ps -ef -o user,pid,args | grep catintr | while read line
 do
  set $line
   USER=$1
   PID=$2
   CMD=$3
    if [ $(ps -ef -o user,comm | grep $USER | grep -c dtsession) -ne 0 \
           -o $(ps -ef -o user,comm | grep $USER | grep -c ttsession) -ne 0 ]
     then :
      else
       for pid in $(proctree $PID 2>/dev/null | awk '{print $1}' | sort -nu)
         do
          if [ $(ps -f -o user= -p $pid 2>/dev/null) = $USER ]
            then
             ps -fp $pid
             echo kill $pid
          fi
         done
         echo "---"
    fi
 done
exit

You can't split lines in a shell script wherever you like. There are some syntax rules to be observed!

wmp

Random Solutions  
 
programming4us programming4us