[tcpdump-workers] Request for new LINKTYPE_* code LINKTYPE_AUERSWALD_LOG

2021-02-12 Thread developer--- via tcpdump-workers
--- Begin Message ---

Sorry for the delay in responding, I had to look thru the code to make sure all 
the information is accurate.

I looked into the option to change in particular the  msg_type 1 (decoded SIP 
message),
but for the short term, using export_pdu is not an option because of the 
changes required.

The current implementation for the LINKTYPE_AUERSWALD_LOG uses the following 
format:

Each package starts with a message header followed by the payload and a 0 byte.
The message header currently has a fixed width of 150 bytes.
For the future the length of the header might change based on the msg_type.
(This will allow for less waste compared to the fix length)
Whenever the content structure of the message or length of header is changed
a new msg_type will be used.

/* Literals for displaying level are
local level_tab = {
  [0] = "Off",
  [1] = "Error",
  [2] = "Warning",
  [3] = "Info",
  [4] = "Debug",
  [5] = "EDebug"
}
*/

// The Offset in comments is just for convenience for writing wireshark 
dissectors
struct message_hdr {
uint16_t msg_type;  // Offset 0
uint32_t level; // Offset 2
char category[32];  // Offset 6
  union {   // New Offsetbase 38
struct {// if msg_type == 0
  int32_t  pid; // Offset 38
  int32_t  tgid;// Offset 42
  char procname[16];// Offset 46
  char threadname[16];  // Offset 62
  char class_name[32];  // Offset 78
  char method[32];  // Offset 110
  uint32_t lineno;  // Offset 142
  uint32_t seqno;   // Offset 146
};
struct {// if msg_type == 1
  char src_ip[16];  // Offset 38
  uint16_t src_port;// Offset 54
  char dst_ip[16];  // Offset 56
  uint16_t dst_port;// Offset 72
};
  };
} __attribute__((packed));// Total 150




--- End Message ---
___
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

[tcpdump-workers] continuous integration status update

2021-02-12 Thread Denis Ovsienko via tcpdump-workers
--- Begin Message ---
Hello list.

The tcpdump group repositories used to rely mainly on travis-ci.org for
free continuous integration. For many years Travis CI GmbH had been
making an outstanding contribution to the worldwide open source
community, so let's thank all the people who at the time made
travis-ci.org possible and kept it available, and many of whom lost
their job after the business was sold.

The current owner of Travis CI no longer provides sustained free
service to open source projects. I have paid enough attention to verify
that this fact currently stands for both travis-ci.org and
travis-ci.com. I have also tried the paid subscription, considered the
level of service received and the monthly cost, and had not developed
enough interest in becoming a permanent subscriber.

Necessity is the mother of invention, so Francois-Xavier had
restructured the CI builds to work through the matrix permutations
faster (especially on macOS with its slow bootstrapping) and to be more
portable between CI service providers. Which made it easier for me to
migrate most builds from Travis CI to Circle CI, and to make FreeBSD CI
builds cover the same matrix as Linux and macOS ones.

Some minor bugs and rough edges still probably remain in the new
tooling, but it should be worked out in the course of subsequent
development work.

The Travis CI subscription will cease in early March (unless there is a
sponsor willing to pay 82.80 USD per month). At this time the impact of
that would be the following:

* Linux on arm64
* Linux on ppc64le
* Linux on s390x

To me keeping these does not seem to be as important as other ongoing
work, but if I have enough spare time later, I might try rigging up a
standalone arm64 CI instance, just to learn one more aspect about it
in the process. That said, if you have suggestions in addition or
instead of that, please make them on the list to be considered.

Thanks.

-- 
Denis Ovsienko
--- End Message ---
___
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers