Author Archives: pankajsheoran

Pull interface changes done on gateway to manager GAIA

If you change IP address on interface or if you add new sub interface you need to pullĀ  the changes on GAIA manager. To do that you can do following: Go to manager and edit the gateway. Double click on … Continue reading

Posted in Check Point | Leave a comment

Routing and NAT in Ubuntu

Check if routing between interface is enabled or not with following command: sysctl net.ipv4.ip_forward Output should be as: net.ipv4.ip_forward = 1 If output is not like this then use following command: sysctl net.ipv4.ip_forward=1 Save changes: sysctl -p /etc/sysctl.conf Do the … Continue reading

Posted in Linux | Tagged , | Leave a comment

Initialized/Reset SIC in checkpoint GAIA

Gateway talks to manager on TCP 18191 (security policy) TCP 18192 (application monitoring). Gateway sends logs to manager on TCP 257. Smartdash board uses TCP 18190 to communicate to manager. How to initialize SIC? To initialized SIC you need to … Continue reading

Posted in Check Point | Tagged , | Leave a comment

C Basic

Pre processor directive: Following line can be used to call pre processor directive in a program. #include <> Data type in c: Data Type Memory in bytes Format specifier short int 2 %hd unsigned short int 2 %hu unsigned int … Continue reading

Posted in C | Leave a comment

SSL/TLS

To test about website certificate, cipher suites, TLS version we can use website: https://www.ssllabs.com

Posted in SSL/TLS | Leave a comment

HTTP 1.1 (Hypertext Transfer Protocol)

HTTP is a stateless protocol. HTTP request have following components: 1>Method 2>Path 3>Version: Version format is major.minor 4> Headers Example: Following screenshot have method as get, path as “http://www.purple.com&#8221; version as HTTP/1.1 HTTP response have following component: 1>Version 2> Status … Continue reading

Posted in http | Leave a comment

Export configuration from firewall in maintenance mode palo alto networks

If you don’t know the password or if there is some issue with the firewall you can try to export the configuration of the firewall from firewall in maintenance mode. To enter into main mode there are two way: a> … Continue reading

Posted in paloalto networks | Leave a comment