It is currently Tue Aug 22, 2017 8:43 pm


All times are UTC




Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject: Re: Cisco Ios On Unix available on the net
PostPosted: Sat May 31, 2014 11:32 pm 
Offline

Joined: Wed May 22, 2013 7:48 am
Posts: 93
Location: Portugal
Hey all,

I took a look at the current information on how IOU communicates.
It encapsulates the packet data with 8 bytes to indicate the communication path.
Making dynamips communicate directly with IOU instances should be doable, it just needs it's own iou_id.
Is there interest in this? Considering GNS3 already has iouyap and there are other scripts that bridge IOU<->udp/tap, it might not be worth doing.

Other speculations:
  • Linux images have more problems than sparc images. This is probably due to endianess issues. The ppc32/mips64/sparc cpus are typically big endian, and x86 is little endian. It's very easy to forget to byte swap data somewhere, which is the likely cause of the bugs in the linux images. (it's also very hard to debug)
  • We know they communicate with unix sockets (local, default) and udp sockets (remote). Considering it uses unix features and was developed in a unix environment (Solaris?), I wouldn't be surprised if they also used IPC to communicate (Interprocess Communication Facilities, sys/shm.h and company). In this case I would expect a file in "/tmp/netio<uid>/" that is used to get the shared key with ftok.
  • Since it's an encapsulation protocol, it's probably always 8 bytes. Which means the "fixed delimiter" (01 00) at the end is not a delimiter, but probably 2 individual bytes with unknown meaning. (ethernet/serial/...? command? needs experimentation).



_________________
Dynamips maintainer and sporadic developer
https://github.com/GNS3/dynamips


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO