Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/fastvpseestiou/linux_network_smtp_tracker

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/fastvpseestiou/linux_network_smtp_tracker

  • v0.0.0-20150707164807-59c2006a01a2
  • Source
  • Go
  • Socket score

Version published
Created
Source

linux_network_smtp_tracker

linux_network_activity_tracker - little software for detecting OpenVZ containers with the number outgoing SMTP-connections greater then specifed limit.

It is based on linux_network_activity_tracker

Install

Build Status

export GOPATH=$(pwd)
go get github.com/FastVPSEestiOu/linux_network_smtp_tracker
go build github.com/FastVPSEestiOu/linux_network_smtp_tracker

And copy binary file to directory in $PATH if it needed.

Usage

linux_network_smtp_tracker [-j] [ -m max_count_smtp_connections ]

Options

  • --help

Print usage message (build in from flag library)

  • -j

Enable json output

  • -m max_count_smtp_connections

Set max count of outgoing smtp connections. If it greater limit - we saw container in output

Exapmle output

# linux_network_smtp_tracker -m 5
We found  201  smtp connetions
Found they process, please be patient
Ctid: 78786 Smtp Connections: 47

# linux_network_smtp_tracker -m 5 -j
{"78786":30}

Description

We get connections from /proc/net/ files(tcp,tcp6). Buid /proc/?/fd/ map if we have outgoing smtp connectons(25 and 587 ports via tcp). Get info about process, who start this connections - get CTID. And output this info to OUTPUT in human readable fromat or in json format, if connections count on countainer greater that our limit(like ctid - count connections from contaner).

Contributors

FAQs

Package last updated on 07 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc