<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">mais</journal-id><journal-title-group><journal-title xml:lang="ru">Моделирование и анализ информационных систем</journal-title><trans-title-group xml:lang="en"><trans-title>Modeling and Analysis of Information Systems</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1818-1015</issn><issn pub-type="epub">2313-5417</issn><publisher><publisher-name>Yaroslavl State University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.18255/1818-1015-2018-3-251-256</article-id><article-id custom-type="elpub" pub-id-type="custom">mais-684</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>Оригинальные статьи</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>Articles</subject></subj-group></article-categories><title-group><article-title>Новый подход к обнаружению и устранению аномалий в политике безопасности внешнего модуля межсетевого экрана контроллера ПКС Floodlight</article-title><trans-title-group xml:lang="en"><trans-title>A New Approach for Detecting and Resolving Anomalies in Security Policy of the External Firewall Module of the Floodlight SDN Controller</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0001-6652-3574</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Моржов</surname><given-names>Сергей Владимирович</given-names></name><name name-style="western" xml:lang="en"><surname>Morzhov</surname><given-names>Sergey V.</given-names></name></name-alternatives><bio xml:lang="ru"><p>магистрант</p></bio><bio xml:lang="en"><p>graduate student</p></bio><email xlink:type="simple">smorzhov@gmail.com</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0001-8830-8613</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Никитинский</surname><given-names>Михаил Александрович</given-names></name><name name-style="western" xml:lang="en"><surname>Nikitinskiy</surname><given-names>Mikhail A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>программист-аналитик</p></bio><bio xml:lang="en"><p>system analyst, programmer</p></bio><email xlink:type="simple">man@a-real.ru</email><xref ref-type="aff" rid="aff-2"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Ярославский государственный университет им. П.Г. Демидова</institution><country>Россия</country></aff><aff xml:lang="en"><institution>P.G. Demidov Yaroslavl State University</institution><country>Russian Federation</country></aff></aff-alternatives><aff-alternatives id="aff-2"><aff xml:lang="ru"><institution>ООО «Энергия-Инфо»</institution><country>Россия</country></aff><aff xml:lang="en"><institution>A-Real Group, Energiya-Info Inc</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2018</year></pub-date><pub-date pub-type="epub"><day>30</day><month>06</month><year>2018</year></pub-date><volume>25</volume><issue>3</issue><fpage>251</fpage><lpage>256</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Моржов С.В., Никитинский М.А., 2018</copyright-statement><copyright-year>2018</copyright-year><copyright-holder xml:lang="ru">Моржов С.В., Никитинский М.А.</copyright-holder><copyright-holder xml:lang="en">Morzhov S.V., Nikitinskiy M.A.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.mais-journal.ru/jour/article/view/684">https://www.mais-journal.ru/jour/article/view/684</self-uri><abstract><p>Авторы рассматривают разработанное сетевое приложение PreFirewall для контроллера программно-конфигурируемой сети (ПКС) Floodlight. Данное сетевое приложение осуществляет фильтрацию устанавливаемых правил в модуль ядра firewall контроллера Floodlight с целью недопущения возникновения аномалий между устанавливаемыми правилами. Разработанное сетевое приложение PreFirewall прошло ряд тестов. В результате проведенного нагрузочного тестирования было установлено, что время добавления новых правил, при использовании PreFirewall, серьезно возрастает с ростом количества ранее обработанных правил. Анализ сетевого приложения PreFirewall показал, что при добавлении правила (самая частая операция), в худшем случае необходимо произвести его сравнение со всеми существующими правилами, которые хранятся в виде двумерного массива. Таким образом, операция добавления нового правила является наиболее трудоемкой и сильнее всего влияет на производительность сетевого приложения, что приводит к возрастанию времени его отклика. Одним из возможных путей решения данной проблемы является выбор такой структуры данных, используемой для хранения правил, в которой операция добавления нового правила была бы простой. В качестве такой структуры предлагается использование дерева, каждая вершина которого содержит всевозможные значения полей в устанавливаемых правилах. Данный подход обеспечивает константную сложность операции добавления нового правила и, следовательно, решает проблему производительности сетевого приложения PreFirewall. Статья публикуется в авторской редакции.</p></abstract><trans-abstract xml:lang="en"><p>In this paper, the authors analyze the developed PreFirewall network application for the Floodlight software defined network (SDN) controller. This application filters rules, which are added into the firewall module of the Floodlight SDN controller in order to prevent the occurrence of anomalies among them. The rule filtering method is based on determining whether the addition of a new rule will not cause any anomalies with already added ones. If an anomaly was detected while adding the new rule, PreFirewall application should be able to resolve it and must report the detection of the anomaly. The developed network application PreFirewall passed a number of tests. As a result of the stress testing, it was found that the time of adding a new rule, when using PreFirewall, substantially increases with increase in the number of previously processed rules. Analysis of the network application PreFirewall showed that while adding a rule (the most frequent operation), in the worst case it is necessary to compare it with all existing rules, which are stored as a two-dimensional array. Thus, the operation of adding a new rule is the most time-consuming and has the greatest impact on the performance of the network application, which leads to an increase in response time. A possible way to of solving this problem is to select a data structure used to store the rules, in which the operation of adding a new rule would be simple. After analyzing the structure of the policy rules for the Floodlight SDN controller, the authors noted that a tree is the most adequate data structure for its storage. It provides optimization of memory used for storing the rules and, more important, it allows to achieve the constant complexity of the operation of adding a new rule and, consequently, solving the performance problem of the network application PreFirewall. The article is published in the authors’ wording.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>межсетевой экран</kwd><kwd>Floodlight</kwd><kwd>хеш-таблица</kwd><kwd>сетевой контроллер</kwd><kwd>дерево правил</kwd><kwd>PreFirewall</kwd><kwd>разрешение возникающих аномалий</kwd><kwd>ПКС</kwd><kwd>программно-конфигурируемая сеть</kwd></kwd-group><kwd-group xml:lang="en"><kwd>firewall</kwd><kwd>Floodlight</kwd><kwd>hash table</kwd><kwd>network controller</kwd><kwd>policy tree</kwd><kwd>PreFirewall</kwd><kwd>rules anomalies resolving</kwd><kwd>SDN</kwd><kwd>software-defined network</kwd></kwd-group><funding-group><funding-statement xml:lang="ru">Работа выполнена при финансовой поддержке РФФИ, проект № 16-07-01103а</funding-statement><funding-statement xml:lang="en">The work was supported by RFBR, the research project № 16-07-01103а.</funding-statement></funding-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Floodlight SDN OpenFlow Controller, https://github.com/floodlight/floodlight.</mixed-citation><mixed-citation xml:lang="en">Floodlight SDN OpenFlow Controller, https://github.com/floodlight/floodlight.</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Morzhov S., Alekseev I., Nikitinskiy M., “Firewall application for Floodlight SDN controller”, International Siberian Conference on Control and Communications (SIBCON) (12–14 May, 2016, Moscow, Russia), 1–5.</mixed-citation><mixed-citation xml:lang="en">Morzhov S., Alekseev I., Nikitinskiy M., “Firewall application for Floodlight SDN controller”, International Siberian Conference on Control and Communications (SIBCON) (12–14 May, 2016, Moscow, Russia), 1–5.</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">OpenFlow Switch Specification, Version 1.4.0, http://networkstatic.net/wpcontent/uploads/2013/10/openflow-spec-v1.4.0.pdf.</mixed-citation><mixed-citation xml:lang="en">OpenFlow Switch Specification, Version 1.4.0, http://networkstatic.net/wpcontent/uploads/2013/10/openflow-spec-v1.4.0.pdf.</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Cormen T., Leiserson C., Rivest R., Stein C., Introduction to Algorithms, 3rd., Massachusetts Institute of Technology Press, 2009, ISBN: 978-0-262-03384-8.</mixed-citation><mixed-citation xml:lang="en">Cormen T., Leiserson C., Rivest R., Stein C., Introduction to Algorithms, 3rd., Massachusetts Institute of Technology Press, 2009, ISBN: 978-0-262-03384-8.</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
