<feed xmlns='http://www.w3.org/2005/Atom'>
<title>usbmuxd/src, branch master</title>
<subtitle>A socket daemon to multiplex connections from and to iOS devices</subtitle>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/'/>
<entry>
<title>conf: Make sure to sanitize input for SavePairRecord command</title>
<updated>2025-12-06T01:13:05+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2025-12-06T01:13:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=3ded00c9985a5108cfc7591a309f9a23d57a8cba'/>
<id>3ded00c9985a5108cfc7591a309f9a23d57a8cba</id>
<content type='text'>
A path traversal vulnerability was discovered in usbmuxd that allows
arbitrary, unprivileged local users to delete and create files named
`*.plist` as the `usbmux` user.

See https://bugzilla.opensuse.org/show_bug.cgi?id=1254302
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A path traversal vulnerability was discovered in usbmuxd that allows
arbitrary, unprivileged local users to delete and create files named
`*.plist` as the `usbmux` user.

See https://bugzilla.opensuse.org/show_bug.cgi?id=1254302
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow specifying configuration directory to use</title>
<updated>2025-09-15T07:58:01+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2025-09-15T07:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=2efa75a0a9ca73f2a5b6ec71e5ae6cb43cdab580'/>
<id>2efa75a0a9ca73f2a5b6ec71e5ae6cb43cdab580</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update libplist requirement to 2.6.0 and use PLIST_DICT helper for cleaner code</title>
<updated>2024-09-15T22:54:19+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2024-09-15T22:54:19+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=0b1b233b57d581515978a09e5a4394bfa4ee4962'/>
<id>0b1b233b57d581515978a09e5a4394bfa4ee4962</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use more reliabe macros to print --version output</title>
<updated>2024-09-14T19:50:19+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2024-09-14T19:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=e9a0dce170f156846d0e56c7fe9cc1e828a34b44'/>
<id>e9a0dce170f156846d0e56c7fe9cc1e828a34b44</id>
<content type='text'>
PACKAGE_STRING, in some cases, might not include the version.
Use PACKAGE_NAME PACKAGE_VERSION instead.

Thanks to @httpstorm to point this out!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PACKAGE_STRING, in some cases, might not include the version.
Use PACKAGE_NAME PACKAGE_VERSION instead.

Thanks to @httpstorm to point this out!
</pre>
</div>
</content>
</entry>
<entry>
<title>conf: fix false plist write error in config_set_device_record</title>
<updated>2024-09-14T19:38:13+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2024-09-14T10:40:24+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=10d9eae13bb2408982eea60f1b2eb529f6c74647'/>
<id>10d9eae13bb2408982eea60f1b2eb529f6c74647</id>
<content type='text'>
Thanks to @xunmod for reporting!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to @xunmod for reporting!
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: add support for modes 4 and 5</title>
<updated>2024-09-14T14:04:35+00:00</updated>
<author>
<name>Foster Snowhill</name>
</author>
<published>2024-07-31T22:06:42+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=df80b73b411d1053cb87e96439d2282879d9baa8'/>
<id>df80b73b411d1053cb87e96439d2282879d9baa8</id>
<content type='text'>
* Mode 4
	USB Ethernet + CDC-NCM
	iOS &gt;= 16.0
* Mode 5
	CDC-NCM Direct only (no usbmux, no USB Ethernet, no PTP)
	iOS &gt;= 17.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Mode 4
	USB Ethernet + CDC-NCM
	iOS &gt;= 16.0
* Mode 5
	CDC-NCM Direct only (no usbmux, no USB Ethernet, no PTP)
	iOS &gt;= 17.0
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: correctly display 10 Gbps USB 3.x</title>
<updated>2024-09-14T14:04:35+00:00</updated>
<author>
<name>Foster Snowhill</name>
</author>
<published>2024-07-31T22:02:54+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=a2dceac6e61c2363c28c2e652473215ac20c0c67'/>
<id>a2dceac6e61c2363c28c2e652473215ac20c0c67</id>
<content type='text'>
iPhone 15 Pro/Pro Max support up to 10 Gbps USB 3.x. Add the necessary
case to display the correct link speed.

Requires libusb 1.0.22 (2018-03-25) or newer,
introduced in libusb/libusb@7a91d7cdccaa7dfc3db0828a5230d6260e9338d7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
iPhone 15 Pro/Pro Max support up to 10 Gbps USB 3.x. Add the necessary
case to display the correct link speed.

Requires libusb 1.0.22 (2018-03-25) or newer,
introduced in libusb/libusb@7a91d7cdccaa7dfc3db0828a5230d6260e9338d7
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: Revert default mode back to 1</title>
<updated>2024-07-19T06:51:32+00:00</updated>
<author>
<name>Georgi Valkov</name>
</author>
<published>2024-04-22T20:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=f8be60c4a3c34ddcd97a6b0481ef0e81214cecc5'/>
<id>f8be60c4a3c34ddcd97a6b0481ef0e81214cecc5</id>
<content type='text'>
[1] changes to mode 3 CDC NCM by default. Revert back to mode 1:
Originally mode 1 was used, where a tethered iPhone appears as an
Ethernet interface, handled by the ipheth driver. This has been the
default for many years and is known to work on iPhone 3G, 4S, 7 Plus,
11 and newer. Since [2-3] ipheth supports CDC NCM in mode 1, and
configures the iPhone to use it.

In mode 3, the Ethernet interface is handled by kmod-usb-net-cdc-ncm.
This driver has better performance, but now the iPhone does not
provide DHCP or Internet connectivity, so we should revert to mode 1.

Analysing the network traffic, shows that both the iPhone and OpenWRT
are DHCP clients. The iPhone does not act as a DHCP server. I can set
a static IP on OpenWRT and lease 172.20.10.1 to the iPhone. Then I can
ping the iPhone and I have IPv4 connectivity. However the iPhone does
not provide Internet connectivity to OpenWRT. Maybe in mode 3, the
iPhone is a client meant to receive Internet over USB and therefore
it is not a gateway?

Attempts to switch old iPhones, such as 3G and 4S to mode 3 fail.
They remain in mode 1 and work correctly using the ipheth driver.

Comparison, tested on iPhone 7 Plus and 11
- mode 1 eth0 kmod-usb-net-ipheth  264 Mbit/s DHCP server, Internet
- mode 3 usb0 kmod-usb-net-cdc-ncm 304 Mbit/s DHCP client, no Internet

[1] https://github.com/libimobiledevice/usbmuxd/commit/c7a0dd9b82633ea347497626282e3051a469ef50
[2] https://github.com/torvalds/linux/commit/a2d274c62e44b1995c170595db3865c6fe701226
[3] https://github.com/openwrt/openwrt/commit/680f8738d02a1876ae4cd11aacf9cd56e520fadf

Signed-off-by: Georgi Valkov &lt;gvalkov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[1] changes to mode 3 CDC NCM by default. Revert back to mode 1:
Originally mode 1 was used, where a tethered iPhone appears as an
Ethernet interface, handled by the ipheth driver. This has been the
default for many years and is known to work on iPhone 3G, 4S, 7 Plus,
11 and newer. Since [2-3] ipheth supports CDC NCM in mode 1, and
configures the iPhone to use it.

In mode 3, the Ethernet interface is handled by kmod-usb-net-cdc-ncm.
This driver has better performance, but now the iPhone does not
provide DHCP or Internet connectivity, so we should revert to mode 1.

Analysing the network traffic, shows that both the iPhone and OpenWRT
are DHCP clients. The iPhone does not act as a DHCP server. I can set
a static IP on OpenWRT and lease 172.20.10.1 to the iPhone. Then I can
ping the iPhone and I have IPv4 connectivity. However the iPhone does
not provide Internet connectivity to OpenWRT. Maybe in mode 3, the
iPhone is a client meant to receive Internet over USB and therefore
it is not a gateway?

Attempts to switch old iPhones, such as 3G and 4S to mode 3 fail.
They remain in mode 1 and work correctly using the ipheth driver.

Comparison, tested on iPhone 7 Plus and 11
- mode 1 eth0 kmod-usb-net-ipheth  264 Mbit/s DHCP server, Internet
- mode 3 usb0 kmod-usb-net-cdc-ncm 304 Mbit/s DHCP client, no Internet

[1] https://github.com/libimobiledevice/usbmuxd/commit/c7a0dd9b82633ea347497626282e3051a469ef50
[2] https://github.com/torvalds/linux/commit/a2d274c62e44b1995c170595db3865c6fe701226
[3] https://github.com/openwrt/openwrt/commit/680f8738d02a1876ae4cd11aacf9cd56e520fadf

Signed-off-by: Georgi Valkov &lt;gvalkov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: Rename usb_device struct member 'dev' to more appropriate 'handle'</title>
<updated>2024-06-13T10:24:08+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2024-06-13T10:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=bc0b91ca856811f4393318dc83db6dc3c1ac326d'/>
<id>bc0b91ca856811f4393318dc83db6dc3c1ac326d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>device: Fix crash caused by wrong variable when logging an error</title>
<updated>2024-06-13T10:21:33+00:00</updated>
<author>
<name>Imre Ehreth</name>
</author>
<published>2024-06-13T09:23:35+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/usbmuxd.git/commit/?id=243dedf14357b097aa638ce4e02dde48133a52ef'/>
<id>243dedf14357b097aa638ce4e02dde48133a52ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
