Monday, November 8, 2010

using scp

install open-ssh first.

then if the host ip address is 1.1.1.130 and want to copy file called copy.txt to host's /home directory.

then scp copy.txt user@1.1.1.130:/home
the other way is scp user@1.1.1.130:/home/copy.txt or to give directory path

this can be used in iphone as well(never used android phone so i don't know)

Friday, October 8, 2010

isic & dependency file

isic is a very lousy network integrity check tool
as it says on the download link it can melt down one network very easy.
when I try last time it creates around 30,000+ packets per second.

http://packetfactory.openwall.net/projects/ISIC/index.html

installation is quite simple,
unzip with tar, configure, make and make install.
do not use this tool except to test your own network's integrity.

Wednesday, October 6, 2010

remove email address from GAL

Exchange 2003

1.
AD Users and Computers > User Property > Exchange Task > Remove Exchange Attribute

2.
open exchange system manager expand Recipients > click on All Global Address Lists > in the right

hand pane right click Default global address list and go properties > in the Default global address

list properties click preview > a list of users should come up > scroll through and see if you can

find the user you want to get rid of if it is in the list right click on the user and select delete.

3.
AD Users and Computers > User Property > Advanced Exchange Task > Hide address from the GAL.

Wednesday, June 9, 2010

create simbolic link

lets say there is a file called letme in /usr/bin/letme
then to create symbolic link, type in
ln -s /usr/bin/letme/letme letme
after that to test
cd /
let then tab
letme will popup.

Saturday, February 6, 2010

1 router + 2ADSL + 1 LAN + NAT + WAN HA + traffic load balancing

### Policy-map to specify outgoing traffic for certain servers###
interface bvi 1
ip policy route-map SERVER_TO_WAN

### Internet connection High Availability ###
ip route 0.0.0.0 0.0.0.0 Dialer0
ip route 0.0.0.0 0.0.0.0 Dialer1 10

### This has to be entered otherwise NAT translation table will not be converted to second link ###
ip nat translation timeout 120

ip nat inside source route-map INTERNODE_NAT interface Dialer1 overload
ip nat inside source route-map TELSTRA_NAT interface Dialer0 overload

### Define interesting server traffic to send specific WAN link ###
ip access-list extended SERVER_TO_WAN
permit ip host 10.1.1.5 any
permit ip host 10.1.1.6 any
permit ip host 10.1.1.38 any

route-map INTERNODE_NAT permit 10
match ip address 100
match interface Dialer1
!
route-map SERVER_TO_WAN permit 10
match ip address SERVER_TO_WAN
set interface Dialer1
!
route-map TELSTRA_NAT permit 10
match ip address 100
match interface Dialer0

Tuesday, January 12, 2010

cisco 857 pptp config

vpdn enable

vpdn-group 1
accept-dialin
protocol pptp
virtual-template 1

interface Virtual-Template1
ip unnumbered BVI1
ip nat inside
ip virtual-reassembly
peer default ip address dhcp-pool LAN
no keepalive
ppp encrypt mppe 128
ppp authentication ms-chap ms-chap-v2 callin