Диплом: Автоматизация учета и обработки данных по использованию трафика ЛВС для АО "БИТК"

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам
124
| System.Windows.Forms.AnchorStyles.Right)));
this.textBoxIp.Location = new System.Drawing.Point(12, 51);
this.textBoxIp.Multiline = true;
this.textBoxIp.Name = "textBoxIp";
this.textBoxIp.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBoxIp.Size = new System.Drawing.Size(351, 146);
this.textBoxIp.TabIndex = 1;
//
// buttonOk
//
this.buttonOk.Anchor =
((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bott
om | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOk.DialogResult =
System.Windows.Forms.DialogResult.OK;
this.buttonOk.Location = new System.Drawing.Point(201, 203);
this.buttonOk.Name = "buttonOk";
this.buttonOk.Size = new System.Drawing.Size(78, 23);
this.buttonOk.TabIndex = 2;
this.buttonOk.Text = "OK";
this.buttonOk.UseVisualStyleBackColor = true;
//
// buttonCancel
//
this.buttonCancel.Anchor =
((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bott
om | System.Windows.Forms.AnchorStyles.Right)));
this.buttonCancel.DialogResult =
System.Windows.Forms.DialogResult.Cancel;
this.buttonCancel.Location = new System.Drawing.Point(285, 203);
this.buttonCancel.Name = "buttonCancel";
125
this.buttonCancel.Size = new System.Drawing.Size(78, 22);
this.buttonCancel.TabIndex = 3;
this.buttonCancel.Text = "Отмена";
this.buttonCancel.UseVisualStyleBackColor = true;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 35);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(198, 13);
this.label1.TabIndex = 4;
this.label1.Text = "IP адреса (одна строчка - один адрес)";
//
// TrafficSettingsForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(375, 233);
this.Controls.Add(this.label1);
this.Controls.Add(this.buttonCancel);
this.Controls.Add(this.buttonOk);
this.Controls.Add(this.textBoxIp);
this.Controls.Add(this.dateTimePickerDate);
this.Name = "TrafficSettingsForm";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Настройки";
this.ResumeLayout(false);
this.PerformLayout();
126
}
#endregion
private System.Windows.Forms.Button buttonOk;
private System.Windows.Forms.Button buttonCancel;
private System.Windows.Forms.Label label1;
public System.Windows.Forms.DateTimePicker dateTimePickerDate;
public System.Windows.Forms.TextBox textBoxIp;
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace flowsimulator {
public partial class FormIpfixTemplate : Form {
private FormIpfixTemplateList parent = null;
public FormIpfixTemplate(FormIpfixTemplateList p) {
InitializeComponent();
for (int i = 1; i < TemplateItem.Length; ++i) {
if (TemplateItem[i] != "RESERVED") {
listBoxAll.Items.Add(TemplateItem[i]);
}
}
this.parent = p;
127
ushort nextId = 256;
foreach (netflow.IpfixTemplate t in parent.TemplateList) {
if (t.TemplateId >= nextId) {
++nextId;
}
}
textBoxTemplateId.Text = nextId.ToString();
btnAdd.Enabled = false;
}
public static string[] TemplateItem = {
"UNKNOWN", // 0
"octetDeltaCount", // 1
"packetDeltaCount",
"RESERVED",
"protocolIdentifier",
"ipClassOfService", // 5
"tcpControlBits",
"sourceTransportPort",
"sourceIPv4Address",
"sourceIPv4PrefixLength",
"ingressInterface", // 10
"destinationTransportPort",
"destinationIPv4Address",
"destinationIPv4PrefixLength",
"egressInterface",
"ipNextHopIPv4Address", // 15
"bgpSourceAsNumber",
"bgpDestinationAsNumber",
"bgpNexthopIPv4Address",
"postMCastPacketDeltaCount",
"postMCastOctetDeltaCount", //20
128
"flowEndSysUpTime",
"flowStartSysUpTime",
"postOctetDeltaCount",
"postPacketDeltaCount",
"minimumIpTotalLength", // 25
"maximumIpTotalLength",
"sourceIPv6Address",
"destinationIPv6Address",
"sourceIPv6PrefixLength",
"destinationIPv6PrefixLength", // 30
"flowLabelIPv6",
"icmpTypeCodeIPv4",
"igmpType",
"RESERVED",
"RESERVED", // 35
"flowActiveTimeout",
"flowIdleTimeout",
"RESERVED",
"RESERVED",
"exportedOctetTotalCount", // 40
"exportedMessageTotalCount",
"exportedFlowRecordTotalCount",
"RESERVED",
"sourceIPv4Prefix",
"destinationIPv4Prefix", // 45
"mplsTopLabelType",
"mplsTopLabelIPv4Address",
"RESERVED",
"RESERVED",
"RESERVED", // 50
"RESERVED",
129
"minimumTTL",
"maximumTTL",
"fragmentIdentification",
"postIpClassOfService", //55
"sourceMacAddress",
"postDestinationMacAddress",
"vlanId",
"postVlanId",
"ipVersion", // 60
"flowDirection",
"ipNextHopIPv6Address",
"bgpNexthopIPv6Address",
"ipv6ExtensionHeaders",
"RESERVED", // 65
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED",
"mplsTopLabelStackSection", // 70
"mplsLabelStackSection2",
"mplsLabelStackSection3",
"mplsLabelStackSection4",
"mplsLabelStackSection5",
"mplsLabelStackSection6", // 75
"mplsLabelStackSection7",
"mplsLabelStackSection8",
"mplsLabelStackSection9",
"mplsLabelStackSection10",
"destinationMacAddress", // 80
"postSourceMacAddress",
"RESERVED",
130
"RESERVED",
"RESERVED",
"octetTotalCount", // 85
"packetTotalCount",
"RESERVED",
"fragmentOffset",
"RESERVED",
"mplsVpnRouteDistinguisher", // 90
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED", // 95
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED", // 100
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED", // 105
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED", // 110
"RESERVED",
"RESERVED",
"RESERVED",
131
"RESERVED",
"RESERVED", // 115
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED", // 120
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED",
"RESERVED", // 125
"RESERVED",
"RESERVED",
"bgpNextAdjacentAsNumber", // 128
"bgpPrevAdjacentAsNumber",
"exporterIPv4Address", // 130
"exporterIPv6Address",
"droppedOctetDeltaCount",
"droppedPacketDeltaCount",
"droppedOctetTotalCount",
"droppedPacketTotalCount", // 135
"flowEndReason",
"commonPropertiesId",
"observationPointId",
"icmpTypeCodeIPv6",
"mplsTopLabelIPv6Address", // 140
"lineCardId",
"portId",
"meteringProcessId",
"exportingProcessId",
132
"templateId", // 145
"wlanChannelId",
"wlanSSID",
"flowId",
"observationDomainId",
"flowStartSeconds", // 150
"flowEndSeconds",
"flowStartMilliseconds",
"flowEndMilliseconds",
"flowStartMicroseconds",
"flowEndMicroseconds", // 155
"flowStartNanoseconds",
"flowEndNanoseconds",
"flowStartDeltaMicroseconds",
"flowEndDeltaMicroseconds",
"systemInitTimeMilliseconds", // 160
"flowDurationMilliseconds",
"flowDurationMicroseconds",
"observedFlowTotalCount",
"ignoredPacketTotalCount",
"ignoredOctetTotalCount", // 165
"notSentFlowTotalCount",
"notSentPacketTotalCount",
"notSentOctetTotalCount",
"destinationIPv6Prefix",
"sourceIPv6Prefix", // 170
"postOctetTotalCount",
"postPacketTotalCount",
"flowKeyIndicator",
"postMCastPacketTotalCount",
"postMCastOctetTotalCount", // 175
133
"icmpTypeIPv4",
"icmpCodeIPv4",
"icmpTypeIPv6",
"icmpCodeIPv6",
"udpSourcePort", // 180
"udpDestinationPort",
"tcpSourcePort",
"tcpDestinationPort",
"tcpSequenceNumber",
"tcpAcknowledgementNumber", // 185
"tcpWindowSize",
"tcpUrgentPointer",
"tcpHeaderLength",
"ipHeaderLength",
"totalLengthIPv4", //190
"payloadLengthIPv6",
"ipTTL",
"nextHeaderIPv6",
"mplsPayloadLength",
"ipDiffServCodePoint", //195
"ipPrecedence",
"fragmentFlags",
"octetDeltaSumOfSquares",
"octetTotalSumOfSquares",
"mplsTopLabelTTL", //200
"mplsLabelStackLength",
"mplsLabelStackDepth",
"mplsTopLabelExp",
"ipPayloadLength",
"udpMessageLength", // 205
"isMulticast",

Смотрите также:

"Автоматизация обработки заявок ООО "Проектно-Строительная Компания"
"Автоматизация процесса аттестации персонала для ООО "Нэт Бай Нэт Холдинг"
"Анализ интернет-активности конкурентов ( на примере конкурентов "Газпром нефть")
"Бухгалтерский учёт и аудит расчётов с подотчётними лицами в организации на примере ООО "ЛОЦ 10""
«Психологическое сопровождение персонала в организации на примере ООО «Крокус»
Cовершенствование деловой оценки персонала в организации (на примере ООО "Даймонд кейтеринг развитие")
IPO - инструмент финансирования деятельности организации. На примере ПАО «Нефтяная компания «Лукойл»
PR как средство продвижения организации (на примере ПАО "Тамбовский завод "Комсомолец им. Н.С. Артемова")
PR-коммуникации в сфере общественного питания (на примере кафе-кондитерской «Cream Cheese»)
SMM как средство повышения эффективности работы учреждений социокультурной сферы (на примере Малого театра)