<commit_before># various CORE services that implement dns-services
#
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

# TODO fix pid names
import os

from socket import AF_INET
from socket import AF_INET6

from core.service import CoreService, addservice
from core.misc.ipaddr import IPv4Addr, IPv6Addr
from core.misc.ipaddr import IPv4Prefix, IPv6Prefix
from core.misc.ipaddr import isIPv4Address, isIPv6Address
from core.misc.ipaddr import Loopback, Interface
from core.misc.netid import NetIDNodeMap
from core.misc.utils import *
from core.constants import *

from core.services import service_helpers
from core.services import service_flags

class DNSServices(CoreService):
    """ Parent class for DNS services """
    _name = "DNS services"
    _group = "DNS"
    _depends = ()
    _dirs = ()
    _configs = ()<commit_msg>[services/dns_services] corrected LICENSE header<commit_after># various CORE services that implement dns-services
#
# Copyright (C) 2014 Benocs GmbH
#
# author: <NAME> <<EMAIL>>
#
# See the LICENSE file included in this distribution.
#

# TODO fix pid names
import os

from socket import AF_INET
from socket import AF_INET6

from core.service import CoreService, addservice
from core.misc.ipaddr import IPv4Addr, IPv6Addr
from core.misc.ipaddr import IPv4Prefix, IPv6Prefix
from core.misc.ipaddr import isIPv4Address, isIPv6Address
from core.misc.ipaddr import Loopback, Interface
from core.misc.netid import NetIDNodeMap
from core.misc.utils import *
from core.constants import *

from core.services import service_helpers
from core.services import service_flags

class DNSServices(CoreService):
    """ Parent class for DNS services """
    _name = "DNS services"
    _group = "DNS"
    _depends = ()
    _dirs = ()
    _configs = ()
{'fraction_non_alphanumeric': 0.06933115823817292, 'fraction_numerical': 0.015089722675367047, 'mean_word_length': 4.537246049661399, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7137296', 'n_tokens_mistral': 744, 'n_tokens_neox': 697, 'n_words': 295}