Olaf Seibert
d677598f66
Leave addresses on pre-configured TAP devices alone.
2017-01-23 23:42:58 +01:00
Olaf Seibert
372c24de14
Cleanup of unnecessarily copied locals.
2017-01-23 23:42:58 +01:00
Olaf Seibert
0abee1c6eb
Extra safety return.
2017-01-23 20:37:38 +01:00
Olaf Seibert
bf53098417
Add description of tunaddr parameter.
2017-01-22 16:11:36 +01:00
Olaf Seibert
09ee2e73c8
This may well have been the cause of the shutdown problems of dpni20.
2017-01-21 23:29:15 +01:00
Olaf Seibert
2945263432
For the ni20, add subcommands to the "dev ni0 ..." command.
...
This may be useful for debugging, given the subcommands as currently made available.
The main loop command line parser is used to parse the subcommands. I don't think this is working for interactive subcommands yet.
2017-01-21 23:15:32 +01:00
Rhialto The M
a9fb096850
Merge pull request #11 from PDP-10/travis
...
Build and test in Travis CI
2016-12-22 23:08:03 +01:00
Lars Brinkhoff
5a37b7f49b
Build and test in Travis CI.
2016-12-22 22:44:26 +01:00
Lars Brinkhoff
80eee8f112
Add really-quit command which quits without questions asked.
2016-12-22 22:34:16 +01:00
Rhialto The M
b48544ebc6
Merge pull request #10 from PDP-10/gitignore
...
Ignore generated files
2016-12-22 21:17:51 +01:00
Lars Brinkhoff
6e31ba8017
Ignore generated files configure and src/config.h.in.
2016-12-22 10:04:24 +01:00
Olaf Seibert
ff6ce33f28
#define IPC_[RW] if missing.
2016-12-17 14:14:13 +01:00
Olaf Seibert
d218e5b03f
Replace 0600 in shmget(2) call with symbolic constants.
...
Inspired by Rich Alderson's MacOS 10.6.8 changes.
He used IPC_CREAT+IPC_PRIVATE+IPC_R+IPC_W.
However, IPC_PRIVATE is a special value for the key argument, not shmflg.
Furthermore, adding IPC_CREAT to the flags when the key is IPC_PRIVATE
seems unnecessary but should not harm.
See http://pubs.opengroup.org/onlinepubs/9699919799/functions/shmget.html
for the "IEEE Std 1003.1-2008, 2016 Edition" version of shmget(2).
2016-11-27 17:10:00 +01:00
Rhialto The M
8f37d8cf17
Merge pull request #6 from larsbrinkhoff/confflags
...
Make it possible to pass configuration flags from the environment.
2016-11-10 13:02:34 +01:00
Lars Brinkhoff
d4e70d8200
Make it possible to pass configuration flags from the environment.
...
Take user-defined configuration flags from environment variable CONFFLAGS_USR.
2016-11-10 12:58:05 +01:00
Olaf Seibert
7108b2c75c
Make tape work when not using a device process, i.e. -DKLH10_DEV_DPTM03=0.
2016-11-09 23:49:00 +01:00
Olaf Seibert
842125be77
Bump version to 2.0k.
2016-03-01 01:29:55 +01:00
Olaf Seibert
dea8080818
"Discourage" building directly in the source tree.
klh10-2.0j-Rhialto
2016-02-24 17:36:15 +01:00
Olaf Seibert
4e6ef5edb1
Forgot to add kn10cpu.h...
2016-02-24 17:07:26 +01:00
Olaf Seibert
85eaa03f99
Bump version.
2016-02-18 21:27:35 +01:00
Olaf Seibert
1830ecef2c
Merge branch 'libpcap'
klh10-2.0i-Rhialto
2016-02-18 21:16:25 +01:00
Olaf Seibert
03f86bdde7
Small news update.
2016-02-17 23:36:07 +01:00
Olaf Seibert
2b060584b2
Move more old building infrastructure to "old/".
2016-02-17 20:47:51 +01:00
Olaf Seibert
18f1e34ea6
Move some extern declarations to header files.
2016-02-17 20:44:40 +01:00
Olaf Seibert
bf51af5874
Make a string available that indicates the supported networking options.
...
dpni20 and dpimp print it on error or when -debug is given.
enaddr prints it with -v, but this does not reflect TUN since it doesn't use it.
2016-02-17 20:13:15 +01:00
Olaf Seibert
7fedb55643
Fix a warning: control may reach end of non-void function
2016-02-15 17:41:21 +01:00
Olaf Seibert
7d3bc2cfba
Add carefully crafted Makefile for recursing into subdirectories...
...
that is compatile with both real Make and GNU Make.
2016-02-12 20:56:42 +01:00
Olaf Seibert
056e6bfadc
Remove unneeded code left over from earlier attempt.
2016-02-12 20:28:36 +01:00
Olaf Seibert
4075a69ccb
Try harder to get printf formats right for some typedef'ed types.
...
For older versions of clang that's still not enough and they keep complaining,
but for newer ones it's ok.
2016-01-26 20:44:13 +01:00
Olaf Seibert
563368b75b
Implement QUIT messages to IMP and NI20
...
so that they can do cleanup at the end: mostly important for tun, tap,
and bridge that may have been created.
2016-01-26 20:41:14 +01:00
Olaf Seibert
1a512d7628
More HAVE_MLOCKALL.
2016-01-25 23:08:02 +01:00
Olaf Seibert
e35327965a
Smal docc update.
2016-01-25 22:44:45 +01:00
Olaf Seibert
162cf21aca
Changed the check for superuser from error to warning.
...
The check is done so early that we can't reasonably know yet if we really
need to be root. For VDE, root is unneeded, but for the other interface
methods it is.
2016-01-25 22:43:45 +01:00
Olaf Seibert
3830fca3f9
Ether address and multicast setting for MacOS X.
2016-01-25 22:12:00 +01:00
Olaf Seibert
223c7b4698
Start using CPPFLAGS and use it for the -I options.
...
This avoids sloppy messages from the configure script about the preprocessor.
2016-01-25 01:37:23 +01:00
Olaf Seibert
105ec2c0a8
Use configure for mlockall(2).
...
The set of OSes for was inconsistent and wrong (NetBSD has it too).
2016-01-25 01:14:49 +01:00
Olaf Seibert
3aafe75ece
Change --disable-vde into --without-vde and --with-vde=PATH
...
so that the option can also be used to specify the location of the header
file and library.
2016-01-24 16:30:58 +01:00
Olaf Seibert
7fc2cda719
Be a bit more frugal with sockets.
2016-01-24 16:26:54 +01:00
Olaf Seibert
1c0805eedb
Fix building the secondary programs.
2016-01-24 13:31:03 +01:00
Olaf Seibert
8aff8084ff
Make the setting of the ethernet address work better for virtual interfaces
...
and also implement obscure NetBSD variant.
2016-01-24 13:07:30 +01:00
Olaf Seibert
8cfece4ef4
Offer configure option to disable VDE.
2016-01-24 11:45:32 +01:00
Olaf Seibert
06d8ca1a56
Get CONFFLAGS_AUX from old build files, and avoid double inclusion of it.
2016-01-23 23:25:31 +01:00
Olaf Seibert
ebcfab3c8e
Move old build directories to a location that indicates it's no longer used.
2016-01-23 23:20:29 +01:00
Olaf Seibert
74e63d2b60
Eliminate recursive Make invocation
...
by moving the model-specific CONFFLAGS into the model-specific
makefile fragments.
2016-01-23 23:19:19 +01:00
Olaf Seibert
9e06958f2e
Express CENV_SYSF_TERMIOS as HAVE_TERMIOS_H && HAVE_TCSETATTR.
2016-01-22 18:30:43 +01:00
Olaf Seibert
edd7142ea8
Mention VDE settings. Pass LDFRLAGS through.
2016-01-22 02:13:46 +01:00
Olaf Seibert
e8774af207
A beginning of revised instructions.
2016-01-21 23:50:47 +01:00
Olaf Seibert
03be37db7c
Add initial VDE (libvde2) support.
...
I have compile-tested this on a virtual FreeBSD 10.2 but not run it.
2016-01-21 23:50:27 +01:00
Olaf Seibert
d0f53b8cc9
Replace CENV_SYSF_SIGSET with HAVE_SIGACTION
2016-01-21 21:19:46 +01:00
Olaf Seibert
e3e86227de
Replace CENV_SYSF_BSDTIMEVAL with HAVE_SETITIMER and HAVE_GETTIMEOFDAY
2016-01-21 19:52:40 +01:00