Search found 14 matches

by hardillb
27 Aug 2023, 20:34
Forum: General
Topic: Routing preference for different protocols
Replies: 1
Views: 7720

Routing preference for different protocols

If a client normally connects via PPPoE and then also connects (via a different route) with an L2TP client both connections will get the same IP address (assuming assigned via Radius) Is there anyway to set the routing metric on a per protocol level? e.g. if I want to packets to always return on the...
by hardillb
25 Mar 2020, 22:47
Forum: Other modules
Topic: cli only shows usage information
Replies: 3
Views: 5248

Re: cli only shows usage information

Probably because Raspbian Buster is shipping with gcc version 8

gcc (Raspbian 8.3.0-6+rpi1) 8.3.0

On my Ubuntu 18.04.4 is still on version 7
by hardillb
25 Mar 2020, 20:46
Forum: Other modules
Topic: cli only shows usage information
Replies: 3
Views: 5248

Re: cli only shows usage information

OK, worked it out. The return value from getopt_long is meant to be an int not a char so the comparison to -1 is not working. https://github.com/xebd/accel-ppp/blob/master/accel-cmd/accel_cmd.c#L648 It even shows up in the warnings with the compiler on raspbian buster ... [ 99%] Building C object ac...
by hardillb
25 Mar 2020, 12:45
Forum: Other modules
Topic: cli only shows usage information
Replies: 3
Views: 5248

cli only shows usage information

I'm having a play with looking at session information and I'm having problems with the accel-cmd tool With nearly any arguments and commands I always just get the usage instructions $ accel-cmd show sessions Usage: accel-cmd [-v] [-4] [-6] [-n] [-f FAMILY] [-H HOST] [-p PORT] [-t TIMEOUT] [COMMAND] ...
by hardillb
22 Mar 2020, 10:28
Forum: General
Topic: Running Accel-PPP in the CORE emulation environment
Replies: 6
Views: 4429

Re: Running Accel-PPP in the CORE emulation environment

OK, I think I have it all working now, pull request coming later today. Quick question, what's the easiest way to check that the Neighbourhood Discovery is working properly? Running radvdump on the client end doesn't seem to see any RA packets over the PPP link when I test with PPPoE. I stuck a bunc...
by hardillb
21 Mar 2020, 22:24
Forum: General
Topic: Running Accel-PPP in the CORE emulation environment
Replies: 6
Views: 4429

Re: Running Accel-PPP in the CORE emulation environment

I have the DHCPv6 all working.

Will spend some of of my social isolation time tomorrow updating the neighbour discovery code as well.
by hardillb
14 Mar 2020, 18:05
Forum: General
Topic: Running Accel-PPP in the CORE emulation environment
Replies: 6
Views: 4429

Re: Running Accel-PPP in the CORE emulation environment

Worked out what was wrong. I had a typo in my Framed-IPv6-Prefix in the ldap so it wasn't assigning an IPv6 address to the end point and hence not starting the DHCPv6 server.

All working now, just got to clean up the code for grabbing IPv6 DNS server addresses from the radius server.
by hardillb
13 Mar 2020, 21:27
Forum: General
Topic: Running Accel-PPP in the CORE emulation environment
Replies: 6
Views: 4429

Re: Running Accel-PPP in the CORE emulation environment

Yeah, I've got logging turned up to 5 and enabled for both ipv6-nd and ipv6-dhcp.

I'll have another play over the weekend and maybe hack in some more logging/trace
by hardillb
12 Mar 2020, 21:53
Forum: General
Topic: Running Accel-PPP in the CORE emulation environment
Replies: 6
Views: 4429

Running Accel-PPP in the CORE emulation environment

Hi, I've been working on trying to add support for setting the IPv6 DNS server from Radius ( https://accel-ppp.org/forum/viewtopic.php?f=16&t=2681 ). I'm making progress but wanted to set up a simplified test environment. (If anybody wants a look it's in my fork here https://github.com/hardillb/...
by hardillb
09 Mar 2020, 13:43
Forum: Feature requests
Topic: CLI/SNMP accounting counter reset
Replies: 0
Views: 16548

CLI/SNMP accounting counter reset

It would be nice to be able to reset the accounting values for a connection.

E.g. to reset counters at the start of each month

Thanks