SHA256
1
0
forked from pool/velociraptor
Commit Graph

77 Commits

Author SHA256 Message Date
Ana Guerrero
7d1c0aa6dc Accepting request 1186660 from security:sensor
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1186660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=12
2024-07-11 18:31:52 +00:00
40fdbdda96 Accepting request 1185208 from home:ateixeira:branches:security:sensor
- Update to version 0.7.0.4.git97.675e45f9:
  * kafka-humio-gateway: update go version and dependency list
  * kafka-humio-gateway: specific mTLS cert paths in config.yml
  * docker-compose: set kafka replication factor and min ISRs
  * kafka-humio-gateway: add http post retry mechanism
  * kafka-humio-gateway: add pprof debugging option
  * kafka-humio-gateway: format with gofmt
  * kafka-humio-gateway: fix go-staticcheck issues
  * kafka-humio-gateway: fix sendEvents() never exiting
  * Kafka.Events.Client: Update to use new artifactset type
  * docker-compose: add optional Kafka cluser
  * kafka-humio-gateway: add mTLS support
  * contrib/kafka-humio-gateway: add new debug option for noisy events
  * contrib/kafka-humio-gateway: backoff and retry for metadata
  * kafka-humio-gateway: add sample config file
  * kafka-humio-gateway: update sarama and dependencies
  * Add Kafka-Humio Gateway [Depends on PR#10] (#8)
  * vql/server/kafka: connect sarama logging to velociraptor logging
  * vql/server/kafka: add exponential backoff (limited to 30s) for metadata retries
  * vql/server/kafka: set appropriate ClientID
  * Add a Kafka export plugin
- Use llvm17 when available

OBS-URL: https://build.opensuse.org/request/show/1185208
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=78
2024-07-03 17:41:32 +00:00
Ana Guerrero
3a9a3e671f Accepting request 1177630 from security:sensor
OBS-URL: https://build.opensuse.org/request/show/1177630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=11
2024-05-30 13:33:20 +00:00
61b53625a0 Accepting request 1177399 from home:ateixeira:branches:security:sensor
- Patches changes:
  * Change CVE-2024-28849-follow-redirects-drop-proxy-authorization.patch
    to update the follow-redirects package instead of patching directly.
  * Added CVE-2022-25883-npm-watch-semver-deps.patch (bsc#1212572)
- Add a package-lock.json to the package

OBS-URL: https://build.opensuse.org/request/show/1177399
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=76
2024-05-29 18:06:32 +00:00
Ana Guerrero
9a6b61d408 Accepting request 1170491 from security:sensor
OBS-URL: https://build.opensuse.org/request/show/1170491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=10
2024-04-28 19:50:38 +00:00
f4ebb447db Accepting request 1170490 from home:ateixeira:sensor:sp3
- Fix group(velociraptor) dependency for SLE 15 SP3

OBS-URL: https://build.opensuse.org/request/show/1170490
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=74
2024-04-27 16:58:31 +00:00
Ana Guerrero
87d48ffde8 Accepting request 1169863 from security:sensor
OBS-URL: https://build.opensuse.org/request/show/1169863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=9
2024-04-23 16:57:23 +00:00
a667aa6514 Accepting request 1169862 from home:ateixeira:branches:security:sensor
- Change system-user-velociraptor to noarch

OBS-URL: https://build.opensuse.org/request/show/1169862
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=72
2024-04-23 11:45:06 +00:00
Ana Guerrero
8987b20063 Accepting request 1168852 from security:sensor
OBS-URL: https://build.opensuse.org/request/show/1168852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=8
2024-04-18 20:12:21 +00:00
9b9a6402e4 Accepting request 1168666 from home:jeff_mahoney:branches:security:sensor
- Fix unresolveable Debian group-velociraptor dependency.

OBS-URL: https://build.opensuse.org/request/show/1168666
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=70
2024-04-18 12:45:01 +00:00
c7549ca9ab Accepting request 1168648 from home:jeff_mahoney:branches:security:sensor
- Restore velociraptor group for client
- Add %{name}(project:%_project) Provides for SLE15 and newer
- Fixed SLE12-SP5 build

OBS-URL: https://build.opensuse.org/request/show/1168648
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=69
2024-04-17 19:45:07 +00:00
Ana Guerrero
db2ba9b3f0 Accepting request 1165646 from security:sensor
OBS-URL: https://build.opensuse.org/request/show/1165646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=7
2024-04-05 18:28:36 +00:00
4606785411 Accepting request 1165645 from home:ateixeira:branches:security:sensor
- Obsolete old velociraptor-kafka-humio-gateway package

OBS-URL: https://build.opensuse.org/request/show/1165645
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=67
2024-04-05 13:08:37 +00:00
84e1ed1154 Accepting request 1164383 from home:ateixeira:branches:security:sensor
- Update to version 0.7.0.4.git74.3426c0a:
  * Fix services artifact symbol pid not found error
  * chattrsnoop: correct read size for flags
  * chattrsnoop: fix wrong FS_IOC_SETFLAGS value for ppc
  * chattrsnoop: fix do_vfs_ioctl kprobe failure

- Remove nodejs sources from main spec file. 

- Update to version 0.7.0.4.git68.ad1f4e5:
  * Fix undefined binary.NativeEndian build errors
- Add llvm16-libclang13 dependency for SLE 15 SP5 and above

- Disable eBPF for SLE 15 SP2

- Fix builds for SLE 15 SP3 and SLE 12
  * Revert to gzip compression instead of zstd for go modules

OBS-URL: https://build.opensuse.org/request/show/1164383
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=66
2024-04-03 15:02:45 +00:00
241ebf3914 Accepting request 1161552 from home:ateixeira:branches:security:sensor
- Update to version 0.7.0.4.git66.eea7659:
  * dnssnoop: fix loading protocol from ip header on s390
  * dnssnoop: fix htons() so it works on s390 too
  * Fix systemd Services artifact missing events
  * chattrsnoop: replace global variables with locals
  * tcpsnoop: fix garbled results on s390
  * chattrsnoop: fix immutable attribute set on s390
  * chattrsnoop: fix bpf_probe_read for s390
  * tcpsnoop: remove unused filtering code
  * Add artifact to collect new files without owner
  * bpf plugins: set a logger callback
- Add CVE-2024-28849-follow-redirects-drop-proxy-authorization.patch
  (bsc#1221456)

OBS-URL: https://build.opensuse.org/request/show/1161552
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=65
2024-03-25 20:16:39 +00:00
5968657952 Accepting request 1153587 from home:ateixeira:branches:security:sensor
- Reintroduce system-user-velociraptor package due to client %pre
  and %postun scripts depending on velociraptor user and group.

OBS-URL: https://build.opensuse.org/request/show/1153587
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=64
2024-02-29 19:22:00 +00:00
b0c8b246d2 Accepting request 1152799 from home:ateixeira:branches:security:sensor
- Obsolete old system-user-velociraptor package.
- Use zst compression for go modules.

- Changelog formatting and adding lost entries

OBS-URL: https://build.opensuse.org/request/show/1152799
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=63
2024-02-27 23:25:38 +00:00
1565eb03b8 Accepting request 1149917 from home:doreilly:branches:security:sensor
- Update to version 0.7.0.4.git47.0f8a4de1:
  * Rename SUSE specific artifacts to have SUSE prefix
  * Add SUSE.Linux.Events.NewZeroSizeLogFile artifact
  * Move NewFiles artifact to SUSE
  * Move ImmutableFile artifact to SUSE
  * Make ImmutableFile artifact consistent with others
  * Fix absolute path case in ExecutableFiles artifact
  * Add client monitoring artifact for RPMs
  * Add artifact to collect new hidden files
  * Add artifact to monitor ssh authorized_keys files
  * Fix split_records error on older clients
  * Add hash fields to Linux.Events.ProcessExecutions
  * Add artifact to collect systemd service events
  * Fix SystemLogins artifacts file extensions
  * Add SUSE.Linux.Events.Timers artifact
  * Fix audit filter key typo in Linux.Events.NewFiles
  * Add server artifact to delete old client data on server
  * Add SUSE.Linux.Sys.At artifact
  * chattrsnoop: include full error details in logs
  * chattrsnoop: handle os.Stat() error properly
  * chattrsnoop: don't log.Fatal() on hash error
  * Fix Linux.Events.ImmutableFile not showing hash in GUI
  * SUSE.Linux.Events.Crontab: Add task execution artifacts
  * Raise client connection log level to ERROR
  * sdjournal: Correctly seek to current tail
- Remove verbose flag from client config
 
- Update to version 0.7.0.4.git6.7b40b8b:
  * go.mod: increase go version to 1.19

OBS-URL: https://build.opensuse.org/request/show/1149917
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=62
2024-02-23 12:55:34 +00:00
241bb91d31 Accepting request 1149391 from home:ateixeira:branches:security:sensor
- Use clang16 for SLE 15 SP4 and above.

OBS-URL: https://build.opensuse.org/request/show/1149391
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=61
2024-02-22 13:27:13 +00:00
Darragh O'Reilly
7e4a12a3fa Accepting request 1139763 from home:ateixeira:branches:security:sensor
- Fixed Debian %postun scripts being used for other distros.

OBS-URL: https://build.opensuse.org/request/show/1139763
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=60
2024-01-23 14:28:17 +00:00
0c4d6def1a Accepting request 1134354 from home:jeff_mahoney:branches:security:sensor
- Added workaround for missing Maintainers tag in Debian-based packages.
  obs-service-format_spec_file strips the Packager tag from the spec file
  before committing.  The build service replaces it with its own.  debbuild
  expects the Packager field to be present to generate the Maintainers tag
  in the output but it only receives the "cleaned" spec file.

- Added Recommends: auditd
  - Technically not *required* but Velociraptor's audit client enables
    audit and then listens on the multicast socket.  Without a listener
    on the unicast socket, the kernel will spam the system log with events.

- Fixed debian packaging:
  * /etc/sysconfig -> /etc/default
  * %postun for systemd service cleanup
  * Note: obs-service-format_spec_file strips the Packager tag that
    debbuild uses to generate the Maintainer tag

OBS-URL: https://build.opensuse.org/request/show/1134354
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=59
2023-12-21 00:29:28 +00:00
befaca9186 - Fix %SOURCE references.
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=58
2023-12-19 14:25:07 +00:00
8c712ed88b revert: - go.mod asks for go 1.18, so we don't need to require go 1.19
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=57
2023-12-18 20:31:47 +00:00
de4fd9d928 - go.mod asks for go 1.18, so we don't need to require go 1.19
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=56
2023-12-18 20:13:13 +00:00
ac85413735 Accepting request 1133905 from home:jeff_mahoney:branches:security:sensor
- Temporarily use the NODE_MODULES BEGIN/END form of the node_modules
  service due to a bug in debbuild preventing Debian builds from succeeding.
- Update to version 0.7.0.4.git4.c1b68a5b:
  * hash: fix nil pointer dereference panic
  * velociraptor: add dummy main function for mage
- Removed patch:
  * velociraptor-golang-mage-vendoring.diff
- Switched to using go_modules and node_modules source services
  - Eliminated bespoke vendoring scripts.
- Pulled sysuser definition into the velociraptor package.

- Remove PrivateTmp and PrivateDevices settings in velociraptor-client.service (SENS-70)

- Update to version 0.7.0.4.git0.e09a0df8:
  * Add additional sanitization to HTML templates on JS side. (#2) (#3077) (CVE-2023-5950)
  * vql/linux/sdjournal: Fix open/close lifetimes
  * vql/linux/audit: fix shutdown races
  * vql/linux/audit: fix goroutine lifetimes
  * vql/linux/audit: limit messageQueue to within runService
  * vql/linux/audit: add auditService.Log()
  * vql/linux/audit: pull parts of shutdown into shutdown watcher
  * vql/linux/audit: remove unnecessary error handling for reassembler
  * vql/linux/audit: remove unused waitgroup from main event loop
  * vql/linux/audit: handle top-level cancelation properly
  * vql/linux/audit: make explicit that goroutines in the main errgroup don't return errors
  * vql/linux/audit: make stats reporting separate from debug prints
  * vql/linux/audit: simplify polling in listener
  * vql/linux/audit: tests, check various rule scenarios
  * vql/linux/audit: Add more client failure test cases
  * vql/linux/audit: Fix audit client lifecycle

OBS-URL: https://build.opensuse.org/request/show/1133905
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=55
2023-12-18 18:44:23 +00:00
Ana Guerrero
9ee7c5b57b Accepting request 1101044 from security:sensor
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1101044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=6
2023-07-27 14:53:11 +00:00
6ab20944e0 Accepting request 1099705 from home:msmeissn:branches:security:sensor
- require the group / user only in the server build

OBS-URL: https://build.opensuse.org/request/show/1099705
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=53
2023-07-20 09:59:08 +00:00
Dominique Leuenberger
0f4e498491 Accepting request 1085933 from security:sensor
- Update to version 0.6.7.5~git81.01be570:
  * libbpfgo: pull fix for double-free
  * logscale: add documentation for plugin

- bump minimum nodejs to 18:
  building against 16 causes errors

OBS-URL: https://build.opensuse.org/request/show/1085933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=5
2023-05-10 14:19:17 +00:00
154074cae5 - Update to version 0.6.7.5~git81.01be570:
* libbpfgo: pull fix for double-free
  * logscale: add documentation for plugin

OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=51
2023-05-10 00:51:00 +00:00
7bb1958b78 Accepting request 1085748 from home:darix:apps
- bump minimum nodejs to 18:
  building against 16 causes errors

OBS-URL: https://build.opensuse.org/request/show/1085748
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=50
2023-05-09 23:43:33 +00:00
Dominique Leuenberger
116b27c951 Accepting request 1085597 from security:sensor
- Provide sysuser template for velociraptor user and group. (forwarded request 1085596 from jeff_mahoney)

OBS-URL: https://build.opensuse.org/request/show/1085597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=4
2023-05-09 11:08:33 +00:00
c313187484 Accepting request 1085596 from home:jeff_mahoney:branches:security:sensor:updates
- Provide sysuser template for velociraptor user and group.

OBS-URL: https://build.opensuse.org/request/show/1085596
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=48
2023-05-09 02:00:49 +00:00
f537d3a99b OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=47 2023-05-09 00:52:45 +00:00
3a5ec10ba3 Accepting request 1085591 from home:jeff_mahoney:branches:security:sensor:updates
- Update to version 0.6.7.5~git78.2bef6fc:
  * bpf: fix path to vmlinux.h

- Update to version 0.6.7.5~git77.997aa73:
  * file_store/test_utils/server_config.go: update test certificate
  * Update bluemonday dependency.
  * vql/functions/hash: cache results on Linux
  * libbpfgo: update to velociraptor-branch-v0.4.8-libbpf-1.2.0
  * logscale/backport: don't use networking.GetHttpTransport
  * vql/tools/logscale: add plugin to post events to LogScale ingestion endpoint
  * file_store/directory: add ability to report pending size
- Change clang dependency to clang16
- Fix velociraptor-golang-mage-vendoring.diff to account for newer
  'go mod vendor' honoring build flags.
- Fix update-vendoring.sh script to actually run the %setup part of
  the spec.
- Merge client package into server spec and use _multibuild to create
  client package from same spec file.
- Adjust changelog to retain changes for client package.
- Fix building in static mode on earlier releases.
  - Added patch: velociraptor-libbpfgo-only-build-libbpf.patch

- Tightening the security of the services a bit:
  - tmp files are now moved to /var/lib/velociraptor{,-client}/tmp
    from /tmp
  - run velociraptor server as user velociraptor instead of root
    we do not really need root permissions here
  - introduce /var/lib/velociraptor/filestore to make it easier to
    split out large file upload
  - change permissions for the data directory and subdirectories to

OBS-URL: https://build.opensuse.org/request/show/1085591
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=46
2023-05-09 00:49:51 +00:00
Dominique Leuenberger
333e9f40ae Accepting request 1064242 from security:sensor
- Update to version 0.6.7.4~git63.4a1ed09d:
  * utils/time.js: fix handling of nanosecond-resolution timestamps
- Added patches:
  * velociraptor-reproducible-timestamp.diff

- Use obsinfo mtime to produce stable build timestamp (bsc#1207369).

- Update to version 0.6.7.4~git60.8abed37a:
  * http_comms: create ring buffer temporary file in the same directory
  * cronsnoop: plumb in real scope logging
  * cronsnoop: don't treat routine errors as fatal
  * cronsnoop: fix typo

- Update to version 0.6.7.4~git63.4a1ed09d:
  * utils/time.js: fix handling of nanosecond-resolution timestamps
- Added patches:
  * velociraptor-reproducible-timestamp.diff

- Use obsinfo mtime to produce stable build timestamp (bsc#1207369).

- Update to version 0.6.7.4~git60.8abed37a:
  * http_comms: create ring buffer temporary file in the same directory
  * cronsnoop: plumb in real scope logging
  * cronsnoop: don't treat routine errors as fatal
  * cronsnoop: fix typo

OBS-URL: https://build.opensuse.org/request/show/1064242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=3
2023-02-11 20:56:34 +00:00
bfb6d78d98 Added patch to patch list
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=44
2023-02-10 12:58:24 +00:00
50651d3408 Fixed changelog
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=43
2023-02-06 14:35:01 +00:00
8fbd6d6882 Accepting request 1062529 from home:jeff_mahoney:branches:security:sensor
- Update to version 0.6.7.4~git63.4a1ed09d:
  * utils/time.js: fix handling of nanosecond-resolution timestamps

- Update to version 0.6.7.4~git63.4a1ed09d:
  * utils/time.js: fix handling of nanosecond-resolution timestamps

OBS-URL: https://build.opensuse.org/request/show/1062529
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=42
2023-02-01 18:28:25 +00:00
d5a3e31f79 Accepting request 1060929 from home:jeff_mahoney:branches:security:sensor
- Use obsinfo mtime to produce stable build timestamp (bsc#1207369).

- Update to version 0.6.7.4~git60.8abed37a:
  * http_comms: create ring buffer temporary file in the same directory
  * cronsnoop: plumb in real scope logging
  * cronsnoop: don't treat routine errors as fatal
  * cronsnoop: fix typo

- Use obsinfo mtime to produce stable build timestamp (bsc#1207369).

- Update to version 0.6.7.4~git60.8abed37a:
  * http_comms: create ring buffer temporary file in the same directory
  * cronsnoop: plumb in real scope logging
  * cronsnoop: don't treat routine errors as fatal
  * cronsnoop: fix typo

OBS-URL: https://build.opensuse.org/request/show/1060929
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=41
2023-01-25 13:29:03 +00:00
Dominique Leuenberger
6404b5dcb9 Accepting request 1060080 from security:sensor
- Fixed release detection to include Tumblweed (forwarded request 1060079 from jeff_mahoney)

OBS-URL: https://build.opensuse.org/request/show/1060080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=2
2023-01-21 18:10:27 +00:00
a66ed310ea Accepting request 1060079 from home:jeff_mahoney:branches:security:sensor
- Fixed release detection to include Tumblweed

OBS-URL: https://build.opensuse.org/request/show/1060079
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=39
2023-01-21 04:12:03 +00:00
be20427f10 Fixed dropped changelog entry
---------------------------------------------------------------------
- add memory limit to systemd unit

OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=38
2023-01-21 03:44:17 +00:00
4dddd873d1 Accepting request 1060074 from home:jeff_mahoney:branches:security:sensor
Fixed commit message after patch rename
  - vendor-build-fixes-for-SLE12.patch
  - vendor-build-fixes-for-SLE12.patch

OBS-URL: https://build.opensuse.org/request/show/1060074
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=37
2023-01-21 03:03:44 +00:00
868045c06c Accepting request 1060071 from home:jeff_mahoney:branches:security:sensor
- Increase required release to enable eBPF to SLE 15 SP2 and
  openSUSE Leap 15.2.  Earlier versions don't have a usable eBPF
  and can't easily build llvm13.

- Increase required release to enable eBPF to SLE 15 SP2 and
  openSUSE Leap 15.2.  Earlier versions don't have a usable eBPF
  and can't easily build llvm13.

OBS-URL: https://build.opensuse.org/request/show/1060071
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=36
2023-01-21 02:50:51 +00:00
d5702730fe Accepting request 1060070 from home:jeff_mahoney:branches:security:sensor
- Remove dependency on bpftool.  We use the vmlinux.h archive
  to provide vmlinux.h.

- Restored %defattr due to SLE12 using rpm-4.11.
- Fix builds in vendor code on SLE12
- Fix build in third_party/sdjournal due to older systemd on SLE12
- Added patches:
  - vendor-go-magic-build-fix-for-SLE12.patch
  - sdjournal-build-fix-for-SLE12.patch
- Remove dependency on bpftool.  We use the vmlinux.h archive
  to provide vmlinux.h.

- Restored %defattr due to SLE12 using rpm-4.11.
- Fix builds in vendor code on SLE12
- Fix build in third_party/sdjournal due to older systemd on SLE12
- Added patches:
  - vendor-go-magic-build-fix-for-SLE12.patch
  - sdjournal-build-fix-for-SLE12.patch

OBS-URL: https://build.opensuse.org/request/show/1060070
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=35
2023-01-21 02:03:49 +00:00
b16a5f1b3e Accepting request 1060003 from home:dirkmueller:Factory
- add memory limit to systemd unit

OBS-URL: https://build.opensuse.org/request/show/1060003
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=34
2023-01-20 16:50:46 +00:00
Dominique Leuenberger
16d33dd7bf Accepting request 1059630 from security:sensor
Fixed systemd pkgconfig issue.

Had to revert clang >= 13 back to clang13.  Allowing newer versions is
causing crashes in libbpfgo.

OBS-URL: https://build.opensuse.org/request/show/1059630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/velociraptor?expand=0&rev=1
2023-01-20 16:38:27 +00:00
6fbff8f638 Accepting request 1059625 from home:jeff_mahoney:branches:security:sensor
---------------------------------------------------------------------
- Restore requirement to build with clang13.  Newer versions
  cause libbpfgo to crash immediately.
-----------------------------------------------------------------
- Added support for setting command line options via sysconfig
- Restore requirement to build with clang13.  Newer versions
  cause libbpfgo to crash immediately.

- Added support for setting command line options via sysconfig

OBS-URL: https://build.opensuse.org/request/show/1059625
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=32
2023-01-19 15:27:12 +00:00
b77f05d020 - Update to version 0.6.7.4~git53.0e85855:
* sdjournal: work around missing _SYSTEMD_UNIT fields

- Update to version 0.6.7.4~git53.0e85855:
  * sdjournal: work around missing _SYSTEMD_UNIT fields

OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=31
2023-01-19 05:02:41 +00:00
3f054c52ce Accepting request 1059461 from home:jeff_mahoney:branches:security:sensor
- Clean up for Factory submission:
  - Make bpf-enabled builds conditional
  - Removed %defattr and combined service lines.
  - Change clang and llvm dependencies to use >= 13
  - Newer versions of clang hit a DWARF parsing bug in go < 1.19,
    so increase go version dependecy
  - Define ExclusiveArch for x86_64, ppc64le, aarch64, and s390x
    Neither the client or server builds on ix86.
- Added Restart=on-failure to restart the client automatically.

- Update to version 0.6.7.4~git51.a588d6e4:
  * magefile.go: use current architecture for Linux builds
  * Update libbpfgo submodule to include non-AMD64 build fixes
  * bpf: bpf expects s390 instead of s390x

- Clean up for Factory submission:
  - Make bpf-enabled builds conditional
  - Removed %defattr and combined service lines.
  - Change clang and llvm dependencies to use >= 13
  - Newer versions of clang hit a DWARF parsing bug in go < 1.19,
    so increase go version dependecy
  - Define ExclusiveArch for x86_64, ppc64le, aarch64, and s390x
    Neither the client or server builds on ix86.
- Update to version 0.6.7.4~git51.a588d6e4:
  * magefile.go: use current architecture for Linux builds
  * Update libbpfgo submodule to include non-AMD64 build fixes
  * bpf: bpf expects s390 instead of s390x

OBS-URL: https://build.opensuse.org/request/show/1059461
OBS-URL: https://build.opensuse.org/package/show/security:sensor/velociraptor?expand=0&rev=30
2023-01-19 01:05:43 +00:00