Commit Graph

4598 Commits

Author SHA1 Message Date
Scott Ullrich
528ec8dbab * Download bogons entries from pfsense.com
* Do not update on every minute on the 1st of the month
* Sleep for a random period before updating to avoid killing the server
2007-11-27 20:28:36 +00:00
Scott Ullrich
7b2f53f759 Remove extra C/R 2007-11-24 05:02:51 +00:00
Scott Ullrich
37b0098e7c Really allow command arguments from pfSsh.php 2007-11-24 04:37:59 +00:00
Scott Ullrich
f8757b62fd Allow command arguments from pfSsh.php 2007-11-24 04:35:07 +00:00
Scott Ullrich
dc2d40b2e1 Remove syslog.conf from checked out files marked for updating. 2007-11-24 01:44:23 +00:00
Scott Ullrich
bc4822363f Add pfSense php shell playback scripts 2007-11-23 23:58:39 +00:00
Scott Ullrich
9350a6429e Remove any previous MD5 sums after upgrade. 2007-11-07 23:09:38 +00:00
Scott Ullrich
7f37e7dcba Failover in 10 seconds as opposed to 60 seconds on DHCP Server failover mode. 2007-11-06 18:43:24 +00:00
Scott Ullrich
f971bb634b IPSEC keep alive pinger using the wrong source IP address
Ticket #1482
2007-11-05 17:33:15 +00:00
Chris Buechler
73a8004960 fix setting of sysctls to remove error at bootup 2007-11-05 01:33:41 +00:00
Scott Ullrich
37a7a75b7f multiple vlans + spoofmac result in unexpected behaviour
Ticket #1514

Introduction
I have an acceptable workaround, so the problem is not urgent, but before i fiogured out the workaround, is was severely impacting performance (3 interfaces not operating). I am a network specialist and I am available to assist wherever possible. If the issue si considered seriousenough for a fix, I can assist in more detailed pinpointing using tcpdumps on test-platforms.

Symptoms
If a interface is using vlan tagging for virtual interfaces and also the untagged interface is using MAC address spoofing, communication fails on the tagged vlans.

Description
On interface rl1 is untagged the WAN connection. This requires a spoofed MAC address, eg using <spoofmac>00:03:6b:f7:3b:3f</spoofmac>. On interface rl1 is also a vlan/tagged interface, eg vlan0 using rl1 and vlan tag 5. The tagged interface vlan0 expects to use the original MAC address of the interface rl0. But the issue is that interface rl0 is only processing incoming packets with destination mac address spoof_mac_rl1.

Workarounds (no code change required)
acceptable configure the <spoofmac>00:03:6b:f7:3b:3f</spoofmac> on all vlan interfaces connected to interface rl1
funny start a tcpdump on the vlan interface. This will put the interface in promiscuous mode and it will process all packets. Now the packets destined for the original MAC address (and active on the vlan interface)
bypass Do not use tagged interfaces on a interface with spoofmac

Remarks
It is very confusing that when a vlan is created, the GUI a refernece shows to the physical/original MAC address, even when the MAC addres of the untagged interface is
2007-11-01 18:14:31 +00:00
Scott Ullrich
a720443541 Adding keep alive host to IPsec causes warning in webGUI
Ticket #1509
2007-11-01 17:54:55 +00:00
Seth Mos
63bef62cec Remove private networks 2007-10-25 10:36:54 +00:00
Seth Mos
f1d483a773 Update bogons list, it is severly out of date 2007-10-25 09:38:22 +00:00
Scott Ullrich
c1a304acc1 MFC
Ticket 1709:  fixed typo in OpenVPN cfg-page
2007-10-24 19:42:42 +00:00
Bill Marquette
9dcb92dadf Ticket #1482 - set the source to an interface that is inside the subnet definition 2007-10-19 20:52:44 +00:00
Scott Ullrich
d8e4b5f593 Remove blank c/r 2007-10-13 23:24:54 +00:00
Scott Ullrich
98b480861d Allow the interface assignment code to exit from its strict checking. This allows Netboot installation services to work correctly. 2007-10-13 22:41:09 +00:00
Scott Ullrich
ca88dded01 MFC 19653 19654 19655 Check if interface is passed along, otherwise return Do not reconfigure on pptp interfaces. Do not reconfigure on pptp interfaces. 2007-10-09 21:48:44 +00:00
Scott Ullrich
63f63827cd Version bump to 1.2-RC3 2007-10-08 17:07:42 +00:00
Bill Marquette
4205d512e1 MFC of [19631] for Ticket #1456
drop one level of verbosity in tcpdump. Some protocols will still decode to multi-line message - not an easy fix. Doesn't appear to break non-raw log display

Add VRRP as a protocol type in the decode
2007-10-05 21:52:01 +00:00
Scott Ullrich
3baad61a31 Do not handle blank interface names. Ticket #1461 2007-10-05 21:24:33 +00:00
Scott Ullrich
6996f5bfc4 Wrong branch. Back out. 2007-09-25 17:51:33 +00:00
Scott Ullrich
21e1768574 Start /usr/sbin/update_dns_cache.sh on startup 2007-09-25 16:32:24 +00:00
Scott Ullrich
c71dd217e0 Correctly set reflection timeout for all protocols. 2007-09-18 18:06:49 +00:00
Seth Mos
5f05bdc48c MFC RELENG_1. Make it possible to disable RRD graphs. Bump config so it's on by default if it wasn't already. 2007-09-17 19:06:30 +00:00
Scott Ullrich
ccc1091ade Exit immediately after firmware update operation completes. 2007-08-28 18:31:39 +00:00
Scott Ullrich
74fd3fa47c Add carriage return 2007-08-28 18:28:16 +00:00
Scott Ullrich
df6ec31bfc Make $fp global 2007-08-28 18:19:16 +00:00
Scott Ullrich
4ccb49746b Do not close STDIN until script is done processing. 2007-08-28 18:18:16 +00:00
Scott Ullrich
1fe14a9b12 Prompt for kernel type if it is not defined.
Ticket #1435
2007-08-28 18:16:04 +00:00
Scott Ullrich
2b907b9df3 Increase net.inet.ip.intr_queue_maxlen to 1000 which is the IP input queue. 2007-08-22 18:01:04 +00:00
Scott Ullrich
8356e2927b Start racoon_watch.sh script on bootup if racoon is enabled. 2007-08-17 18:57:59 +00:00
Scott Ullrich
09a25aa637 Move to RC2 2007-08-10 21:18:41 +00:00
Scott Ullrich
fb0259fe60 Sync NATT support from m0n0wall 2007-08-04 20:27:45 +00:00
Scott Ullrich
a074233d7d * Remove trailing space * Remove duplicate command accidently commited 2007-07-31 22:54:03 +00:00
Scott Ullrich
c126316b9f Increase timeouts when using a 1000 hz. From the FreeBSD commit message: ÊChange TCPTV_MIN to be independent of HZ. ÊWhile it was documented to
Êbe in ticks "for algorithm stability" when originally committed, it turns
Êout that it has a significant impact in timing out connections. ÊWhen we
Êchanged HZ from 100 to 1000, this had a big effect on reducing the time
Êbefore dropping connections.

ÊTo demonstrate, boot with kern.hz=100. Êssh to a box on local ethernet
Êand establish a reliable round-trip-time (ie: type a few commands).
ÊThen unplug the ethernet and press a key. ÊTime how long it takes to
Êdrop the connection.

ÊThe old behavior (with hz=100) caused the connection to typically drop
Êbetween 90 and 110 seconds of getting no response.

ÊNow boot with kern.hz=1000 (default). ÊThe same test causes the ssh session
Êto drop after just 9-10 seconds. ÊThis is a big deal on a wifi connection.

ÊWith kern.hz=1000, change sysctl net.inet.tcp.rexmit_min from 3 to 30.
ÊNote how it behaves the same as when HZ was 100. ÊAlso, note that when
Êbooting with hz=100, net.inet.tcp.rexmit_min *used* to be 30.

ÊThis commit changes TCPTV_MIN to be scaled with hz. Êrexmit_min should
Êalways be about 30. ÊIf you set hz to Really Slow(TM), there is a safety
Êfeature to prevent a value of 0 being used.

ÊThis may be revised in the future, but for the time being, it restores the
Êold, pre-hz=1000 behavior, which is significantly less annoying.

ÊAs a workaround, to avoid rebooting or rebuilding a kernel, you can run
Ê"sysctl net.inet.tcp.rexmit_min=30" and add "net.inet.tcp.rexmit_min=30"
Êto /etc/sysctl.conf. ÊThis is safe to run from 6.0 onwards.

ÊApproved by: Êre (rwatson)
ÊReviewed by: Êandre, silby
2007-07-31 22:51:22 +00:00
Ryan Wagoner
1cb3a834d3 -move upnp_action to services.inc
-make sure to clear rules when stopping miniupnpd
-fix status_upnp and status_services pages so they use upnp_action and not the rcfile
2007-07-23 16:57:18 +00:00
Scott Ullrich
db157e3b5a Back to testing snapshot status 2007-07-21 21:51:04 +00:00
Scott Ullrich
633449eb04 Version bump 2007-07-17 23:46:09 +00:00
Scott Ullrich
b7782a84ea Version bump. RC1 time. 2007-07-17 19:21:25 +00:00
Seth Mos
15c1fe85bf Correct average times, otherwise the grap stops after 8 months. 2007-07-15 21:17:34 +00:00
Scott Ullrich
c71e7398c8 Start DHCPD before DNSMASQ to avoid this error on embedded: Jul 12 01:34:39 dnsmasq[588]: failed to access /var/dhcpd/var/db/dhcpd.leases: No such file or directory 2007-07-12 01:40:53 +00:00
Scott Ullrich
48f60858d7 Tag 1.2-B3 2007-07-10 16:56:49 +00:00
Seth Mos
ab325235f4 Oops, correct path to binaries 2007-07-08 21:04:59 +00:00
Scott Ullrich
842a1aa371 CAPS kills. Literally. Do not set the description to upper case LAN when we are looking for lower case. 2007-07-07 03:42:51 +00:00
Scott Ullrich
463cefdb2c Kill off old pftpx processes correctly 2007-07-07 03:20:13 +00:00
Seth Mos
116880408f MFC IPSEC fixes from seth, this should properly reload and handle large
configs > 300 tunnels.
2007-07-06 21:07:48 +00:00
Scott Ullrich
83d821dbc2 Remove extra PasswordAuthentication line. Ticket #1374 2007-07-06 18:16:46 +00:00
Scott Ullrich
5599bbd542 Version bump 2007-07-06 03:49:18 +00:00