[quagga-users 8823] Re: TCP MD5 Signature + New Linux Kernel

Leigh Brown leigh at solinno.co.uk
Wed Aug 22 22:55:59 IST 2007


On Mon, August 20, 2007 4:57 pm, Mark Sutton said:
[...]
> I have tested the new patch with various kernels I have lying around:
>
> - fedora 7 with 2.6.21-1.3228.fc7
> - ubuntu 7.04 with 2.6.20-16-generic, 2.6.20-15-server, 2.6.22.3-vanilla
[...]
> Does anyone have any ideas what is going wrong?

Hi Mark,

It looks like Quagga is compiled and working okay.  I have a silly little
program that can be used to see if the Linux MD5SIG support is working:

http://www.solinno.co.uk/md5sig/linux-md5sig-test-0.1.tar.gz

I have tested it on a stock Ubuntu 7.04 and it works a treat:-

leigh at toaster:~$ tar xzf linux-md5sig-test-0.1.tar.gz
leigh at toaster:~$ cd linux-md5sig-test-0.1/
leigh at toaster:~/linux-md5sig-test-0.1$ make
cc -g -Wall   -c -o client.o client.c
cc -g -Wall   -c -o functions.o functions.c
cc -g -Wall -o client client.o functions.o
cc -g -Wall   -c -o server.o server.c
cc -g -Wall -o server server.o functions.o
cc -g -Wall   -c -o torture.o torture.c
cc -g -Wall -o torture torture.o
leigh at toaster:~/linux-md5sig-test-0.1$ ./server 2345 127.0.0.1 mypassword &
[1] 8018
leigh at toaster:~/linux-md5sig-test-0.1$ ./client 127.0.0.1 2345 mypassword
127.0.0.1:1989 connected
test
test
127.0.0.1:1989 connection closed

If you have two ubuntu boxes you can run a session between the two and
use tcpdump to confirm the signature is present.

Let me know if that works or not.

Cheers,

Leigh.



More information about the Quagga-users mailing list