language stringlengths 0 24 | filename stringlengths 9 214 | code stringlengths 99 9.93M |
|---|---|---|
wireshark/resources/protocols/radius/dictionary.siemens | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Siemens
#
# $Id: 77e489820682987a2365985d33462fd73f34c11b $
#
##############################################################################
VENDOR Siem... | |
wireshark/resources/protocols/radius/dictionary.slipstream | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# For Slipstream dialup accelerator servers
# Created based on
# slipstream_sp_6.0_installation_and_configuration_guide.pdf
#
# $Id: 0d273ad347f117349d84e9... | |
wireshark/resources/protocols/radius/dictionary.sofaware | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Sofaware VPN-1 Edge from Sofaware (Check Point appliance).
#
# Values are strings, rather than real VALUEs.
#
# SofaWare-Admin : "none" / "readonly" ... | |
wireshark/resources/protocols/radius/dictionary.sonicwall | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# Sonicwall Firewall dictionary
#
# $Id: c2cf40b83991aa7024ca9ce66e0c94f09eda9da3 $
#
VENDOR SonicWall 8741
# Backwards compatibility.
BEGIN-VENDOR SonicWall
ATTRIBUTE SS3-Firewall-User-Privilege 1 integer
# New names.
ATTRIB... | |
wireshark/resources/protocols/radius/dictionary.springtide | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# SpringTide VSAs
#
# $Id: b12c193ab3a006c8962164ba122b44f133108ee8 $
#
##############################################################################
VEND... | |
wireshark/resources/protocols/radius/dictionary.starent | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Starent dictionary
# http://www.starentnetworks.com/
#
# Starent dictionary with 2 bytes tag and 2 byte length.
#
# The source of this document is a Cisco... | |
wireshark/resources/protocols/radius/dictionary.starent.vsa1 | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Starent dictionary
# http://www.starentnetworks.com/
#
# Starent dictionary with 1 byte tag and 1 byte length.
#
# It conflicts with the standard Starent ... | |
wireshark/resources/protocols/radius/dictionary.surfnet | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Surfnet
#
# $Id: a6c0e4f9c83b588adec2998cb80513594abecada $
#
##############################################################################
VENDOR Surf... | |
wireshark/resources/protocols/radius/dictionary.symbol | VENDOR Symbol 388
BEGIN-VENDOR Symbol
ATTRIBUTE Symbol-Admin-Role 1 integer
VALUE Symbol-Admin-Role Monitor 1
VALUE Symbol-Admin-Role Helpdesk 2
VALUE Symbol... | |
wireshark/resources/protocols/radius/dictionary.telebit | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# Telebit dictionary
#
# Telebit was acquired by Cisco in 1996.
#
# $Id: f5d82ecb9ecbdc01f7ad770aa838782919238443 $
#
VENDOR Telebit 117
BEGIN-VENDOR Telebit
ATTRIBUTE Telebit-Login-Command 1 string
ATTRIBUTE Telebit-Port-Name ... | |
wireshark/resources/protocols/radius/dictionary.telkom | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Telkom SA - RADIUS dictionary
# Used to convey Telkom Specific Information in proxied requests
# EDS 20031007 eddie@saix.net
#
# $Id: 68... | |
wireshark/resources/protocols/radius/dictionary.terena | # -*- text -*-
#
# For TERENA VSA's
#
# The reference for these values is:
# http://www.terena.org/activities/tf-emc2/oid.html
#
# $Id: 9637e3debc73eff0332bc198837db24ea2935b5f $
#
VENDOR TERENA 25178
BEGIN-VENDOR TERENA
ATTRIBUTE Eduroam-SP-Country 10 string
ATTRIBUTE Eduroam-Monitoring-Infla... | |
wireshark/resources/protocols/radius/dictionary.trapeze | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# dictionary.trapeze
#
# For use with FreeRadius and Trapeze/Juniper MSS software
# 1.1 or greater.
#
# Trapeze Networks has been acquired by Juniper in 2010.
#
# $Id: 343b8fed0d4f2638b1f2dea10097b8e65e37331a $
#
#
VENDOR Trapeze 1... | |
wireshark/resources/protocols/radius/dictionary.travelping | #
# dictionary.travelping
#
VENDOR Travelping 18681
BEGIN-VENDOR Travelping
#
# Standard attribute
#
ATTRIBUTE TP-Gateway-Version 1 string
ATTRIBUTE TP-Firmware-Variant 2 string
ATTRIBUTE TP-Firmware-Version 3 string
ATTRIBUTE TP-Gateway-Config 4 string
ATTRIBUTE TP-ENC-IV 5 string
ATTRIBUTE TP-Pass... | |
wireshark/resources/protocols/radius/dictionary.tropos | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# See support@tropos.com
#
# $Id: 48341843dc855336bc811b8cb4bdca2f693934bf $
#
#############################################################################... | |
wireshark/resources/protocols/radius/dictionary.t_systems_nova | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# T-Systems-Nova
#
# $Id: e78c33d89264af9b9c459e40343025b4e5c483ed $
#
##############################################################################
VENDOR... | |
wireshark/resources/protocols/radius/dictionary.ukerna | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# GSS-EAP VSAs
#
# $Id: dbf19e8427b2a4ab96d6b6b21e4295ec09f73c3c $
#
VENDOR UKERNA 25622
BEGIN-VENDOR UKERNA
ATTRIBUTE UKERNA-GSS-Acceptor-Service-Name 128 string
ATTRIBUTE UKERNA-GSS-Acceptor-Host-Name 129 string
ATTRIBUTE UKE... | |
wireshark/resources/protocols/radius/dictionary.unisphere | # -*- text -*-
# Copyright (C) 2011 The FreeRADIUS Server project and contributors
#
# dictionary.erx
#
# Juniper's (was Unisphere's) broadband RAS
# From Terje Krogdahl <tekr@nextra.com>
#
# Version: $Id: a950e241de865770f73cf8a6cccfb930cc6330e2 $
#
# This dictionary applies to access services on Juniper JUNOS (M/MX... | |
wireshark/resources/protocols/radius/dictionary.unix | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# Allegedly for ProFTPd.
#
# $Id: 06d3634eba2d4830db1597c193c7b804852ef1be $
#
VENDOR Unix 4
BEGIN-VENDOR Unix
ATTRIBUTE Unix-FTP-UID 10 integer
ATTRIBUTE Unix-FTP-GID 11 integer
ATTRIBUTE Unix-FTP-Home 12 string
ATTRIB... | |
wireshark/resources/protocols/radius/dictionary.usr | # -*- text -*-
#
# dictionary.usr USR Robotics dictionary.
#
# Taken from the dictionary included with the USR RADIUS server,
# and adjusted a bit.
#
# Version: $Id$
#
#
# USR specific attributes
#
# Prompt value should be 1 for echo, 0 for no echo, default 1.
#ATTRIBUTE Prompt 64 integer
ATTRIBUTE Multi-Link-Flag... | |
wireshark/resources/protocols/radius/dictionary.utstarcom | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# UT Starcom (China)
#
# $Id: 00e5be1c628e54afc635988a39dfd8daeadf59ae $
#
##############################################################################
V... | |
wireshark/resources/protocols/radius/dictionary.valemount | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# Valemount Networks Corporation specific radius attributes
# networks@valemount.com
#
# $Id: 471d81cdcd882fde3a99b1ae3e1886e9a8936ccb $
#
VENDOR ValemountNetworks 16313
BEGIN-VENDOR ValemountNetworks
# Rates to give P... | |
wireshark/resources/protocols/radius/dictionary.verizon | # -*- text -*-
# Copyright (C) 2018 The FreeRADIUS Server project and contributors
##############################################################################
#
# Verizon RADIUS Dictionary for Diameter Rf
#
##############################################################################
VENDOR VerizonWireless ... | |
wireshark/resources/protocols/radius/dictionary.versanet | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# dictionary.versanet Vendor specfic attributes for versanet
#
#
# VersaNet Communications, Inc.
# Http://www.versa-net.com
#
#
#Versanet add Vendor specific terminal cause in our radius group.
#You can follow this to set it in ... | |
wireshark/resources/protocols/radius/dictionary.vqp | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Cisco's VLAN Query Protocol
#
# This dictionary is NOT a RADIUS dictionary, but is used for a
# similar purpose.
#
# The default destination port is 1589.... | |
wireshark/resources/protocols/radius/dictionary.walabi | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Walabi Store & Forward FAX attributes.
#
# $Id: 9f7c85e6d9096872bfba1254288a84a3baa4feef $
#
#############################################################... | |
wireshark/resources/protocols/radius/dictionary.waverider | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# http://www.waverider.com/
# $Id: e56d7426b8cbef976d3b6afff85a0c6276634821 $
#
VENDOR Waverider 2979
BEGIN-VENDOR Waverider
ATTRIBUTE Waverider-Grade-Of-Service 1 integer
ATTRIBUTE Waverider-Priority-Enabled 2 integer
ATTRIBUTE... | |
wireshark/resources/protocols/radius/dictionary.wichorus | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# Dictionary for WiChorus Inc. VSA's.
# http://www.wichorus.com/
#
# Version: $Id: 4cfa70cbf64f40aa6d6677940a3bfaa6b7096221 $
#
VENDOR Wichorus 27030
BEGIN-VENDOR Wichorus
ATTRIBUTE Wichorus-Policy-Name 1 string
ATTRIBUTE Wic... | |
wireshark/resources/protocols/radius/dictionary.wimax | # -*- text -*-
##############################################################################
#
# WiMAX Forum
#
# Updated from NWG_R1_V1.2.1-Stage-3.pdf
#
# NWG_R1_V1.2-Stage-3.pdf
# RADIUS discussion is on pp. 432-498
# WiMAX VSA's are on p. 450 and following.
#
# DHCP && MIP keys are on p.48 and following.
#
# WiMAX ... | |
wireshark/resources/protocols/radius/dictionary.wimax.alvarion | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Alvarion has taken it on themselves to produce a WiMAX dictionary
# which is NOT the same as the standard WiMAX dictionary. If you
# want to use this fil... | |
wireshark/resources/protocols/radius/dictionary.wimax.wichorus | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# This is a WiMAX dictionary for the WiChorus line of products.
# It is NOT compatible with the normal WiMAX dictionary.
# It CANNOT be used at the same tim... | |
wireshark/resources/protocols/radius/dictionary.wispr | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# dictionary.wispr
#
# VSAs originally by
# "James Underwood" <underwood@comcast.net>
#
# Version: $Id: 2296e60a3912ca078f19f81457d20658950bc63d $
#
# For documentation on WISPr RADIUS attributes, see:
#
# Wi-Fi Alliance - Wireless ... | |
wireshark/resources/protocols/radius/dictionary.xedia | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# XEDIA, AP series routers
# From Yard RADIUS, and Piotr Orlewicz, porlewicz@teleton.pl www.real-data.pl
#
# $Id: 24560a99e7bd24718fe175c3fb0b... | |
wireshark/resources/protocols/radius/dictionary.xylan | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Xylan dictionary
#
# $Id: 8a45a1fb26b16d2eafcd800efc79643e9fb3082f $
#
##############################################################################
VEN... | |
wireshark/resources/protocols/radius/dictionary.yubico | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Yubico VSA's
#
# $Id: 618597605ce29d7bee6887bf2c2cd10e72009593 $
#
##############################################################################
VENDOR ... | |
wireshark/resources/protocols/radius/dictionary.zeus | # dictionary.zeus
# Zeus Packet RADIUS Dictionary
#
# http://www.zeus.com
#
#
VENDOR Zeus 7146
BEGIN-VENDOR Zeus
#
# ZXTM Group Attributes
#
ATTRIBUTE Zeus-ZXTM-Group 1 string
END-VENDOR Zeus | |
wireshark/resources/protocols/radius/dictionary.zte | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
#
# For ZTE.
#
# $Id: aab6f65f9daba7bc0b5317e4a732292e5ac53cb1 $
#
# QoS attributes Mostly derived from:
# http://wwwen.zte.com.cn/en/products/bearer/201308/P020130828522349526032.pdf
#
VENDOR ZTE 3902
BEGIN-VENDOR ZTE
A... | |
wireshark/resources/protocols/radius/dictionary.zyxel | # -*- text -*-
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
# Zyxel attributes, of course in the RFC space...
#
# $Id: 966af2b33a02ed7ef370cfcb837bd175ad8fab00 $
#
####################################################... | |
wireshark/resources/protocols/radius/README.radius_dictionary | [Dec-01-2010]
Commented out global VSA:s from dictionary.ascend to avoid name clashes with IANA assigned VSA:s
https://gitlab.com/wireshark/wireshark/-/issues/5455
[Jul-09-2009]
As of the above date the dictionary files in this directory are those from the FreeRadius 2.1.6 [May-18-2009] release
with the following c... | |
wireshark/resources/protocols/tpncp/tpncp.dat | Audiocodes TrunkPack Network Control Protocol (TPNCP) Version L7.40.016.001
acEV_NONE 0
acEV_ERROR 1
acEV_DIGIT 2
acEV_TONE 3
acEV_DIAL_ENDED 4
acEV_TONE_ENDED 5
acEV_VOICE_PROMPT_ENDED 6
acEV_DEBUG 7
acEV_RTCP 8
acEV_DETECT_FAX 10
acEV_END_FAX 11
acEV_DETECT_MODEM 12
acEV_END_MODEM 13
acEV_ON_HOOK 14
acEV_OFF_HOOK 15
... | |
wireshark/resources/protocols/wimaxasncp/dictionary.dtd | <?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT dictionary (tlv+)>
<!ELEMENT tlv (enum*)>
<!ATTLIST tlv
name CDATA #REQUIRED
type CDATA #REQUIRED
decoder CDATA #IMPLIED
since CDATA #IMPLIED
>
<!ELEMENT enum EMPTY>
<!ATTLIST enum
name CDATA #REQUIRED
code CDATA #REQUIRED
> | |
HTML | wireshark/resources/share/doc/wireshark/ipmap.html | <!doctype html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<title>Wireshark: IP Location Map</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css"
integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFc... |
wireshark/resources/share/doc/wireshark/pdml2html.xsl | <?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- This XSLT will convert a PDML file, saved by Wireshark, into
HTML. The HTML page should look similar to Wireshark. See
https://gitlab.com/wireshark/wireshark/-/wikis/PDML for information
on how to g... | |
wireshark/resources/share/logray/colorfilters | # This file was created by Logray. Edit with care.
@Errors@ct.error@[4626,10023,11822][63479,34695,34695]
@State Modifying Event@ct.readonly == "false"@[61423,50372,39578][0,0,0]
@Administrative Activity@cloudtrail and not (ct.name ~ "^Describe.*" or ct.name ~ "^List.*" or ct.name ~ "^(Batch|)Get.*")@[61423,50372,3957... | |
wireshark/resources/share/logray/dfilter_buttons | # This file is automatically generated, DO NOT MODIFY.
"TRUE","S3","ct.shortsrc == \x22s3\x22","S3 events"
"TRUE","EC2","ct.shortsrc == \x22ec2\x22","EC2 events"
"TRUE","S3 PutObject","ct.name == \x22PutObject\x22",""
"TRUE","Writes","ct.readonly == \x22false\x22","" | |
wireshark/resources/share/wireshark/cfilters | "Ethernet address 00:00:5e:00:53:00" ether host 00:00:5e:00:53:00
"Ethernet type 0x0806 (ARP)" ether proto 0x0806
"No Broadcast and no Multicast" not broadcast and not multicast
"No ARP" not arp
"IPv4 only" ip
"IPv4 address 192.0.2.1" host 192.0.2.1
"IPv6 only" ip6
"IPv6 address 2001:db8::1" host 2001:db8::1
"TCP only"... | |
wireshark/resources/share/wireshark/colorfilters | # DO NOT EDIT THIS FILE! It was created by Wireshark
@Bad TCP@tcp.analysis.flags && !tcp.analysis.window_update && !tcp.analysis.keep_alive && !tcp.analysis.keep_alive_ack@[4718,10030,11796][63479,34695,34695]
@HSRP State Change@hsrp.state != 8 && hsrp.state != 16@[4718,10030,11796][65535,64764,40092]
@Spanning Tree T... | |
wireshark/resources/share/wireshark/dfilters | "Ethernet address 00:00:5e:00:53:00" eth.addr == 00:00:5e:00:53:00
"Ethernet type 0x0806 (ARP)" eth.type == 0x0806
"Ethernet broadcast" eth.addr == ff:ff:ff:ff:ff:ff
"No ARP" not arp
"IPv4 only" ip
"IPv4 address 192.0.2.1" ip.addr == 192.0.2.1
"IPv4 address isn't 192.0.2.1" ip.addr != 192.0.2.1
"IPv6 only" ipv6
"IPv6 a... | |
wireshark/resources/share/wireshark/dfilter_macros | # DO NOT MODIFY
# This file is the macro file shipped with Wireshark.
# For your personal macros, use the same file in your profile dir.
"private_ipv4","$1 == 192.168.0.0/16 or $1 == 172.16.0.0/12 or $1 == 10.0.0.0/8"
"private_ethernet","$1[0] & 0x0F == 2"
"private_ipv6", "ipv6 && $1 == fc00::/7" | |
wireshark/resources/share/wireshark/smi_modules | # Default MIB modules to load
"IP-MIB"
"IF-MIB"
"TCP-MIB"
"UDP-MIB"
"SNMPv2-MIB"
"RFC1213-MIB"
"IPV6-ICMP-MIB"
"IPV6-MIB"
"SNMP-COMMUNITY-MIB"
"SNMP-FRAMEWORK-MIB"
"SNMP-MPD-MIB"
"SNMP-NOTIFICATION-MIB"
"SNMP-PROXY-MIB"
"SNMP-TARGET-MIB"
"SNMP-USER-BASED-SM-MIB"
"SNMP-USM-DH-OBJECTS-MIB"
"SNMP-VIEW-BASED-ACM-MIB" | |
wireshark/resources/share/wireshark/profiles/Bluetooth/colorfilters | # DO NOT EDIT THIS FILE! It was created by Wireshark
@Bad TCP@tcp.analysis.flags && !tcp.analysis.window_update@[0,0,0][65535,24383,24383]
@HSRP State Change@hsrp.state != 8 && hsrp.state != 16@[0,0,0][65535,63222,0]
@Spanning Tree Topology Change@stp.type == 0x80@[0,0,0][65535,63222,0]
@OSPF State Change@ospf.msg !=... | |
wireshark/resources/share/wireshark/profiles/Bluetooth/preferences | ####### User Interface: Columns ########
# Packet list column format
# Each pair of strings consists of a column title and its format
gui.column.format:
"No.", "%m",
"Time", "%Yt",
"Delta", "%Gt",
"Source", "%s",
"Destination", "%d",
"Protocol", "%p",
"Length", "%L",
"Info", "%i"
####### User Interface: Layou... | |
wireshark/resources/share/wireshark/profiles/Classic/colorfilters | # DO NOT EDIT THIS FILE! It was created by Wireshark
@Bad TCP@tcp.analysis.flags && !tcp.analysis.window_update && !tcp.analysis.keep_alive && !tcp.analysis.keep_alive_ack@[0,0,0][65535,24383,24383]
@HSRP State Change@hsrp.state != 8 && hsrp.state != 16@[0,0,0][65535,63222,0]
@Spanning Tree Topology Change@stp.type =... | |
wireshark/resources/share/wireshark/profiles/No Reassembly/preferences | # Generated by make-no-reassembly-profile.py
####### Protocols ########
aim.desegment: FALSE
aol.desegment: FALSE
atp.desegment: FALSE
bzr.desegment: FALSE
bgp.desegment: FALSE
bitcoin.desegment: FALSE
bittorrent.desegment: FALSE
bthci_acl.hci_acl_reassembly: FALSE
bthci_iso.hci_iso_reassembly: FALSE
bmp.desegment: F... | |
Shell Script | wireshark/resources/stock_icons/svg-to-png.sh | #!/bin/bash
# svg-to-png
# Convert SVG files to 1x and 2x PNGs. Dump a list of Qt resource
# file entries upon successful completion.
#
# Copyright 2014 Gerald Combs <gerald [AT] wireshark.org>
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# SPDX-Licen... |
Python | wireshark/test/conftest.py | #
# Wireshark tests
#
# Copyright (c) 2018 Peter Wu <peter@lekensteyn.nl>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''pytest configuration'''
def pytest_addoption(parser):
parser.addoption('--disable-capture', action='store_true',
help='Disable capture tests'
)
parser.addoption('--program-p... |
Python | wireshark/test/fixtures_ws.py | #
# Wireshark tests
#
# Copyright (c) 2018 Peter Wu <peter@lekensteyn.nl>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Fixtures that are specific to Wireshark.'''
from contextlib import contextmanager
import os
import re
import subprocess
import sys
import tempfile
import types
import pytest
@pytest.fixture(sco... |
wireshark/test/hosts.custom | # Custom profile hosts
# Matches addresses in dns+icmp.pcapng.gz
4.2.2.2 custom-4-2-2-2
174.137.42.65 custom-174-137-42-65 | |
wireshark/test/hosts.global | # Global hosts
# Matches addresses in dns+icmp.pcapng.gz
8.8.8.8 global-8-8-8-8
8.8.4.4 global-8-8-4-4 | |
wireshark/test/hosts.personal | # Default profile / personal hosts
# Matches addresses in dns+icmp.pcapng.gz
8.8.4.4 personal-8-8-4-4
4.2.2.2 personal-4-2-2-2 | |
Python | wireshark/test/matchers.py | #
# Wireshark tests
#
# Copyright (c) 2018 Peter Wu <peter@lekensteyn.nl>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Helpers for matching test results.'''
import re
class MatchAny(object):
'''Matches any other value.'''
def __init__(self, type=None):
self.type = type
def __eq__(self, oth... |
wireshark/test/README.test | Wireshark Tests
The recommended steps to prepare for and to run tests:
* Install two Python packages, pytest: `pip install pytest pytest-xdist`
* Build programs (“wireshark”, “tshark”, etc.): `ninja`
* Build additional programs for the “unittests” suite: `ninja test-programs`
* Run tests in the build directory: `pyte... | |
Python | wireshark/test/sampleif.py | #!/usr/bin/env python3
#
# Wireshark test dummy extcap
#
# Copyright (c) 2018-2019 Peter Wu <peter@lekensteyn.nl>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
import argparse, codecs, os, sys
parser = argparse.ArgumentParser()
# Actions
parser.add_argument('--extcap-interfaces', action='store_true')
parser.add_arg... |
Python | wireshark/test/subprocesstest.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Subprocess test case superclass'''
import os
import os.path
import re
import subprocess
import sys
import enum
# To do:
# - Add a ... |
Python | wireshark/test/suite_capture.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Capture tests'''
import glob
import hashlib
import os
import socket
import subprocess
import subprocesstest
from subprocesstest imp... |
Python | wireshark/test/suite_clopts.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Command line option tests'''
import json
import sys
import os.path
import subprocess
import subprocesstest
from subprocesstest impo... |
Python | wireshark/test/suite_decryption.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Decryption tests'''
import os.path
import shutil
import subprocess
from subprocesstest import grep_output, count_output
import sys
... |
Python | wireshark/test/suite_dissection.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Dissection tests'''
import sys
import os.path
import subprocess
from subprocesstest import count_output, grep_output
import pytest
... |
Python | wireshark/test/suite_extcaps.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Copyright (c) 2019 Dario Lombardo <lomato@gmail.com>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''extcap tests'''
import subprocess
import re
import os
import sys
import pytest
@pytest.fixture
def check_extcap_execution(cmd_extcap, program_path, ... |
Python | wireshark/test/suite_fileformats.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''File format conversion tests'''
import os.path
from subprocesstest import count_output
import subprocess
import pytest
# XXX Curre... |
Python | wireshark/test/suite_follow.py | #
# Wireshark tests
#
# Copyright (c) 2018 Peter Wu <peter@lekensteyn.nl>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Follow Stream tests'''
import subprocess
import pytest
class TestFollowTcp:
def test_follow_tcp_bad_conditions(self, cmd_tshark, capture_file):
'''Checks whether Follow TCP correct... |
Python | wireshark/test/suite_follow_dccp.py | #
# Wireshark tests
#
# Copyright 2020-2021 by Thomas Dreibholz <dreibh [AT] simula.no>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Follow DCCP Stream tests'''
import subprocess
import pytest
class TestFollowDCCP:
def test_follow_dccp_existing_flow(self, cmd_tshark, capture_file, test_env):
'''Che... |
Python | wireshark/test/suite_follow_multistream.py | #
# Wireshark tests
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Follow QUIC/HTTP2 Stream tests'''
import subprocess
import pytest
class TestFollowMultistream:
def test_follow_http2_multistream(self, cmd_tshark, capture_file, test_env, features):
'''Checks whether Follow HTTP2 correctly handles mul... |
Python | wireshark/test/suite_io.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''File I/O tests'''
import io
import os.path
import subprocess
from subprocesstest import cat_dhcp_command, check_packet_count
import... |
Python | wireshark/test/suite_mergecap.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Mergecap tests'''
import re
import subprocess
from subprocesstest import grep_output
testout_pcap = 'testout.pcap'
testout_pcapng ... |
Python | wireshark/test/suite_nameres.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Name resolution tests'''
import os.path
import shutil
import subprocess
from subprocesstest import grep_output
import pytest
tf_st... |
Python | wireshark/test/suite_outputformats.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Copyright (c) 2018 Dario Lombardo <lomato@gmail.com>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''outputformats tests'''
import json
import os.path
import subprocess
from matchers import *
import pytest
@pytest.fixture
def check_outputformat(cmd_t... |
Python | wireshark/test/suite_release.py | #
# Wireshark tests
#
# Copyright (c) 2019 Gerald Combs <gerald@wireshark.org>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Release tests'''
import re
import subprocess
import types
import pytest
@pytest.fixture
def wireshark_features(request, cmd_wireshark, make_env):
'''
Returns an object describing a... |
Python | wireshark/test/suite_sharkd.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Copyright (c) 2018 Peter Wu <peter@lekensteyn.nl>
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''sharkd tests'''
import json
import subprocess
import pytest
from matchers import *
@pytest.fixture(scope='session')
def cmd_sharkd(program):
return... |
Python | wireshark/test/suite_text2pcap.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Text2pcap tests'''
import re
import subprocess
from subprocesstest import get_capture_info, grep_output
import json
import pytest
... |
Python | wireshark/test/suite_unittests.py | #
# Wireshark tests
# By
# Gerald Combs <gerald@wireshark.org>
# Gilbert Ramirez <gram [AT] alumni.rice.edu>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''EPAN unit tests'''
import subprocess
import pytest
class TestUnitTests:
def t... |
Python | wireshark/test/suite_wslua.py | #
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Wireshark Lua scripting tests'''
import sys
import filecmp
import os.path
import shutil
import subprocess
import pytest
import logg... |
Shell Script | wireshark/test/travis-upload-artifacts.sh | #!/bin/bash
# Publishes artifacts from a Travis CI build.
#
# Copyright (C) 2019 Peter Wu <peter@lekensteyn.nl>
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Currently it dumps a base64-encoded xz-compressed tarball as Travis CI
# does not have a nice way to publish artifacts (like Gitlab does).
#
shopt -s nullglob
... |
Python | wireshark/test/util_dump_dhcp_pcap.py | #!/usr/bin/env python3
#
# Wireshark tests
# By Gerald Combs <gerald@wireshark.org>
#
# Ported from a set of Bash scripts which were copyright 2005 Ulf Lamping
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
'''Write captures/dhcp.pcap to stdout, optionally writing only packet records or writing them slowly.'''
import... |
Text | wireshark/test/baseline/communityid.txt | 1:dGHyGvjMfljg6Bppwm3bg0LO8TY=
1:dGHyGvjMfljg6Bppwm3bg0LO8TY=
1:BtEUCMYecYjJ7spEkVZDiCFaMTY=
1:BtEUCMYecYjJ7spEkVZDiCFaMTY=
1:ORxAZfN3ld7Sv73/HQTNnvgxbpY=
1:ORxAZfN3ld7Sv73/HQTNnvgxbpY=
1:zavyT/cezQr1fmImYCwYnMXbgck=
1:zavyT/cezQr1fmImYCwYnMXbgck=
1:dGHyGvjMfljg6Bppwm3bg0LO8TY=
1:dGHyGvjMfljg6Bppwm3bg0LO8TY=
1:NdobDX8P... |
wireshark/test/baseline/dhcp-filter.ek | {"index":{"_index":"packets-2004-12-05","_type":"doc"}}
{"timestamp":"1102274184317","layers":{"frame":{"filtered":"frame"},"eth":{"filtered":"eth"},"ip":{"filtered":"ip"},"udp":{"filtered":"udp"},"dhcp":{"dhcp_dhcp_type":{"filtered":"dhcp.type"},"dhcp_dhcp_hw_type":{"filtered":"dhcp.hw.type"},"dhcp_dhcp_hw_len":{"filt... | |
wireshark/test/baseline/dhcp-raw.ek | {"index":{"_index":"packets-2004-12-05","_type":"doc"}}
{"timestamp":"1102274184317","layers":{"dhcp_raw":"0101060000003d1d0000000000000000000000000000000000000000000b8201fc420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000... | |
wireshark/test/baseline/dhcp.ek | {"index":{"_index":"packets-2004-12-05","_type":"doc"}}
{"timestamp":"1102274184317","layers":{"dhcp":{"dhcp_dhcp_option_requested_ip_address":"0.0.0.0","dhcp_dhcp_hw_type":["0x01","0x01"],"dhcp_dhcp_ip_your":"0.0.0.0","dhcp_dhcp_flags":"0x0000","dhcp_dhcp_option_value":["01","01:00:0b:82:01:fc:42","00:00:00:00","01:03... | |
JSON | wireshark/test/baseline/dhcp.json | [
{
"_index": "packets-2004-12-05",
"_type": "doc",
"_score": null,
"_source": {
"layers": {
"frame": {
"frame.encap_type": "1",
"frame.time": "Dec 5, 2004 19:16:24.317453000 UTC",
"frame.offset_shift": "0.000000000",
"frame.time_epoch": "11022741... |
wireshark/test/baseline/dhcp.jsonraw | [
{
"_index": "packets-2004-12-05",
"_type": "doc",
"_score": null,
"_source": {
"layers": {
"frame_raw": [
"ffffffffffff000b8201fc4208004500012ca8360000fa11178b00000000ffffffff004400430118591f0101060000003d1d0000000000000000000000000000000000000000000b8201fc4200000000000000000... | |
JSON | wireshark/test/baseline/elastic-mapping-ip-subset.json | {
"settings": {
"index.mapping.total_fields.limit": 1000000
},
"mappings": {
"dynamic": false,
"properties": {
"timestamp": {
"type": "date"
},
"layers": {
"properties": {
"ip": {
"properties": {
"ip_ip_version": {
"... |
Text | wireshark/test/baseline/ff-ts-usec-pcap-direct.txt | 1 1102274184.317453000 0.000000000
2 1102274184.317748000 0.000295000
3 1102274184.387484000 0.069736000
4 1102274184.387798000 0.000314000 |
wireshark/test/captures/cose_encrypt0_tagged.cbordiag | 16(
[
/ protected h'a1010a' / << {
/ alg / 1:10 / AES-CCM-16-64-128 /
} >> ,
/ unprotected / {
/ iv / 5:h'89f52f65a1c580933b5261a78c'
},
/ ciphertext / h'5974e1b99a3a4cc09a659aa2e9e7fff161d38ce71cb45ce
460ffb569'
]
) | |
wireshark/test/captures/cose_encrypt_tagged.cbordiag | 96(
[
/ protected h'a1010a' / << {
/ alg / 1:10 / AES-CCM-16-64-128 /
} >>,
/ unprotected / {
/ iv / 5:h'89f52f65a1c580933b5261a76c'
},
/ ciphertext / h'753548a19b1307084ca7b2056924ed95f2e3b17006dfe93
1b687b847',
/ recipients / [
[
/ protected h'a10129' / << {... | |
wireshark/test/captures/cose_keyset.cbordiag | [
{
1:2,
2:'meriadoc.brandybuck@buckland.example',
-1:1,
-2:h'65eda5a12577c2bae829437fe338701a10aaa375e1bb5b5de108de439c0
8551d',
-3:h'1e52ed75701163f7f9e40ddf9f341b3dc9ba860af7e0ca7ca7e9eecd008
4d19c',
-4:h'aff907c99f9ad3aae6c4cdf21122bce2bd68b5283e6907154ad911840fa
208cf'
},
{
1:4,
... | |
wireshark/test/captures/cose_mac0_tagged.cbordiag | 17(
[
/ protected h'a1010f' / << {
/ alg / 1:15 / AES-CBC-MAC-256//64 /
} >> ,
/ unprotected / {},
/ payload / 'This is the content.',
/ tag / h'726043745027214f'
]
) | |
wireshark/test/captures/cose_mac_tagged.cbordiag | 97(
[
/ protected h'a10105' / << {
/ alg / 1:5 / HMAC 256//256 /
} >> ,
/ unprotected / {},
/ payload / 'This is the content.',
/ tag / h'bf48235e809b5c42e995f2b7d5fa13620e7ed834e337f6aa43df16
1e49e9323e',
/ recipients / [
[
/ protected h'a101381c' / << {
... | |
wireshark/test/captures/cose_sign1_tagged.cbordiag | 18(
[
/ protected h'a10126' / << {
/ alg / 1:-7 / ECDSA 256 /
} >>,
/ unprotected / {
/ kid / 4:'11'
},
/ payload / 'This is the content.',
/ signature / h'8eb33e4ca31d1c465ab05aac34cc6b23d58fef5c083106c4
d25a91aef0b0117e2af9a291aa32e14ab834dc56ed2a223444547e01f11d3b0916e5
a4... | |
wireshark/test/captures/cose_sign_tagged.cbordiag | 98(
[
/ protected h'a2687265736572766564f40281687265736572766564' /
<< {
"reserved":false,
/ crit / 2:[
"reserved"
]
} >>,
/ unprotected / {},
/ payload / 'This is the content.',
/ signatures / [
[
/ protected h'a10126' / << {
... | |
wireshark/test/captures/dhcp-nanosecond.pcapng | t M<+ ÿÿÿÿÿÿÿÿ Mac OS 10.6.8 (Darwin 10.8.0) * Dumpcap 1.7.1 (SVN Rev 41510 from /trunk) t L ÿÿ - Mac OS 10.6.8 (Darwin 10.8.0) L \ ‡LÈBSÑ: : ÿÿÿÿÿÿ ‚üB E ,¨6 ú‹ ÿÿÿÿ D CY = ‚üB ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.