Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
QxBytes fc4da42d66
refactor: create safer command execution method (#2899)
* rename ExecuteCommand to ExecuteRawCommand

* add safer execute command method

* fix windows platform command test

* add uts and comments

* address feedback

* add parent context to execute command
2024-08-06 21:36:55 +00:00
tamilmani1989 bfa170e3f6
fix: Prevent iptable list cmd to do reverse dns lookup (#2682)
fix: While listing iptable rules added -n option to prevent reverse dns lookup
2024-04-12 22:42:34 +00:00
QxBytes 0c8f78a2f0
refactor: add receiver to iptables and create interface (#2421)
* Move network utils functions with iptables to new file

* Add receiver to iptables and create interface

* Resolve conflicts from rebasing

* Add changes for building on windows

* Address linter issues

* Address windows linter issues

* Invert if condition for linter nesting

* Scope iptables interfaces to package

* Rename iptables client to avoid stuttering

* Move EnableIPForwarding to snat linux

* Rename ipTablesClientInterface to ipTablesClient

* Address linter issues from moving enable ip forwarding function

* Rename after rebase
2023-12-14 09:27:17 -08:00
Paul Yu ae37d40982
[CNI] zap logger for platform package (#2233)
* zap logger for platform package
2023-10-13 12:08:58 -07:00
Jaeryn 01085728bb
fix: Add NAT Policies for Windows AKS-Swift Scenario (#1036)
* Add DNS NAT policy for windows AKS-Swift scenario

* Addressing comments

Co-authored-by: Jaeryn <tsun.chu@microsoft.com>
2021-10-20 13:58:10 -07:00
tamilmani1989 279911c94a
Support for Dualstack transparent (#1046)
* ipv6 dualstack support transparent mode

* golint fixes

* fixed linter errors

* enable ipv6 setting

* dualstack transparent changes

* abstracted platform execute command

* lint fixes
fix compilation issues

* addressed comments

* fixed a bug
2021-10-15 14:28:37 -07:00
Matthew Long 2e6a5f662d
[Swift] Add snat rule to host IP for IMDS for CNS IPAM (#988)
* add snat rule to host IP for IMDS

* add comment for rules
2021-09-03 12:37:44 -05:00
Evan Baker 96bec09d41
chore: appease the linter (3/?), the big gofumpt (#987)
* gofumpt -w -s .

* small addtl cleanups after gofumpt

* rerun after rebase
2021-09-02 16:33:18 -05:00
Mathew Merrick f0907b4e82
refactor: Move CNI bridge/transparent routes to common (#694)
* fix: pass host gateway to CNI with Swift to enable Swift+Transparent
2020-11-16 14:24:00 -08:00
Mathew Merrick 41232c134d
CNI using CNS IPAM (#597)
* Configure CNI to use CNS IPAM
2020-09-29 14:43:19 -07:00
tamilmani1989 6ac5e8c9f0
CNI Ipv6 Dualstack Support (#538)
* added cniv6 plugin

* cni ipv6 base framework

* removed unwanted changes

* added ipv6 change

* added cni ipv6 changes

* drop neighbor discovery messages to other VMs

* fixed issues

* fixed unit tests

* fix nil dereference

* addressed comments

* ipv6 fixes and changes

* addressed comments
2020-04-15 22:30:48 -07:00
tamilmani1989 5fb1d7f713
Added config option for disabling iptable lock (#470)
* added config option for disabling iptable lock

* added log for iptable and ebtable version

* moved logging dependency package details to platform specific file
2020-01-03 17:08:14 -08:00
tamilmani1989 edabc6dd39
Added Host NC communication support in Linux (#374)
* allow inbound connection to container from host if the feature is enabled

* Allowinbound from host to NC if flag is enabled

* fixed old changes

* minor fixes

* added NC to host commn support

* added NCToHostCommunication field in cns contract

* addressed review comments

* addressed review comments

* addressed review comments

* address comments

* fixed space damage
2019-07-16 17:09:34 -07:00