Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
[0;0m3293177600 LDAP: ^[[0;0m[2016/11/14 8:55:22.916] ^[[0;0mNew cleartext connection 0xda96380 from 10.1.3.73:50841, monitor = 0xc409a700, index = 8^[[0;0m
[[0;0m3293177600 LDAP: ^[[0;0m[2016/11/14 8:55:26.800] ^[[0;0mNew TLS connection 0xda96380 from 69.196.253.30:51842, monitor = 0xc409a700, index = 8^[[0;0m
grep "New .* connection" $files | sed -r 's/^. from //' |sed -r 's/:. $//' |sort |uniq
for LINE in `cat file.txt`
do
echo "Ldap connection from [$LINE]" >> $out2
nslookup $LINE | grep name | cut -f 2 -d "=" | sed 's/ //' >> $out2
done
#!/bin/sh
datesimp=$(date %F)
files=/tmp/ndstrace*.log
out=/root/bin/result.$datesimp
out2=/root/bin/name.$datesimp
rm -f $out
rm -f $out2
/opt/novell/eDirectory/bin/ndstrace -u
grep "New .* connection" $files | sed -r 's/^. from //' |sed -r 's/:. $//' |sort |uniq > $out
touch $out2
echo "These are services that are configured to connect directly to DULAP.abc.com" > $out2
for LINE in `cat $out`
do
echo "Ldap connection from [$LINE]" >> $out2
nslookup $LINE | grep name | cut -f 2 -d "=" | sed 's/ //' >> $out2
done
echo "Connections to Dulap Directly See Attachment"| mail -s "DULAP Connections" -a $out2 -r abc@abc.com abc@abc.com,def@abc.com
/opt/novell/eDirectory/bin/ndstrace -l > /tmp/ndstrace.log &
/opt/novell/eDirectory/bin/ndstrace -c 'set dstrace=nodebug'
/opt/novell/eDirectory/bin/ndstrace -c 'set ndstrace=FILE ON'
/opt/novell/eDirectory/bin/ndstrace -c 'set ndstrace=*R'
/opt/novell/eDirectory/bin/ndstrace -c 'dstrace time tags ldap'
These are services that are configured to connect directly to DULAP.davenport.edu
Ldap connection from [10.36.3.70] p-r-lamp-01.davenport.edu.
Ldap connection from [66.202.198.23] p-r-ssos-01.davenport.edu. Ldap connection from [69.196.253.30] eth0-0-fw3-1-ap-r137-3-va3.blackboard.com. eth0-0-fw3-1-ap-r137-3-va3.mhint.