Tuesday, March 7, 2017

Certificate with a limited subject field

 The age old story of what' need for a certificate subject  such as;   Country State Locale etc....


Here's a  basic  certificate with just  a CN

{A ms-RDP certificate}

Here's another example



{ A juniper SRX }

Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \

RADIUS TAGs with JumpCloud

In this post we will look at  account  controls by using  tags. Ben@jumpcloud suggested this is  the best way for  controlling user access,  and for turning off accounts without  actually "deleting" the user account from  the portal.

With tags, you bind the radius server &  users to a tag. So only users within that tag-combo have authentication access by that radius client profile.

In my example, we have  3 users name  ;     user1, user2, user3

The tag defined is at followed SOCBLOG01




Each user is bounded to that tag and the  radius-client




For LDAP-aaS you will need to click the  tag  button.





Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \






jumpcloud LDAP-aaS with fortimail remote-authentications

Here's a blog started which will be a series of jumpcloud configurations  for the FTNT fortimail appliance.


This 1st up is a HOWTO with LDAP for authentication. The cfg is simple and can also be used for group and  user verification.






You can  authentication remote fortimail clients using  the Jumpcloud LDAP-as-a-Service cloud  hosted.

The   JumpCloud ldap servers are located at the following ipv4 address.The are hosted in a AWScloud instance

We have the LDAP servers at  the following URI

### URI/LDAP Server ###

ldaps://ldap.jumpcloud.com:636     ( secured )
ldap://ldap.jumpcloud.com:389       ( not secured )




You can find all of this  information in the jumpcloud utility shell script.
{ jumpcloud_test_utility.sh }







In my  cfg,  I'm using LDAPS for this configuration. This will ensure  communications and secured between LDAP client and the JumpCloud instance




1: We define our Base/Bind-DN and authentication users you will need the  Ldap bind-user account and group-id#.



2:  Than you need the following cfg details in


advance  options


3:  Than we can test using the ldap test.






Or just login and test;





Here's a simplified  view of how a cfg would encompass.






Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \

Using jump cloud RADIUS for fortimail external authentication

Here's a blog started which will be a series of jumpcloud configurations  for the FTNT fortimail appliance. This 1st up is a HOWTO with RADIIUS

You can  authentication remote fortimail clients using  the Jumpcloud  Radius-as-a-Service cloud  hosted.

The   JumpCloud radius servers are located at the following ipv4 address.The are hosted in a google cloud instance



1st, you need to ensure the fortimail has a clear path for communication on udp/1812 for the 2 radius servers.

2nd, you will configure the jump cloud  for your radius-client ( the actual fortimail device )



3rd, we will  define  radius  end-users  using the "+" for adding new users. The interface is simple but very effective and you should have no problem defining the user details.











Next, we will set the fortimail  appliance for radius by defining a radius-profile and users  with authentication type set for radius vrs local.



you can have a mix of external authentication and local for various users and mail-domains




Here's the profile that we will use;




And the user-name with authentication options;








And then back in  jump cloud we will define the radius_client  cfg by defining the ipv4 address , and secret for each fortimail device.






And that's all you need for the authentication  of the  fortinet fortimail to a RADIUSaaS


The mail-client upon activation ,  will  get a email-notice and link for reset the password.






You might NOT be able to apply  dual RADIUS SERVER in you profile,  so if you set a internal LB-VIP , & stick both jumpcloud  nodes in a pool behind that vip you can have redundant  RADIUS servers for authenications



e.g ( inside VIP  with the jumpcloud nodes as pool members )














































( FGT_OS  SLB CFG  or any SLB )


config firewall vip
    edit "jumpcloud"
        set uuid 41bbc114-0053-51e7-f7a3-46fbfce6ac39
        set type server-load-balance
        set extip 1.1.1.1
        set extintf "lan"

        set extport 1812
        set server-type udp
            config realservers
                edit 1
                    set ip 104.154.91.253
                    set port 1812
                next
                edit 2
                    set ip 104.196.54.120
                    set port 1812
                next
            end
    next
end





Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 

        /  \

Monday, March 6, 2017

basic privoxy configuration

Privoxy is a simple  proxy that can be used in explicit-proxy setups. It's great for  organizations that needs or want a control web proxy that's quick to setup.

http://www.privoxy.org/faq/general.html#WHO-USES

It has one advantage of a webconfiguration page.


Here's a basic configuration















And sample of a log file. You can adjust the level of logging via  the debug commands.



 
Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 

        /  \

Saturday, March 4, 2017

GEOLOOKUP ipv4/v6 F5-ltm

The F5 LTM products keep a simple GEOIP DB. It consist of rpm files that holds the geoip-database. These files are easy  to update and should be updated as new updates arises.

If  ever you do any geoip function like in amp policy, gtm , ltm-policy, or ltm-rule, than you should try to maintain  correct database info


1: to use the geoip lookup, it's simple to do





2: you can query ipv6 address also;





3: The  switches "i" and "o" gives you ISP or Org related information.
( see the differences )





Most geoip information breaks down to ISO 2 letter country and continent  code letters.

http://www.countrycallingcodes.com/iso-country-codes/africa-codes.php




 

Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \




Friday, March 3, 2017

F5 BigIP LTM-VE 11.6.1 HF2 to 12.0.0 ( issues RPM transaction failure )

Attempting to  upgrade from  11.6.1  to 12.0 and my  issues & findings. The upgrade was straight forward , but with the  RPM transaction Failures when trying to install any hot fixes was a show stopped.

*doing a forced mcpd  reload or manual installing the hotfix from the tmsh did not work

* deletion of the volume and resize the  2nd disk did not help either


So using the show system software

---------------------------------------------------
Sys::Software Status
Volume  Product  Version    Build  Active    Status
---------------------------------------------------
HD1.1    BIG-IP   12.0.0  0.0.606     yes  complete
HD1.2      none     none     none      no  complete


You can delete the  target volume  HD1.2

 delete  sys software  volume  HD1.2

And confirm it's deleted;

---------------------------------------------------
Sys::Software Status
Volume  Product  Version    Build  Active    Status
---------------------------------------------------
HD1.1    BIG-IP   12.0.0  0.0.606     yes  complete


Now find the  HotFix-image  and try again;



list sys software  hotfix images and find  the one to install


sys software hotfix Hotfix-BIGIP-12.0.0.1.0.628-HF1.iso {
    build 1.0.628
    checksum 1aa326fd7d5f5bea6502f74f29bc816a
    id HF1
    product BIG-IP
    title "Hotfix Version 1.0.628"
    verified yes
    version 12.0.0
}
sys software hotfix Hotfix-BIGIP-12.0.0.4.0.674-HF4.iso {
    build 4.0.674
    checksum cea9cbe68654b97e4b77b1a21e06a58b
    id HF4
    product BIG-IP
    title "Hotfix Version 4.0.674"
    verified yes
    version 12.0.0
}



Now do a manual install specify the create-volume and volume name


install  sys software  hotfix  Hotfix-BIGIP-12.0.0.1.0.628-HF1.iso create-volume  volume  HD1.2

Monitor the installation;

{ notice how HD1.2 is being installed with 12.0.0 base before the  HF#1 is applied }


(tmos)# show sys software status

----------------------------------------------------------------
Sys::Software Status
Volume  Product  Version    Build  Active                 Status
----------------------------------------------------------------
HD1.1    BIG-IP   12.0.0  0.0.606     yes               complete
HD1.2    BIG-IP   12.0.0  0.0.606      no  installing 10.000 pct


Now it will start the  HF install


(tmos)# show sys software status

----------------------------------------------------------------
Sys::Software Status
Volume  Product  Version    Build  Active                 Status
----------------------------------------------------------------
HD1.1    BIG-IP   12.0.0  0.0.606     yes               complete
HD1.2    BIG-IP   12.0.0  1.0.628      no  installing 79.000 pct



We gave up on this upgrade path and the LTM-VE and upgraded to  12.1.0 HF#2 with no issues. Never found a reason for the RPM instance failure.

In 12.1.0 you will find a few  items upon login




Jumping  forward the 1st thing notice when you log into the F5 LTM is the fact it's managed by BIGIQ. This status is great if you have device that are or are not managed by the BIGIQ appliance.







Be aware that   auto-updates was enabled, so this was disable on this test LTM




You can also  generate  quickviews from the support tab no need to have tmsh/bash console access.



The  12.1.0 default certificate has no-proper state definitions for the 2letter abbr.






Stay tune for more.



 
Ken Felix
NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \