Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for iptables (0.25 sec)

  1. cni/pkg/iptables/iptables.go

    // limitations under the License.
    
    package iptables
    
    import (
    	"errors"
    	"fmt"
    	"net/netip"
    	"strings"
    
    	"istio.io/istio/cni/pkg/ipset"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/builder"
    	iptablesconfig "istio.io/istio/tools/istio-iptables/pkg/config"
    	iptablesconstants "istio.io/istio/tools/istio-iptables/pkg/constants"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. docker/iptables.yaml

    contents:
      repositories:
        - https://packages.wolfi.dev/os
      keyring:
        - https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
      packages:
        - ca-certificates-bundle
        - wolfi-baselayout
        - glibc
        - iptables
        - ip6tables
        - libnetfilter_conntrack
        - libnfnetlink
        - libmnl
        - libgcc
    archs:
      - x86_64
      - aarch64
    paths:
    - path: /run
      type: directory
      permissions: 0o755
    accounts:
      users:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 17:24:41 GMT 2024
    - 541 bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables_unspecified.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    package iptables
    
    import (
    	"errors"
    )
    
    func AddInpodMarkIPRule(cfg *Config) error {
    	return errors.New("not implemented on this platform")
    }
    
    func DelInpodMarkIPRule(cfg *Config) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package iptables
    
    import (
    	"net/netip"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	testutil "istio.io/istio/pilot/test/util"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func TestIptables(t *testing.T) {
    	cases := []struct {
    		name   string
    		config func(cfg *Config)
    	}{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. cni/pkg/plugin/sidecar_iptables.go

    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package plugin
    
    type iptables struct{}
    
    func newIPTables() InterceptRuleMgr {
    	return &iptables{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 810 bytes
    - Viewed (0)
  6. cni/pkg/plugin/sidecar_iptables_linux.go

    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    	"istio.io/istio/tools/istio-iptables/pkg/config"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    // getNs is a unit test override variable for interface create.
    var getNs = ns.GetNS
    
    // Program defines a method which programs iptables based on the parameters
    // provided in Redirect.
    func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. cni/pkg/iptables/iptables_linux.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package iptables
    
    import (
    	"errors"
    	"fmt"
    	"net"
    
    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    )
    
    func AddInpodMarkIPRule(cfg *Config) error {
    	err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_iptables_unspecified.go

    import "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    var ErrNotImplemented = errors.New("not implemented")
    
    // Program defines a method which programs iptables based on the parameters
    // provided in Redirect.
    func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error {
    	return ErrNotImplemented
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. cni/pkg/iptables/testdata/default_ipv6.golden

    iptables -t mangle -N ISTIO_PRERT
    iptables -t nat -N ISTIO_OUTPUT
    iptables -t mangle -N ISTIO_OUTPUT
    iptables -t mangle -A PREROUTING -j ISTIO_PRERT
    iptables -t mangle -A OUTPUT -j ISTIO_OUTPUT
    iptables -t nat -A OUTPUT -j ISTIO_OUTPUT
    iptables -t mangle -A ISTIO_PRERT -m mark --mark 0x539/0xfff -j CONNMARK --set-xmark 0x111/0xfff
    iptables -t mangle -A ISTIO_PRERT -s e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164 -p tcp -m tcp -j ACCEPT
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_dryrun_test.go

    			tableName := lines[0][2:]
    			lines = append(lines, "COMMIT")
    			tables[tableName] = strings.Join(lines, "\n")
    		}
    	}
    	return tables
    }
    
    func refreshGoldens(t *testing.T, goldenFileName string, generatedRules map[string]string) {
    	tables := slices.Sort(maps.Keys(generatedRules))
    	goldenFileContent := ""
    	for _, t := range tables {
    		goldenFileContent += generatedRules[t] + "\n"
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top