<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Fortigate on Bluescreengenerator</title>
    <link>https://bluescreengenerator.de/tags/fortigate/</link>
    <description>Recent content in Fortigate on Bluescreengenerator</description>
    <image>
      <title>Bluescreengenerator</title>
      <url>https://bluescreengenerator.de/img/bsg-watermark.png</url>
      <link>https://bluescreengenerator.de/img/bsg-watermark.png</link>
    </image>
    <generator>Hugo</generator>
    <language>de-DE</language>
    <lastBuildDate>Tue, 27 Mar 2018 11:19:00 +0000</lastBuildDate>
    <atom:link href="https://bluescreengenerator.de/tags/fortigate/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fortigate Sniffer benutzen</title>
      <link>https://bluescreengenerator.de/blog/fortigate-sniffer-benutzen/</link>
      <pubDate>Tue, 27 Mar 2018 11:19:00 +0000</pubDate>
      <guid>https://bluescreengenerator.de/blog/fortigate-sniffer-benutzen/</guid>
      <description>&lt;p&gt;Sofern die Option &lt;code&gt;Packet Capture&lt;/code&gt; im Menü der Fortigate nicht erscheint, kann man den Sniffer mit folgendem Link direkt aufrufen:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;https://[ IP_der_Fortigate ]/ng/page/p/firewall/sniffer/
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Alternativ lässt sich auch via CLI sniffen, allerdings bekommt man dann kein schönes .pcap File heraus. Der Befehl dazu lautet:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;diagnose sniffer packet &amp;lt; interface &amp;gt; [ filter ]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;lt; interface &amp;gt;: das Interface, auf dem man sniffen möchte, “any” für alle,&lt;br&gt;
[ filter ] : optionale Angabe von Filtern, um die Ausgabe übersichtlich zu halten&lt;/p&gt;</description>
    </item>
    <item>
      <title>Interface Statistiken und Counter auf Fortigate anzeigen</title>
      <link>https://bluescreengenerator.de/blog/interface-statistiken-und-counter-auf-fortigate-anzeigen/</link>
      <pubDate>Thu, 09 Feb 2017 10:55:00 +0000</pubDate>
      <guid>https://bluescreengenerator.de/blog/interface-statistiken-und-counter-auf-fortigate-anzeigen/</guid>
      <description>&lt;p&gt;Befehle zum Anzeigen von Interface Statistiken und Countern, die im Webinterface nicht ersichtlich sind:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;FORTIGATE $ diagnose hardware deviceinfo nic wan1
Description :FortiASIC NP6LITE Adapter
Driver Name :FortiASIC NP6LITE Driver
Board :60E
lif id :0
lif oid :64
netdev oid :64
Current_HWaddr 00:09:0f:09:00:0b
Permanent_HWaddr 90:6c:ac:83:03:0c
========== Link Status ==========
Admin :up
netdev status :up
autonego_setting:1
link_setting :1
speed_setting :10
duplex_setting :0
Speed :1000
Duplex :Full
link_status :Up
============ Counters ===========
Rx Pkts :36428274
Rx Bytes :6792635983
Tx Pkts :29185072
Tx Bytes :6688201216
Host Rx Pkts :10311110
Host Rx Bytes :926889908
Host Tx Pkts :762663
Host Tx Bytes :485948600
Host Tx dropped :0


FORTIGATE $ diagnose netlink interface list wan1
if=wan1 family=00 type=1 index=3 mtu=1500 link=0 master=0
ref=23 state=off start fw_flags=0 flags=up broadcast run promsic allmulti multicast
Qdisc=mq hw_addr=00:09:0f:09:00:0b broadcast_addr=ff:ff:ff:ff:ff:ff
stat: rxp=37609605 txp=30368016 rxb=7052881542 txb=6949493299 rxe=0 txe=0 rxd=175071 txd=0 mc=0 collision=0
re: rxl=0 rxo=0 rxc=0 rxf=0 rxfi=0 rxm=0
te: txa=0 txc=0 txfi=0 txh=0 txw=0
misc rxc=0 txc=0
input_type=0 state=3 arp_entry=0 refcnt=23
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;rxe/txe = Errors&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;rxd/txd = Drops&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
