Mike Salvatore
|
84aa993a8b
|
Island: Improve `event` docstring in IIslandEventQueue
|
2022-09-06 15:08:50 -04:00 |
Mike Salvatore
|
01ff1711c6
|
Merge pull request #2246 from guardicore/2233-pypubsubislandeventqueue
Add PyPubSubIslandEventQueue
|
2022-09-06 15:06:08 -04:00 |
Mike Salvatore
|
4e4331c5c3
|
Common: s/event/kwargs in PyPubSubPublisherWrapper comment
|
2022-09-06 15:05:29 -04:00 |
Mike Salvatore
|
1036189fcc
|
Island: Rename _pypubsub_publisher_wrappe{d,r}
|
2022-09-06 15:01:10 -04:00 |
Mike Salvatore
|
b16d19e0ed
|
Common: Rename _pypubsub_publisher_wrappe{d,r}
|
2022-09-06 15:00:24 -04:00 |
Mike Salvatore
|
76fe0be990
|
Agent: Address addr type TODO in RelayConnectionHandler
|
2022-09-06 14:54:13 -04:00 |
Mike Salvatore
|
1cd544e227
|
Agent: Call mixin constructor in TCPConnectionHandler
|
2022-09-06 14:50:42 -04:00 |
Mike Salvatore
|
7edb15d825
|
Agent: Fix host/port initialization in TCPConnectionHandler
|
2022-09-06 14:43:23 -04:00 |
Mike Salvatore
|
17356ca079
|
Agent: Fix del_key() import in relay_user_handler.py
|
2022-09-06 14:42:53 -04:00 |
Mike Salvatore
|
017aabe8f7
|
Agent: Change relay__user_handler.DEFAULT_NEW_CLIENT_TIMEOUT
|
2022-09-06 14:35:49 -04:00 |
Kekoa Kaaikala
|
65f4edc625
|
Agent: Add InterruptableThreadMixin
|
2022-09-06 18:30:41 +00:00 |
Kekoa Kaaikala
|
066947c59f
|
Agent: Remove closed pipes from TCPPipeSpawner
|
2022-09-06 18:04:56 +00:00 |
Mike Salvatore
|
83cc5fc336
|
Agent: Fix Pipfile.lock
`pipenv install` was run on Linux without `--keep-outdated`, which
removed Windows-only dependencies. This commit fixes that.
|
2022-09-06 14:03:36 -04:00 |
Mike Salvatore
|
377bb293fe
|
UT: Use `self` instead of class name
|
2022-09-06 13:00:41 -04:00 |
Mike Salvatore
|
59c58b3115
|
UT: Replace fn() with SubscriberSpy callable
|
2022-09-06 12:59:22 -04:00 |
Mike Salvatore
|
e1e119c27a
|
Common: Add missing type hint for PyPubSubPublisherWrapper._refs
|
2022-09-06 12:57:24 -04:00 |
Mike Salvatore
|
ba52eae8ed
|
Common: Decouple PyPubSubPublisherWrapper from events
|
2022-09-06 12:56:49 -04:00 |
Kekoa Kaaikala
|
c601f2214a
|
Agent: Use del_key instead of del
|
2022-09-06 16:39:41 +00:00 |
Kekoa Kaaikala
|
14de4db9fa
|
UT: Use more specific assert in test_connection_spawns_pipe
|
2022-09-06 16:25:37 +00:00 |
Kekoa Kaaikala
|
c021d54c05
|
Agent: Reduce relay shutdown responsiveness
|
2022-09-06 14:57:10 +00:00 |
Kekoa Kaaikala
|
e438a8b9c7
|
Agent: Use EggTimer
|
2022-09-06 14:41:17 +00:00 |
Kekoa Kaaikala
|
3ad96a7e6b
|
Agent: Simplify RELAY_CONTROL_MESSAGE import
|
2022-09-06 14:21:07 +00:00 |
Kekoa Kaaikala
|
b5345a38d9
|
Agent: Rename TCPConnectionHandler parameters
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
|
2022-09-06 14:20:11 +00:00 |
Mike Salvatore
|
a74266464b
|
Merge pull request #2247 from guardicore/2217-fix-bb-tests
2217 fix bb tests
|
2022-09-06 10:14:37 -04:00 |
Shreya Malviya
|
c16c6456aa
|
Island: Remove unneeded comments from PyPubSubIslandEventQueue
|
2022-09-06 19:41:59 +05:30 |
Shreya Malviya
|
69813f8cd4
|
Common: Add explanatory comments about pypubsub's internal working in PyPubSubPublisherWrapper
|
2022-09-06 19:41:42 +05:30 |
Mike Salvatore
|
ce6d5cc705
|
BB: Add contained type to _propagation_credentials type hint
|
2022-09-06 10:10:08 -04:00 |
Shreya Malviya
|
70468c37fb
|
Island: Use PyPubSubPublisherWrapper in PyPubSubIslandEventQueue
|
2022-09-06 19:38:48 +05:30 |
Shreya Malviya
|
3c71211b79
|
Common: Use PyPubSubPublisherWrapper in PyPubSubAgentEventQueue
|
2022-09-06 19:38:16 +05:30 |
Shreya Malviya
|
3cf332a079
|
Common: Add PyPubSubPublisherWrapper
|
2022-09-06 19:37:35 +05:30 |
Kekoa Kaaikala
|
d7398e1014
|
Agent: Move keep_connection into the run() method
|
2022-09-06 14:03:17 +00:00 |
Ilija Lazoroski
|
eee6291a3e
|
BB: Set deep copy when copying agent_configuration
|
2022-09-06 15:49:02 +02:00 |
Ilija Lazoroski
|
b5bd0532b7
|
BB: Fix type annotation in noop_test_configuration
|
2022-09-06 15:41:54 +02:00 |
Shreya Malviya
|
38c6d53cc5
|
UT: Move test_pypubsub_island_event_queue.py out of common/ and in to monkey_island/
|
2022-09-06 19:05:50 +05:30 |
Shreya Malviya
|
8f35a43591
|
Project: Fix import path in Vulture allowlist
|
2022-09-06 19:05:14 +05:30 |
Shreya Malviya
|
f2e7a3d66f
|
Island: Add Island event queue stuff to monkey_island/
|
2022-09-06 19:05:09 +05:30 |
Shreya Malviya
|
502a875fdd
|
Common: Move Island event queue stuff out of common/
|
2022-09-06 19:04:41 +05:30 |
Kekoa Kaaikala
|
333e587aab
|
Agent: Use is_set() of threading.Event
|
2022-09-06 13:20:19 +00:00 |
Kekoa Kaaikala
|
906edf3662
|
Agent: Remove unneccessary call in SocketsPipe
|
2022-09-06 12:52:00 +00:00 |
Kekoa Kaaikala
|
311807cf31
|
Agent: Update RelayUserHandler docstrings
|
2022-09-06 12:48:19 +00:00 |
Shreya Malviya
|
5da8b424b5
|
UT: Use IslandEventTopic enum's names for pypubsub topics
|
2022-09-06 18:13:25 +05:30 |
Shreya Malviya
|
004337583a
|
Common: Use IslandEventTopic enum's names for pypubsub topics
|
2022-09-06 18:11:08 +05:30 |
Shreya Malviya
|
1a09f26fd9
|
Common: Modify IslandEventTopic enum to not have values
|
2022-09-06 18:07:25 +05:30 |
Mike Salvatore
|
e7aca8326e
|
Island: Remove CC_TUNNEL from CommunicationType
This is no longer needed after #2216.
|
2022-09-06 08:34:14 -04:00 |
Mike Salvatore
|
b33fd7f436
|
Island: Add ConnectionTarget TypeAlias
|
2022-09-06 08:33:49 -04:00 |
Shreya Malviya
|
27c8a1019b
|
Island: Register IIslandEventQueue instance in DI container
|
2022-09-06 17:59:17 +05:30 |
Kekoa Kaaikala
|
7a7ea96dbb
|
Agent: Set daemon thread in superclass constructor
|
2022-09-06 12:27:07 +00:00 |
Shreya Malviya
|
237f6d01b6
|
UT: Add tests for PyPubSubIslandEventQueue
|
2022-09-06 17:53:36 +05:30 |
Shreya Malviya
|
71c7a9a533
|
Common: Change parameter name event_data -> event in Island event queue
|
2022-09-06 17:47:01 +05:30 |
Kekoa Kaaikala
|
483bd943bd
|
Agent: Rename tcp.py to sockets_pipe.py
|
2022-09-06 12:14:52 +00:00 |