Networking Forums

Networking Forums > Computer Networking > Linux Networking > Racoon: "ignore because do not listen on source address"

Reply
Thread Tools Display Modes

Racoon: "ignore because do not listen on source address"

 
 
sundialsvc4
Guest
Posts: n/a

 
      05-13-2005, 10:22 PM
Help.. oh help. I once had this nearly working but I have forgotten in
the six months since I last tried it.

Here is what I want to do:
(1) I'm on a Linux box running ipsec-tools-0.5.2 on a local network,
at address 192.168.254.6 with the router at 192.168.254.254.
(2) I want to connect to a remote at XXX.XXX.XXX.XXX such that this
remote, when contacted, will appear as 192.168.30.1 as seen on my
machine.
(3) Remember: MY LINUX BOX IS THE CLIENT. "XXX.XXX.XXX.XXX" is the
public address of the client's Sonicwall router.
(4) The version of racoon that I am using is 0.5.2 and it is
configured to recognize XAUTH.

My setkey file is:
flush; spdflush;
spdadd 192.168.254.0/24 192.168.30.1/32 any -P out ipsec
esp/tunnel/192.168.254.254-XXX.XXX.XXX.XXX/require;
spdadd 192.168.30.1/32 192.168.254.0/24 any -P in ipsec
esp/tunnel/XXX.XXX.XXX.XXX-192.168.254.254/require;

Issuing these commands with racoon running, I "ping 192.168.30.1" and
am told that "resource temporarily unavailable." Meanwhile on the
racoon console:

DEBUG: get pfkey ACQUIRE message
DEBUG: ignore because do not listen on source address :
192.168.254.254.

Remember that this machine is the =client= not the =server= so it
should not be listening to anyone anywhere.

racoon.conf is: (with various secret parts OMITTED):

path include OMITTED;
path pre_shared_key OMITTED;
path certificate OMITTED;

sainfo anonymous
{
pfs_group 1;
encryption_algorithm 3des, des;
authentication_algorithm hmac_sha1;
compression_algorithm deflate;
}
remote XXX.XXX.XXX.XXX
{
exchange_mode aggressive, main;
my_identifier address;
xauth_login OMITTED;

proposal {
encryption_algorithm 3des;
hash_algorithm sha1;
authentication_method pre_shared_key;
dh_group 2;
}
}
== end of file ==

I am utterly and completely lost, even with the source-code on hand. I
see that the comment in "pfkey.c" reads:
/* ignore, if we do not listen on source address */
/* reasons behind:
* - if we'll contact peer from address we do not
listen -
* we will be unable to complete negotiation;
* - if we'll negotiate using address we're listening -
* remote peer will send packets to address different
* than one in the policy, so kernel will drop them;
* => therefore this acquire is not for us! --Aidas
*/

I am =desperate= for any assistance. Please reply to the newsgroup.

 
Reply With Quote
 
 
 
 
sundialsvc4
Guest
Posts: n/a

 
      05-13-2005, 10:44 PM
Correction to the above: "XXX.XXX.XXX.XXX" is the Internet public
address of the SonicWall router to which I desire to connect.

The word "client" as used in the original post is therefore ambiguous.
In THAT particular sentence I meant it as "the address of the person
who will pay me money IFF this problem is quickly solved!"

What is so utterly maddening is that I am certain that one simple
command will get me past this roadblock. In my distant memory I simply
do not remember what it is. And I am therefore... show-stopped and the
clock is ticking.

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fwd: SPEWS DOLTS "SneakyP", "Kevin!:?)", "WindsorFox" SPAM braodbandnewsgroup] !:?) Broadband 0 11-30-2005 01:04 AM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM
Help! Ipsec-tools/Racoon link through NAT .. "ip route" fails Sundial Services Linux Networking 12 11-28-2004 06:33 PM



1 2 3 4 5 6 7 8 9 10 11