Ignore:
Timestamp:
Apr 10, 2012, 7:35:39 PM (13 years ago)
Author:
rick
Message:

Rewrote Captive Portal to use Packet Filter (pf) instead. This is much robuster and better administrable then ipfw.

Also cleaned out most of the ugly looking cache code.

Location:
branches/releng-9.0/nanobsd/files/etc
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/files/etc/crontab

    r10417 r10419  
    44#
    55SHELL=/bin/sh
    6 PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
     6PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
    77HOME=/var/log
    88#
     
    3333# Nagios checks
    3434*/15    *       *       *       *       root    /usr/local/sbin/check-inet-alive
     35#
     36*/5     *       *       *       *       root    /usr/local/www/wlportal/index.cgi cleanup
     37
  • branches/releng-9.0/nanobsd/files/etc/rc.conf

    r10418 r10419  
    11# No kernel dumps as we don't have a place to store them
    22dumpdev="NO"                   
    3 # We are an router/gateway (wireless to be precise)
     3
     4# We are an router/gateway (wireless to be precise) running the lvrouted
     5# routing daemon.
    46gateway_enable="YES"
     7lvrouted_enable="YES"
     8lvrouted_flags="-u -s s00p3rs3kr3t -m 28"
    59
    610# NTP server needs working config with WL network or internet on boot
     
    3034
    3135# HTTP(S) proxy server
    32 tinyproxy_enable="YES"
     36tinyproxy_enable="NO"
    3337
    3438# Make sure generated ssh keys are saved
     
    5458pf_enable="YES"
    5559pf_rules="/etc/pf.open.conf"
     60pf_flags=''
     61# Used with /etc/pf.proxy.conf
     62# pf_flags="-D ext_if=vr0 -D int_if=vr1 -D publicnat={80,443}"
     63# Used with /etc/pf.node.conf
     64# pf_flags="-D captive_portal_interfaces=wlan0,wlan1"
Note: See TracChangeset for help on using the changeset viewer.