GithubHelp home page GithubHelp logo

anthilla / antd Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 13.0 235.92 MB

Anthilla System Daemon, Linux .net c# System Manager, binded with systemd. High Availability, Fault Tolerance

Home Page: http://www.anthilla.com/en/software/antd/

License: Other

C# 99.98% Makefile 0.02%

antd's People

Contributors

armmaster17 avatar arsenshnurkov avatar dorvan avatar fimbulr avatar gitter-badger avatar paolodemichele avatar zandam-xrn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

antd's Issues

S1: Network

Important Notes:

  • for each command mind to sign all (S)CRUD operations. Thanks. (https://en.wikipedia.org/wiki/Create,_read,_update_and_delete)
  • maintain uptime, flushes and restart/reloads, at 95% take it down.
    an important difference of iproute2 is:
  • virtual interfaces eth0:X are not necessary.
  • you can add/remove many ip set from interfaces.

IPROUTE2:

  • Add new address (ipv4):
ip addr add xx.xx.xx.xx/xx broadcast xx.xx.xx.xx dev ethx
  • Add new address (ipv6):
ip -6 addr add ipv6/64 dev ethx (should be possible change the netmask for obvious reasons)
  • Add ipv6 gateway:
ip -6 route add default via ipv6_gateway dev ethx
  • Delete (prefer instead of flush!)
ip addr del xx.xx.xx.xx/xx broadcast xx.xx.xx.xx dev ethx
  • Flush configuration:
ip addr flush dev ethx
ip -stat -stat addr flush to 10/8 

(delete range 10.0.0.0/8 and so on)

ip -4 addr flush label "eth*" 

(flush all ethx addresses)

ip -6 addr flush dynamic
  • Show interfaces:
ip addr show ethx
  • Show network card statistics:
ip -s link ls ethx
  • Create/Add route:
ip route add default via xx.xx.xx.xx
ip route add xx.xx.xx.xx/24 via xx.xx.xx.xx *(possible many netmasks)*
  • Create/Add default multipath route splitting load between ppp0 and ppp1 (or other networks)
ip route add default scope global nexthop dev ppp0 nexthop dev ppp1
  • Natting:
ip route add nat xx.xx.xx.xx via xx.xx.xx.xx
  • Delete:
ip route del default via xx.xx.xx.xx
ip route del xx.xx.xx.xx via xx.xx.xx.xx
  • Show routes:
ip route show
  • Enable/disable, Take Up/Down interfaces:
ip link set ethx up | down

BRCTL:

  • Create/Add brdige name:
brctl addbr name
  • Delete bridge name:
brctl delbr name
  • Create/Add network interfaces to brctl interface:
brctl addif name ethx 

(for instance, eth0 - eth1 and so on)

  • Delete network interfaces to brctl interface:
brctl delif name ethx
  • Enable/Disable stp on bridge:
brctl stp name on | off
  • Show MACs and stp:
brctl showmacs name
brctl showstp name
  • Another important option could be the priority port and the cost path:
brctl setpathcost name <port> <cost> set path cost
brctl setportprio name <port> <prio> set port priority

TEAMCTL:

  • sample configuration with active/backup mode using teamnl and ip:
ip link add team0 type bond (many other)
teamnl team0 setoption mode activebackup
ip link set dev eth0 master team0
ip link set dev eth1 master team0
ip addr add xxx.xxx.xxx.xxx/XX broadcast yyy.yyy.yyy.yyy dev team0
ip link set team0 up

-View teamnl mode:

teamnl name getoption mode

-View ports associated:

teamnl team0 ports

IFENSLAVE:

PSEUDO FS proc AND sys operations. :

CONVERSIONS:

  • Conversion from standard interface to a Bridge one at runtime without loosing connections
    in a not interactive shell, aka Screen or HOHUP execute this procedure:
brctl addbr br0
brctl addif br0 eth0
ip link set eth0 up
ip link set br0 up
ip addr add xxx.xxx.xxx.xxx/XX dev br0
ip addr del xxx.xxx.xxx.xxx/XX dev eth0
ip route del default via yyy.yyy.yyy.yyy dev eth0
ip route add default via yyy.yyy.yyy.yyy dev br0
  • Conversion from standard interface to a Bond one at runtime without loosing connections
  • Conversion from standard interface to a Team one at runtime without loosing connections

Antd Context Index

here are described the various context of Antdg gui/api (29.06.2015)

INFO:

  • Tuning like Windows task manager/System information
  • expandable tables
  • command implementation
  • OSI correlation
  • gui organization

SYSTEM:

  • command implementation
  • OSI correlation
  • gui organization
  • Time and timezone configuration: timectl and systemd related

MOUNTS:

  • DIFF details of mounts between STOCK, RUNNING, CUSTOM (for system coherence verification or Desired State Configuration)
  • present data in INFO context
  • CRUD
  • expandable tables
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter

SYSCTL:

  • DIFF details of mounts between STOCK, RUNNING, CUSTOM (for system coherence verification or Desired State Configuration)
  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter
  • inline editing of custom profiles

CONF:

  • time loosing disposal (source pfsense...) gui reorganization mandatory
  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter

NETWORK:

  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter
  • network interface sorting
  • network, routing, switching
  • DIFF details of mounts between STOCK, RUNNING, CUSTOM (for system coherence verification or Desired State Configuration)
  • inline editing of custom profiles
  • Network Time: systemctl, timectl, ntpd

FIREWALL:

  • CRUD
  • command implementation
  • OSI correlation
  • netfilter schema+OSI presentation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter
  • physical/virtual sorting
  • DIFF details of mounts between STOCK, RUNNING, CUSTOM (for system coherence verification or Desired State Configuration)
  • inline editing of custom profiles
  • shaping views

STORAGE:

  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter
  • Commands: parted, rsync
  • FS: ext4, overlayfs, aufs, btrfs, zfs, gluster
  • snapshots
  • Events: FilesystemWatcher
  • sysctl capacity correlation and i/o control

HYPERVISOR:

  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter
  • Commands: virsh, machinectl, systemctl
  • snapshots
  • Events: FilesystemWatcher
  • sysctl capacity correlation and i/o control
  • Extend it like Windows Services Management of msc + task manager process details

SYSTEM:

  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter

USERS:

  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter
  • load, import, export, directory services

MAIL (Server, Client, Mapping):

  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter

APPS:

  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter

SCHEDULER:

  • antd main trigger for commands
  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter

DIRECTORIES:

  • File and Dirs Nav, Mount and Mapping.
  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter

UNITS:

  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter
  • Extend it like Windows Services Management of msc + task manager process details

LOGS:

  • CRUD
  • command implementation
  • OSI correlation
  • gui organization
  • Dynamic filter like mozilla firefox about:config filter
  • to integrate with syslog-ng with json output format.
  • extend it like Windows Event Viewer of msc

GENERAL NOTES:

  • add "Back to Top" button always present during scrolling
  • enhance anchors
  • implement multi-line command procedures
  • Dynamic Context creation: ##OK
  • Dynamic Command Loader: ##
  • Selfhosting http2
  • SSL
  • http websocket terminal (full browser access no plugins)
  • make layout more responsive
  • separate buttons in a dedicated column in configuration tables

error TS2605: JSX element type Xxx is not a constructor function for JSX elements.

- versions:ant 3.2.3/3.3.3

- component:Layout/Content/Header/Footer

- tsVersions:typescript-2.7.2

- ts Error:
TS2605: JSX element type 'Component<BasicProps, ComponentState>' is not a constructor function for JSX elements.
Types of property 'render' are incompatible.
Type '() => ReactNode' is not assignable to type '{ (): ReactNode; (): ReactNode; (): false | Element; }'.
Type 'ReactNode' is not assignable to type 'false | Element'.
Type 'string' is not assignable to type 'false | Element'.

- tsconfig:
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"module": "esnext",
"allowJs": true,
"target": "es5",
"lib": ["es6", "dom"],
"sourceMap": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": "src",
"baseUrl": ".",
"paths": {
"": ["", "src/"]
}
},
"include": [
"src/**/
"
],
"files": [
"global.ts"
],
"exclude": [
"node_modules"
]
}

Layout组件中sider组件嵌套问题。

我发现Layout组件下,如果嵌套了组件时,如果是把Sider抽取出来作为单独的组件。如:

import React from 'react';

import { Layout, Menu, Icon } from 'antd';
const { SubMenu } = Menu;
const { Sider } = Layout;

export default () => {
  return <Sider width={200} style={{ background: '#fff' }}>
    <Menu
      mode="inline"
      defaultSelectedKeys={[ '1' ]}
      defaultOpenKeys={[ 'sub1' ]}
      style={{ height: '100%' }}
    >
      <SubMenu key="sub1" title={<span><Icon type="user"/>subnav 1</span>}>
        <Menu.Item key="1">option1</Menu.Item>
        <Menu.Item key="2">option2</Menu.Item>
        <Menu.Item key="3">option3</Menu.Item>
        <Menu.Item key="4">option4</Menu.Item>
      </SubMenu>
      <SubMenu key="sub2" title={<span><Icon type="laptop"/>subnav 2</span>}>
        <Menu.Item key="5">option5</Menu.Item>
        <Menu.Item key="6">option6</Menu.Item>
        <Menu.Item key="7">option7</Menu.Item>
        <Menu.Item key="8">option8</Menu.Item>
      </SubMenu>
      <SubMenu key="sub3" title={<span><Icon type="notification"/>subnav 3</span>}>
        <Menu.Item key="9">option9</Menu.Item>
        <Menu.Item key="10">option10</Menu.Item>
        <Menu.Item key="11">option11</Menu.Item>
        <Menu.Item key="12">option12</Menu.Item>
      </SubMenu>
    </Menu>
  </Sider>;
}

在放到Layout组件中,布局会出现问题。

import React from 'react';
import { Layout, Menu, Breadcrumb, Icon } from 'antd';
const { SubMenu } = Menu;
const { Header, Content, Sider } = Layout;
import Silder from '../components/Sider';
export default () =>
  <Layout>
    <Header className="header">
      <div className="logo"/>
      <Menu
        theme="dark"
        mode="horizontal"
        defaultSelectedKeys={[ '2' ]}
        style={{ lineHeight: '64px' }}
      >
        <Menu.Item key="1">nav 1</Menu.Item>
        <Menu.Item key="2">nav 2</Menu.Item>
        <Menu.Item key="3">nav 3</Menu.Item>
      </Menu>
    </Header>
    <Layout className="">
      <Silder></Silder>


      <Layout style={{ padding: '0 24px 24px' }}>
        <Breadcrumb style={{ margin: '12px 0' }}>
          <Breadcrumb.Item>Home</Breadcrumb.Item>
          <Breadcrumb.Item>List</Breadcrumb.Item>
          <Breadcrumb.Item>App</Breadcrumb.Item>
        </Breadcrumb>
        <Content style={{ background: '#fff', padding: 24, margin: 0, minHeight: 280 }}>
          Content
        </Content>
      </Layout>
    </Layout>
  </Layout>

布局会出现问题,看了源码,是这里有做了处理


class Basic extends React.Component<BasicProps, any> {
  render() {
    const { prefixCls, className, children, ...others } = this.props;
    let hasSider;
    React.Children.forEach(children, (element: any) => {
      if (element && element.type && element.type.__ANT_LAYOUT_SIDER) {
        hasSider = true;
      }
    });
    const divCls = classNames(className, prefixCls, {
      [`${prefixCls}-has-sider`]: hasSider,
    });
    return (
      <div className={divCls} {...others}>{children}</div>
    );
  }
}

临时的解决办法实在父容器里,加上className -> ant-layout-has-sider.
建议,要么Layout上开发一个属性给用户指定。
或是,自动进行多层识别,但是可能会性能方面的考虑。

S2:Failover, HA, FT

extend the configuration data, and the configuration case,
nodes, ip, user, passwords...

S2: Failover:

a virtual IP with 2 ethernet interfaces in 2 different hosts the interfaces will have a password and will be identified.

example:

ip addr add 10.1.1.252/24 dev ethX
ucarp -v 42 -p anthilla -a 10.1.1.252 -s 10.1.1.1 &
ucarp -v 42 -p anthilla -a 10.1.1.252 -s 10.1.1.2 &

in this case the identified is 42 and the password is anthilla

[BUG] creation of file or directory method

IF a file or dir it's needed,
can the method:
1- check it
2- if it does not exist, create it
3- fix permissions (mod & own or acl) by:
3.1 - umask default: 755 for DIRS, 644 for FILES
AND
3.2 - by specific SERVICE (ex: Bind, sshd, dhcpd) template config requirements.

it can be "static" and "default" for alla same commands triggers?

Antd fails with mono 4

[05/09/15 14:48:45] loading application...
[05/09/15 14:48:45] setting core system configuration...
[05/09/15 14:48:46] setting core cfg configuration...
[05/09/15 14:48:46] initializing antd
[05/09/15 14:48:46] setting default configuration...
[05/09/15 14:48:46]     set configuration for: antd...
[05/09/15 14:48:46]     set configuration for: system...
[05/09/15 14:48:47]     set configuration for: cfg...
[05/09/15 14:48:47]     set configuration for: network...
[05/09/15 14:48:49]     set configuration for: systemDataRepo...
[05/09/15 14:48:49]     set configuration for: zfsMount...
[05/09/15 14:48:49]     check configuration...
[05/09/15 14:48:49] loading service configuration

Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Invalid IL code in (wrapper delegate-invoke) <Module>:invoke_callvirt_CancellationTokenRegistration_CancellationToken&_Action`1<object>_object (System.Threading.CancellationToken&,System.Action`1<object>,object): IL_0057: castclass 0x00000007


  at Microsoft.AspNet.SignalR.Infrastructure.CancellationTokenExtensions.SafeRegister (CancellationToken cancellationToken, System.Action`1 callback, System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Hosting.HostDependencyResolverExtensions.InitializeResolverDispose (IDependencyResolver resolver, CancellationToken hostShutdownToken) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Hosting.HostDependencyResolverExtensions.InitializeHost (IDependencyResolver resolver, System.String instanceName, CancellationToken hostShutdownToken) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions.UseSignalRMiddleware[HubDispatcherMiddleware] (IAppBuilder builder, System.Object[] args) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions.RunSignalR (IAppBuilder builder, Microsoft.AspNet.SignalR.HubConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions+<>c__DisplayClass1.<MapSignalR>b__0 (IAppBuilder subApp) [0x00000] in <filename unknown>:0 
  at Owin.MapExtensions.Map (IAppBuilder app, PathString pathMatch, System.Action`1 configuration) [0x00000] in <filename unknown>:0 
  at Owin.MapExtensions.Map (IAppBuilder app, System.String pathMatch, System.Action`1 configuration) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions.MapSignalR (IAppBuilder builder, System.String path, Microsoft.AspNet.SignalR.HubConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions.MapSignalR (IAppBuilder builder, Microsoft.AspNet.SignalR.HubConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Antd.Startup.Configuration (IAppBuilder app) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at Owin.Loader.DefaultLoader+<>c__DisplayClass12.<MakeDelegate>b__b (IAppBuilder builder) [0x00000] in <filename unknown>:0 
  at Owin.Loader.DefaultLoader+<>c__DisplayClass1.<LoadImplementation>b__0 (IAppBuilder builder) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp (Microsoft.Owin.Hosting.Engine.StartContext context) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Engine.HostingEngine.Start (Microsoft.Owin.Hosting.Engine.StartContext context) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Starter.DirectHostingStarter.Start (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Starter.HostingStarter.Start (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.WebApp.StartImplementation (IServiceProvider services, Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.WebApp.Start (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.WebApp.Start[Startup] (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.WebApp.Start[Startup] (System.String url) [0x00000] in <filename unknown>:0 
  at Antd.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Invalid IL code in (wrapper delegate-invoke) <Module>:invoke_callvirt_CancellationTokenRegistration_CancellationToken&_Action`1<object>_object (System.Threading.CancellationToken&,System.Action`1<object>,object): IL_0057: castclass 0x00000007


  at Microsoft.AspNet.SignalR.Infrastructure.CancellationTokenExtensions.SafeRegister (CancellationToken cancellationToken, System.Action`1 callback, System.Object state) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Hosting.HostDependencyResolverExtensions.InitializeResolverDispose (IDependencyResolver resolver, CancellationToken hostShutdownToken) [0x00000] in <filename unknown>:0 
  at Microsoft.AspNet.SignalR.Hosting.HostDependencyResolverExtensions.InitializeHost (IDependencyResolver resolver, System.String instanceName, CancellationToken hostShutdownToken) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions.UseSignalRMiddleware[HubDispatcherMiddleware] (IAppBuilder builder, System.Object[] args) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions.RunSignalR (IAppBuilder builder, Microsoft.AspNet.SignalR.HubConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions+<>c__DisplayClass1.<MapSignalR>b__0 (IAppBuilder subApp) [0x00000] in <filename unknown>:0 
  at Owin.MapExtensions.Map (IAppBuilder app, PathString pathMatch, System.Action`1 configuration) [0x00000] in <filename unknown>:0 
  at Owin.MapExtensions.Map (IAppBuilder app, System.String pathMatch, System.Action`1 configuration) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions.MapSignalR (IAppBuilder builder, System.String path, Microsoft.AspNet.SignalR.HubConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Owin.OwinExtensions.MapSignalR (IAppBuilder builder, Microsoft.AspNet.SignalR.HubConfiguration configuration) [0x00000] in <filename unknown>:0 
  at Antd.Startup.Configuration (IAppBuilder app) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at Owin.Loader.DefaultLoader+<>c__DisplayClass12.<MakeDelegate>b__b (IAppBuilder builder) [0x00000] in <filename unknown>:0 
  at Owin.Loader.DefaultLoader+<>c__DisplayClass1.<LoadImplementation>b__0 (IAppBuilder builder) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp (Microsoft.Owin.Hosting.Engine.StartContext context) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Engine.HostingEngine.Start (Microsoft.Owin.Hosting.Engine.StartContext context) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Starter.DirectHostingStarter.Start (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.Starter.HostingStarter.Start (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.WebApp.StartImplementation (IServiceProvider services, Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.WebApp.Start (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.WebApp.Start[Startup] (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in <filename unknown>:0 
  at Microsoft.Owin.Hosting.WebApp.Start[Startup] (System.String url) [0x00000] in <filename unknown>:0 
  at Antd.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Antd web terminal

does not work correctly:
1- start from antd path, ls -la show it. it's not masked.
2- commands have not echo or are not accepted
3- cd / move to root, without any possibility to going back or execute anything.
4- no autoscroll present.

ant_web_terminal_errors and bug1
ant_web_terminal_no_autoscroll

openssh layer 2 vpn

/etc/ssh/sshd_config: PermitTunnel yes OR ethernet (MANDATORY)
systemctl restart sshd

/etc/ssh/ssh_config: Tunnel ethernet (PROBABLY NOT MANDATORY)
ssh root@minipc01 "modprobe tun"
ssh root@minipc02 "modprobe tun"
ssh -o "Tunnel ethernet" -f -w 1:1 root@minipc02 "true"
ssh root@minipc01 "ip link set dev tap1 up"
ssh root@minipc01 "ip addr flush dev tap1"
ssh root@minipc01 "ip addr add 172.16.1.1/24 dev tap1"
ssh root@minipc02 "ip link set dev tap1 up"
ssh root@minipc02 "ip addr flush dev tap1"
ssh root@minipc02 "ip addr add 172.16.1.2/24 dev tap1"

it works.

HIGH PRIORITY: Auto Update complete review (!!!)

ANTD and ANTDSH, if is possible without script.
to bypass scripts it's also available AOSSVC as AnthillaOS internal component.

But can be nice make all projects massive updatable. one update all.
Lists, and procedures reference can be available on repo.

NO SCRIPTS, OK REFERENCE PROCEDURE executed by command (antd, antdsh)

Antd Priorities

System Boot

  • AnthillaOS + external systemd runlevels

S0:

  • Users (linux system users and groups, and Directory Mapping)
  • ACL

S1:

  • Network
  • Routing
  • Switching

S2:

  • Firewall
  • Filtering
  • Shaping
  • Balancing
  • Failover

S3:

  • SSH
  • SSH Key management and interchange

S4:

  • Time Sync Management and test

S5:

  • Block: Disk, Volume Partitioning
  • Files,
  • Repositories, Datastores
  • Sharing Management NFS, WebDAV, iSCSI.
  • Filesystems
  • GhostDrives (Virtual Drives)

S6:

  • DNS Server with Dynamic updates
  • DHCP Server with Dynamic updates
  • Auto Discovery Settings
  • Proxying
  • Reverse Proxying
  • Balancing

S7:

  • Apps Management
  • VM management
  • Services management

S8:

  • Resource Management
  • Sync
  • Replica
  • Fault Tolerance

S9:

  • Coherence Evaluation
  • Proactive Monitoring
  • Proactive Repairs

after update with antdsh, antd it's loaded but not started

after update with antdsh, antd it's loaded but not started.
Please; close the algorithm cycle.

1- site reachable?
2- version verification
3- local process verification
4- update (download)
5- update (loading/conversion)
6- update (active process management)
7- update (config mount management)
8- known world verification
9- new version process start

Uploading antsh_longrun_exit.jpg…

HIGH PRIORITY: refactoring antd

  • move config list and priorities internally.
  • make methods for config commands.
  • methods for rsync
  • CA
  • methods for chmod/chown/setfacl/getfacl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.