Skip to content

Releases: black-desk/cgtproxy

v0.1.1

26 Oct 01:54
19010ed
Compare
Choose a tag to compare

Changelog

v0.1.0-rc.7

24 Oct 08:47
20a35c9
Compare
Choose a tag to compare

Changelog

  • 20a35c9 docs: update troubleshooting.md
  • 6070ffa refact: upgrade dependencies
  • 1de6ae8 style: move method to private
  • facb901 style: reduce indent
  • 01b896e build: update Makefile
  • f08f9df docs: update troubleshooting.md
  • e10c61c style: run go generate
  • 73321b3 fix: release lasting netlink connection
  • ca71f09 fix: report an error when the table already existed
  • dceb666 fix(routeman): allow ipv6 rule fail

v0.1.0

24 Oct 11:59
1347d08
Compare
Choose a tag to compare

Changelog

  • 1347d08 chore: update example configuration

v0.1.0-rc.6

23 Oct 17:47
Compare
Choose a tag to compare

Changelog

  • dc33673 ci: install needed packages
  • fd9d052 ci: fix cache
  • a444c80 build(makefile): add -t to SYSTEMD_RUN
  • 5a267c2 build: fix arm build
  • 8b828f2 build(deps): bump goreleaser/goreleaser-action from 4 to 5 (#85)
  • 72e73fa build(deps): bump actions/checkout from 3 to 4 (#86)
  • 7e327f8 build(deps): bump github.com/onsi/gomega from 1.28.0 to 1.28.1 (#84)

v0.1.0-rc.4

21 Oct 16:43
8e20066
Compare
Choose a tag to compare

Changelog

v0.1.0-rc.3

21 Oct 14:06
39f57c3
Compare
Choose a tag to compare

Changelog

v0.1.0-rc.2

21 Oct 11:42
9d396b3
Compare
Choose a tag to compare

Changelog

v0.1.0-rc.1

20 Oct 19:35
6d51df8
Compare
Choose a tag to compare

Changelog

  • 6d51df8 refact: switch to github.com/rjeczalik/notify

v0.1.0-alpha

20 Oct 17:58
ad5f56e
Compare
Choose a tag to compare

Changelog

  • ad5f56e style: move functions to private.go
  • abda2b0 fix: bring first walk cgroupfs back
  • 7d18af2 style: typo
  • 85cf57e style: run go fmt
  • f4df208 ci: use goreleaser
  • 8fc14bd build: use v0.3.0 interfacer
  • f51a92b refact: remove internal packages
  • 9f66fcd style: rename files
  • b15195c refact: make cgtproxy public
  • b1a258a refact: make routeman public
  • 00defaa refact: make nftman public
  • 6294a05 style: rename some types and variables
  • e4c66fd refact: remove Stop
  • 6bf7a8a refact: remove cgmon
  • 3629315 build: update Makefile
  • bbefe46 feat(cgmon): add Output
  • c203c0e refact: make cgroup event chan sending value
  • dc0c89f style: remove {}
  • b98b68b refact: move method to public.go and private.go
  • b490cc9 refact: make types public
  • 4144de3 refact: rename Core -> CGTProxy
  • 98e53a6 refact: make cgmon public
  • 18e6256 fix: correct /proc/modules checker
  • 66fac00 build: go get -u ./...
  • 47510b3 fix: correct bypass in example config
  • e14cdf5 fix: void add unused set
  • a8788d5 chore: rename constructor file to new.go
  • bd99b3b build(deps): bump actions/checkout from 3 to 4 (#60)
  • 1fdbd7d ci: add coverage report
  • 1c2ec4d build: add coverage profile
  • da35610 chore: update TEST env
  • c25b5af style: update makefile
  • a7d35f1 build: upgrade to go 1.21
  • e6c2a1a tests: use custom cgroupfs mount point
  • f107d5c chore: update go mods
  • 2993185 feat: add Result chan to CgroupEvent
  • 4cf45cf refact: move code out of core pkgs
  • 41b23ca build: update Makefile
  • 84e6a6b feat: add cpu profile function
  • 141e2b9 feat: start implement gtproxier
  • 407e404 refact: make config pkg take in a logger
  • b746ee8 ci: add ci
  • ab464d0 chore: remove debug log
  • e6cb9a9 feat(core): add Stop
  • 77e9541 fix: disable ProtectControlGroups
  • 51d20ca chore: update dependencies
  • 5b99b69 docs: update README
  • 95d227d docs: update README
  • d1eac8a style: update error wrap style
  • bbed450 refact: void using global logger
  • 1b46f4c refact: move some packages to /internal
  • 9d3814d refact(log): use logger
  • 1f0cd41 chore: update go.mod
  • d9934a6 refact(core): make core public
  • 8e935d4 refact(config): make config public
  • a78d2c3 refact(config): ConfigV1 -> Config
  • 0f269c3 feat(config): merge bypass
  • a100d75 build: update Makefile
  • 4333aa1 feat: support cidr in bypass
  • 3ea7c38 docs(config): update comment
  • ce4965e docs: update README
  • cbd339a chore(config): addr -> ip
  • f6e664a docs: update example config
  • e044893 test(table): fix test
  • c20c9ea refact: correct wire use
  • f0cbdb0 chore: update go.mod
  • b5f1681 test(config): fix tests for remove repeater
  • c695bc1 refact: remove repeater
  • b995b62 docs: update README
  • 4e02d1a docs: update README
  • 610413b fix(table): add missing output nat hook chain
  • 9c7be0a fix(table): ignore ErrNotExist in Table.Clear
  • b75aa87 feat: add default configuration
  • abe01da docs: update README and godoc
  • 8198a6e feat: implement dns hijack
  • dc9f7ed style: format
  • 3b00a8e fix(table): do not tproxy any "reply"
  • ab38086 docs: update README
  • 66c4a3f test: update test for ignore unknow fsEvent error
  • a71f85d fix(monitor): do not send cgroup root event
  • 7101571 fix: do not use lasting nftable conn
  • 2954ce8 fix(watcher): handle fsevent synchronously
  • 6154b01 fix: run stringer by go run
  • 86d86e6 fix(core/table): void duplicate element in nft set
  • 30f5e0c chore: update log
  • 75dc29b chore(rulemanager): more logs
  • 58856a7 fix(watcher): void use pointer after send
  • 446e97c refact: add some log
  • 61d6f76 fix: ignore unknow fsEvent error
  • 108d8c1 fix: ignore route already exists
  • da46e98 docs: update README
  • 30c9059 chore: better logging
  • 6eb66fa fix: ignore ENOBUFS
  • ff8c343 docs: update README
  • a19d31d chore(watcher): update log
  • a828327 docs: update README
  • bd44966 feat: systemd integration
  • 40b10b6 fix: add missing rules to output chain
  • 19c7556 fix: apply KeyByteOrder to all set
  • b50b8da docs: update README
  • 948997e docs: update README
  • d0b2417 fix(table): fix wrong byte order for map key
  • 7008ce1 chore(table): remove an unused function
  • 3979f11 test(table): update test
  • f77408f docs: update README
  • 8f7d308 chore: rename project
  • f284936 fix(table): update table structure
  • 9cc4bc7 fix(monitor): should not access value after send
  • 0683880 refact(table): remove tproxyChains
  • 0c9826e chore: update log
  • 5f0c93f chore: add stack when dump nft
  • d7f94f0 chore: change some log level
  • f350ccc fix(watcher): inotify recursively
  • 89c95aa chore: fix a typo
  • 30d23be fix: void get rules from kernel
  • 0dfc619 feat(monitor): handle existing cgroups
  • 282c7e9 refact(config): move errors.New call into error.go
  • 6e2c930 refact(log): imporve logger
  • 8a2b649 fix(config): init route table
  • 1bb0b44 test(table): add more tests
  • 37d6ac9 fix(config): fix getCgroupRoot
  • 1d87767 fix(config): init Tproxy.Name before allocate ports
  • 330220f fix: fix a panic
  • 3d65ebd refact(rulemanager): move some logic into New
  • 77f9128 fix: correct cgroup set element value
  • f6a3b34 fix(table): retry when get rules failed
  • 8ca2de6 fix(table): remove cgroupRoot in RemoveCgroup
  • d9828a2 docs: add a example config
  • e772143 refact: use go-fsevents
  • e311369 chore: add some logs
  • 6f484f1 refact: move getNftRules into table/internal
  • 2b141ed chore: remove a unused constant
  • fc2191d test: add test for internal/core/table
  • 571aeb4 fix(core/table): make this package work
  • 5389075 chore(config): remove Stirng() method of some structs
  • a3d6942 chore(core/table): move a string to consts
  • e9a5e26 chore(core/table): rename a function
  • 4d87378 test(core/table): add a wired injector package
  • f2a3821 chore(core/table): add error.go
  • df1eb40 style(core/table): remove an empty line
  • 67d8094 style(core): reorder definitions
  • 31894bb fix: add missing argument in log
  • 475a9cc style: wrap long line
  • 643e276 chore: add a log
  • 5af00a5 chore: update zap-journal
  • 9b233d3 style: remove tproxy logging when ErrTooFewPorts
  • 1408fa3 style: remove an empty line
  • bdb4261 chore: use errwrap
  • db47217 chore: move some libs to other repos
  • 6484e30 refact(monitor): make ErrUnexpectFsEventOp a struct
  • 02870c7 refact(config): make ErrWrongPortsPattern.Actual public
  • 7d4783d build: update Makefile
  • 38f84ec refact: use wire
  • fd5080f feat: add watcher
  • b7f058d chore: core/rulemanager/table -> core/table
  • d51fc92 refact(core/rulemanager): add Opt
  • d59ae92 refact(core/repeater): add Opt
  • b07396b chore: remove a out of date NOTE
  • 574bde3 build: update Makefile
  • 94e826f chore: rename a file
  • aa9418d refact(core/monitor): add Opt
  • 363aeb5 chore: remove unused ErrorPool in container
  • 773ffd0 docs: add a todo
  • 0270b46 chore: remove unused consts
  • 3c3b1c5 fix: make tproxy-ports required
  • 683f7e4 build: strip bin
  • 20edc7f chore(log): use zap.NewDevelopment() as fallback debug logger
  • 8d1e891 docs(zap-journal): update comment and readme
  • e577b1d build: update Makefile
  • 2f9073e chore(zap-journal): add example
  • 6012c5c test(zap-journal): update test
  • 03998ec chore: move some internal pkgs to pkg
  • 624de9e build: add debug build
  • 9abe6ea feat(zap-journal): add DebugConfig and NewDebug
  • b9a705a chore: add some logs
  • e884986 feat(zap-journal): AddString without quotes
  • 08c273a feat(zap-journal): force key to uppercase
  • ae56f7f refact: use new zap logger
  • c93005e feat: add internal/log/zap-journal
  • de2e8fc feat: add internal/log/zap-journal/internal/conn
  • 7426afa test: add tests for internal/log/zap-journal/encoder
  • 4aacf57 feat: add internal/log/zap-journal/encoder
  • f0f7c15 feat: add internal/pool
  • 1194fc9 chore: go mod tidy
  • 621dd96 feat: add internal/log/zap-journal/internal/zapjson
  • 90273b6 feat: copy file from zapcore
  • 661a424 chore: go mod tidy
  • 0717263 feat: add internal/log/zap-journal/internal/bufferpool
  • 9214c7f test: use Expect(err).To(Succeed())
  • 7c1b66a test: add test for location
  • 7d03e02 chore(location): Catch -> Capture
  • b51d974 chore: make location public
  • 68a8845 style: if err != nil in next line
  • 74d4940 test(ginkgo-helper): use MatchError
  • 448888e test(config): add tests
  • 258796a feat: add gomega-helper
  • ec18a93 refact(config): error handling for tproxy-ports
  • d84d744 refact(config): add proxies and tproxies
  • e80f423 fix(core): make repeater optional
  • 9de3dbf fix(core): void goroutine leak
  • a03ce40 fix(config): correct Tproxy.Addr validation
  • 7aaa366 fix(config): correct context message
  • d233e11 test(config): add test of invalid config
  • 5e89c86 style(config): add error
  • 00f3818 chore: remove empty file
  • a82294a refact(ginkgo-helper): move entry to single file
  • 8b8ae15 test(ginkgo-helper): add fmt args
  • 8c681a0 test: add internal/core/monitor test
  • 48607a9 style(monitor): add errors
  • 410d8d6 fix(ginkgo-helper): handle nil argument correctly
  • 153a036 style(ginkgo-helper): adjust indent
  • 6edebe7 test: add internal/config test
  • b260936 feat: add internal/test/ginkgo-helper
  • 97a4ac8 fix(inject): fix test
  • 705f33e chore(core): add more log
  • 09a341a feat(config): add String() for configuration types
  • b471b3c fix(core): cancel ctx when one module exit
  • 1001127 fix(core): fix panic
  • 14ccf81 feat(config): add config.Load
  • 79538af style: use internal/location
  • ccb9ab8 feat: add internal/location
  • e98098c fix(config): fix panic
  • 5495f19 fix(config): correct Regexp.FindStringSubmatch
  • ff3746d fix(config): unmarshal into embed struct
  • 3ea76ac style: use \n for error %w
  • 1ffa30a docs: add nft development document
  • 500ee09 feat: add check command
  • 6743030 feat: add root command and internal/core
  • cf77c5d feat: add internal/config
  • afcd919 feat: add internal/inject
  • 24ac3f5 feat: add internal/log
  • a551297 chore: add go.mod
  • 95db432 chore: add license
  • 3c4eca1 Initial commit