Commit Graph

104 Commits

Author SHA256 Message Date
Stanislav Brabec
1d61a92125 Improve changes text
Add context about relation of bsc#142461 and bsc#1243581.
2025-10-30 23:14:29 +01:00
Stanislav Brabec
58ba99ebdd Security fixes and patch cleanup
- Drop 0002-Do-not-warn-about-interface-socket-not-binded.patch. It
  worked around a net-tools-1.60 specific problem, that does not
  happen in net-tools-2.10. It is more harmful than useful, as it
  can hide real problems. (bsc#430864#c15,
  https://github.com/ecki/net-tools/issues/32#issuecomment-3265471116).
- Drop 0004-By-default-do-not-fopen-anything-in-netrom_gr.patch. It
  was net-tools-1.60 specific leak fix and breaks netrom in
  net-tools-2.10 (bnc#544339#c2).
- Drop old Fedora patch 0006-Allow-interface-stacking.patch. It
  provided a fix for CVE-2025-46836 (bsc#142461), but it was fixes
  by the upstream in 2025 in a different way. Revert interferring
  net-tools-CVE-2025-46836.patch back to the upstream version.
- Fix stack buffer overflow in parse_hex (bsc#1248687,
  GHSA-h667-qrp8-gj58, net-tools-parse_hex-stack-overflow.patch).
- Fix stack-based buffer overflow in proc_gen_fmt (bsc#1248687,
  GHSA-w7jq-cmw2-cq59,
  net-tools-proc_gen_fmt-buffer-overflow.patch).
- Avoid unsafe memcpy in ifconfig (bsc#1248687,
  net-tools-ifconfig-avoid-unsafe-memcpy.patch).
- Prevent overflow in ax25 and netrom (bsc#1248687,
  net-tools-ax25+netrom-overflow-1.patch,
  net-tools-ax25+netrom-overflow-2.patch).
- Keep possibility to enter long interface names, even if they are
  not accepted by the kernel, because it was always possible up to
  CVE-2025-46836 fix. But issue a warning about an interface name
  concatenation (bsc#1248410,
  net-tools-ifconfig-long-name-warning.patch).
2025-10-27 23:03:20 +01:00
80c1a53c66 Sync changes to SLFO-1.2 branch 2025-08-20 09:54:26 +02:00
6b99ea4183 Accepting request 1298935 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1298935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=61
2025-08-13 14:22:55 +00:00
dccfe3ae09 - Provide more readable error for interface name size checking
introduced by net-tools-CVE-2025-46836.patch
  (bsc#1243581, net-tools-CVE-2025-46836-error-reporting.patch).

OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=73
2025-08-11 21:16:15 +00:00
a15c4d9da0 Accepting request 1298353 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1298353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=60
2025-08-09 17:58:52 +00:00
Marcus Schaefer
b9c8bcea79 - Fix a regression in net-tools-CVE-2025-46836.patch (bsc#1246608).
- Perform bound checks when parsing interface labels in
  /proc/net/dev (bsc#1243581, CVE-2025-46836,
  net-tools-CVE-2025-46836.patch,
  net-tools-CVE-2025-46836-regression.patch).

OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=71
2025-08-08 08:28:45 +00:00
f9d2f13fc2 Accepting request 1240893 from network:utilities
Forwarded request #1238963 from kukuk

- hostname is not required anymore [bsc#1236061]

OBS-URL: https://build.opensuse.org/request/show/1240893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=59
2025-01-29 15:09:26 +00:00
d65a743cb9 - hostname is not required anymore [bsc#1236061]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=69
2025-01-28 17:41:34 +00:00
7b6befdfb7 Accepting request 1073279 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1073279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=58
2023-03-22 21:29:07 +00:00
155f5fff84 Accepting request 1055716 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1055716
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=67
2023-03-20 14:03:15 +00:00
5dd73932ba Accepting request 867901 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/867901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=57
2021-02-07 14:13:48 +00:00
4d93f4593e Accepting request 866395 from home:dirkmueller:branches:network:utilities
- update to 2.10:
  * man: pt_BR: ifconfig: fix procmisc option typo
  * netstat: exit non-zero when sctp protocols are not supported
  * man: route: add single route del example
  * ifconfig: accept "pointtopoint" as an alias to "pointopoint"
  * man: netstat: fill out Timers section
  * man: ethers: remove funky comment blocks
  * man: standardize SEE ALSO across all pages & translations
  * netstat: fix iface truncation with -i
  * ifconfig: fix exabyte statistic handling
  * man: ipmaddr/iptunnel: new stub man pages
  * man: route: use standard .BR for SEE ALSO
  * netstat: fix iface truncation with -g
  * po: rename et_EE to et
  * README/INSTALL: refresh for the modern times
  * THANKS: add a few more people from `git-log`
  * netstat: Set SCTP report compliant with -l/--listening option.
  * Describe "hyphen" program in man page.
  * man: cleanup ipfw & ipchains refs
  * ipv6: fix memmove usage with overlapping memory
  * build: drop support for backing up programs
  * netstat: add ROSE print support
  * remove ancient "register" markings
  * hostname: constify a few string arguments
  * hostname: add fallback errno decoding on failure
  * de.po: fix typo "Processe" -> "Prozesse"
  * route: Fix a missing space in the ipv6 route output
  * util: drop new() helper
  * proc: constify filename arg
  * nameif: add printf attributes to helper funcs

OBS-URL: https://build.opensuse.org/request/show/866395
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=65
2021-01-30 08:08:25 +00:00
97005982d0 Accepting request 862849 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/862849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=56
2021-01-18 10:26:21 +00:00
Marcus Schaefer
e9c2b15849 Accepting request 849665 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849665
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=63
2021-01-13 10:21:43 +00:00
0e44212aba Accepting request 733470 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/733470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=55
2019-10-10 09:48:50 +00:00
01b5460484 Accepting request 731939 from home:lnussel:branches:network:utilities
- Do not recommend lang package. The lang package already has a
  supplements.

OBS-URL: https://build.opensuse.org/request/show/731939
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=61
2019-09-26 14:14:48 +00:00
ae6f241fbd Accepting request 633753 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/633753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=54
2018-10-02 17:39:08 +00:00
d27aace166 Accepting request 632286 from home:scarabeus_iv:branches:network:utilities
- Update to version 2.0+git20180626.aebd88e:
  * standardize --help/usage handling
  * always write --version output to stdout
- Rebase patch:
  * 0005-Add-support-for-interface-rename-in-nameif.patch

OBS-URL: https://build.opensuse.org/request/show/632286
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=59
2018-09-06 14:42:19 +00:00
e4484d0232 Accepting request 592091 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/592091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=53
2018-04-02 20:47:09 +00:00
df6c0b8e8b Accepting request 591530 from home:kukuk:branches:network:utilities
- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/591530
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=57
2018-03-28 16:01:27 +00:00
c01eaeb621 Accepting request 542459 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/542459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=52
2017-11-21 14:17:34 +00:00
Vítězslav Čížek
5c49abd522 Accepting request 542054 from home:vitezslav_cizek:branches:network:utilities
- Update descriptions to better reflect the contents of both packages
  and mention the deprecation of the tools (bsc#1067937)

OBS-URL: https://build.opensuse.org/request/show/542054
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=55
2017-11-16 15:36:44 +00:00
19b64ce30c Accepting request 504900 from network:utilities
1

OBS-URL: https://build.opensuse.org/request/show/504900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=51
2017-06-23 07:14:37 +00:00
OBS User mrdocs
bb98832925 Accepting request 504435 from home:scarabeus_iv:branches:network:utilities
OBS-URL: https://build.opensuse.org/request/show/504435
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=53
2017-06-20 03:21:57 +00:00
OBS User mrdocs
821ae9745f Accepting request 438129 from home:yecril71pl:branches:network:utilities
Bug 1006375 - package net-tools does not provide COPYING

OBS-URL: https://build.opensuse.org/request/show/438129
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=52
2016-11-06 14:12:51 +00:00
ce6ed7ea43 Accepting request 435995 from network:utilities
1

OBS-URL: https://build.opensuse.org/request/show/435995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=50
2016-11-04 19:49:14 +00:00
OBS User mrdocs
6bf30f5060 Accepting request 435676 from home:Andreas_Schwab:Factory
- net-tools-1.60-fix-header-conflict.patch: use kernel headers to avoid
  conflict with user-space headers

OBS-URL: https://build.opensuse.org/request/show/435676
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=50
2016-10-18 23:02:23 +00:00
c705e2466c Accepting request 396898 from network:utilities
1

OBS-URL: https://build.opensuse.org/request/show/396898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=49
2016-05-26 21:52:44 +00:00
OBS User mrdocs
95971535d8 Accepting request 396203 from home:pwieczorkiewicz:branches:network:utilities
- Add net-tools-1.60-hostname-s.patch:
  This changes the hostname behavior to match other systems and its
  own documentation. Namely, that -s just parses the result of the
  active gethostname() and does not attempt any network/DNS traffic.
  upstream: https://sourceforge.net/p/net-tools/bugs/14/
  commit#452f8e (boo#872264).

OBS-URL: https://build.opensuse.org/request/show/396203
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=48
2016-05-19 23:50:17 +00:00
Lars Müller
ec6edb17c6 Accepting request 313244 from home:bmwiedemann:branches:network:utilities
fix SLE-11 build

OBS-URL: https://build.opensuse.org/request/show/313244
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=47
2015-06-23 14:50:56 +00:00
Stephan Kulow
087b476b68 Accepting request 311493 from network:utilities
Remove hostname, domainname, dnsdomainname and require the separate hostname package instead.

See see http://lists.opensuse.org/opensuse-factory/2015-06/msg00133.html

OBS-URL: https://build.opensuse.org/request/show/311493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=48
2015-06-16 12:04:12 +00:00
4dba58c069 Accepting request 311454 from home:gberh:branches:network:utilities
- Remove hostname, domainname, dnsdomainname and require the
  separate hostname package instead

OBS-URL: https://build.opensuse.org/request/show/311454
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=46
2015-06-10 18:32:08 +00:00
1a6ba66569 Accepting request 308848 from network:utilities
catch-up submission

OBS-URL: https://build.opensuse.org/request/show/308848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=47
2015-05-30 10:32:40 +00:00
1c0b1a5762 - Added patches to past change log entry
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=45
2015-05-27 07:40:54 +00:00
04df66a17c fix changelog
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=44
2015-05-27 07:40:20 +00:00
c0e48b89aa Accepting request 308797 from home:dgutu:branches:network:utilities
- Added changes to change log about the following patches:
  - net-tools-1.60-plipconfig-ecode.patch
  - net-tools-1.60-plipconfig-manpage.patch
  - net-tools-1.60-plipconfig-usage.patch

OBS-URL: https://build.opensuse.org/request/show/308797
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=43
2015-05-27 07:39:09 +00:00
OBS User mrdocs
575ee3ce9e Accepting request 293588 from home:jengelh:branches:network:utilities
- ipmaddr and iptunnel are obsolete too, move them to subpackage.

OBS-URL: https://build.opensuse.org/request/show/293588
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=42
2015-04-01 16:23:47 +00:00
Lars Vogdt
7f6483a36d Accepting request 229622 from home:michal-m:branches:network:utilities
- Move arp, ifconfig, netstat and route to a -deprecated subpackage
  (fate#317196, fate#317197)
- Drop the rarp tool, which has been broken since kernel 2.3

OBS-URL: https://build.opensuse.org/request/show/229622
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=41
2014-04-12 14:29:43 +00:00
Marcus Schaefer
f122076506 - ported plipconfig patches from SLE base (bnc #831310)
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=40
2013-07-25 12:42:18 +00:00
Stephan Kulow
279cbd002c Accepting request 170867 from network:utilities
- Add Source URL, see https://en.opensuse.org/SourceUrls (forwarded request 170848 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/170867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=44
2013-04-17 05:41:30 +00:00
a7ce3f1d13 Accepting request 170848 from home:namtrac:bugfix
- Add Source URL, see https://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/170848
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=38
2013-04-15 14:51:03 +00:00
Stephan Kulow
f8bda7a2bd Accepting request 150675 from network:utilities
- Use Recommends insted of requires for traceroute (forwarded request 150652 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/150675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=43
2013-02-01 14:49:16 +00:00
Ismail Dönmez
c0687839d5 Accepting request 150652 from home:elvigia:branches:network:utilities
- Use Recommends insted of requires for traceroute

OBS-URL: https://build.opensuse.org/request/show/150652
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=36
2013-02-01 09:55:51 +00:00
Stephan Kulow
c4bc4ce7af Accepting request 150414 from network:utilities
- Remove obsolete traceroute(8) implementation.
  Modern one is packaged as "traceroute". to fullfil userspace
  requirements, Require the new version explicitly.
 - Fix localized man page installation, the right thing (tm) to
  do is to use find_lang --with-man --all-name instead. (forwarded request 150334 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/150414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=42
2013-01-31 15:28:12 +00:00
Ismail Dönmez
e3489e8bb6 Accepting request 150334 from home:elvigia:branches:network:utilities
- Remove obsolete traceroute(8) implementation.
  Modern one is packaged as "traceroute". to fullfil userspace
  requirements, Require the new version explicitly.
 - Fix localized man page installation, the right thing (tm) to
  do is to use find_lang --with-man --all-name instead.

OBS-URL: https://build.opensuse.org/request/show/150334
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=34
2013-01-30 11:17:15 +00:00
Stephan Kulow
2259e7f0a2 Accepting request 150146 from network:utilities
add etherwake. Taken from fedora. (forwarded request 150014 from jirislaby)

OBS-URL: https://build.opensuse.org/request/show/150146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=41
2013-01-29 05:59:45 +00:00
5a63872a84 Accepting request 150014 from home:jirislaby:branches:network:utilities
add etherwake. Taken from fedora.

OBS-URL: https://build.opensuse.org/request/show/150014
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=32
2013-01-28 12:06:40 +00:00
Stephan Kulow
c2e212f156 Accepting request 137432 from network:utilities
- Kernel 3.6 removes if_strip.h - disable STRIP support in factory
- convert .changes to utf-8 fixing old entry, W: non-utf8-spec-file (forwarded request 137431 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/137432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-tools?expand=0&rev=39
2012-10-12 06:09:01 +00:00
ed27937a53 Accepting request 137431 from home:AndreasStieger:branches:network:utilities
- Kernel 3.6 removes if_strip.h - disable STRIP support in factory
- convert .changes to utf-8 fixing old entry, W: non-utf8-spec-file

OBS-URL: https://build.opensuse.org/request/show/137431
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=30
2012-10-07 20:34:13 +00:00