FS#77402 - [simh] v3.12 lost TAP networking support

Attached to Project: Community Packages
Opened by Mantas Mikulėnas (grawity) - Monday, 06 February 2023, 05:27 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 08 February 2023, 01:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

simh 3.12.3-1 has been built without HAVE_TAP_NETWORK, losing support for unprivileged 'tap' interface access. Was this intentional?
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 08 February 2023, 01:21 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Monday, 06 February 2023, 18:27 GMT
Is simh-3.12.3-2 better?
Comment by Mantas Mikulėnas (grawity) - Tuesday, 07 February 2023, 06:39 GMT
3.12.3-2 works well, thanks.

$ sudo ip tuntap add name simh0 mode tap user grawity
$ sudo ip link set simh0 up
$ simh-vax
sim> attach xq tap:simh0
sim> show xq
XQ, address=20001920-2000192F*, vector=250, BR4, MAC=08:00:2B:AA:BB:CC, type=DELQA-T,mode=DELQA, polling=disabled, attached to tap:simh0

(It looks like the makefile now tries to autodetect the -D options when USE_NETWORK=1 is set?)
Comment by Sergej Pupykin (sergej) - Wednesday, 08 February 2023, 01:13 GMT
As I understand it messes libpcap.a and libpcap.so and fails if libpcap.so exists saying that it does not support static linking.

Loading...