summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use getmicrotime() instead of microtime() when timestamping ICMP packets,billf2000-12-161-1/+1
| | | | | | | the former is quicker and accurate enough for use here. Submitted by: Jason Slagle <raistlin@toledolink.com> (on IRC) Reviewed by: phk
* Fix a typo that allowed signals caused by traps to be deliveredmarcel2000-12-161-1/+1
| | | | | | | to the process when said signal is masked. PR: 23457 Submitted by: Yasuhiko Watanabe <yasu@mrit.mei.co.jp>
* We currently does not react to ICMP administratively prohibitedphk2000-12-164-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | messages send by routers when they deny our traffic, this causes a timeout when trying to connect to TCP ports/services on a remote host, which is blocked by routers or firewalls. rfc1122 (Requirements for Internet Hosts) section 3.2.2.1 actually requi re that we treat such a message for a TCP session, that we treat it like if we had recieved a RST. quote begin. A Destination Unreachable message that is received MUST be reported to the transport layer. The transport layer SHOULD use the information appropriately; for example, see Sections 4.1.3.3, 4.2.3.9, and 4.2.4 below. A transport protocol that has its own mechanism for notifying the sender that a port is unreachable (e.g., TCP, which sends RST segments) MUST nevertheless accept an ICMP Port Unreachable for the same purpose. quote end. I've written a small extension that implement this, it also create a sysctl "net.inet.tcp.icmp_admin_prohib_like_rst" to control if this new behaviour is activated. When it's activated (set to 1) we'll treat a ICMP administratively prohibited message (icmp type 3 code 9, 10 and 13) for a TCP sessions, as if we recived a TCP RST, but only if the TCP session is in SYN_SENT state. The reason for only reacting when in SYN_SENT state, is that this will solve the problem, and at the same time minimize the risk of this being abused. I suggest that we enable this new behaviour by default, but it would be a change of current behaviour, so if people prefer to leave it disabled by default, at least for now, this would be ok for me, the attached diff actually have the sysctl set to 0 by default. PR: 23086 Submitted by: Jesper Skriver <jesper@skriver.dk>
* Add option -E to disable EPSV which throws certain stateful firewallsphk2000-12-163-35/+89
| | | | | | | | | into confusion. Add option -r to make ftpd support only read-only operations. Submitted by: Flemming (F3) Jacobsen <fj@batmule.dk> Reviewed by: phk
* Create the vn%d.ctl devices.phk2000-12-161-0/+6
| | | | | | | | | | In a few days I will commit a patch which changes vn(4) to use the disk-minilayer. This will make vn(4) fully DEVFS friendly but have the side effect that vnconfig needs the vn%d.ctl devices to be able to configure vn(4). Please remake your /dev/vn entries with this revision of MAKEDEV if you don't rung DEVFS already.
* IPv6 support for logger.ume2000-12-163-25/+82
| | | | Reviewed by: freebsd-current
* IPv6 support for syslogd.ume2000-12-163-145/+419
| | | | | Reviewed by: freebsd-current Obtained from: NetBSD
* IPv6 support for lpr.ume2000-12-165-142/+303
| | | | | Reviewed by: freebsd-current (no objection) Obtained from: KAME
* Add a cloning function to vn(4) which triggers on "vn%d.ctl". Give thephk2000-12-161-52/+112
| | | | | | | .ctl devices their own cdevsw since no I/O can or should be done on them. Vn(4) is still not entirely DEVFS friendly since it only creates vn%d nodes.
* Fix an informational message a little and properly check status of a yes/nojkh2000-12-165-17/+13
| | | | question which I bollicked up in my previous commit.
* Use dialog_noyes() for UTC selection; uses No as default answer now.jkh2000-12-161-1/+1
|
* PC-98 boxes use aic_cbus.c instead of aic_isa.c.nyan2000-12-161-1/+8
|
* Merged from sys/i386/conf/GENERIC revisions 1.292 - 1.294.kato2000-12-161-2/+1
|
* Switch off some debugging code.paul2000-12-162-3/+1
|
* Merged from sys/i386/i386/machdep.c revision 1.425.kato2000-12-162-8/+30
|
* Merged from files.i386 revision 1.340.kato2000-12-161-0/+1
|
* Merged from Makefile.i386 revision 1.215.kato2000-12-161-1/+1
|
* Merged from sys/boot/i386/loader/Makefile revision 1.49.kato2000-12-161-1/+1
|
* Run rc.pccard from netstart so it works for us laptop users as well.des2000-12-161-0/+5
|
* Fix a bug introduced in rev. 1.17: initialize variables before use, not after.des2000-12-161-1/+1
| | | | | Rev. 1.17 was "Obtained from NetBSD", but is significantly different from the equivalent NetBSD revision (rev. 1.30), which does not have this bug.
* Restore the rss (-u) keyword that got deleted in my somewhat over-zealousmckusick2000-12-161-0/+1
| | | | | | cleanup effort. Submitted by: Mark Peek <mark@whistle.com>
* Enable building of lnc module.paul2000-12-161-1/+1
|
* Add lnc module.paul2000-12-161-0/+11
|
* Fixup some problems with the merged code of the previous commit.paul2000-12-163-5/+4
|
* Newbusify.paul2000-12-166-544/+627
| | | | Temporarily disable PC98 until I bring it up to date.
* Back out these two changes inadvertantly made with the last commit.jkh2000-12-162-9/+0
|
* Apply some contributed patches to reduce number of tx buffer allocationwpaul2000-12-154-6/+312
| | | | | | failures and add some support for WEP on Prism II chip. Submitted by: YAMAMOTO Shigeru <shigeru@iij.ad.jp>
* Fix ypo in essage about isabling EISA nterrupt ectormjacob2000-12-151-1/+1
| | | | (tip 'o the tired cap to Bernd Walter <ticso@cicely5.cicely.de>)
* SNAPDATE is an obsolete mechanism which has also been pretty muchjkh2000-12-153-4/+9
| | | | | | | of a no-op all along anyway. There are other ways to set this for release building, so nuke it. PR: 22979
* Change the following:bmilekic2000-12-155-11/+43
| | | | | | | | | | | | | | | | 1. ICMP ECHO and TSTAMP replies are now rate limited. 2. RSTs generated due to packets sent to open and unopen ports are now limited by seperate counters. 3. Each rate limiting queue now has its own description, as follows: Limiting icmp unreach response from 439 to 200 packets per second Limiting closed port RST response from 283 to 200 packets per second Limiting open port RST response from 18724 to 200 packets per second Limiting icmp ping response from 211 to 200 packets per second Limiting icmp tstamp response from 394 to 200 packets per second Submitted by: Mike Silbersack <silby@silby.com>
* Delay waking up processes select'ing on the log device directly fromjhb2000-12-151-0/+29
| | | | | | | | | | the kernel console. Instead, change logwakeup() to set a flag in the softc. A callout then wakes up every so often and wakes up any processes selecting on /dev/log (such as syslogd) if the flag is set. By default this callout fires 5 times a second, but that can be adjusted by the sysctl kern.log_wakeups_per_second. Reviewed by: phk
* Make sure to check if MGET(HDR) returned NULL, even when called with M_WAIT.bmilekic2000-12-151-2/+26
| | | | | | | This fixes the possibility of a NULL pointer dereference in the case where there are no mbufs or mbuf clusters left. Approved by: phk
* Catch up to the changes to the kthread API.jhb2000-12-152-31/+46
|
* Whups: only build the if_el module on the x86 platform for now, untilwpaul2000-12-151-2/+2
| | | | I can confirm it works on the alpha.
* Our OS name is "freebsd", not "freebsdelf".obrien2000-12-151-1/+3
|
* Newbus the if_el (3Com 3c501) driver. Use bus_space_X() functions.wpaul2000-12-154-121/+255
| | | | | | | | | Add detach routine and turn driver into a module so it can be loaded and unloaded. Also take a stab at implementing multicast packet reception so that this NIC will work with IPv6. Promiscuous mode doesn't seem to work, but I'm not sure why. It works well enough that I can run dhclient on it and put it on the office network though. Also ripped out spl stuff and replaced it with mutexes.
* Stick the kthread API in a kthread_* namespace, and the specialized kprocjhb2000-12-156-18/+17
| | | | | | functions in a kproc_* namespace. Reviewed by: -arch
* Only build the a.out `as' and `ld' if "WANT_AOUT" is defined.obrien2000-12-151-0/+2
| | | | | | | | | | | | Looking in src/Makfile* it looks like all the "WANT_AOUT" support has been removed, maybe these should just go away... Note that the a.out `ld' reaches over into src/contrib/gcc for libiberty bits. This is biting us because the libiberty bits have evolved beyond what the a.out `ld' can handle. This change fixes the broken world, but only because very few have "WANT_AOUT" defined.
* Lock access to proc members.jhb2000-12-154-18/+51
| | | | Glanced over by: marcel
* Add the musycc driver to NOTES.phk2000-12-152-0/+2
| | | | | | | | | | This is a driver for the LanMedia/SBE LMC150x E1/T1 family of cards. The driver currently support unframed E1 (2048kbit/s) and framed E1 (nx64). These cards will provision E1/T1 lines for about 1/4 the cost of a cisco router...
* Don't clone impossible unit numbers for disks.phk2000-12-151-0/+2
|
* Prepare for mdoc(7)NG.ru2000-12-1511-59/+71
|
* Enforce disk unit numbers upper limit in cloning.phk2000-12-151-0/+2
|
* Make a #define for the highest legal disk unit (0x1ff)phk2000-12-153-0/+9
|
* Don't do raw device 'r' mangling.phk2000-12-151-24/+4
| | | | | | Try to use vn%d.ctl for setup and control if possible. This paves the way for a DEVFS/cloning vn driver.
* Fixed the ``no space after a .Fl'' problem.ru2000-12-151-1/+1
| | | | | | | | | Example: .Fl flag . The space is missing. Obtained from: mdocNG
* Add a simple SIGINFO handler to fsck_ffs. Shortly after receipt ofiedowse2000-12-159-0/+47
| | | | | | | | a SIGINFO (normally via Ctrl-T), a line will be output indicating the current phase number and progress information relevant to the current phase. Approved by: mckusick
* Fix lseek args order (PR 23549)ache2000-12-151-12/+15
| | | | | | | | Catch and report lseek errors too While reading header don't attempt to continue reading if some IO operation fails PR: 23549
* Fix with debugging option.takawata2000-12-151-2/+2
| | | | Submitted by: haro@tk.kubota.co.jp
* Add a missing dot.ru2000-12-152-2/+2
|
OpenPOWER on IntegriCloud