Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open port 57012 #309

Closed
jvlavl opened this issue May 2, 2024 · 1 comment
Closed

open port 57012 #309

jvlavl opened this issue May 2, 2024 · 1 comment

Comments

@jvlavl
Copy link

jvlavl commented May 2, 2024

Hello

I have Malcolm running on ubuntu 22.04
but I want to add the polarproxy to the environment

the procedure that I followed is at https://www.netresec.com/?page=Blog&month=2020-12&post=Capturing-Decrypted-TLS-Traffic-with-Arkime

In the docker container /opt/malcolm/etc/config.ini
I did change pcapReadMethod=tpacketv3 to pcapReadMethod=pcap-over-ip-server

Also in config.v2.json I added the portnumber and restarted the complete docker instance.

restarted the container

but still port 57012 is not listening

State                         Recv-Q                     Send-Q                                           Local Address:Port                                              Peer Address:Port                      Process
LISTEN                        0                          65535                                                127.0.0.1:9200                                                   0.0.0.0:*
LISTEN                        0                          4096                                                 127.0.0.1:27761                                                  0.0.0.0:*
LISTEN                        0                          4096                                                 127.0.0.1:27762                                                  0.0.0.0:*
LISTEN                        0                          4096                                                 127.0.0.1:27763                                                  0.0.0.0:*
LISTEN                        0                          4096                                                 127.0.0.1:27764                                                  0.0.0.0:*
LISTEN                        0                          4096                                                 127.0.0.1:27765                                                  0.0.0.0:*
LISTEN                        0                          65535                                                  0.0.0.0:10080                                                  0.0.0.0:*
LISTEN                        0                          65535                                                127.0.0.1:5044                                                   0.0.0.0:*
LISTEN                        0                          65535                                                127.0.0.1:5045                                                   0.0.0.0:*
LISTEN                        0                          65535                                                  0.0.0.0:443                                                    0.0.0.0:*
LISTEN                        0                          128                                                    0.0.0.0:22                                                     0.0.0.0:*
LISTEN                        0                          65535                                                127.0.0.1:8022                                                   0.0.0.0:*
LISTEN                        0                          65535                                                  0.0.0.0:10443                                                  0.0.0.0:*

image

Kind regards

John

@mmguero
Copy link
Collaborator

mmguero commented May 15, 2024

I'm sorry, I don't have any experience using polarproxy, and I'm not sure whether or not what you're trying to do is going to work with how malcolm uses its arkime containers.

Malcolm has got two arkime containers, one is arkime which processes PCAP files that are either 1) uploaded through the arkime upload interface or 2) periodically processed "live" PCAP captured by tcpdump or netsniff-ng rolled over every so many minutes or megabytes. The other container is the arkime-live which runs capture on live traffic, but this can only be used when running a remote opensearch or elastic instance, not Malcolm's internally managed one.

In either case, this entrypoint script is used to generate Arkime's config.ini using environment variables using a file docker bind-mounted as /opt/arkime/etc/config.orig.ini as a basis. You could add a line like - ./arkime/etc/config.ini:/opt/arkime/etc/config.orig.ini:ro into the volumes section of the arkime-live container, but again, it's only going to be running that container if you're using an external opensearch or elasticsearch instance. As far as ports being open, you'd have to specify that in the ports section for the appropriate container as well.

I'm going to close this bug as it's not going to be a supported configuration for us to help you out with, but good luck and I hope you can figure out a way to do what you're trying to do.

@mmguero mmguero closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants