forked from hasameli/foghorn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
77 lines (63 loc) · 2.14 KB
/
setup.py
File metadata and controls
77 lines (63 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/env python
'''
Packing for Foghorn.
:copyright: (c) 2016 by Eric Rand and Nik LaBelle
:license: MIT, see docs/LICENSING for more details.
'''
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# SETTINGS
# --------
DEPENDENCIES = [
'twisted'
]
SHORT_DESCRIPTION = 'Foghorn is a configurable DNS proxy to allow for black-, white-, and greylisting of DNS resources.'
LONG_DESCRIPTION = '''Foghorn is a configurable DNS proxy to allow for
black-, white-, and greylisting of DNS resources.
foghorn MUST be positioned within a network with egress filtering enabled
for DNS - only the local resolver can be allowed to make outbound requests
for DNS.
Also, squid or some similar proxy should be in place to filter naked
IP requests, in order to mitigate the possibility of certain workarounds
that would otherwise be available to attackers.
After baselining, the workstations that you desire to protect should be
configured to use the foghorn server as their DNS resolver, and any ACLs
adjusted accordingly.
'''
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Security',
'Topic :: System :: Networking :: Monitoring',
'Operating System :: Unix',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
]
# SETUP
# -----
setup(name='Foghorn',
version="0.0.1",
description=SHORT_DESCRIPTION,
long_description=LONG_DESCRIPTION,
author="Eric Rand",
author_email="foghorn@hasameli.com",
maintainer="Eric Rand",
maintainer_email="foghorn@hasameli.com",
packages=['foghornd'],
package_data={'foghornd': [
'greydns/*',
'settings.json'
]},
scripts=['foghorn.py', 'foghornd.tac'],
include_package_data=True,
install_requires=DEPENDENCIES,
setup_requires=DEPENDENCIES,
zip_safe=False,
)