Commit graph

41 commits

Author SHA1 Message Date
Brendan O'Dea
42f10c1ea0 - Reject unknown/unconfigured protocols on the master.
- Sanity check MRU before using in ppp_code_rej, protoreject.
2005-12-07 05:21:37 +00:00
Brendan O'Dea
bea1591121 remove openssl crypto lib 2005-08-12 10:31:22 +00:00
Brendan O'Dea
0280d21184 re-instate local md5.[ch] due to issues with linking openssl to GPL code 2005-08-10 07:25:23 +00:00
Brendan O'Dea
aabf1d3fe9 - Replace flags used for LCP/IPCP with state machine.
- Use openssl MD5, fix DAE vector (Alex Kiernan).
2005-07-31 10:04:09 +00:00
Brendan O'Dea
e6f31cc54c *** empty log message *** 2005-06-07 05:35:46 +00:00
Brendan O'Dea
afc91dfb47 don't build tests 2005-06-07 05:32:00 +00:00
Brendan O'Dea
661da3eec4 guess HAVE_EPOLL 2005-06-06 05:41:59 +00:00
Brendan O'Dea
b830a899ca Include endpoint address in accounting dump files.
Convert mainloop to use epoll rather than select.
2005-06-04 15:42:35 +00:00
Brendan O'Dea
7cf822a64f $(call) seems to break expaniion on older (3.79) versions of make 2005-05-10 08:01:15 +00:00
Brendan O'Dea
f0aa42be04 add sessionctl 2005-05-10 06:44:11 +00:00
Brendan O'Dea
c511b0de31 ensure that config files are not overwritten 2005-05-07 00:32:12 +00:00
Brendan O'Dea
f9603d4832 more state_state removal 2005-04-18 04:18:15 +00:00
Brendan O'Dea
19a90ac4d9 add -Wformat-security -Wno-format-zero-length 2005-01-06 02:35:03 +00:00
Brendan O'Dea
9d199a1046 use standard uintN_t types for portability 2004-12-16 08:49:52 +00:00
Brendan O'Dea
877ade4dfb use gzip --best for man pages
re-order DEFINES to better allow for optional features which add to $(OBJS)
2004-12-09 00:52:35 +00:00
Brendan O'Dea
028072c965 fix clean target 2004-11-18 13:09:47 +00:00
Brendan O'Dea
1045897706 *** empty log message *** 2004-11-18 05:45:14 +00:00
Brendan O'Dea
eb6906a28c - Add startup-config(5) manpage.
- Add snoopctl, throttlectl plugins.
- Update documentation.
2004-11-17 15:08:19 +00:00
Brendan O'Dea
5e01d2924d - Add startup-config(5) manpage [FIXME].
- Revise nsctl to allow arbitrary strings/args to be passed to plugins.
2004-11-17 08:23:34 +00:00
David Parrish
5d4d6bb059 Add manpages from Jonathan McDowell
Remove reference to old -a command line argument
2004-11-16 21:54:46 +00:00
Brendan O'Dea
d2fb375676 -rdynamic is not required (functions passed to plugins) 2004-11-08 12:31:01 +00:00
Brendan O'Dea
449e796169 add install to .PHONY 2004-11-05 07:49:45 +00:00
Brendan O'Dea
7d7afb67c8 clean up plugins 2004-11-05 02:39:35 +00:00
Brendan O'Dea
66ded1b9e5 add setrxspeed 2004-11-05 02:38:59 +00:00
Brendan O'Dea
fc1ab23bf0 clean test dir 2004-11-03 04:01:32 +00:00
Brendan O'Dea
14013054f3 - Use 2 seperate u16 values for throttle rate in/out
- Defer adding radius fds to the select loop until become_master
2004-11-02 04:35:03 +00:00
Brendan O'Dea
a475f25c8a clean up paths 2004-10-29 04:02:24 +00:00
David Parrish
789665b65f Add spec file 2004-09-02 04:48:35 +00:00
David Parrish
a109954b2c Add strip domain plugin 2004-09-02 04:29:30 +00:00
David Parrish
f9982099ef Sync 2004-09-02 04:22:30 +00:00
David Parrish
a17df3e475 Makefile fix and config radius port patches from JK 2004-07-26 00:20:41 +00:00
Brendan O'Dea
54c6a93a27 *** empty log message *** 2004-07-12 14:49:01 +00:00
Brendan O'Dea
f706b16ca1 rename l2tpns.cfg to startup-config
fix installation of plugins
use DESTDIR rather than PREFIX
2004-07-02 07:26:18 +00:00
David Parrish
7aa420ce9f * Update cli callbacks to work with libcli 1.6.
This supports privileged and unprivileged commands, as well as a configuration
  mode
* Add help for all cli commands
* Add "show version" command
* Fix uptime counter display
* Fix nasty bug where cluster basetime can be set to 0 when sending initial
  heartbeat
* Don't rmmod ip_conntrack, as this can take a lot of time
* Re-order logging in routeset such that the action is given before any error
* Use the correct gateway address when deleting routes
* Remove any routes when address changes
* Require authentication if telnet from remote ip
* Require enable password always
* Return error if show pool done on slave
* We MUST immediately exit if we're the wrong master!
2004-06-28 02:43:13 +00:00
David Parrish
c239d4b228 * Wed Jun 23 2004 David Parrish <david@dparrish.com> 2.0.0
- Major release
- Completely replace active/standby clustering with a new peer-to-peer
  clustering method which allows much greater throughput and is a lot more fault
  tolerant
- Add internal tbf implementation for throttling without relying on tc and
  kernel HTB
- Add support for iBGP and eBGP to advertise routes
- Add cli commands "show cluster", "show bgp", "show ipcache", "show throttle",
  "show tbf", "suspend bgp", "restart bgp", "show user"
- Interception destination must be set per-user
- If SMP machine, allow use of SCHED_FIFO, which should improve performance
- Added config option to send GARP at startup
- Added plugin_become_master and plugin_new_session_master plugin hooks
- Remove useless sessionsendarp(). This isn't needed now that we are using TUN
  instead of TAP.
- ICMP rate limiting so not every unreachable packet is replied with an ICMP
  unreachable message
- mangle table is not required on anything but the cluster master, so slaves
  will drop the mangle table and attempt to unload the ip_conntrack module
- Statically assigned IP addresses (by Radius) work now
- Add -d command-line flag to detach and become a daemon
- Configuration file is now "/etc/l2tpns/startup-config"
- Reduced MIN_IP_SIZE to 0x19 to stop a pile of Short IP warnings
- Resend initial IPCP request until it's acknowleged by the client
- Better radius session cleanup logic
- Many miscellaenous bugfixes and performance enhancements
- Thanks to Michael O'Reilly and Brendan O'Dea for most of these new features
2004-06-23 03:52:24 +00:00
David Parrish
e98737a168 Foo 2004-05-24 04:33:35 +00:00
David Parrish
3bfd1c4e87 Optimisations 2004-05-24 04:29:38 +00:00
David Parrish
32e5db5906 Small typo fixes from Paul Lampron 2004-04-16 02:33:32 +00:00
David Parrish
8ed6b75f5f Added autosnoop and autothrottle modules 2004-03-24 04:56:51 +00:00
David Parrish
7d87e78a12 Fix makefile error 2004-03-22 05:26:17 +00:00
David Parrish
0c736f6fe8 Don't use configure it's a waste of time 2004-03-05 00:22:06 +00:00
Renamed from Makefile.in (Browse further)