Skip to content

Commit

Permalink
ike: move into app-layer/ike
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed Dec 3, 2023
1 parent 8fba793 commit 46a0df5
Show file tree
Hide file tree
Showing 26 changed files with 46 additions and 46 deletions.
40 changes: 20 additions & 20 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ noinst_HEADERS = \
app-layer-htp-range.h \
app-layer-htp-xff.h \
app-layer-http2.h \
app-layer-ike.h \
app-layer/ike/parser.h \
app-layer-krb5.h \
app-layer-modbus.h \
app-layer-quic.h \
Expand Down Expand Up @@ -214,14 +214,14 @@ noinst_HEADERS = \
detect-icmpv6-mtu.h \
detect-icode.h \
detect-id.h \
detect-ike-exch-type.h \
detect-ike-spi.h \
detect-ike-vendor.h \
detect-ike-chosen-sa.h \
detect-ike-key-exchange-payload-length.h \
detect-ike-nonce-payload-length.h \
detect-ike-nonce-payload.h \
detect-ike-key-exchange-payload.h \
app-layer/ike/detect-exch-type.h \
app-layer/ike/detect-spi.h \
app-layer/ike/detect-vendor.h \
app-layer/ike/detect-chosen-sa.h \
app-layer/ike/detect-key-exchange-payload-length.h \
app-layer/ike/detect-nonce-payload-length.h \
app-layer/ike/detect-nonce-payload.h \
app-layer/ike/detect-key-exchange-payload.h \
detect-ipaddr.h \
detect-ipopts.h \
detect-ipproto.h \
Expand Down Expand Up @@ -412,7 +412,7 @@ noinst_HEADERS = \
output-json.h \
output-json-http2.h \
output-json-http.h \
output-json-ike.h \
app-layer/ike/logger.h \
output-json-krb5.h \
output-json-metadata.h \
output-json-modbus.h \
Expand Down Expand Up @@ -648,7 +648,7 @@ libsuricata_c_a_SOURCES = \
app-layer-htp-range.c \
app-layer-htp-xff.c \
app-layer-http2.c \
app-layer-ike.c \
app-layer/ike/parser.c \
app-layer-krb5.c \
app-layer-modbus.c \
app-layer-quic.c \
Expand Down Expand Up @@ -827,14 +827,14 @@ libsuricata_c_a_SOURCES = \
detect-icmpv6-mtu.c \
detect-icode.c \
detect-id.c \
detect-ike-exch-type.c \
detect-ike-spi.c \
detect-ike-vendor.c \
detect-ike-chosen-sa.c \
detect-ike-key-exchange-payload-length.c \
detect-ike-nonce-payload-length.c \
detect-ike-nonce-payload.c \
detect-ike-key-exchange-payload.c \
app-layer/ike/detect-exch-type.c \
app-layer/ike/detect-spi.c \
app-layer/ike/detect-vendor.c \
app-layer/ike/detect-chosen-sa.c \
app-layer/ike/detect-key-exchange-payload-length.c \
app-layer/ike/detect-nonce-payload-length.c \
app-layer/ike/detect-nonce-payload.c \
app-layer/ike/detect-key-exchange-payload.c \
detect-ipaddr.c \
detect-ipopts.c \
detect-ipproto.c \
Expand Down Expand Up @@ -1024,7 +1024,7 @@ libsuricata_c_a_SOURCES = \
output-json-ftp.c \
output-json-http2.c \
output-json-http.c \
output-json-ike.c \
app-layer/ike/logger.c \
output-json-krb5.c \
output-json-metadata.c \
output-json-modbus.c \
Expand Down
2 changes: 1 addition & 1 deletion src/app-layer-parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#include "app-layer-nfs-udp.h"
#include "app-layer-ntp.h"
#include "app-layer-tftp.h"
#include "app-layer-ike.h"
#include "app-layer/ike/parser.h"
#include "app-layer-krb5.h"
#include "app-layer-sip.h"
#include "app-layer-rfb.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-content-inspection.h"
#include "detect-ike-chosen-sa.h"
#include "app-layer/ike/detect-chosen-sa.h"
#include "app-layer-parser.h"
#include "util-byte.h"
#include "util-unittest.h"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-content-inspection.h"
#include "detect-ike-exch-type.h"
#include "app-layer/ike/detect-exch-type.h"
#include "app-layer-parser.h"
#include "util-byte.h"
#include "detect-engine-uint.h"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-content-inspection.h"
#include "detect-ike-key-exchange-payload-length.h"
#include "app-layer/ike/detect-key-exchange-payload-length.h"
#include "app-layer-parser.h"
#include "util-byte.h"
#include "detect-engine-uint.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
#include "app-layer.h"
#include "app-layer-parser.h"

#include "detect-ike-key-exchange-payload.h"
#include "app-layer/ike/detect-key-exchange-payload.h"
#include "stream-tcp.h"

#include "rust.h"
#include "app-layer-ike.h"
#include "app-layer/ike/parser.h"
#include "rust-bindings.h"

#define KEYWORD_NAME_KEY_EXCHANGE "ike.key_exchange_payload"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-content-inspection.h"
#include "detect-ike-nonce-payload-length.h"
#include "app-layer/ike/detect-nonce-payload-length.h"
#include "app-layer-parser.h"
#include "util-byte.h"
#include "detect-engine-uint.h"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
#include "app-layer.h"
#include "app-layer-parser.h"

#include "detect-ike-nonce-payload.h"
#include "app-layer/ike/detect-nonce-payload.h"
#include "stream-tcp.h"

#include "rust.h"
#include "app-layer-ike.h"
#include "app-layer/ike/parser.h"
#include "rust-bindings.h"

#define KEYWORD_NAME_NONCE "ike.nonce_payload"
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/detect-ike-spi.c → src/app-layer/ike/detect-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
#include "app-layer.h"
#include "app-layer-parser.h"

#include "detect-ike-spi.h"
#include "app-layer/ike/detect-spi.h"
#include "stream-tcp.h"

#include "rust.h"
#include "app-layer-ike.h"
#include "app-layer/ike/parser.h"
#include "rust-bindings.h"

#define KEYWORD_NAME_INITIATOR "ike.init_spi"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "detect-engine-prefilter.h"
#include "detect-engine-content-inspection.h"
#include "detect-engine-mpm.h"
#include "detect-ike-vendor.h"
#include "app-layer/ike/detect-vendor.h"
#include "app-layer-parser.h"
#include "util-byte.h"

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/output-json-ike.c → src/app-layer/ike/logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
#include "app-layer.h"
#include "app-layer-parser.h"

#include "app-layer-ike.h"
#include "output-json-ike.h"
#include "app-layer/ike/parser.h"
#include "app-layer/ike/logger.h"

#include "rust.h"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app-layer-ike.c → src/app-layer/ike/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "app-layer-detect-proto.h"
#include "app-layer-parser.h"

#include "app-layer-ike.h"
#include "app-layer/ike/parser.h"
#include "rust.h"

void RegisterIKEParsers(void)
Expand Down
File renamed without changes.
16 changes: 8 additions & 8 deletions src/detect-engine-register.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,14 +273,14 @@
#include "detect-modbus.h"
#include "detect-cipservice.h"
#include "app-layer/dnp3/detect-dnp3.h"
#include "detect-ike-exch-type.h"
#include "detect-ike-spi.h"
#include "detect-ike-vendor.h"
#include "detect-ike-chosen-sa.h"
#include "detect-ike-key-exchange-payload-length.h"
#include "detect-ike-nonce-payload-length.h"
#include "detect-ike-nonce-payload.h"
#include "detect-ike-key-exchange-payload.h"
#include "app-layer/ike/detect-exch-type.h"
#include "app-layer/ike/detect-spi.h"
#include "app-layer/ike/detect-vendor.h"
#include "app-layer/ike/detect-chosen-sa.h"
#include "app-layer/ike/detect-key-exchange-payload-length.h"
#include "app-layer/ike/detect-nonce-payload-length.h"
#include "app-layer/ike/detect-nonce-payload.h"
#include "app-layer/ike/detect-key-exchange-payload.h"

#include "action-globals.h"
#include "tm-threads.h"
Expand Down
2 changes: 1 addition & 1 deletion src/output-json-alert.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
#include "output-json-sip.h"
#include "output-json-rfb.h"
#include "output-json-mqtt.h"
#include "output-json-ike.h"
#include "app-layer/ike/logger.h"
#include "output-json-modbus.h"
#include "output-json-frame.h"
#include "output-json-quic.h"
Expand Down
2 changes: 1 addition & 1 deletion src/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
#include "app-layer-ftp.h"
#include "output-json-tftp.h"
#include "output-json-smb.h"
#include "output-json-ike.h"
#include "app-layer/ike/logger.h"
#include "output-json-krb5.h"
#include "output-json-quic.h"
#include "output-json-dhcp.h"
Expand Down
2 changes: 1 addition & 1 deletion src/rust-context.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "detect-engine-state.h" //DetectEngineState

#include "app-layer-krb5.h" //KRB5State, KRB5Transaction
#include "app-layer-ike.h" //IKEState, IKETransaction
#include "app-layer/ike/parser.h" //IKEState, IKETransaction
#include "app-layer-ntp.h" //NTPState, NTPTransaction
#include "app-layer-snmp.h" //SNMPState, SNMPTransaction
#include "app-layer-tftp.h" //TFTPState, TFTPTransaction
Expand Down

0 comments on commit 46a0df5

Please sign in to comment.