Monday, June 16, 2014

fortimail 100C upgrading to 5.1.3

I've started the upgrades to 5.1.3 for the fortimail100C ESA






https://www.youtube.com/watch?v=GtsYKvQVjf8

Here's a video of fortisandbox.


Ken Felix
Network & Security Engineer
kfelix  ----a---t---socpuppets ---d---o---t---com

     ^      ^
=(   X   X )=
          o
       /     \

Saturday, June 14, 2014

Fortinet FortiOS 5.2.0

Will two  things for  this day. 1st it's my birthday and 2nd Fortinet gave me a present by releasing the new code .

The code for the fortigate firewall are available to partners and customers with support contracts;

https://support.fortinet.com/Download/FirmwareImages.aspx


As usually, read  the release notes;





Read  any CSB announcements;



Pay attention to the following;
  •  upgrade/downgrade path migration
  •  new features
  •  hardware dependency
  •  special notes or known issues

Download the code for the exact model of your firewall device.

Before execution of the upgrade, it's my advice and recommendation to backup the configuration file ( unencrypted ) to a local PC and/or USB device



Start your upgrade and sit back and enjoy a cup of joe ;)







Ken Felix
Network & Security Engineer
kfelix  ----a---t---socpuppets ---d---o---t---com

     ^      ^
=(   -   - )=
        o
     /     \

Friday, June 13, 2014

unsupported-transceivers cisco

Here's something interesting, some Alcatel engineers had a  Alcatel SFP-T badge transceiver laying around, so I tried one in a cisco ASR9K, ASR1K and cisco 6509. It works in all devices tested.




This is very interesting that the finistar mfg'er transceivers works within  our cisco gear and even with it vendor labeled as  "Alcatel".  A similar  finistar SFP-T that looks almost 100% identical, did not btw.

Now cisco TAC and I'm sure Alcatel also will scream and cry about using some other mfg'er transceiver in their gear.



It's also surprise me that the problems I had with  NHR branded transceivers and the ASR1K

http://socpuppet.blogspot.com/2013/11/followup-unsupported-transceivers-cisco.html

and

http://socpuppet.blogspot.com/2013/10/unsupported-transceivers-cisco-asr.html

Now how much differences does finistar actually put into a cisco, alcatel, etc... transceiver is questionable?

Is this a ploy to make you buy from one "vendor-only"  even tho  that vendor does not actually make anything?   Yes, that's my belief btw


BTW; Here's the hardware inventory of our non-cisco transceiver manufactured for Alcatel by Finistar.





Now keep in mind that you must enable the hidden command to allow for unsupported transceivers.

IOS and IOS-XE  cmd = service unsupported-transceiver  from  global configuration

IOS-XR   cmd = transceiver permit pid all  from  within  each interface level configuration

NOTE: cisco will issue a warning such as;



Good luck with your unsupported transceivers. This term seems like a oxymoron ;)


Ken Felix
Freelance Network/Security Engineer
kfelix  -----a----t---- Socpuppets ---dot---com

   ^    ^
=( $ $ )=
     @
     /  \

Thursday, June 12, 2014

How to kill the dhcp daemon or any daemons on a fortigate appliance

This is my unofficial how to kill the dhcpd daemon on the fortigate. This can be used for multiple purpose and or to kill other process. Use at  your own risk and YMMV.

note: Fortinet TAC doesn't like for you to know this cmd but it will not harm anything and has limited shell access.


The  fnsysctl  is a cli command that fortinet-TAC does not speak too much  about. It allows for a single shell execution of limited unix executables ( ls, cat, ps, mount, more, grep, df, etc...). It can be a dangerous command for learning some of  the inside working of a fortigate. And if your knowledge of linux/unix is strong like mine, you can find numerous &  creative ways for using this command.



e.g ( determing my  FWF60D  linux kernel version, diskfile size and mount command  )




Okay to find and kill the dhcp process or any proc as far as that goes, you have to understand that  most process create a  "pid" ( process id ). You can use the diag sys top command to find  the top process , but I have a few tricks  that you can use to find  the one process  that 's of interest.


1: by  using the "ps" command

e.g



note: just search thru the list of running process


2:  uses the "ls"  command  against the  /var/run directory


 NOTE:  the var/run directory typically holds  the proc pid in the shape and fashion of ;

/var/run/<process daemon name>.pid

e.g



3:  by issuing  the "diag sys top 25 100"  command 





NOTE: I'm using a delay of 25 secs and 100 lines so  I can quickly scan thru most,  if not all of the  pids






Once you found the  pid file name, you can "cat" or "more" the file name of  interest;


e.g ( here I'm using the "more" command against 2  pid files )


Okay, so now that you found the pid(s) that you want to kill.

 How do you kill it ?

Will you could hire her, but that could be  a expensive and bloody encounter.



or

Use the  diag sys kill command or  even use  the fnsysctl command.

e.g ( showing various ways to kill the process and rechecking for the new pid # )



So that's how you kill a fortigate process using the cli . When ever you kill a process is great to recheck that the proc has restart and to monitor any logs entries.




 Doing this, can help ensure  a 100% functional process and the daemon is working.

My last trick & knowledge share,  this same command  ( fnsysctl ) is available on  the fortimail and with a lot more binaries available.




Ken Felix
Freelance Network /Security Engineer
kfelix   a-t  socpuppets  d-o-t  com

Wednesday, June 11, 2014

This is new ( scam artists using skype )

Nigerian Scanm artist sending via Skype






Be cautious of unsolicited request.


http://www.419eater.com/
http://en.wikipedia.org/wiki/419_scams

Ken Felix
Network & Security Engineer
kfelix  ----a---t---socpuppets ---d---o---t---com

     ^      ^
=(   -   - )=
         o
      /     \

Tuesday, June 3, 2014

A issue with access-clsss ( vrf-also ) IOS-XE multi-vrf

With multiple  vrf, the  access-class command act strange under IOS-XE, you have to enable the  access-class with the keyword of "vrf-also" in order for all VRFs to be protected by the acl.

Without the keyword, the  action is to block all access-line access


Here's my example;

note: we have a simple access-class protecting "inbound" requests

line vty 0 4
 session-timeout 10
 access-class myssh in vrf-also
 exec-timeout 30 0
 logging synchronous
 length 0
 transport input ssh
 transport output ssh



Now the  access-list that was defined was named "myssh" and allows for a limited range of sources to access the  router via ssh.

 show run | sec access-list ext     

 ip access-list extended myssh
  permit tcp 10.10.10.0 0.0.0.3 any eq 22
  permit tcp 10.10.20.0 0.0.0.3 any eq 22


So the  key wording of "vrf-also",  allows for the access class to work within all VRFs

Just something I thought I would share.


Ken Felix
Network & Security Engineer
kfelix  ----a---t---socpuppets ---d---o---t---com

     ^      ^
=(   X   X )=
          o
       /     \

Sunday, June 1, 2014

PFsense 2.1.3 upgrade

I started a upgrade from RC2.1 to  2.1.3 for my pfsense virtual-host. This went very smoothly with no problems.


Here's a few screenshot of the event.





You got to love opensource networking  ;)




Ken Felix
Network & Security Engineer
kfelix  ----a---t---socpuppets ---d---o---t---com

     ^      ^
=(   X   X )=
          o
       /     \