View Single Post
grif_ssa
BANNED
Join Date: Apr 2008
Old 10-20-2010 , 18:33   Re: Multiple ISP, hook networking
Reply With Quote #6

i want to use 3 ip at same time, if i use 0.0.0.0 all UPD packets are send to default gateway, but not to that gateway from wich packet came

i already hooked creating socket so i can turn on IP_PKTINFO, but its hard to find correct loop where packets recv and send to clients
Code:
_Z14NET_OpenSocketPKcRib in engine
the only way for me now is to buy additional router or another pc - to take role of router
by router i can mark packects so it will know wich packet came from
but on local pc i cant do that even if i mark incoming packet - outgoing packet are new ones in nf_conntrack and not the same, on tcp connections all ok, but its only rcon

sorry my bad english couldnt explain as it is

Last edited by grif_ssa; 10-20-2010 at 18:36.
grif_ssa is offline
Send a message via ICQ to grif_ssa