egress_control

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2025 License: BSD-2-Clause Imports: 9 Imported by: 0

README

  • 外部パッケージの github.com/vishvananda/netlink が何らか利用できない状態になって、RST パケットがドロップできないとなっても、回避策はある(ref

    $ sudo iptables -A OUTPUT -s 127.0.0.1 -d 127.0.0.1 -p tcp --tcp-flags RST RST -j DROP
    
  • 初回 go generate 前に、以下あたりを確認しておく

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(ebpfProg *egress_packetObjects, qdisc *netlink.GenericQdisc) error

func PrepareDropingRSTPacket

func PrepareDropingRSTPacket(nwInterface string) (*egress_packetObjects, *netlink.GenericQdisc, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL