Monthly Archives: January 2011

Checkpoint R71

Gallery | Tagged , | 1 Comment

CheckPoint – Performance analysis for Security Gateway R65 – R75 (sk33781)

Performance analysis for Security Gateway R65 / R70 / R71 / R75 (CPU, Memory, Network, Accelerator) CPU cpstat -f cpu os cpstat -f multi_cpu os top (man page – http://linux.die.net/man/1/top) ps auxwf cat /proc/interrupts vmstat X [Y] (man page – … Continue reading

Posted in CheckPoint, Networking | Tagged , , , , , , | Leave a comment

Peering Networks

  have a look at http://www.peeringdb.com  

Posted in Networking | Tagged , , | Leave a comment

Cisco Router Firewall Security: DoS Protection

  CBAC DoS Prevention Verification After you have assigned your timing and threshold parameters, you can use various show and debug commands (discussed in Chapter 9) to verify your configuration. One option that I mentioned in this chapter is to … Continue reading

Posted in Cisco | Tagged , | Leave a comment

Cisco IOS – NAT failover with 2 ISP

Example Configuration 2 ISP interface FastEthernet0/0 Description Primary link ISP1 ip address 12.x.x.x 255.255.255.240 ip nat outside interface FastEthernet1/0 Description Secondary link ISP2 ip address 76.x.x.x. 255.255.255.0 ip nat outside interface FastEthernet1/1 Description Inside LAN segment ip address 172.168.60.1 255.255.255.0 … Continue reading

Posted in Cisco | Tagged | 4 Comments

proper ofdb title – regexp

Set r1=New RegExp r1.Pattern = “^(.*)(, )(Der|Die|Das|Dem|Eine|Ein|Les|La|The|An|A|El|Da|Il)( .*)$” ofdb=r1.Replace(ofdb, “$3 $1$4″) ofdb=Replace(ofdb,”: “,” – “) ofdb=Replace(ofdb,”?”,””) ofdb=Replace(ofdb,”/”,”.”)

Posted in Code Snippets | Tagged | Leave a comment

Javascript Trim LTrim and RTrim Functions (string.prototype)

String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g,””); } String.prototype.ltrim = function() { return this.replace(/^\s+/,””); } String.prototype.rtrim = function() { return this.replace(/\s+$/,””); } // example of using trim, ltrim, and rtrim var myString = ” hello my name is “; alert(“*”+myString.trim()+”*”); alert(“*”+myString.ltrim()+”*”); … Continue reading

Posted in Code Snippets | Tagged | Leave a comment