summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Deal with PROTO_IGMP and PROTO_IPIP packets correctly.Brian Somers1998-06-141-2/+28
| | | | | | | | | | Submitted by: Mark Tinguely <tinguely@plains.NoDak.edu> This change will allow a PPP host enabled with the "-alias" option to run mrouted. This does not intend to forward the IGMP nor tunneled packets to another host on the far side if the tun0 interface. Notes: svn path=/head/; revision=36961
* o Pass our negotiated number of VJ slots intoBrian Somers1998-06-143-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | sl_uncompress_tcp() and drop packets with slot numbers that are out of range. o Drop packets that want to use a slot that still has an IP header length of 0 (ie, the requested slot number is bogus again). Without this code, if the other side mis-behaves (and sends us garbage slot numbers), we happily ``adjust'' a memset(..., '\0', ...) TCP/IP header and promptly cr*p all over the stack before returning.... quickly followed by a SIGBUS. Dodgy ISP used by, and help locating the problem from: jmz Problem also seen by: Mourad de Riche <omnibus@image.dk> There's still a link lockup after this happens, but my bets are on the other side (who has already started sending rubbish) being to blame. Notes: svn path=/head/; revision=36960
* Add a macro tweak.Steve Price1998-06-134-8/+10
| | | | | | | | PR: 6932 Submitted by: Nick Sayer <nsayer@quack.kfu.com> Notes: svn path=/head/; revision=36956
* Mention all the environment variables that can be usedSteve Price1998-06-131-3/+7
| | | | | | | | | | to specify the device. PR: 6927 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de> Notes: svn path=/head/; revision=36954
* Add doc/ja/FAQ and handbook, so that releases can build again.John Hay1998-06-131-1/+7
| | | | Notes: svn path=/head/; revision=36953
* Correct the description of the last four fields.Steve Price1998-06-132-5/+5
| | | | | | | | PR: 6926 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36952
* miserable -> miserablySteve Price1998-06-132-4/+4
| | | | | | | | PR: 6922 Submitted by: Sue Blake <sue@welearn.com.au> Notes: svn path=/head/; revision=36950
* Minor tweaks in the AUTHORS section.Steve Price1998-06-131-5/+4
| | | | | | | | PR: 6921 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36949
* Add a symlink from /dev/vga to /dev/ttyv0 when using DEVFSSteve Price1998-06-133-3/+9
| | | | | | | | | | for programs like doscmd. PR: 6920 Submitted by: Luoqi Chen <luoqi@chen.ml.org> Notes: svn path=/head/; revision=36948
* Add a swissfrench keyboard mapping.Steve Price1998-06-133-2/+125
| | | | | | | | PR: 6916 Submitted by: tamone@eig.unige.ch Notes: svn path=/head/; revision=36946
* Merge changes from vendor branch;Peter Wemm1998-06-136-52/+98
| | | | | | | | | | | - connector selection values (should fix aui/bnc), - non-shifting version of crc calculation using a table, - interrupt mask adjustments, - add some brackets where a #ifdef could break an if(), - don't reset the card unless it's up. Notes: svn path=/head/; revision=36945
* Make -V expand it's arguments. This means that instead of 'make -V OBJS'Peter Wemm1998-06-131-6/+8
| | | | | | | | printing something useless (to a shell) like: ${SRCS:N*.h:R:S/$/.o/g} it will instead print the actual ${OBJS} value. Notes: svn path=/head/; revision=36942
* Introduce std_pps_ioctl() to automagically DTRT.Poul-Henning Kamp1998-06-134-51/+71
| | | | | | | Add scaling capability to timex.offset, ntpd-4.0.73 will support this. Notes: svn path=/head/; revision=36941
* Allow a protocol to specify that it does NOT want to be looped backJulian Elischer1998-06-131-3/+6
| | | | | | | | even if it looks like it should (backwards compatibility with old broken code) should get rid of some annoying messags. Notes: svn path=/head/; revision=36940
* join(1) is used by lorder, add it to build-tools. (otherwise, things getPeter Wemm1998-06-131-1/+2
| | | | | | | | ugly when an a.out /usr/bin/join sees the elf LD_LIBRARY_PATH from a 'make world' and it's a.out ld.so tries to load the elf libc.so.) Notes: svn path=/head/; revision=36939
* Update to draft-mogul-pps-api-02.txt as submitted to IETFPoul-Henning Kamp1998-06-122-18/+54
| | | | Notes: svn path=/head/; revision=36938
* Note which version of Kirk's sources this corresponds to.Julian Elischer1998-06-123-6/+6
| | | | Notes: svn path=/head/; revision=36936
* Fix the case when renaming to a file that you've just created and deleted,Julian Elischer1998-06-123-66/+129
| | | | | | | | | | | | | | | | | | that had an inode that has not yet been written to disk, when the inode of the new file is also not yet written to disk, and your old directory entry is not yet on disk but you need to remove it and the new name exists in memory but has been deleted but the transaction to write the deleted name to disk exists and has not yet been cancelled by the request to delete the non existant name. I don't know how kirk could have missed such a glaring problem for so long. :-) Especially since the inconsitency survived on the disk for a whole 4 second on average before being fixed by other code. This was not a crashing bug but just led to filesystem inconsitencies if you crashed. Submitted by: Kirk McKusick (mckusick@mckusick.com) Notes: svn path=/head/; revision=36935
* Add the ``clear'' function.Brian Somers1998-06-125-6/+121
| | | | | | | Mostly submitted by: "Stephane E. Potvin" <sepotvin@videotron.ca> Notes: svn path=/head/; revision=36934
* Remove 3 occurances of __FUNCTION__Julian Elischer1998-06-122-6/+5
| | | | Notes: svn path=/head/; revision=36933
* Fix stupid typo, I had only tested this in elf mode.Peter Wemm1998-06-121-2/+2
| | | | Notes: svn path=/head/; revision=36932
* Remove '\n' from `show throughput'. ctime() already doesBrian Somers1998-06-121-3/+3
| | | | | | | a linefeed. Notes: svn path=/head/; revision=36930
* Correct arg hackBrian Somers1998-06-122-6/+6
| | | | | | | Submitted by: David Leonard <leonard@csee.uq.edu.au> Notes: svn path=/head/; revision=36929
* o Maintain a link-type mask for open datalinks as well asBrian Somers1998-06-125-65/+92
| | | | | | | | | | | | | | for all datalinks in a bundle. Ppp now deals correctly with link types that are changed while open o When changing the type of the last AUTO link, only clear the interface if we're not in PHASE_NETWORK. This allows us to switch to -ddial mode while we have a connection without suddenly unexpectedly throttling ourselves by clearing the interface configuration. Problem area noted by: Aaron Jeremias Luz <aaron@csh.rit.edu> Notes: svn path=/head/; revision=36928
* Always support an elf kernel when given one.Peter Wemm1998-06-121-2/+0
| | | | Notes: svn path=/head/; revision=36927
* #include <arpa/inet.h>Peter Wemm1998-06-121-1/+2
| | | | Notes: svn path=/head/; revision=36926
* "./strip maybe_stripped" doesn't work too well if maybe_stripped is anPeter Wemm1998-06-121-1/+1
| | | | | | | elf executable.. Notes: svn path=/head/; revision=36925
* The doscmd build process and doscmd.kernel loader is very a.out specificPeter Wemm1998-06-121-2/+5
| | | | | | | and doesn't fly too well on in an elf enviroment yet. Notes: svn path=/head/; revision=36924
* Only build rtld-aout if we're in an a.out build environment.Peter Wemm1998-06-121-2/+5
| | | | Notes: svn path=/head/; revision=36923
* Understand elf library naming rules for libtermlib alias.Peter Wemm1998-06-121-0/+9
| | | | | | | Don't do the libtermcap un-bump hack for anything but a.out Notes: svn path=/head/; revision=36922
* Add -DFREEBSD_AOUT to CFLAGS, to ensure that <link.h> gives us the correctPeter Wemm1998-06-121-2/+2
| | | | | | | definitions, even when compiling the a.out ld under elf. Notes: svn path=/head/; revision=36921
* Use the elf libalias name when compiled under elf.Peter Wemm1998-06-121-1/+5
| | | | Notes: svn path=/head/; revision=36920
* Make nlist() understand elf unconditionallyPeter Wemm1998-06-122-5/+2
| | | | Notes: svn path=/head/; revision=36919
* #include <arpa/inet.h> instead of rolling own prototype.Peter Wemm1998-06-121-3/+1
| | | | Notes: svn path=/head/; revision=36918
* #include <arpa/inet.h> for inet_* definitions.Peter Wemm1998-06-122-4/+8
| | | | Notes: svn path=/head/; revision=36917
* #include <arpa/inet.h>Peter Wemm1998-06-122-2/+4
| | | | Notes: svn path=/head/; revision=36916
* Add -DFREEBSD_AOUT to CFLAGS to ensure we get the correct definitionsPeter Wemm1998-06-121-2/+2
| | | | | | | from <link.h> Notes: svn path=/head/; revision=36915
* #include <arpa/inet.h>Peter Wemm1998-06-121-3/+5
| | | | | | | Also, use real struct in_addr rather than u_long. Notes: svn path=/head/; revision=36914
* #include <arpa/inet.h>Peter Wemm1998-06-122-4/+3
| | | | Notes: svn path=/head/; revision=36913
* #include <arpa/inet.h>Peter Wemm1998-06-121-3/+2
| | | | Notes: svn path=/head/; revision=36912
* Move bsd.own.mk after make.conf, this allows BINFORMAT to be set inPeter Wemm1998-06-121-3/+3
| | | | | | | | /etc/make.conf - it changes LIBDIR in bsd.own.mk. Note that there are still problems with this, individual Makefiles cannot override BINFORMAT. Notes: svn path=/head/; revision=36911
* Force -DFREEBSD_AOUT incase ldconfig is being compiled under elf.Peter Wemm1998-06-121-2/+2
| | | | | | | | Without this, <link.h> defines stuff for elf linking which is not what ldconfig needs. Notes: svn path=/head/; revision=36910
* Increased MAXTSIZ to 128MB...there are binaries that get quite large.David Greenman1998-06-122-6/+6
| | | | | | | | Increased DFLDSIZ to 128MB, as it is a better default. Reviewed by: jkh Notes: svn path=/head/; revision=36909
* Go through the loopback code with a broom..Julian Elischer1998-06-128-208/+155
| | | | | | | | | | | | | | | | | | | Remove lots'o'hacks. looutput is now static. Other callers who want to use loopback to allow shortcutting should call the special entrypoint for this, if_simloop(), which is specifically designed for this purpose. Using looutput for this purpose was problematic, particularly with bpf and trying to keep track of whether one should be using the charateristics of the loopback interface or the interface (e.g. if_ethersubr.c) that was requesting the loopback. There was a whole class of errors due to this mis-use each of which had hacks to cover them up. Consists largly of hack removal :-) Notes: svn path=/head/; revision=36908
* include opt_ipdivert.h so we get correct optionsJulian Elischer1998-06-121-1/+2
| | | | Notes: svn path=/head/; revision=36906
* Add poll to the list of hidden syscalls so that it gets renamed. ThisJohn Birrell1998-06-123-6/+6
| | | | | | | | | | | | | | propagates a bug (that there is no poll wrapper in libc_r), but it prevents GNU configure scripts from trying to use it in preference to select. libc_r really needs to change it's wait interface to use poll instead of select because poll is more a superset of select that the other way around. This should allow the Roxen web server to work out-of-the-box. It's configuration intercae is kinda neat. The code isn't. Shiver. 8-) Notes: svn path=/head/; revision=36905
* Update the caller's descriptor masks even if there are none ready forJohn Birrell1998-06-123-3/+3
| | | | | | | | I/O for those applications that don't believe the return value of zero as meaning that THERE ARE *NO* DESCRIPTORS READY. Notes: svn path=/head/; revision=36904
* Allow diverted packets from the transmit side to remember if theyJulian Elischer1998-06-121-27/+26
| | | | | | | | had a recv interface and allow that state to be available after re-injection for further tests. Notes: svn path=/head/; revision=36903
* Install motd once.Guido van Rooij1998-06-111-7/+3
| | | | Notes: svn path=/head/; revision=36902
* Add B_NOCACHE to several cases where BSD4.4 only required a B_INVAL.Julian Elischer1998-06-113-12/+12
| | | | | | | Change worked out by john and kirk in consort. Notes: svn path=/head/; revision=36900