John Yani

Results 242 comments of John Yani
trafficstars

@dlenski Here's what [the documentation](https://www.cisco.com/c/en/us/support/docs/security/anyconnect-secure-mobility-client/116016-technote-AnyConnect-00.html#anc1) says: > Split DNS - The DNS queries which matches the domain names, are configured on the Cisco Adaptive Security Appliance (ASA). They move through...

Maybe the issue should be raised in https://github.com/systemd/systemd to request a feature to be used by VPN clients so that they can spy for DNS queries and either update the...

> Is this not already possible via dbus, as you wrote? I don't know. If it is, it's not documented: https://www.freedesktop.org/wiki/Software/systemd/resolved/ You can only set SetLinkDNS+SetLinkDomains to route DNS queries...

I've created an issue: https://github.com/systemd/systemd/issues/17265

Yeah, maybe setting up a CoreDNS server and writing a plugin for it would be the most realistic option. This is how it might work: 1. All the VPN configuration...

@dlenski could you help me out with a first step? How do I get the XML passed on from openconnect to my custom script?

No, I left the company that used this VPN configuration. So I don't need this anymore.

The issue appears to be in here: task.ContainerUsage(0xc4200f9e00, 0xc4207da140, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) https://github.com/swarmpit/agent/blob/adff5c79871ee8f7edac3b61febb4b903aaba0e8/swarmpit/task/stats.go#L159 https://github.com/swarmpit/agent/blob/adff5c79871ee8f7edac3b61febb4b903aaba0e8/swarmpit/task/stats.go#L126 https://github.com/swarmpit/agent/blob/adff5c79871ee8f7edac3b61febb4b903aaba0e8/swarmpit/task/stats.go#L124 ``` v *types.StatsJSON dec.Decode(&v); previousCPU = v.PreCPUStats.CPUUsage.TotalUsage ```

So it looks like docker daemon returned missing precpu_stats. According to documentation it can be empty: https://github.com/docker/engine-api/blob/4290f40c056686fcaa5c9caf02eac1dde9315adf/types/stats.go#L100-L107 > The "omitempty" option specifies that the field should be omitted from the...

I think it can be fixed like this: ``` export interface ActionCreatorFactory { (type: string, commonMeta?: Meta, isError?: boolean): ActionCreator; ... } interface ActionCreatorWithoutPayload { ... (): AnyAction; }; interface...