Palo Alto Firewall LDAP Failover

With the default LDAP settings on a Palo Alto firewall, failing over from one LDAP server to another may not work correctly. You need to tune the LDAP timers and retry intervals down to a lower level. The settings I used are: Time Limit: 3\ Bind Time Limit: 4\ Retry Interval: 900 The official doc is found here: https://live.paloaltonetworks.com/docs/DOC-7420

February 9, 2015 · 1 min · Daniel Kuchenski

CUCM LDAP Sync Based on User Group

If you don’t want CUCM to sync your entire LDAP directory, you will need to use a LDAP Custom Filter. This filter can be used to sync based on AD Security Group. The filter is: (&(objectclass=user)(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)) (memberOf=CN=Demo Security Group,OU=SecondOU,OU=FirstOU,DC=DomainName,DC=com)) With this example, the name of my AD Security Group is: Demo Security Group. Then, you must specify the entire LDAP location string of that security group. My example would be: -DomainName.com\ ...

January 9, 2015 · 1 min · Daniel Kuchenski

Cisco Mobile and Remote Access via Expressway

Deployed Cisco Expressway C & E for a CUCM deployment, and found these guides most helpful: Installing the VM on vSphere: http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/expressway/install_guide/Cisco-Expressway-Virtual-Machine-Install-Guide-X8-1.pdf Configuration and Deployment Guide: http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/expressway/config_guide/X8-2/Mobile-Remote-Access-via-Expressway-Deployment-Guide-X8-2.pdf Administrator Guide: http://www.cisco.com/en/US/docs/voice_ip_comm/expressway/admin_guide/Cisco-Expressway-Administrator-Guide-X8-1.pdf Cluster Creation Guide: http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/expressway/config_guide/X8-1/Cisco-Expressway-Cluster-Creation-and-Maintenance-Deployment-Guide-X8-1.pdf

January 6, 2015 · 1 min · Daniel Kuchenski

Cisco IM&P Chat Room Postgres Server

If you want to implement chat rooms/persistent chat or chat logging with Cisco IM and Presence, you need to setup an external postgres server. The setup is relatively easy (I used a ubuntu server), and can be found here. The problem I came across was that while testing, I created several chat rooms, then deleted the users who owned those chat rooms. I needed a way to delete those test chat rooms, which needs to be done on the postgres server (since the users no longer existed). Here are the steps I used: ...

December 31, 2014 · 1 min · Daniel Kuchenski

Cisco CUCM TFTP server

If you want to view the files loaded on your CUCM TFTP server, you don’t have to download and open the file. Just navigate to http://cucm-ip-address:6970/file.xml For example, if I wanted to view my jabber config, I would go to: http://cucm-ip-address:6970/jabber-config.xml Alternatively, you can still download/upload files from CUCM OS Administration -> Software Upgrade -> TFTP File Management

December 31, 2014 · 1 min · Daniel Kuchenski

New Cisco ISR4000 Series Routers

I got the chance to install a new Cisco ISR 4431 today, and the best surprise (besides the hugely upgraded throughput) is that the onboard router interfaces now support LACP! Before, you had to resort to getting a switch HWIC module, or just using “mode on” channel-groups. Since the 4431 has four gig interfaces, you can use LACP for two WAN interfaces, and use LACP for two LAN interfaces using the interface command channel-group 1 mode active (use any channel group number you need), and then configure the port-channel interface. ...

December 23, 2014 · 1 min · Daniel Kuchenski

Palo Alto Firewall HA PAN-OS Upgrade

Below are the steps I used to perform an PAN-OS upgrade from 6.0.4 to 6.0.6 successfully. On the active fw (fw1), log into the cli and enter: request high-availability state suspend. This will force a failover to the secondary firewall (fw2). I lost 2 pings during the failover. Install the new PAN-OS on fw1, and reboot when requested. Once rebooted, log into the CLI and enter: show jobs all to verify auto commit has completed (it should show FIN OK). Then log into the web gui and verify the HA state of fw1 is Passive. Now, log into fw2 (which is currently the active fw), and force failover back to fw1 with: request high-availability state suspend. I lost 0 pings during the fail-back. Install the new PAN-OS on fw2, and reboot when requested. From the web gui of fw1, monitor the HA state and verify fw2 comes back up in Passive mode. https://live.paloaltonetworks.com/docs/DOC-4043

November 25, 2014 · 1 min · Daniel Kuchenski

Palo Alto Firewall HA CLI Commands

>show high-availability all >show high-availability state >show high-availability link-monitoring >show high-availability path-monitoring Configuring High Availability: https://live.paloaltonetworks.com/docs/DOC-2926 After enabling HA, the interfaces on the firewall will switch from using the interface MAC address to a virtual MAC address. In my case, the Palo Alto updated the MAC address to connected devices, except for the loopback interfaces. I had to clear the arp table of my internet edge routers to update the MAC of the loopbacks (I’m terminating GlobalProtect to the loopback interfaces). ...

November 25, 2014 · 1 min · Daniel Kuchenski

Updating Dell R710 Firmware

Deploying ESXi on some Dell R710 servers we had, so I wanted to update the firmware to latest and greatest. I came across some issues updating, which is why I’m posting this. First, I updated the iDRAC, using information from here: http://en.community.dell.com/techcenter/systems-management/w/wiki/3206.updating-drac-firmware Second, I couldn’t download updates using the USC/Lifecycle Controller because of the error “The updates you are trying to apply are not Dell-authorized updates”. I was able to resolve this by updating the USC (Unified Server Configurator). This can be easily upgraded by downloading the package and uploading it to the iDRAC update utility. The package can be downloaded here: ...

November 20, 2014 · 1 min · Daniel Kuchenski

Optimize Ruckus Configuration

I came across a good support forum post (link below) that goes over some CLI configuration changes to optimize your Ruckus setup. Personally, I enabled ofdm-only and changed the bss-minrate and have seen better roaming behavior: SSH into your ZoneDirector Verify your current WLAN settings with show wlan name "wlan name" Enter enable mode with enable Enter config mode with config Enter WLAN configuration wtih wlan "wlan name" Disable legacy 11b clients with ofdm-only Change the bss-minrate with bss-minrate 12.0 Then exit and the changes are saved If you have dense enough AP coverage, you can use bss-minrate 24.0 ...

October 10, 2014 · 1 min · Daniel Kuchenski

Palo Alto GlobalProtect VPN Users

Two quick cli commands to see who is currently logged in, and who logged in previously: show global-protect-gateway current-user show global-protect-gateway previous-user You can also specify the username with each command to see specific results. If want want to force a user logout (from my testing, the user will not see a notification they have been logged out): request global-protect-gateway client-logout domain your_domain reason force-logout computer computer_name gateway gateway_name user user_name

October 7, 2014 · 1 min · Daniel Kuchenski

Active Directory Delegating Permissions

I needed to delegate permissions to helpdesk (instead of making them domain admins) to create and modify users, and modify group membership. This is slightly different from some of the built in permission groups, since we didn’t want helpdesk to delete users. Permissions are delegated at the OU level, and remember that permissions are pushed down and inherited. This is what I used to delegate these permissions: Right click the OU, and select “Delegate Control” and click “Next” Add your Security Group (I called mine Delegated Helpdesk) Click “Modify the membership of a group”, then “Next” and “Finish” First section done! Go through steps 1 and 2 again Select the button “Create a custom task to delegate” and click “Next” Select the button “Only the following objects in the folder:” and select “User objects” Click “Create selected objects in this folder” and click “Next” Click the following permissions: Read All Properties Write All Properties Read and write general information Read and write logon information Read and write phone and mail options Read and write web information Change password Reset password Click “Next” and then “Finish” You are now finished. Users in the Delegated Helpdesk group should be able to create and modify users, and group membership. If you ever need to revert your changes, click on Properties -> Security (requires advanced view) for the OU, and remove the permissions.

October 1, 2014 · 2 min · Daniel Kuchenski

Palo Alto Firewall AD Group Mapping

These commands will help troubleshoot and resolve issues with Active Directory groups on your PAN firewall. 1. Shows every AD group added to the PAN firewall: show user group list 2. Shows the user and IP address mapping (or specific user): show user ip-user-mapping all 3. Gives more detailed statistics of the command above: show user group-mapping state all 4. Shows the user members of the group specified: show user group name "group_name" 5. Re-pulls the user-to-group mapping from AD: ...

September 29, 2014 · 1 min · Daniel Kuchenski

Ruckus DHCP Filtering/Manipulation

By default, when a client connects to a Ruckus AP and sends a DHCP request, the DHCP request is converted to unicast, and once an IP addresses has been provided to the client, additional DHCP requests from the same client seem to be ignored. This normally works great, and significantly reduces broadcast traffic on your wireless network. The only time this has proved to be an issue is if you have multiple virtual machines running on your laptop whose network adapters are bridged to your wireless nic. Your laptop will get an IP address successfully, but your VM’s will not. ...

September 22, 2014 · 1 min · Daniel Kuchenski

Linux Packet Capture

If you need to debug traffic going to a linux server or appliance, you can use tcpdump to generate a pcap file you can analyze in wireshark. For example, ssh into the server, and use the following command: tcpdump -s0 port 80 and host 192.168.1.10 -wDebugTraffic.pcap This will capture all traffic coming into port 80 from host 192.168.1.10 and saved as file DebugTraffic.pcap You can then use an ftp program (like WinSCP) to grab the file and analyze it in wireshark. ...

September 17, 2014 · 1 min · Daniel Kuchenski