Jan Grashoefer
b765c95d6e
Updated detection of Flash and AdobeAIR.
2015-07-24 14:33:53 +02:00
Johanna Amann
0e213352d7
Rename Pacf to NetControl
2015-07-08 12:34:42 -07:00
Johanna Amann
eb9fbd1258
Merge remote-tracking branch 'origin/master' into topic/johanna/openflow
2015-07-08 12:15:09 -07:00
Johanna Amann
17796182c6
fix acld plugin to use address instead of subnet (and add functions for
...
conversion)
2015-06-05 00:00:20 -07:00
Johanna Amann
cedb80ff74
implement quarantine
2015-06-04 16:21:30 -07:00
Johanna Amann
e6834367fd
miscelaneous missing bits and pieces
2015-06-04 11:16:42 -07:00
Johanna Amann
ee645dfce9
Acld implementation for Pacf - Bro side.
...
Still needs a few small fixes to deal with the fact that acld does not
always accept subnets.
2015-06-03 11:06:01 -07:00
Johanna Amann
f88a1337c0
add basic catch-and-release functionality (without own logging so far).
2015-06-02 15:04:11 -07:00
Johanna Amann
1439c244fc
add hook to pacf that allows users to modify all rules or implement
...
whitelists or similar.
2015-06-02 14:23:25 -07:00
Johanna Amann
ed40855152
add support for multiple backends with same priority
2015-06-02 12:34:44 -07:00
Robin Sommer
a6618eb964
Merge branch 'master' of git.bro.org:bro
2015-06-02 10:37:31 -07:00
Seth Hall
217ccf6063
Add signature support for F4M files.
2015-06-02 12:48:53 -04:00
Daniel Thayer
45caf8d2c1
Add missing documentation on the "Bro Package Index" page
2015-06-02 10:00:00 -05:00
Johanna Amann
269e80b3e1
make pacf logging deal with wildcards in flows.
2015-06-01 18:57:16 -07:00
Johanna Amann
ae18062761
add whitelist and redirect high-level functions
2015-06-01 15:57:58 -07:00
Johanna Amann
2f1ebed2e9
set the default idle timeout to 0 (= disable), because pacf actually
...
does not directly support this concept. If someone wants idle timeouts,
they can just re-enable them with a redef.
2015-06-01 10:46:39 -07:00
Daniel Thayer
24701f2678
Fix a "make doc" warning
...
Also fixed some indentation.
2015-05-29 14:38:50 -05:00
Johanna Amann
3bd513785f
make rule id generation in non-cluster mode work again
2015-05-28 16:58:55 -07:00
Johanna Amann
99dcb40c67
Clusterize pacf
...
This changes the type of user-exposed IDs from counts to strings.
Also makes the init functions work for the first time.
2015-05-27 18:01:53 -07:00
Johanna Amann
ad2361b7ac
remove (disfunctional) notifications from pacf
2015-05-27 07:37:50 -07:00
Johanna Amann
f2be226a5a
make openflow framework work in clusters.
2015-05-26 13:55:16 -07:00
Johanna Amann
0a49b8cdf6
add pacf plugin that directly outputs messages to broker.
...
Also fix a few problems in pacf in the process of doing this.
2015-05-26 11:19:55 -07:00
Daniel Thayer
9cde2be727
Merge remote-tracking branch 'origin/master' into topic/dnthayer/doc-improvements-2.4
2015-05-25 11:59:34 -05:00
Johanna Amann
94fbd492ca
update a few consts to openflow 1.3 - we downconvert them to the less
...
common 1.0 in the controller when necessary.
2015-05-23 12:17:56 -07:00
Johanna Amann
30e305cf4b
we also really want to get notifications upon flow removal
2015-05-22 19:19:11 -07:00
Johanna Amann
870acea8a9
deal with the fact that some pacf rules create two openflow messages
...
and that the return events need to unify them again...
More or less untested.
2015-05-22 18:59:40 -07:00
Johanna Amann
93b79c87bd
it makes much more sense for the high level api to still return rule
...
numbers.
2015-05-22 18:07:57 -07:00
Johanna Amann
b9953e7048
change type of flow_mod entries to count - the type is defined in other
...
records and this leads to unfortunate problems with external scripts that would
have to convert values into bro port types themseves.
2015-05-22 13:37:57 -07:00
Johanna Amann
5f0a630116
add support for switches notifying openflow and pacf about flow removal.
...
I just noticed - the OpenFlow events also really should send the
instance of openflow that they are with them. That is a... tad
complicated though due to a number of reasons (among others how the
events are currently generated), so this will have to wait for a bit.
2015-05-18 13:38:38 -07:00
Johanna Amann
c0111bc4d2
add flow modification to pacf and openflow.
...
More or less untested, but there should not be any big problems.
2015-05-15 13:29:44 -07:00
Johanna Amann
6014b395b8
handle the notification events correctly.
...
Now if a rule is inserted correctly (or fails to be inserted) into
openflow, we actually get the corresponding Pacf events that everything
worked.
2015-05-15 11:24:18 -07:00
Johanna Amann
8c292ddd49
Allow pacf openflow plugin to speficy a priority offset.
2015-05-14 08:15:43 -07:00
Johanna Amann
208d150a0e
Change openflow plugin for broker and allow specification of topics per
...
instance.
2015-05-13 16:23:24 -07:00
Johanna Amann
73d22a2dbd
add Pacf plugin for the internal Bro PacketFilter (not BPF)
2015-05-12 15:12:16 -07:00
Johanna Amann
ed65fdb6ba
Make Flow a separate, more flexible type in PACF.
...
This allows the use of wildcards, etc. in rules and removes the need
for a few entity types that were separate so far.
2015-05-12 13:37:16 -07:00
Johanna Amann
a51ee45e05
Merge remote-tracking branch 'origin/master' into topic/johanna/openflow
2015-05-12 13:08:32 -07:00
Johanna Amann
a403dbd83e
add broker output plugin for openflow (at the moment we more or less
...
just send the flow_mod event along - there still is no feedback) and add
a testcase for it.
Also fix a few other small problems.
2015-04-20 16:07:00 -07:00
Robin Sommer
ed91732e09
Merge remote-tracking branch 'origin/topic/seth/more-file-type-ident-fixes'
...
* origin/topic/seth/more-file-type-ident-fixes:
File API updates complete.
Fixes for file type identification.
API changes to file analysis mime type detection.
Make HTTP 206 reassembly require ETags by default.
More file type identification improvements
Fix an issue with files having gaps before the bof_buffer is filled.
Fix an issue with packet loss in http file reporting.
Adding WOFF fonts to file type identification.
Extended JSON matching and added OCSP responses.
Another large signature update.
More signature updates.
Even more file type ident clean up.
Lots of fixes for file type identification.
BIT-1368 #merged
2015-04-20 13:31:00 -07:00
Johanna Amann
1fb7f5121e
Merge remote-tracking branch 'origin/master' into topic/johanna/openflow
2015-04-20 11:27:24 -07:00
Seth Hall
ed375167c8
File API updates complete.
...
Addresses BIT-1368.
2015-04-20 10:46:48 -04:00
Seth Hall
038e4c24f6
Merge remote-tracking branch 'origin/topic/jsiwek/bit-1368' into topic/seth/more-file-type-ident-fixes
...
Conflicts:
src/file_analysis/File.cc
testing/btest/Baseline/plugins.hooks/output
2015-04-20 09:36:40 -04:00
Seth Hall
faabe8a5e3
Fixes for file type identification.
...
- Backed out eTag changes. The real world is more complicated
than just using eTags to identify the same file.
- A bit of code simplication in the http base scripts.
- Test updates (more existing small problems were identified!).
-
2015-04-20 09:34:09 -04:00
Johanna Amann
e21238d454
add a few more flow_mod options and the option to check via a predicate
...
if a module wants to be responsible for a certain rule...
2015-04-16 15:44:46 -07:00
Johanna Amann
a3bfa92125
introduce more mac address mac types, support them in OpenFlow plugin,
...
add support for a few rule types in OpenFlow plugin and add predicates
for matches and flow_mod modifiers.
2015-04-15 11:11:40 -07:00
Johanna Amann
7d7578146f
Add basic OpenFlow plugin for Pacf.
...
This also changes a few types in pacf and adds a few needed bits and
pieces to the OpenFlow framework.
And - it even has a testcase...
2015-04-14 15:24:22 -07:00
Johanna Amann
aad988d2f2
get rid of pacf prototype that we did not use.
2015-04-14 15:15:25 -07:00
Johanna Amann
c42fbdab12
move openflow to use subnets instead of addr for matches.
2015-04-14 15:00:49 -07:00
Johanna Amann
00204ab8a6
introduce &weaken attribute, which basically only prevents
...
the describe function for types to descend into record fields that
are marked with it.
With this, we can actually load the pacf scripts without crashing Bro
when running tests :)
2015-04-13 16:05:55 -07:00
Johanna Amann
21b78b7d92
add really simple log output plugin for openflow.
2015-04-13 12:55:38 -07:00
Jon Siwek
a55ce01ef3
API changes to file analysis mime type detection.
...
Removed "file_mime_type" and "file_mime_types" event, replacing them
with a new event called "file_metadata_inferred". It has a record
argument of type "inferred_file_metadata", which contains the mime type
information that the earlier events used to supply. The idea here is
that future extensions to the record with new metadata will be less
likely to break user code than the alternatives (adding new events or
new event parameters).
Addresses BIT-1368.
2015-04-10 16:31:29 -05:00