TinyCA is a program with a simple graphical user interface that makes managing a small CA (Certification Authority) easy. TinyCA works as a frontend for openssl and can deal with several independent CAs.
With TinyCA you can create and manage x509 and S/MIME server and client certificates. You can choose between RSA and DSA keys, as well as between different digest algorithms.
The certificates can be exported as PEM, DER, TXT and PKCS#12 or as a convenient archive containing both key and certificate. Certificates can be revoked by adding them to a certificate revocation list.
Labels
2011年9月21日
2011年9月12日
Juniper screen OS debug transaction flow
Capturing Debug flow basic:
Cl db
Set ff src-ip x.x.x.x dst-ip y.y.y.y
Set ff src-ip y.y.y.y dst-ip x.x.x.x
(where
x.x.x.x== client ip which is accessing the server y.y.y.y==public ip of server i.e VIP ip of the server)
debug flow basic
(Then initiate the concerned traffic from source x.x.x.x to y.y.y.y)
Get db str
Undebug all
Cl db
Capturing snoop detail
Cl db
Snoop filter ip src-ip x.x.x.x dst-ip y.y.y.y direction both Snoop detail len 1514 Snoop (and then press `y?)
(Then initiate the concerned traffic from source x.x.x.x to y.y.y.y)
Get db str
Snoop off
2011年9月2日
RHEL6 disable ipv6
Edit /etc/sysconfig/network
Change the following:
NETWORKING_IPV6=yes to NETWORKING_IPV6=no
Add a new file /etc/modprobe.d/ECS.conf containing
alias net-pf-10 off
alias ipv6 off
Stop the ipv6tables service
service ip6tables stop
Disable the ipv6tables service
chkconfig ip6tables off
After these changes, IPv6 will be disabled after the next reboot of your system.
verify ipv6 is disable
lsmod | grep ipv6
ifconfig
Change the following:
NETWORKING_IPV6=yes to NETWORKING_IPV6=no
Add a new file /etc/modprobe.d/ECS.conf containing
alias net-pf-10 off
alias ipv6 off
Stop the ipv6tables service
service ip6tables stop
Disable the ipv6tables service
chkconfig ip6tables off
After these changes, IPv6 will be disabled after the next reboot of your system.
verify ipv6 is disable
lsmod | grep ipv6
ifconfig
2011年5月16日
use esxcli kill stunk vm in ESXi 4.1
Find world ID
# esxcli vms vm list
Soft kill vm
#esxcli vms vm kill -w 81238123 -t soft <---here 81238123 is world ID
# esxcli vms vm list
Soft kill vm
#esxcli vms vm kill -w 81238123 -t soft <---here 81238123 is world ID
Samba join domain win2008 + squid authentication with ntlm_auth
Step:
- upgrade samba to 3.5 (for win2008)
- edit /etc/samba/smb.conf
- edit /etc/krb5.conf
- edit /etc/pam.d/system-auth
- add winbind option in /etc/nsswitch.conf
- config iptables to allow 139,445,389 port, or allow all for testing
- change selinux to permissive or disable just for testing
- setup time, ensure no more than 5 min different with your DC
- startup smb, winbind, oddjobd
- join domain
- test with wbinfo, kinit, ntlm_auth, check if your linux host appear in AD\computer ou
- edit /etc/squid/squid.conf
- make sure squid group have permission to access /var/lib/samba/winbindd_privilege folder
- Startup squid
- client pc proxy config
- client pc edit group policy, change Network security: LAN Manager authentication level:Send LM & NTLM - use NTLMv2
- client pc test to access internet with user authentication
2011年3月29日
EtherChannel config
==========PAgP Config:=============
Switch(config)# interface type mod/num
Switch(config-if)# channel-protocol pagp
Switch(config-if)# channel-group number mode {on | {{auto | desirable} [non-silent]}}
Example:
Switch(config)# port-channel load-balance src-dst-port
Switch(config)# interface range gig 3/1 – 4
Switch(config-if)# channel-protocol pagp
Switch(config-if)# channel-group 1 mode desirable non-silent
================================
=========LACP Config==============
Switch(config)# lacp system-priority priority
Switch(config)# interface type mod/num
Switch(config-if)# channel-protocol lacp
Switch(config-if)# channel-group number mode {on | passive | active}
Switch(config-if)# lacp port-priority priority
Example:
Switch(config)# lacp system-priority 100
Switch(config)# interface range gig 2/1 – 4 , gig 3/1 – 4
Switch(config-if)# channel-protocol lacp
Switch(config-if)# channel-group 1 mode active
Switch(config-if)# lacp port-priority 100
Switch(config-if)# exit
Switch(config)# interface range gig 2/5 – 8 , gig 3/5 – 8
Switch(config-if)# channel-protocol lacp
Switch(config-if)# channel-group 1 mode active
=================================
Switch(config)# interface type mod/num
Switch(config-if)# channel-protocol pagp
Switch(config-if)# channel-group number mode {on | {{auto | desirable} [non-silent]}}
Example:
Switch(config)# port-channel load-balance src-dst-port
Switch(config)# interface range gig 3/1 – 4
Switch(config-if)# channel-protocol pagp
Switch(config-if)# channel-group 1 mode desirable non-silent
================================
=========LACP Config==============
Switch(config)# lacp system-priority priority
Switch(config)# interface type mod/num
Switch(config-if)# channel-protocol lacp
Switch(config-if)# channel-group number mode {on | passive | active}
Switch(config-if)# lacp port-priority priority
Example:
Switch(config)# lacp system-priority 100
Switch(config)# interface range gig 2/1 – 4 , gig 3/1 – 4
Switch(config-if)# channel-protocol lacp
Switch(config-if)# channel-group 1 mode active
Switch(config-if)# lacp port-priority 100
Switch(config-if)# exit
Switch(config)# interface range gig 2/5 – 8 , gig 3/5 – 8
Switch(config-if)# channel-protocol lacp
Switch(config-if)# channel-group 1 mode active
=================================
訂閱:
文章 (Atom)
