DOSEMU does not pick up all packets
Hello.
Quoted 2 lines · Stian Sletner
I thought I had a clever idea, ifconfig'd up a virtual interface eth0:0 and set $_netdev = "eth0:0", but that made dosemu crash so it probably
How exactly the crash looks like?
Quoted 1 line
I'm having problems compiling the dosnet module in RH8.
It was already reported that there are problems compiling dosnet under RH8. The fix is to get the fresh kernel sources and make a proper symlinks for /usr/include/linux and /usr/include/asm
Quoted 1 line
I'd paste only I think I fucked with the file already.
Btw, to get the trick working, you'll (most likely) need the latest dosnet (ie from dosemu > 1.1.3.4).
Quoted 4 lines
| I think you have to do bridging to your eth0 device *and* to dsn0 | device.
I don't know if this is doable. Would I need some sort of program to "tee" them together?
Hmm, but I supposed your bridging software can do that. Why are you limited with bridging between only 2 interfaces?
* At 2002-11-29T23:27+0300, Stas Sergeev wrote:
:
| >I thought I had a clever idea, ifconfig'd up a virtual interface eth0:0 | >and set $_netdev = "eth0:0", but that made dosemu crash so it probably | How exactly the crash looks like?
stian:~$ nice -20 dos -D+P -o dos.debug >dos.out 2>&1
dos.debug:
debug flags: -a
debug flags: +P
========Sending packet======
packet to send: :
Dest.=ff:ff:ff:ff:ff:ff: Source=0:40:95:0:3c:31: Type= 3781
PD ERR: AX=0481 BX=03bc CX=003c DX=0c08 FLAGS=00033017
SI=163c DI=164a BP=ff7c SP=ff6e CS=f000 DS=0f90 ES=0f90 SS=17f1
SIGILL while in vm86()
ERROR: unexpected CPU exception 0x06 err=0x00000000 cr2=00000000 while in vm86 (DOS)
leavedos(4|0x4) called - shutting down
dos.out:
Linux kernel 2.4.18; CPU speed is 300676000 Hz
Dosemu-1.1.3.7 Running on CPU=586, FPU=1
[?25h[0m[H[2JERROR: unexpected CPU exception 0x06 err=0x00000000 cr2=00000000 while in vm86 (DOS) Program=sigsegv.c, Line=162
EIP: 8b2e:00003669 ESP: 17f1:0000ff70 VFLAGS(b): 00000 00110000 00000110
EAX: 00007ff9 EBX: 0000000e ECX: 0000003d EDX: 00000733 VFLAGS(h): 00003006
ESI: 0000163c EDI: 0000164a EBP: 0000ff7c DS: 0f90 ES: 0f90 FS: 0000 GS: 0000
FLAGS: PF IF RF VM IOPL: 3
STACK: 35 02 e6 19 00 b8 92 ff 15 07 -> 13 00 27 13 08 16 90 0f 82 03
OPS : 00 00 00 00 00 40 6a 13 33 01 -> ff ff ff ff ff ff 02 00 00 00
ffff 8b2e:3669 ??? di
| >I'm having problems compiling the dosnet module in RH8. | It was already reported that there | are problems compiling dosnet under | RH8. The fix is to get the fresh | kernel sources and make a proper | symlinks for /usr/include/linux and | /usr/include/asm
Ah.
| Why are you limited with bridging between only 2 interfaces?
Well, it only listens on one interface, and packs up the packets in IP and sends them off in UDP through normal networking means. And listens for UDP (IPADDR_ANY) and unpacks and puts them out on the interface.
What I'm currently using is "SIB", btw. (It's on freshmeat somewhere if you want to look.)
Signature · 1 line
Stian Sletner